Commit graph

988 commits

Author SHA1 Message Date
Pierre Labastie
39da010453 Fix the installation of jhalfs for BLFS:
- Remove the download part of the book instruction for cacerts
- Separate download and md5sum instructions in "download-script" generation,
  so that packages with no md5sum can still be downloaded.
2015-11-19 13:13:29 +00:00
Pierre Labastie
82bd7a6423 Adjustements for non-versioned packages:
- allows xorg-env to be a dependency although it is a sect2 id
- remove the ban on xorg-env in dependencies.xsl
- directly call the template mode="normal" for modules, since there are
  no special cases in this case.
- treat all sect1 s, even if they do not have a xreflabel.
2015-11-18 10:54:13 +00:00
Pierre Labastie
7dc8595523 Automate the process of choosing action when there are circular dependencies.
This has to be tested, but hopefully, it should allow to find a coherent
build order when there are not too many circular dependencies
2015-11-17 20:22:04 +00:00
Pierre Labastie
5fb012da9a Add non-versioned packages in packages.xml. This allows for example to list dependencies of CA certificates 2015-11-17 20:18:23 +00:00
Pierre Labastie
d7c07e0b34 Memorize answers for circular dependencies. Still, we need a way to
automaitcally answer when competition is between for example optional
and recommended dep.
2015-11-07 11:36:11 +00:00
Pierre Labastie
1670a20e34 Again minor fix in comments for func_dependencies 2015-11-04 09:26:58 +00:00
Pierre Labastie
7f9fa78b65 Typos and minor fixes 2015-11-03 21:53:34 +00:00
Pierre Labastie
e4b1293971 Improve (?) comments in func_dependencies 2015-11-03 17:17:15 +00:00
Pierre Labastie
2ce3688e69 Adapt menu to ncurses ABI 6, and clear a warning 2015-10-03 12:10:42 +00:00
Pierre Labastie
6f48f76f20 Modifications for the LXQt chapter 2015-09-27 12:52:55 +00:00
Pierre Labastie
967b819f07 Add a new possibility for role tag in sect2 2015-09-20 10:18:20 +00:00
Pierre Labastie
b7515ec4fc Bug in ICA:
Some time ago, we added the version information to the logs filename, but
the iteration targets did not know about that, and failed.
2015-03-07 22:05:24 +00:00
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