Commit graph

95 commits

Author SHA1 Message Date
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
c6506aea23 Remove sudo from commands run as root (and some DEBUG lines) 2019-03-15 08:55:01 +00:00
Pierre Labastie
a659e46082 Hopefully get the devices: target Ok now 2019-03-14 21:02:58 +00:00
Pierre Labastie
13c475babc Get virtual kernel filesystem commands from the book, and really add
/run/systemd/resolve/resolv.conf after creating the kernel FS in chapter 6
2019-03-13 06:31:55 +00:00
Pierre Labastie
426c618053 Stupid typo 2019-03-09 20:27:44 +00:00
Pierre Labastie
d39252b7ca LFS: Copy /etc/resolv.conf to where it should be during chroot, for
systemd: this allows using the network in chroot.
Also add a chroot1 target, and update the teardown target to what is
in the book.
2019-03-09 07:15:41 +00:00
Pierre Labastie
84a3fda1c3 Do not optimize binutils-pass1 in order to measure the SBU:
- introduce REALSBU variable if Config.in and jhalfs, and display it
- Adpat LFS/master.sh
2018-01-14 10:26:43 +00:00
Pierre Labastie
2e1c1c3c16 Remove spaces at the end of lines 2018-01-13 09:08:56 +00:00
Pierre Labastie
dc7fd7b7ba Add .la file removal to LFS and BLFS scripts 2018-01-12 19:04:19 +00:00
Pierre Labastie
5a8939e7f9 Really comment out test instructions+always define TESTLOG since the user
may "uncomment" some tests
2018-01-12 09:40:59 +00:00
Pierre Labastie
c57747dba5 Make the date of the SBU_DU file the same as the one reported at the end of
the jhalfs run. Note that date is the one when the run is started
2017-06-29 16:45:31 +00:00
Pierre Labastie
d601cfcc47 Fix logic for copying fstab. That stupid bug wanted to copy fstab when
FSTAB was empty!
2017-03-10 20:23:57 +00:00
Pierre Labastie
85506da325 Merge new_features branch at r3901; Fixes:
when the user fstab and/or kernel config are the same as the ones in
$BUILDDIR/sources: avoid to cp on itself
- set SRC_ARCHIVE=/dev/null in BLFS tools download script if SRC_ARCHIVE is
empty
2017-03-05 08:38:09 +00:00
Pierre Labastie
df97e687b5 Merge "new_features" branch r3898:
output /etc/os-release when the init system is systemd
2017-03-03 21:16:40 +00:00
Pierre Labastie
abc8b27cb4 Change the command to create the CHROOT$i variables so that it looks better.
Thanks to "amakarov" for the patch.
2014-08-29 16:43:10 +00:00
Pierre Labastie
5f6a6b496f Typo 2014-01-28 13:29:06 +00:00
Pierre Labastie
d954e9c82a Adapt the umounting of kernel virtual filesystems to new instructions
in the LFS book
2014-01-23 09:15:05 +00:00
Pierre Labastie
d68eb1b205 Major change to th scripts layout:
- Do not put the chroot commands in $PROGNAME-commands, but rather
  in a separate directory chroot-scripts
- Use the commands in the chroot-scripts directory to generate the CHROOT
  variables in Makefile
- The commands are extracted to $PROGNAME-commands only if they do not
  have role="nodump attribute and they do not begin with "chroot" (for
  compatibility with previous books where chroot commands did not have
  the role="nodump" attribute.
2014-01-12 21:40:20 +00:00
Pierre Labastie
532ede6912 Add network-scripts case in chapter 7 for systemd branch 2013-12-22 08:04:06 +00:00
Pierre Labastie
f60a8b73b3 Some updates and remove a long standing useless reference to
a $(LFS) variable in LFS Makefile "chroot" target.
2013-11-12 13:57:09 +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
de84c00168 download and builds the test programs, even if tests are disabled 2013-09-19 15:44:49 +00:00
Pierre Labastie
18499359b0 Retry failed commit r3686: LFS/master.sh:
- Ignore error when useradd does not support "-k /dev/null" (happens at
least on Suse)
- strip "-libstdc++" from the script name to allow building gcc-libstdc++
with package gcc
2013-03-27 14:50:42 +00:00
Pierre Labastie
72f2f82889 Cleanly umount the kernel files, following the new way of mounting /dev/shm 2012-12-30 16:30:44 +00:00
Pierre Labastie
e1fc8553f6 Adapted master.sh so that the Makefile contains instructions
to create /etc/lsb-release
2012-05-13 09:18:19 +00:00
Pierre Labastie
909685338b Change owner of lfs-release to root 2012-05-12 20:51:34 +00:00
Pierre Labastie
ac9bdc7c8e LFS/master.sh: add sudo to the create-sbu_du-report.sh command, so that
it can read all the directories for computing the size
2012-03-24 10:52:07 +00:00
Pierre Labastie
7831c7980b Added check to the list
of packages which are not built if testsuites are not run
2012-02-09 13:45:22 +00:00
Matthew Burgess
93fd2d011e Fix ICA build and a couple of other miscellaneous issues. Patch courtesy of Pierre Labastie. 2012-02-07 22:30:26 +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
George Boudreau
0850553edb LFS has new build method. Added new vars to LFS/master.sh (JHuntwork) 2008-12-06 15:05:59 +00:00
George Boudreau
7c170663ed LFS only:: Added ability to enter chroot using makefile. (code:Bruce Dubbs) 2008-10-21 21:29:13 +00:00
Manuel Canales Esparcia
81fca3136b On iterative builds, log installed files only for the first build. 2007-05-26 10:55:46 +00:00
Manuel Canales Esparcia
38d2de6098 Typo fix. 2007-04-28 15:49:34 +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
Jeremy Huntwork
b11c10be50 Minor formatting changes for consistency and a typo fix in the README. 2007-03-21 02:34:14 +00:00
Manuel Canales Esparcia
dbcdfd7f69 Reimplemented support for partial builds. 2007-03-18 10:14:04 +00:00
Manuel Canales Esparcia
3bc607816b Unified mk_CUSTOM_TOOLS and mk_BLFS_TOOL targets. 2007-03-03 12:18:07 +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
a5f52ba47d The ICA/farce Bzip2 fix is needed only on LFS-6.2 and CLFS-1.0. 2007-02-24 16:35:58 +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
George Boudreau
b4cf3211e8 Had to block custom files from being build in CLFS-sysroot and CLFS-embedded 2007-02-16 00:58:47 +00:00
Manuel Canales Esparcia
df3281812c Fix ICA run on current SVN book 2007-02-04 10:59:32 +00:00
Manuel Canales Esparcia
3e7ceed256 Ported CUSTOM_TOOLS support to all books. 2006-12-15 10:53:10 +00:00
Manuel Canales Esparcia
8426d1fdc4 Skip linux-headers reinstallation from iterative builds. 2006-12-07 10:51:26 +00:00
Manuel Canales Esparcia
10c8b78425 More compare and related fixes.
Test build in progress.
2006-12-05 15:25:00 +00:00