Commit graph

46 commits

Author SHA1 Message Date
Pierre Labastie
13e52a5572 Add the multilib book: fixes ticket #1722 2020-06-20 17:16:22 +00:00
Pierre Labastie
0835a1065f Two fixes:"
- use /etc/passwd to check whether LUSER exists
- use sudo -H -u $(LUSER) to be sure that HOME is set (depends on distro)
2020-04-01 09:11:32 +00:00
Pierre Labastie
939731aa52 No need to prin DU from Makefile in LFS
We now print the disk usage from the scriptlet, so printing
again from the Makefile results in a duplicated line. Remove
the printing if book=lfs
2020-03-29 13:46:19 +00:00
Pierre Labastie
20e3fcdec2 Do not use a login shell for LUSER
Most books have something like "exec /bin/bash" in .bash_profile for the
building user. This results in stopping and waiting for commands when
running a a login shell. The current jhalfs way of removing .bash_profile is
suboptimal, since a user may want to login as $(LUSER) and expect that the
environment is set (without having to source .bashrc). So remove the
"-i" flag in "sudo -u $(LUSER) ..."
2020-03-29 12:58:06 +00:00
Pierre Labastie
2758d9421e Use sect1info for getting informations on LFS packages:
- add sect1info sections to packagemanager.xml.xxx + various fixes
- add templates in LFS/lfs.xsl for script start and script end:
  - script start: define variables containing package information
                  print disk usage
                  unpack and change dir
  - script end: print disk usage
                remove build dir
