Commit graph

508 commits

Author SHA1 Message Date
Jeremy Huntwork
ad5f7f7775 In the chroot section, we really have no use for the LFS variable any longer. We only need it to be able to chroot, and that is covered by the Make variable, $(LFS) 2005-10-05 00:48:28 +00:00
Jeremy Huntwork
002f8a77bc Just have the chroot variables use the $(LFS) make variable, instead of trying to get the shell to use it 2005-10-05 00:35:13 +00:00
Jeremy Huntwork
16c67edebd Include chapter6 in the build and remove any chroot commands from the dependency list. 2005-10-05 00:13:29 +00:00
Manuel Canales Esparcia
76fad58640 A few scripts need /tools/bin/bash as the sha-bang to can be executed. 2005-10-04 19:32:47 +00:00
Manuel Canales Esparcia
80c00fc139 Fixed the set of LFS envar for CHROOT1 command. Reduced Makefile verbosity for Chapter06 targets. 2005-10-04 19:12:07 +00:00
Manuel Canales Esparcia
3f990d1251 Improved code readability.
Many thanks to George Boudreau.
2005-10-04 18:37:09 +00:00
Manuel Canales Esparcia
7450da364a Removed && for the strip commands. They always return a non 0 exit status. 2005-10-03 22:33:38 +00:00
Manuel Canales Esparcia
a6d9007020 Fixed the generation of the chroot commands in the Makefile. 2005-10-03 22:32:10 +00:00
Manuel Canales Esparcia
4c62c61a0a LOGDIR envar isn't needed in the Makefile.
All packages are unpacked, and the sources directories deleted, outside chroot.
Added echo_message to Chapter06 targets.
Fixed the 067-readjusting target creation.
Added -x tu the du command to skipp kernel filesystems (I think).
Sourced envars from inside the chroot command.
2005-10-03 22:00:09 +00:00
Manuel Canales Esparcia
7d983151bc Removed some"; \" left after the previous "if" test removal. 2005-10-03 19:52:47 +00:00
Manuel Canales Esparcia
816f3f43ee Clossing dumped scripts with a plain "exit" to prevent && at the end of the file when the last <screen> block is a non dumped block. 2005-10-03 19:26:44 +00:00
Manuel Canales Esparcia
7bbd436739 Fixed the retainig of Binutils and TCL sources directories.
Removed some now uneeded "if" test.
2005-10-03 18:28:57 +00:00
Jeremy Huntwork
fc8de4996c Cosmetic change ;) 2005-10-03 03:40:38 +00:00
Jeremy Huntwork
d7fd19506d No need to export variables as we're only using one Makefile 2005-10-03 03:33:19 +00:00
Jeremy Huntwork
8bb92e71d0 Add a header to the generated Makefile 2005-10-03 03:24:16 +00:00
Jeremy Huntwork
19364871b0 Fixed issue with kernfs section trying to chroot 2005-10-03 02:48:26 +00:00
Jeremy Huntwork
c08d23b564 First attempt at getting past the chroot hump 2005-10-03 02:40:33 +00:00
Jeremy Huntwork
52888e2bdb Made the blue a little easier to read 2005-10-03 01:21:25 +00:00
Jeremy Huntwork
47e0a385dc Adding the necessary functions file 2005-10-03 01:01:28 +00:00
Jeremy Huntwork
0fc4c75515 Adjusted the use of '&&' and '@' for several commands in the Makefile. Added some nicer status messages. Also, no need to check if a package was built. If it fails, make will exit, we'll see where it failed via the status messages and we can check the logs for more details. 2005-10-03 00:56:55 +00:00
Jeremy Huntwork
968dafd746 Fixed all occurences of 'touch $@' to be the last in a target 2005-10-02 23:26:02 +00:00
Jeremy Huntwork
732d1f1694 Fixed a few more misspellings and moved the 'touch ' command to be the last inserted into a target. 2005-10-02 23:21:16 +00:00
Jeremy Huntwork
4e4a8d5c7f Fixed a few typos 2005-10-02 22:39:48 +00:00
Manuel Canales Esparcia
7ecd166d84 Simplified logs path.
Addressed 057-kernfs.
2005-10-02 18:03:13 +00:00
Manuel Canales Esparcia
e3e1db00e4 Reduced in part Makefile verbosity. 2005-10-02 16:34:41 +00:00
Manuel Canales Esparcia
133ecacacf More chapter06 work 2005-10-02 15:56:40 +00:00
Manuel Canales Esparcia
56dd1e2ed2 Using PKGDIR in all chapters. 2005-10-02 14:28:31 +00:00
Manuel Canales Esparcia
24530379e6 Added support for local book's sources. 2005-10-02 14:06:01 +00:00
Manuel Canales Esparcia
6299c11068 Fixed few errors.
Added a mensage after a succefull full build.
2005-10-02 12:27:21 +00:00
Manuel Canales Esparcia
97a3ffc864 Started the addition of Chapter06 2005-10-02 12:05:57 +00:00
Manuel Canales Esparcia
e909d9d5b1 Added Makefile dependencies trakking. 2005-10-02 10:28:59 +00:00
Manuel Canales Esparcia
3cfe87111b Renamed the stylesheet to diferentiate it from the ones in the {B,H,Cross}LFS books. 2005-10-02 09:26:10 +00:00
Manuel Canales Esparcia
d31093993a Making the packages dowload and testsuites run optional.
Added a switch to desactivate the automatic run of make.
Fixed some oustanding bugs and chapter05 issues.
2005-10-02 09:14:02 +00:00
Manuel Canales Esparcia
71642ef6ea Trying to manage the retaining of Binutils pass1 and TCL sources, the run of the Adjusting phase, and the set of TCLPATH envar for Expect issues. 2005-10-01 12:21:30 +00:00
Manuel Canales Esparcia
3eb60faaa7 Be sure that all test suites are run using the -k switch. 2005-10-01 10:26:22 +00:00
Manuel Canales Esparcia
88dcce5b39 Reverted Makefiles dependencies. They don't do what I supossed.
Added a first try of  time and disk usage logging.
Moved the make run to their own function.
2005-09-30 20:47:34 +00:00
Manuel Canales Esparcia
8b33a10d93 Actually added the make run. 2005-09-30 18:59:04 +00:00
Manuel Canales Esparcia
0209bb7aa2 Added Makefile dependencies.
Fixed the clean targets.
Remove sources directories even if the build fails (not full tested yet).
Automatically execute make after Makefile creation.
2005-09-30 18:51:32 +00:00
Manuel Canales Esparcia
a5e49c6fba Added logging capabilities. 2005-09-29 22:05:00 +00:00
Manuel Canales Esparcia
07f47df141 Added switch to skipp packages dowload. 2005-09-29 19:14:06 +00:00
Manuel Canales Esparcia
44f88e31e9 Be sure that a clean environmentis used for lfs user in chapter05. 2005-09-29 18:50:18 +00:00
Manuel Canales Esparcia
c355ad10e0 Better handled the dump of testsuites commands. 2005-09-28 20:42:53 +00:00
Manuel Canales Esparcia
db9cec66f1 Added support to run the optional testsuites. 2005-09-28 19:30:31 +00:00
Manuel Canales Esparcia
b8bf2f858a Fixed the creation of "cat ... EOF" blocks. 2005-09-28 17:18:06 +00:00
Manuel Canales Esparcia
0bad6baa0e Finished the handling of chapter04 and almost done chapter05.
At least now the generated Makefile can be used  to build the temporally tools.
2005-09-27 22:33:06 +00:00
Manuel Canales Esparcia
dc2fee8036 Removed now uneeded code. 2005-09-27 18:13:19 +00:00
Manuel Canales Esparcia
c4cf6de3dd Dump shell scripts now. 2005-09-27 18:08:05 +00:00
Manuel Canales Esparcia
63b2859f59 Starting the move of some features to the XSL code.
First try to manage chapter05.
2005-09-26 22:36:40 +00:00
Manuel Canales Esparcia
409488e63e Removed extra uneeded lines. 2005-09-26 18:11:48 +00:00
Manuel Canales Esparcia
4e5e9b41e7 Added optional patch from Jhon Kelly. 2005-09-26 18:07:56 +00:00