Commit graph

203 commits

Author SHA1 Message Date
Manuel Canales Esparcia
8ebf1542d5 Triying to manage the cases where the lfs user is already present in the host. 2005-11-17 21:21:39 +00:00
Manuel Canales Esparcia
d13460c8e7 Typo fixes pointed by Jeremy. 2005-11-17 19:39:10 +00:00
Manuel Canales Esparcia
35a25a9bf9 Remove the /tools symlink, if alredy present, before to create the proper one. 2005-11-17 19:30:39 +00:00
Manuel Canales Esparcia
4618749fab Be sure that $BUILDDIR is clean and usable. 2005-11-17 19:16:55 +00:00
Manuel Canales Esparcia
70a223ee4a Making the stripping phases optional. 2005-11-16 22:39:12 +00:00
Manuel Canales Esparcia
1a17f94f43 Creating the MD5SUMS-$VERSION file. 2005-11-16 21:27:53 +00:00
Manuel Canales Esparcia
db181c4793 Added suppot to download and build the vim-lang package (can be skipped using a switch). 2005-11-16 18:16:52 +00:00
Jeremy Huntwork
ef944148ba Fixed and shortened sed, line 200 2005-11-13 01:40:28 +00:00
Jeremy Huntwork
3c2913142d Fixed sed expressions on line 199 2005-11-12 01:29:31 +00:00
Manuel Canales Esparcia
7429b9ca3b The download of module-init-tools-testsuite package is required only if the optional test suites will be run. 2005-11-05 10:59:23 +00:00
Manuel Canales Esparcia
4e9a3b3d49 Added support for the Module-init-tools-testsuite package. 2005-11-03 22:43:34 +00:00
Jeremy Huntwork
299b7e0cc5 Typo fix 2005-11-02 03:09:44 +00:00
Jeremy Huntwork
8f96017874 Some grammatical corrections 2005-11-01 15:50:31 +00:00
Jeremy Huntwork
38150e590e Moved the root test to within the run_make function - no need to limit the creation of the Makefile or the extraction of the commands to root only 2005-11-01 12:45:16 +00:00
Jeremy Huntwork
9383fd6207 Changed credits - I'm somewhat active again and Manuel has written enough code to be considered a co-author 2005-11-01 02:53:15 +00:00
Manuel Canales Esparcia
569fdb6a52 Added installation Makefile. 2005-11-01 01:55:47 +00:00
Manuel Canales Esparcia
c62847c875 Automatized the download of Udev config file. 2005-10-31 21:13:32 +00:00
Jeremy Huntwork
3338588976 Set the Makefile to ignore errors on the umounts - necessary if you want to run 'make clean' before the script has hit chapter 6 2005-10-29 16:48:54 +00:00
Manuel Canales Esparcia
0bd7b91adc Added clean-chapter6 and clean-chapter789 targets. 2005-10-28 20:07:50 +00:00
Manuel Canales Esparcia
1fb586eee6 Added a note in the help output about downloading packages using -P 2005-10-28 18:59:56 +00:00
Manuel Canales Esparcia
be9970bfaf Now packages in tar.gz format are supported also. 2005-10-28 18:48:53 +00:00
Manuel Canales Esparcia
7d4b863fa8 The remove_db patch for IPRoute2 has been changed by a sed command in the 6.1.1 testing branch. 2005-10-24 19:52:18 +00:00
Manuel Canales Esparcia
e1093cd73b Changed the "if" test to use a cunstomized function.
Thanks to George B.
2005-10-24 19:21:09 +00:00
Manuel Canales Esparcia
49aea5ef15 Reorganized the script.
Added jhalfs.conf to have more control over the configuration.
Many thanks to George B.
2005-10-24 17:53:50 +00:00
Manuel Canales Esparcia
741fbe5641 Fixed a small issue when procesing the Spanish book translation. 2005-10-16 10:00:52 +00:00
Manuel Canales Esparcia
daedcfccad Added the list of supported books to the help output. 2005-10-16 08:47:48 +00:00
Manuel Canales Esparcia
d4c6056ff9 Udated to udev-config-4.rules 2005-10-15 20:05:08 +00:00
Manuel Canales Esparcia
8742984c53 Fixed some issues in the patches dowload code. 2005-10-15 19:58:52 +00:00
Manuel Canales Esparcia
aebe03a487 Adding support for LFS-6.1.1 2005-10-15 16:31:28 +00:00
Manuel Canales Esparcia
fd691b473d Replaced && by set -e.
Removed now unneeded XSL code.
2005-10-15 15:40:23 +00:00
Manuel Canales Esparcia
0fd8a9d4eb Added support for UTF-8 branch packages and patches. 2005-10-15 11:59:59 +00:00
Manuel Canales Esparcia
3cc6f4720a Removed the /home/lfs/.bash_profile creation due an issue with mainstream distros environment.
Thanks to Alexander E. Patrakov for point it out.
2005-10-15 10:47:25 +00:00
Manuel Canales Esparcia
43757c2d41 Fixed the exclusion of build log files from the du commands. 2005-10-14 22:32:33 +00:00
Manuel Canales Esparcia
50408d5a72 Added a switch to submmint a real /etc/fstab file.
Some space clean-up.
2005-10-14 21:57:22 +00:00
Manuel Canales Esparcia
1f1d6a145e Removed harcoded build order numbers.
Thanks to Alexander E. Patrakov for pointing the issue
and David Fix for their suggestion about how to fix it.
2005-10-14 20:24:22 +00:00
Manuel Canales Esparcia
3e67a77fa5 Fixed a command line bug. 2005-10-14 18:27:47 +00:00
Manuel Canales Esparcia
fdaedb867f Added date timestamp to the version output. 2005-10-12 10:58:20 +00:00
Manuel Canales Esparcia
2a54650a84 Added support to set the local time zone. 2005-10-12 10:32:31 +00:00
Manuel Canales Esparcia
6e31ef7aa4 Added some command-line sanity checks.
Started support for timezone setting.
2005-10-12 10:07:29 +00:00
Manuel Canales Esparcia
f0f60d0e0c The kernel config file must be put in place after "make mrproper" to work. 2005-10-09 17:53:54 +00:00
Manuel Canales Esparcia
898f47a966 Added echo_finished function. 2005-10-09 10:20:10 +00:00
Manuel Canales Esparcia
83f64dcbba Removed 132-kernel from the Makefile.
Fixed the copy of the krnel config file.
2005-10-09 08:46:38 +00:00
Manuel Canales Esparcia
2b73842751 Fixed command typo. 2005-10-08 19:57:07 +00:00
Manuel Canales Esparcia
cf7f294f41 If a package build fails, their sources aren't removed to can review config.cache, config.log, and like.
Added chapters 7, 8 and 9 (but not tested yet.)
2005-10-08 19:48:42 +00:00
Manuel Canales Esparcia
ee09e34a12 Don't remove envars in clean-chapter5. 2005-10-08 17:31:27 +00:00
Manuel Canales Esparcia
b51d2ec7cf Fixed 057-kernfs run. 2005-10-08 16:13:32 +00:00
Manuel Canales Esparcia
eaa021a187 Fixed an issue when ./is added to the umpacked filenames, like in kbd-1.12.tar.bz2 2005-10-08 15:34:32 +00:00
Jeremy Huntwork
af47a19d2c Fixed a couple of typos and added a comment to the directory argument 2005-10-07 23:01:40 +00:00
Manuel Canales Esparcia
01e51a1d9b Added switch to skip toolchain test suites if desired.
That switch will disable also the build of TCL, Expect and DejaGNU.
2005-10-07 19:13:20 +00:00
Manuel Canales Esparcia
a41ce586b1 Setting the PAGE envar needed build Groff.
Added --page_size switch to can change the PAGE value.
2005-10-06 21:09:53 +00:00
Manuel Canales Esparcia
0a9117e6f0 Fixed missing glibc-linuxthreads package and udev-config-3.rules file. 2005-10-06 18:03:52 +00:00
Manuel Canales Esparcia
78713250a8 Hidding 057-kernfs commands. 2005-10-05 17:34:45 +00:00
Manuel Canales Esparcia
dc4415336d Making the scripts executables at generation time, instead of as part of a target. 2005-10-05 17:26:35 +00:00
Jeremy Huntwork
2e51f442cd Reverted the cd into PKGDIR, already covered by envars. Fixed spurious '\' in Makefile. 2005-10-05 01:14:48 +00:00
Jeremy Huntwork
4aa0c1c858 Insert an absolute path 2005-10-05 01:01:06 +00:00
Jeremy Huntwork
a7d20b82ad Need to cd into the unpacked source directories in chapter6 2005-10-05 00:58:01 +00:00
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
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
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
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
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
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
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
db9cec66f1 Added support to run the optional testsuites. 2005-09-28 19:30:31 +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
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
557fe91345 Indentation clean-up.
Removed vervosity in xsltproc run.
Added dump-commands.xsl.
2005-09-25 16:56:00 +00:00
Manuel Canales Esparcia
fbb6b78eca Fixed a typo in my name. 2005-09-12 18:23:41 +00:00
Jeremy Huntwork
9e406b5e3f Fixed some tagging, added a new sed to use 'cat' properly in the Makefile 2005-09-12 02:53:48 +00:00
Jeremy Huntwork
48d7968b10 Make LFS a variable make understands and add a switch to allow user to specify 2005-09-12 02:04:26 +00:00
Jeremy Huntwork
e2caf6fa3b Fixed an issue with spurious appearances of '&& \' in the produced Makefile 2005-09-12 01:25:17 +00:00
Jeremy Huntwork
f8de15651e Added a function to build a Makefile out of the extracted commands 2005-09-12 01:01:10 +00:00
Jeremy Huntwork
4dafc45fe4 Added a 'jhalfs' directory in the BUILDDIR to keep jhalfs stuff all together 2005-09-11 21:33:50 +00:00
Jeremy Huntwork
1236262180 Added jhalfs script 2005-09-11 21:03:26 +00:00