[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 |
|
---|
[b051b90] | 18 | *. It is recommended that you temporarily unpack your linux kernel,
|
---|
| 19 | run <make menuconfig>, 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
|
---|
[b051b90] | 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>
|
---|
[b051b90] | 40 | Create a makefile based on the settings found in the config files.
|
---|
| 41 | You must enter the build partition/jhalfs directory and manually run make
|
---|
[fcf5226] | 42 |
|
---|
| 43 | ./<symlink> -G
|
---|
| 44 | Download the packages and patches necessary to build <symlink>
|
---|
| 45 |
|
---|
| 46 | ./<symlink> -G -M
|
---|
| 47 | Download the packages, create and automatically run the Makefile
|
---|
[8ca21dc] | 48 |
|
---|
| 49 | ./<symlink> --help will give you a context sensitive list of command
|
---|
| 50 | line switches.
|
---|
[e58c70fd] | 51 |
|
---|
| 52 | 5. LAYOUT::
|
---|
| 53 |
|
---|
[7b56cfc] | 54 | blfs --+ /BLFS config ---+ /common/config
|
---|
| 55 | | master.sh -+ /common_functions
|
---|
| 56 | | xxxx.xsl -+ /makefile_functions
|
---|
| 57 | | /func_check_versions.sh
|
---|
| 58 | clfs --+ /CLFS config ---+ /func_validate_configs.sh
|
---|
[86e1d17] | 59 | | master.sh -+
|
---|
[7b56cfc] | 60 | | xxxx.xsl -+
|
---|
[86e1d17] | 61 | |
|
---|
| 62 | +--------------------- master.sh --------------->>>
|
---|
[7b56cfc] | 63 | +--README
|
---|
[86e1d17] | 64 | |
|
---|
[7b56cfc] | 65 | hlfs --+ /HLFS config ---+
|
---|
| 66 | | master.sh -+
|
---|
| 67 | | xxxx.xsl -+
|
---|
| 68 | |
|
---|
| 69 | lfs --+ /LFS config ---+
|
---|
| 70 | master.sh -+
|
---|
| 71 | xxxx.xsl -+
|
---|
[86e1d17] | 72 |
|
---|
| 73 |
|
---|
[e58c70fd] | 74 | 6. FAQ::
|
---|
[7b56cfc] | 75 | Q. "It doesn't work"
|
---|
| 76 | A. Yes it does..
|
---|
| 77 |
|
---|
[fcf5226] | 78 |
|
---|
| 79 | Authors:
|
---|
| 80 | Manuel Canales Esparcia
|
---|
| 81 | George Boudreau |
---|