Commit graph

224 commits

Author SHA1 Message Date
Pierre Labastie
945ccaa75e Merge the new_features branch (manully, thanks to svn) 2017-04-09 10:29:32 +00:00
Pierre Labastie
1814367e83 Fix the case of the "symlinks.xml" file, which has revision attributes in sect2, which defeats a filter
based solely on screen and sect1 attributes.
2017-03-27 16:14:49 +00:00
Pierre Labastie
0ad3a337f1 When choosing the LFS book, we should not depend on docbook-xml. This is achieved by directly treating the revision attribute in lfs.xsl, instead of using profiling from docbook-xsl. 2017-03-27 09:40:41 +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
00313ddaf2 Remove man pages in section 5 for attr, since they are already
installed by man-pages
2015-11-30 09:09:19 +00:00
Pierre Labastie
f2e80acf4c The systemd tests have to be run after install 2015-02-07 21:43:13 +00:00
Pierre Labastie
b1f4a8d941 Fix installation of iproute2 when pkgmngt=y 2014-12-22 21:02:30 +00:00
Pierre Labastie
56d842655b Fix 2 minor bugs:
- the tzdata DESTDIR should not be tzdata, because some package managers use
$PACKAGE as their working directory, and this may conflicts with this one.
tzdata DESTDIR is now 001-tzdata
- when reading md5sums, the current code assumes that there is only one
<para><literal> node reachable from ../.. (relative to <ulink>). This is true
for the "official" book, but not necessarily for the snippets written for
package management. The following change only assumes that the md5sum
<para><literal> for a given <ulink> is the first one after <para><ulink>,
which does not change anything for the book, and is better for user
written snippets.
2014-12-21 11:25:47 +00:00
Pierre Labastie
57ef0c1425 Package tzdata separately when using package management 2014-12-09 21:01:16 +00:00
Pierre Labastie
a9832566c9 Remove nologin from shadow package when using package management 2014-11-29 21:17:49 +00:00
Pierre Labastie
e6e0c85db7 Fix a long standing bug in lfs.xsl, which tried to use packageManager.xml
when Package management was not in use, resulting in errors in
000-masterscript.log
Also correct a typo
2014-11-29 20:43:35 +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
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
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
560bef155a Fix package management instructions for attr.
Add attr to blacklist in opt_config.
2013-03-13 16:43:37 +00:00
Pierre Labastie
eed0929b01 Treat the XML::Parser case for package management 2013-03-04 16:44:16 +00:00
Pierre Labastie
90f304c8ae Corrects a problem with package management arising from the recent changes 2013-03-02 19:31:26 +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
Pierre Labastie
e40a68e701 Fix the procps-ng check instructions so that the result is logged into
$TEST_LOG
2013-02-20 08:26:35 +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
575bcf3c88 Modifies package manager scriptlet generation so that it is possible to
install several packages instead of only one (needed for pacman)
2012-02-12 18:33:40 +00:00
Pierre Labastie
f663589856 Uses PIPESTATUS to test
the exit of make check during gmp tests
2012-02-10 11:20:51 +00:00
Pierre Labastie
b339c942c1 Add a choice between installing the full set of supported locales
and installing just the minimal set for tests, after glibc build.
If the second option is chosen, the locale specified in LANG is also
installed, if not in the minimal set.
2012-02-10 09:43:23 +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
b515be7b2c Commit fix for glibc localedata installation regression. 2012-02-07 02:20:05 +00:00
Thomas Pegg
2c9a16bcca Fix for glibc test, forgot to add this in previous commit. 2012-02-01 23:36:34 +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
bcfb3bfdb5 LFS changed to linux headers install, change xsl to handle. 6.3 and svn only 2008-10-28 13:58:19 +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
81a7fb83ac Fix to track last book tagging change. 2007-09-21 18:08:16 +00:00
Manuel Canales Esparcia
4afcedbec9 LFS: Qick fix to handle current SVN book. 2007-09-18 21:14:16 +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
2c2d830859 LFS: Fixed a bug when running Bash testsuite. 2007-08-01 18:09:08 +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
Manuel Canales Esparcia
49d4af4657 LFS: Fixed Bash testsuite run. 2007-04-13 17:31:41 +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
7d6fe10675 Final system strip command scripts need to use #!/tools/bin/bash 2007-02-23 22:33:09 +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
Manuel Canales Esparcia
6bb080e696 Revised compare code. Test build in progres. 2006-12-04 20:58:09 +00:00
Manuel Canales Esparcia
ac35c8e7d2 MOUNT_PT permissions fixes in LFS and HLFS. In CLFSx it need be revised after 2.1 release.
Fixed /etc/lfs-release creation.
2006-12-04 19:23:26 +00:00
Manuel Canales Esparcia
14eaa9fe7e LFS changes:
Skip creation of chapters 4 and 9 scripts.
Creating /etc/lfs-release as part af all target.
Removed hardcoded script number.
2006-12-04 13:48:48 +00:00
Manuel Canales Esparcia
5f4982dc54 Simplified sha-bang addition.
We are creating the /bin/bash symlink before entering to the chroot jail.
2006-12-04 12:49:35 +00:00
Manuel Canales Esparcia
4eba1eaecb LFS bug fix: Removed kernfs script from CHROOT target dependencies.
Avoided hardcoded SUDO target dependencies.
2006-12-04 11:49:51 +00:00
Manuel Canales Esparcia
f3a7f3b897 Bug fix: removed set +h from chroot commands. 2006-12-04 11:26:39 +00:00
Manuel Canales Esparcia
ee89023cca Setting +h in the build scripts to be sure that hashing is actually dissabled. 2006-11-27 21:53:19 +00:00
Manuel Canales Esparcia
e6b660f09f Bug fix. 2006-11-23 20:36:52 +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
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
d3802b150f master.sh files don't need be executables.
Fixed chroot commands extraction.
2006-11-11 12:00:52 +00:00
Manuel Canales Esparcia
91ff6a9e0c Replaced /bin/sh by /bin/bash 2006-11-11 11:39:16 +00:00
George Boudreau
a2133cb501 Internal changes made to accomodate Ubuntu 2006-11-08 17:09:24 +00:00
George Boudreau
40700e9e56 Mistake::: restore lfs.xsl file 2006-11-06 19:42:30 +00:00
George Boudreau
f4d9a48a21 Remove \t from make messages, not compat with sh. Correct chroot extraction for CLFS to match book 2006-11-06 19:41:19 +00:00
Manuel Canales Esparcia
8bea2c8811 Fixed du bug related to lost+found permissions.
Using PRT_DU and PRT_DU_CHR in all places.
Using logs/$@ in all places.
Fixed du meassurament in LFS build for changingowner and kernfs scripts.
2006-11-01 15:41:52 +00:00
George Boudreau
cbc8ba25e3 Corrections to blfs-tools scripts. Added missing tidy_docs download and code 2006-10-03 19:52:33 +00:00
Manuel Canales Esparcia
f5fc83d9d8 Removed obsolete restart code from all books.
A better approach need be developed.
2006-10-02 19:38:34 +00:00
Manuel Canales Esparcia
045b2dc1ce Merged r3043:3145 from experimental:
New Makefile code and other improvements.
2006-10-02 19:32:06 +00:00
Manuel Canales Esparcia
4da2512b16 Merged r3068:3072 from expoerimental:
cmdline and config files support removal.
2006-08-29 18:16:27 +00:00
Manuel Canales Esparcia
401f81e4da Ported Makefile clean-up and 0/1 to n/y migration code from experimental.
There is no obvious bugs, let users to find hidden bugs.
2006-08-16 17:42:54 +00:00
Manuel Canales Esparcia
a1f1969e3b Don't bomb on testsuites that already have -k in the book. 2006-08-15 14:51:39 +00:00
Manuel Canales Esparcia
6ad5a2fbb7 Ported LUSER code and last CLFS2 fix from experimental. 2006-08-08 17:26:40 +00:00
Manuel Canales Esparcia
28f47563a6 Added config option to allow to bommb in test suites faiures. 2006-08-05 14:51:11 +00:00
Manuel Canales Esparcia
ccc7c2bd55 Fixed Udev script re-run after a build failure in LFS. 2006-07-30 11:24:47 +00:00
George Boudreau
d385453064 numerous grammar/spelling corrections provided by Chris Staub 2006-07-24 12:29:45 +00:00
Manuel Canales Esparcia
a6655ffd7d Avoiding hardcoded supported books versions. 2006-07-16 10:06:03 +00:00
George Boudreau
a160d86d6d Extensive code changes. A different method for finding the tarball name. 2006-06-20 21:14:44 +00:00
Manuel Canales Esparcia
4524fb26de Hidding do-housekeeping commands. 2006-06-10 16:11:58 +00:00
Manuel Canales Esparcia
4a444f1021 Look fix. 2006-06-09 23:20:31 +00:00
Manuel Canales Esparcia
e2ef1000ec Added " Target $@ OK" lines to the Makefile output.
Made more accurate the time meassured by progress_bar.sh.
2006-06-09 23:05:39 +00:00
George Boudreau
aed6c72400 a little more bulletproofing for the <make restart> code 2006-06-09 21:07:29 +00:00
Manuel Canales Esparcia
e314f7e527 Removed -v switches from Makefile targets, except in restart_code. 2006-06-09 20:52:05 +00:00
George Boudreau
fe24ca634b added <make restart> feature to the LFS build script 2006-06-09 13:31:22 +00:00
George Boudreau
cee9568f3d removed -v switch from some commands, interfering with progress_bar output 2006-06-08 00:42:03 +00:00
Manuel Canales Esparcia
a229600026 Dumped tetsuite logs into a separate dir.
Fixed few bugs.
2006-06-04 17:56:01 +00:00
Manuel Canales Esparcia
46758a21be Using fuser instead of pidof to watch that make is alive. 2006-06-01 21:54:18 +00:00
Manuel Canales Esparcia
82eb8c1420 Creating "unpacked" inside souces dir instead /tmp and referencing it via envar. 2006-06-01 18:42:08 +00:00
Manuel Canales Esparcia
a858a7823c POC for progress bar. 2006-05-31 20:43:41 +00:00
Jeremy Huntwork
b7faa5a022 Reverting r2729 until a better solution is found 2006-05-27 22:51:06 +00:00
Jeremy Huntwork
ab7bac5dc2 Added instructions to always remove source and -build directories before running specific package commands 2006-05-27 21:22:42 +00:00
Manuel Canales Esparcia
294c937163 Allow to download the kernel package and patches even if no config file is supplied. 2006-05-27 18:40:01 +00:00
George Boudreau
7d9a82d296 added housekeeping to virtual fs at the end of the build 2006-05-13 15:32:39 +00:00
Manuel Canales Esparcia
5a13801789 Fixed LFS envar creation. 2006-05-11 20:59:07 +00:00
Manuel Canales Esparcia
1b65a847a5 Merged optimize code from experimental branch. 2006-05-11 20:21:14 +00:00
Manuel Canales Esparcia
aa901e7463 Few updates to match last LFS book changes. 2006-05-01 18:14:55 +00:00
Manuel Canales Esparcia
15cad1689c New download code. 2006-04-30 19:42:10 +00:00
Manuel Canales Esparcia
45f8271829 Merged ICA/farce support from experimental branch. 2006-04-29 14:44:29 +00:00
Manuel Canales Esparcia
c7c5a53734 Some textual fix. 2006-04-29 14:08:43 +00:00
Manuel Canales Esparcia
15537d521d Removed unneeded true commands. 2006-04-28 16:53:14 +00:00
Manuel Canales Esparcia
453bef0e39 Create SBU and disk usage report by default. 2006-04-26 19:59:19 +00:00
Manuel Canales Esparcia
71445e78f8 Fix to match current LFS typography convenctions. 2006-04-14 09:58:30 +00:00
Manuel Canales Esparcia
d46a46e037 Actually fixed locales creation in chapter 05 2006-04-07 17:19:51 +00:00
Manuel Canales Esparcia
775945fac3 Small code fix. 2006-04-06 22:43:35 +00:00
Manuel Canales Esparcia
a241c334b4 Fixed locales creation when running chapter05 test suites.
Fixed the run of changingowner script on udev_update branch.
2006-04-06 22:41:47 +00:00
Manuel Canales Esparcia
877cc6a7c9 Merged experimental branch to trunk.
Updated TODO.
2006-04-06 19:35:22 +00:00