[e58c70fd] | 1 | $Id$
|
---|
| 2 |
|
---|
| 3 | 1. INTRODUCTION::
|
---|
| 4 |
|
---|
[86e1d17] | 5 | This collection of scripts, known as jhalfs-X, strives to create
|
---|
[fcf5226] | 6 | accurate makefiles from the Linux From Scratch book series XML files.
|
---|
| 7 | This software was inspired by the "jhalfs" code written by Jeremy Huntwork.
|
---|
[e58c70fd] | 8 |
|
---|
| 9 | The usage of this script assumes you have read and are familiar with
|
---|
[8ca21dc] | 10 | the book(s) and therefore the configuration variables found in config files
|
---|
[86e1d17] | 11 | will have meaning to you. There are a number of command line switches
|
---|
[e58c70fd] | 12 | which, if used, will override the config file settings.
|
---|
| 13 |
|
---|
| 14 | NOTES::
|
---|
| 15 | *. The resulting Makefile takes considerable time to run to completion,
|
---|
| 16 | lay in a supply of caffeine beverages.
|
---|
| 17 |
|
---|
| 18 | *. It is recommended that you temporarily unpack your linux kernel and
|
---|
| 19 | run <make menuconfig> and configure the kernal as per the book and save
|
---|
[86e1d17] | 20 | the resulting .config file. This configuration rule also applies to the
|
---|
| 21 | configuration of the uClibc package when building a HLFS system using
|
---|
| 22 | uClibc rather than glibc.
|
---|
[e58c70fd] | 23 |
|
---|
| 24 | 2. INSTALLATION::
|
---|
[1a97861] | 25 | No installation is required. System-wide installation is not allowed
|
---|
[86e1d17] | 26 | for now.
|
---|
[e58c70fd] | 27 |
|
---|
| 28 | 3. CONFIGURATION FILES::
|
---|
[8ca21dc] | 29 | Each book in the LFS series has it's own set of configurable parameters
|
---|
| 30 | as well as the common parameters file.
|
---|
[e58c70fd] | 31 |
|
---|
| 32 | 4. RUNNING::
|
---|
[8ca21dc] | 33 | The script, master.sh, cannot be invoked directly but only via the
|
---|
| 34 | supplied symlinks. After editing the config file for the project you wish
|
---|
| 35 | to build run the script.
|
---|
[fcf5226] | 36 | <symlink> refers to the one of 4 package symlinks, lfs,hlfs,clfs,blfs.
|
---|
| 37 | Replace <symlink> with your choice.. i.e. ./lfs
|
---|
| 38 |
|
---|
| 39 | ./<symlink>
|
---|
| 40 | Creates a makefile based on the configurations settings found in the
|
---|
| 41 | config files. You must enter the build partition/jhalfs directory and
|
---|
| 42 | manually run make
|
---|
| 43 |
|
---|
| 44 | ./<symlink> -G
|
---|
| 45 | Download the packages and patches necessary to build <symlink>
|
---|
| 46 |
|
---|
| 47 | ./<symlink> -G -M
|
---|
| 48 | Download the packages, create and automatically run the Makefile
|
---|
[8ca21dc] | 49 |
|
---|
| 50 | ./<symlink> --help will give you a context sensitive list of command
|
---|
| 51 | line switches.
|
---|
[e58c70fd] | 52 |
|
---|
| 53 | 5. LAYOUT::
|
---|
| 54 |
|
---|
[7b56cfc] | 55 | blfs --+ /BLFS config ---+ /common/config
|
---|
| 56 | | master.sh -+ /common_functions
|
---|
| 57 | | xxxx.xsl -+ /makefile_functions
|
---|
| 58 | | /func_check_versions.sh
|
---|
| 59 | clfs --+ /CLFS config ---+ /func_validate_configs.sh
|
---|
[86e1d17] | 60 | | master.sh -+
|
---|
[7b56cfc] | 61 | | xxxx.xsl -+
|
---|
[86e1d17] | 62 | |
|
---|
| 63 | +--------------------- master.sh --------------->>>
|
---|
[7b56cfc] | 64 | +--README
|
---|
[86e1d17] | 65 | |
|
---|
[7b56cfc] | 66 | hlfs --+ /HLFS config ---+
|
---|
| 67 | | master.sh -+
|
---|
| 68 | | xxxx.xsl -+
|
---|
| 69 | |
|
---|
| 70 | lfs --+ /LFS config ---+
|
---|
| 71 | master.sh -+
|
---|
| 72 | xxxx.xsl -+
|
---|
[86e1d17] | 73 |
|
---|
| 74 |
|
---|
[e58c70fd] | 75 | 6. FAQ::
|
---|
[7b56cfc] | 76 | Q. "It doesn't work"
|
---|
| 77 | A. Yes it does..
|
---|
| 78 |
|
---|
[fcf5226] | 79 |
|
---|
| 80 | Authors:
|
---|
| 81 | Manuel Canales Esparcia
|
---|
| 82 | George Boudreau |
---|