Commit graph

976 commits

Author SHA1 Message Date
Pierre Labastie
6c97d02d05 The 7.* tags do not have BOOK in their SVN URLs 2015-03-07 16:23:26 +00:00
Pierre Labastie
bd07ef520f The preceding fix is just a workaround, but the correct fix is:
- the problem is when a .dep file contains pack-A pack-B pack-A. If pack-A
and pack-B have some dep in common, say pack-C, that dep is erased from
pack-B, with the idea that it will be built as a dep of pack-A. But when
the program encounters the second pack-A, it removes the first one, so that
pack-C is built before the second pack-A, but after pack-B. Sorting was
a good workaround, but removing the last line instead of the first is
much better.
- Otherwise, add Xfce and Lxde to the list of packages whose preceding
sibling is a required dep.
2015-02-22 21:20:37 +00:00
Pierre Labastie
d607ac3717 Fix dependency generator:
When the .dep file is scanned during the tree building, it outputs dependencies
in the file order, while when the tree is scanned later, dependencies are
output in alphabetical order. This may eventually lead to a wrong order
at the end. To be sure that both output are the same, just sort
the .dep file before scanning it.
2015-02-22 15:16:49 +00:00
Pierre Labastie
f2e80acf4c The systemd tests have to be run after install 2015-02-07 21:43:13 +00:00
Pierre Labastie
bd0095150a Add pacman as package manager. 2015-01-18 16:58:24 +00:00
Pierre Labastie
4195a401a6 Change the url for downloading CLFS 2015-01-18 15:58:15 +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
b9c3497abb - Update to new dpkg version
- Remove underscore from version strings, since dpkg does not support it
- Update packInstall.sh.template to show how to remove underscore
2014-12-13 11:10:32 +00:00
Pierre Labastie
57ef0c1425 Package tzdata separately when using package management 2014-12-09 21:01:16 +00:00
Pierre Labastie
3d96a65554 Fix version extraction for XML-Parser 2014-12-09 20:58:02 +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
c5650f96c7 After generating book-html, we apply sed s@../images@images@ to the html
files. This is not OK, since that could perfectly match /*/images and change
it to just images...
2014-11-17 20:46:38 +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
2af991dc0b Allow "wget --version" to return a missing version field, since only
wget presence is required
2014-10-31 10:08:40 +00:00
Pierre Labastie
a743e57256 Avoid spurious linebreaks
in test commands, because some developpers
include them for formatting the xml
2014-09-28 08:06:23 +00:00
Pierre Labastie
f079f8f2a8 When a package installs bootscripts, the UNPACKDIR variable is used for
unpacking the booscripts. Then, when we want to remove the build directory
of the package, the UNPACKDIR is set to something else and the build
directory is not removed.
2014-09-24 10:10:53 +00:00
Pierre Labastie
2dd19923f7 small corrections to install-blfs-tools.sh 2014-09-23 20:18:44 +00:00
Pierre Labastie
9622581203 Add a warning in BLFS envars.conf about setting XDG_... variables when
running LXDE
2014-09-16 07:55:23 +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
1f25a75e57 Have openssl build before python in blfs tools 2014-08-27 09:56:45 +00:00
Pierre Labastie
bb2862d520 Some branches have a BOOK subdirectory and some have not. Trying to work around that... 2014-08-25 13:14:38 +00:00
Pierre Labastie
f0de95404c CLFS puts fstab in config and not anymore in bootable.
Thanks to Chris Staub for the report.
2014-06-04 19:55:51 +00:00
Pierre Labastie
3f83cb0f8e For CLFS 3.0, variable setting is now in final-prep chapter.
Adapt CLFS for that
2014-05-31 06:57:41 +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
ba57e61b6c Add code to download clang in BLFS tools 2014-05-20 20:31:22 +00:00
Pierre Labastie
179ae85718 Adapt instructions to new layout for "boot" method, while keeping
compatibility with older layouts. Joint work with W. Harrington
2014-05-12 06:51:20 +00:00
Pierre Labastie
ff9938fe50 Account for the possibility of a trailing slash in an url in pacakges.xsl 2014-05-08 20:58:12 +00:00
Pierre Labastie
c4ad7bfd4e Make the use of branches clearer, and allow branches to be used
for CLFS
2014-05-08 16:05:31 +00:00
Pierre Labastie
c6ee8eacba Adaptation to the new layout for CLFS systemd.
From a patch by W. Harrington
2014-05-08 15:51:53 +00:00
Pierre Labastie
719d0fc0a3 Correct urls generation when there is a trailing slash (thanks to sourceforge
for the homework;)
2014-05-07 15:30:33 +00:00
Gerard Beekmans
cbfba99325 Clean up test file 2014-04-26 23:48:05 +00:00
Gerard Beekmans
e0180ba2b2 Test file 2014-04-26 23:48:04 +00:00
Gerard Beekmans
65292efbbd Clean up test file 2014-04-26 23:42:34 +00:00
Gerard Beekmans
7d2dec46cb Test file 2014-04-26 23:42:32 +00:00
Pierre Labastie
642722f5c1 Improve script generation for BLFS tools:
- introduce a template for downloading code
- account for various layout of the BLFS pages for package information and additional
downloads
- Add the possibility for addtional downloads in xorg pages
2014-03-26 08:47:59 +00:00
Pierre Labastie
2ae5bbe4f0 Avoid self dependencies in BLFS tool. This may happen if a dev references
the package being built in the references paragraph.
2014-03-23 19:13:33 +00:00
Pierre Labastie
ee2c45c751 Tidy up clfs.xsl:
- add 32 bit critical tests when in multilib
- allow the "note" in perl to be run only when method=boot, and tests
are asked
- remove some useless lines
2014-03-09 08:59:46 +00:00
Pierre Labastie
2c4be7f2b5 The grep iregexp for extracting BLFS_TREE from the working copy has to be modified
to account for the changes in "svn info" ouput with recent versions of svn
2014-03-03 14:34:58 +00:00
Pierre Labastie
c3b96a9e55 Update clfs script generation to new book layout (remap="test" attribute).
Thanks to William Harrington for the patch
2014-02-14 20:39:51 +00:00
Pierre Labastie
5f6a6b496f Typo 2014-01-28 13:29:06 +00:00
Pierre Labastie
b4df9e1bbe Add network scripts for CLFS systemd branch 2014-01-25 16:19:19 +00:00
Pierre Labastie
8fe64627db Set ignore properties for generated or custom files 2014-01-25 15:45:07 +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
2270ffd83f Change the wording of the error message when Docbook XML DTD are
not installed
2014-01-23 08:59:08 +00:00
Pierre Labastie
4384929e98 Avoid clobbering suffixes like "-64bit" or "-n32" from install-logs names
in CLFS/master.sh. Reported by W. Harrington. Thanks.
Also correct a bug: log_new_files was called instead of touch_time_stamp.
2014-01-21 21:36:12 +00:00
Pierre Labastie
b97ed5bbb3 Change the svn:keyword property of common/chroot.xsl 2014-01-12 21:43:04 +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
7735c7ae5e Suppress dependency on the preceding page in X chapter 2013-12-28 20:51:15 +00:00