Commit graph

963 commits

Author SHA1 Message Date
Pierre Labastie
24e2a6f2f8 Fixes for BLFS porg:
- add a special case for cacerts in packInstall.sh, so that a dummy version
  is generated, otherwise porgball does not work as intended
- do not quote out apostrophes in scripts, when generating configuration
  instructions
2016-08-26 07:13:09 +00:00
Pierre Labastie
7bbcce3ce7 Fix "blfs_root" location in envars.conf, to match initial location
when installing BLFS tools.
Convert package names to lowercase in wrap and pack functions for porg, since
porg does that anyway
2016-08-25 10:04:30 +00:00
Pierre Labastie
316db22956 Install the wrap and pack functions whan installing BLFS tools 2016-08-24 15:56:50 +00:00
Pierre Labastie
013a0bcac8 Merge trunk 3871 2016-08-24 15:25:33 +00:00
Pierre Labastie
e234d23768 BLFS porg style package management:
- update envarc.conf so that the system is made aware of the wrapInstall
and packInstall functions
- update scripts.xsl for wrapping install commands
- update gen_config.xsl to add the variable WRAP_INSTALL
- use the variable WRAP_INSTALL in gen_pkg_book
TODO: install the correct pack - wrap functions when installing BLFS tools
2016-08-24 15:15:14 +00:00
Pierre Labastie
df42c7cff7 Porg style package management:
- Add new variable WRAP_INSTALL in COnfig.in and jhalfs
- Generates the install commands inside a wrapper function
- Add files packInstall.sh.porg and packageManager.xml.porg
- TODO: update README.PACKAGE...
- TODO: make new templates in pkgmngt and document them
2016-07-21 16:43:35 +00:00
Pierre Labastie
33ff403b33 Adapt IP GATEWAY to book instructions 2016-06-25 14:39:47 +00:00
Pierre Labastie
04952c6322 Merge trunk up to revision 3866 2016-06-25 10:30:15 +00:00
Pierre Labastie
7bd0866514 Merge trunk up to revision 3864 2016-06-19 14:41:18 +00:00
Pierre Labastie
99ba6d8548 Merge trunk up to r3857 2016-03-08 20:29:02 +00:00
Pierre Labastie
af20a037df Merge trunk r3853 2016-01-30 08:36:23 +00:00
Pierre Labastie
bc5aee2c5f Merge trunk r3851 2016-01-01 18:24:07 +00:00
Pierre Labastie
6b6d54d952 Merge trunk r3849 2015-12-21 08:02:53 +00:00
Pierre Labastie
77fa8baa59 Add IP, hostname, domain, etc to the list of configuration parameters.
Font and encoding are in configuration too, but are not passed to the build
commands
Works only for LFS
2015-12-13 15:28:33 +00:00
Pierre Labastie
2453b766d0 Create a new branch for experimenting with new featutes described in
http://lists.linuxfromscratch.org/pipermail/alfs-discuss/2015-November/010357.html
+ long overdue: allowing to set hostname, address, etc, during the
configuration process.
2015-12-13 13:50:54 +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
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
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
66f8df0a02 Cosmetic change to install-blfs-tools.sh, so that versions of prereqs
are correctrly diplayed
2015-11-20 21:42:23 +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
4a03ca1421 Avoid to remove "make-ca.sh" from cacerts script 2015-11-20 06:15:24 +00:00
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