Automated Linux From Scratch for MahiroOS
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2006-03-30 01:03:01 +00:00
BLFS Change xxx-Makefile to Makefile, remove psmisc hack. 2006-03-27 17:35:46 +00:00
CLFS Creating /ect/lfs-release also in CLFS. 2006-03-29 19:46:37 +00:00
common common/makefile_functions, changed a line of text to _generic_ version 2006-03-29 22:47:22 +00:00
HLFS Forgot to remove patcheslist.xsl. 2006-03-29 19:09:21 +00:00
LFS Fixed clean-all targets. 2006-03-29 19:03:55 +00:00
blfs Added base files from George's jhalfs-experimental-2 POC. 2006-03-07 20:02:53 +00:00
clfs Added base files from George's jhalfs-experimental-2 POC. 2006-03-07 20:02:53 +00:00
hlfs Added base files from George's jhalfs-experimental-2 POC. 2006-03-07 20:02:53 +00:00
lfs Added base files from George's jhalfs-experimental-2 POC. 2006-03-07 20:02:53 +00:00
master.sh common/func_validate_configs.sh,. removed display trace option, always display config values 2006-03-29 19:47:45 +00:00
README README, addition text.. 2006-03-30 01:03:01 +00:00

$Id$

1. INTRODUCTION::

     This collection of scripts, known as jhalfs-X, strives to create
  accurate makefiles from the Linux From Scratch book series XML files.
  This software was inspired by the "jhalfs" code written by Jeremy Huntwork.

     The usage of this script assumes you have read and are familiar with
  the book(s) and therefore the configuration variables found in config files
  will have meaning to you. There are a number of command line switches
  which, if used, will override the config file settings.

  NOTES::
  *.  The resulting Makefile takes considerable time to run to completion,
  lay in a supply of caffeine beverages.

  *.  It is recommended that you temporarily unpack your linux kernel and
  run <make menuconfig> and configure the kernal as per the book and save
  the resulting .config file. This configuration rule also applies to the
  configuration of the uClibc package when building a HLFS system using
  uClibc rather than glibc.

2. INSTALLATION::
     No installation is required. System-wide installation is not allowed
  for now.

3. CONFIGURATION FILES::
     Each book in the LFS series has it's own set of configurable parameters
  as well as the common parameters file.

4. RUNNING::
     The script, master.sh, cannot be invoked directly but only via the 
   supplied symlinks. After editing the config file for the project you wish
   to build run the script.
     <symlink> refers to the one of 4 package symlinks, lfs,hlfs,clfs,blfs. 
     Replace <symlink> with your choice.. i.e.  ./lfs

     ./<symlink>
     Creates a makefile based on the configurations settings found in the 
     config files. You must enter the build partition/jhalfs directory and
     manually run make

     ./<symlink> -G 
     Download the packages and patches necessary to build <symlink>
     
     ./<symlink> -G -M
     Download the packages, create and automatically run the Makefile
   
     ./<symlink> --help  will give you a context sensitive list of command
                         line switches.

5. LAYOUT::

        blfs --+  /BLFS config ---+             /common/config
               |       master.sh -+                    /common_functions
               |       xxxx.xsl  -+                    /makefile_functions
               |                                       /func_check_versions.sh
        clfs --+  /CLFS config ---+                    /func_validate_configs.sh
               |       master.sh -+
               |       xxxx.xsl  -+
               |
               +--------------------- master.sh --------------->>>
               +--README
               |
        hlfs --+  /HLFS config ---+
               |       master.sh -+
               |       xxxx.xsl  -+
               |
        lfs  --+  /LFS  config ---+
                       master.sh -+
                       xxxx.xsl  -+


6. FAQ::
    Q. "It doesn't work"
    A. Yes it does..


Authors:
  Manuel Canales Esparcia
  George Boudreau