1 | $Id$
|
---|
2 |
|
---|
3 | 1. INTRODUCTION::
|
---|
4 |
|
---|
5 | This collection of scripts, known as jhalfs-X, strives to create
|
---|
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.
|
---|
8 |
|
---|
9 | The usage of this script assumes you have read and are familiar with
|
---|
10 | the book(s) and therefore the configuration variables found in config files
|
---|
11 | will have meaning to you. There are a number of command line switches
|
---|
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,
|
---|
19 | run <make menuconfig>, configure the kernal as per the book and save
|
---|
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.
|
---|
23 |
|
---|
24 | 2. INSTALLATION::
|
---|
25 | No installation is required. System-wide installation is not allowed
|
---|
26 | for now.
|
---|
27 |
|
---|
28 | 3. CONFIGURATION FILES::
|
---|
29 | Each book in the LFS series has it's own set of configurable parameters
|
---|
30 | as well as the common parameters file.
|
---|
31 |
|
---|
32 | 4. RUNNING::
|
---|
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.
|
---|
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 | 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
|
---|
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
|
---|
48 |
|
---|
49 | ./<symlink> --help will give you a context sensitive list of command
|
---|
50 | line switches.
|
---|
51 |
|
---|
52 | 5. LAYOUT::
|
---|
53 |
|
---|
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
|
---|
59 | | master.sh -+
|
---|
60 | | xxxx.xsl -+
|
---|
61 | |
|
---|
62 | +--------------------- master.sh --------------->>>
|
---|
63 | +--README
|
---|
64 | |
|
---|
65 | hlfs --+ /HLFS config ---+
|
---|
66 | | master.sh -+
|
---|
67 | | xxxx.xsl -+
|
---|
68 | |
|
---|
69 | lfs --+ /LFS config ---+
|
---|
70 | master.sh -+
|
---|
71 | xxxx.xsl -+
|
---|
72 |
|
---|
73 |
|
---|
74 | 6. FAQ::
|
---|
75 | Q. "It doesn't work"
|
---|
76 | A. Yes it does..
|
---|
77 |
|
---|
78 |
|
---|
79 | Authors:
|
---|
80 | Manuel Canales Esparcia
|
---|
81 | George Boudreau |
---|