Commit graph

139 commits

Author SHA1 Message Date
Pierre Labastie
6c8095a04f Avoid infinite recursion in "tree-erase" if there is a circular dependency 2017-08-22 09:00:49 +00:00
Pierre Labastie
ca37fee8d7 Avoid parsing a bridgehead which is not a perl-module 2017-08-22 08:59:04 +00:00
Pierre Labastie
ee68aee4b1 Make BLFS/update-lfs.sh executable 2017-08-21 16:19:26 +00:00
Pierre Labastie
e3f4b9a4c1 Fix grepping for VERSION (func_install_blfs)
Add LFS-Release (update-lfs.sh and func_install_blfs)
2017-08-17 11:27:07 +00:00
Pierre Labastie
ce244f6517 Add a script to update the tracking file for LFS packages at a given revision
either by date or tag
2017-08-12 13:07:05 +00:00
Pierre Labastie
2cef19fddd Fix "Id" property in lfs_make_book.xsl 2017-08-09 14:20:25 +00:00
Pierre Labastie
607ef21bf6 Add missing bits to generate scripts for LFS in BLFS tools 2017-08-09 14:18:03 +00:00
Pierre Labastie
91b7b5fd88 Output a linear book for LFS, with BLFS format 2017-08-09 14:15:27 +00:00
Pierre Labastie
506120eeec install-blfs-tools.sh:
- Add instructions to retrieve and parse LFS book into packages.xml
2017-08-09 13:55:55 +00:00
Pierre Labastie
51dba866a0 BLFS/xsl/gen_pkg_list.xsl: misalignned closing tag 2017-08-09 13:32:22 +00:00
Pierre Labastie
e415656b9f BLFS/Makefile:
-  Do not call make after inititalizing the tracking file
-  Remove the <package-version> file from tracking dir after using it
-  Fix a typo
2017-08-09 13:25:26 +00:00
Pierre Labastie
45f8a9c86d Forgotten quotes 2017-06-29 16:54:28 +00:00
Pierre Labastie
973c767b90 Use BUILD_DIR and SRC_DIR in bootscripts/systemd-units download instructions
(cherry picked from r3967 in 2.4 branch)
2017-06-29 08:25:01 +00:00
Pierre Labastie
945ccaa75e Merge the new_features branch (manully, thanks to svn) 2017-04-09 10:29:32 +00:00
Pierre Labastie
c6c2d8966a Small adjustements to READMEs and BLFS/TODO 2017-03-20 15:31:30 +00:00
Pierre Labastie
9da16d9bf1 Fix a bug in the blfs scripts, occuring when the pacakge is neither a
tarball nor a zip file: copy the package from $SRC_DIR to the xxx-build dir.
And in case they are needed, copy the additional files too.
2017-03-19 16:17:18 +00:00
Pierre Labastie
8dc464678e Merge new_features: Allows to retrieve package from SRC_ARCHIVE, in case it is not already there
and is in archive. This should not happen in normal operation, but may happen
    in func_install_blfs
2017-03-16 12:49:01 +00:00
Pierre Labastie
39dc04a73d Merge new_features rev 3918 2017-03-15 21:06:17 +00:00
Pierre Labastie
f4a3b0ca3f Add another set of Id keywords properties 2017-03-12 13:34:15 +00:00
Pierre Labastie
56178bab73 Add a few forgotten keywords properties 2017-03-12 13:20:02 +00:00
Pierre Labastie
84440e673d Unless explicitely set on the command line, the REV parameter
in BLFS tools make is the same as the preceding used one. Formerly, it
was set to sysv unless defined on the command line
2017-03-02 16:38:25 +00:00
Pierre Labastie
70d73d1e82 Install units when revision is systemd, rather than bootscripts 2017-03-01 15:54:16 +00:00
Pierre Labastie
6eaae5e34c Fix Ed tarball unpacking 2017-02-28 12:46:52 +00:00
Pierre Labastie
342c862481 Merge new_feature branch r3884 to3886:
- Adapt BLFS/envars.conf to modern BLFS books
- Fix try order for downloading BLFS packages
- Fixes to use the XORG Legacy page in BLFS
2017-02-27 14:09:03 +00:00
Pierre Labastie
9575278319 Fix dependencies when there is
a <phrase> tag above the <xref>
2016-12-03 18:22:50 +00:00
Pierre Labastie
ebb631aad8 With the double book, it may happen that <phrase> is used
inside <title>, and that generates an unwanted linefeed. So, use
normalize-space for titles when generating the package list
2016-08-24 15:21:49 +00:00
Pierre Labastie
4f3c433f7b Fix for using the BLFS "double" book. Note that it does not work if one of the
revisions has been rendered, and you want to switch to the other one
2016-06-13 16:51:45 +00:00
Pierre Labastie
8ebac92b36 Preceding commit fix 2016-03-19 20:25:09 +00:00
Pierre Labastie
e253015c69 When running BLFS/gen-makefile.sh, the current working directory is emptied.
If this is not the directory you intended to work in, you may erase precious
data. So only erase data in directories whose name begin with "work".
2016-03-19 20:07:33 +00:00
Pierre Labastie
4888f0cdd4 typos 2016-02-29 15:30:06 +00:00
Pierre Labastie
f37d08b3aa Fix a bug in "tree_erase",
which occurs rarely
2016-02-28 18:07:52 +00:00
Pierre Labastie
e6967a11b1 Add possibility for lzma extension when untarring in BLFS tools 2016-01-30 08:33:14 +00:00
Pierre Labastie
07f7eff8b8 BLFS tools: fix usage of sudo when cleaning directory before unpacking
Package management: update dpkg version
2015-11-30 21:29:12 +00:00
Pierre Labastie
d020649d05 Fix exchanged lines in BLFS/xsl/gen_pkg_list.xsl 2015-11-29 19:13:54 +00:00
Pierre Labastie
e91a15da8a Print external dependencies when printing the dependency tree 2015-11-23 14:22:48 +00:00
Pierre Labastie
7ac11f0671 Fix a long standing bug preventing the chosen MTA to be used and improve
some comments
2015-11-23 14:14:23 +00:00
Pierre Labastie
cf8e0607a8 Fix name of external dependencies so that they contain no spaces 2015-11-23 14:03:39 +00:00
Pierre Labastie
12fc178906 Add external dependencies to "packages.xml". Next step is to display
them in the dependency tree.
2015-11-21 08:46:54 +00:00
Pierre Labastie
67992a0559 Fortify unpacking in the scripts generated for BLFS, see ticket #1693 2015-11-20 17:19:08 +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
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
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