- remove the corresponding operations from master.sh
2019-04-11 07:40:50 +00:00
Pierre Labastie
5637b53ba7 override libelf->elfutils for getting the tarball name 2018-01-12 16:10:54 +00:00
Pierre Labastie
203a64ca76 Allow a non numeric version in glibc 2017-07-11 16:21:26 +00:00
Pierre Labastie
9bbb9c83f3 Package management: compute times and sizes without packing times and sizes 2017-07-04 12:19:46 +00:00
Pierre Labastie
322226dbf8 Do not export the wrapInstall function when porg style is not in use 2017-07-04 12:17:11 +00:00
Pierre Labastie
3d96a65554 Fix version extraction for XML-Parser 2014-12-09 20:58:02 +00:00
Pierre Labastie
82808d1b14 Fixes addition of "pass1" util-linux in new version of CLFS.
Thanks to William Harrington for the patch.
2014-11-04 12:57:31 +00:00
Pierre Labastie
659be15f60 In get_package_tarball_name function, patterns corresponding to #- are
dropped. This should happen only when the digit is at the beginning of the
name. Change the sed accordingly
2014-05-24 08:50:45 +00:00
Pierre Labastie
ef32ce5ea5 Getting mad because you cannot interrupt the build once started?
The present set of commands seems to allow interrupting during the chapter
5 phase. No changes to chroot phase yet.
2013-11-01 14:15:43 +00:00
Pierre Labastie
3cb4ef5b5a Add versions to file names in logs and test-logs: use it for the SBY report 2013-10-05 17:45:52 +00:00
Pierre Labastie
8099885218 adaptations to recent modifications in the systemd book and
merging of a change (rev 3750) in the ablfs branch
2013-05-21 20:20:24 +00:00
Pierre Labastie
f0a31dea50 Add a sect2 template to lfs.xsl, so that it is possible to build
several packages on the same page
2013-03-02 14:10:45 +00:00
Matthew Burgess
083e2fd883 Handle systemd-provided Udev. 2012-07-16 19:55:06 +00:00
Pierre Labastie
e639536073 Corrects Makefile generation when some script names are of the form
ddd-d-name, where d represent a digit. This is used for package management
and/or for adding custom scripts (see README)
2012-02-12 18:54:37 +00:00
Matthew Burgess
608fbe13d0 Fix various issues when building CLFS. 2012-02-09 22:58:45 +00:00
Thomas Pegg
7072e1faf4 Commit Pierre Labastie's patch for including package management support in jhalfs. NOTE: Package management is by default disabled. 2012-02-01 23:29:37 +00:00
Thomas Pegg
4b54394ca1 Add handling for the different name of the xz-utils tarball 2011-01-08 00:17:08 +00:00
Matthew Burgess
d8006a00f3 Fix Expect tarball name detection for Expect 5.45. 2010-11-18 19:54:26 +00:00
George Boudreau
75d6d1cbf4 Added menu item to deselect the progress_bar display. Requested by Matthew Burgess 2008-10-27 23:26:29 +00:00
George Boudreau
31a37db331 Correction made to allow CLFS to use kernel headers trac# 1681 2008-10-15 17:04:20 +00:00
Manuel Canales Esparcia
68713c9186 Dump build time using Bash $SECONDS internal variable instead of using date calls + Perl-based calculations. 2007-08-17 16:24:47 +00:00
Manuel Canales Esparcia
7214dad6a3 Fixed iisue with powerpc-utils package name. 2007-06-14 17:02:41 +00:00
Manuel Canales Esparcia
f54632006b Ported INSTALL_LOG support to all books. 2007-06-03 09:06:13 +00:00
Manuel Canales Esparcia
02100141e4 Replaced "time" and "du" by "perl" fot timming and SBU-DU report calculations.
Thanks to Dan Nicholson and Ag. D. Hatzimanikas for the sugestions and patches.
2007-05-26 21:16:18 +00:00
Manuel Canales Esparcia
93346ee11d LFS: Added support for installed files logs.
Should be ported to other books when verified that works as expected.
2007-04-28 15:24:20 +00:00
Manuel Canales Esparcia
962793a098 Added support for host that place home dirs under a directory othen than /home.
Request and partial patch from Mario Lang.
2007-04-13 20:40:38 +00:00
Manuel Canales Esparcia
c180dec974 Don't mess with SHELL settings. 2007-03-19 18:27:00 +00:00
Manuel Canales Esparcia
ace81427f6 Looks like SHELL value need be exported for the progress_bar.sh test to work properly in all cases. 2007-03-18 10:59:28 +00:00
Manuel Canales Esparcia
aec44836a5 Fixed SHELL setting to work also when resuming failed builds. 2007-02-26 20:18:52 +00:00
Manuel Canales Esparcia
6d73498400 Fixed progress_bar.sh run inside chroot jail. 2007-02-17 16:26:34 +00:00
Manuel Canales Esparcia
1330ebc253 Fixed chroot environment to be more closed to the one expected by the books.
Need be full tested.
2007-02-17 02:08:46 +00:00
Manuel Canales Esparcia
81f7dc1ed0 Make SHELL=/bin/bash a Makefile variable instead using it inside the sub-make invocations to avoid be propagated to make processes started by the actual build scripts. 2007-02-16 18:24:19 +00:00
Manuel Canales Esparcia
3e7ceed256 Ported CUSTOM_TOOLS support to all books. 2006-12-15 10:53:10 +00:00
Manuel Canales Esparcia
10c8b78425 More compare and related fixes.
Test build in progress.
2006-12-05 15:25:00 +00:00
Manuel Canales Esparcia
6bb080e696 Revised compare code. Test build in progres. 2006-12-04 20:58:09 +00:00
George Boudreau
3c38ab0985 Adapted to clfs bootscript naming convention 2006-12-02 22:11:32 +00:00
Manuel Canales Esparcia
62d690d2ec Now HLFS is using kernel headers. 2006-11-15 19:39:00 +00:00
Manuel Canales Esparcia
1838bc7f42 Changed how create-sbu_du-report target is created.
Added blfs-tool support to HLFS.
2006-11-12 13:50:34 +00:00
Manuel Canales Esparcia
1f81129de6 Reordered makefile_functions. 2006-11-12 12:10:25 +00:00
Manuel Canales Esparcia
8f2c0862e9 Functions clean-up. 2006-11-11 21:20:15 +00:00
Manuel Canales Esparcia
195ed9f9a9 Moved Makefile header creation to a common function. 2006-11-11 19:55:13 +00:00
Manuel Canales Esparcia
fe30c61a75 Splitted common-functions. 2006-11-11 19:06:46 +00:00