Commit graph

1273 commits

Author SHA1 Message Date
Pierre Labastie
e030049a44 BLFS/func_dependencies: when building the graph, and DEP_LEVEL=3 (build opt
deps only for requested packages), it may happen that a requested packages
    is seen at depth > 2 before it is seen at depth=2. In this case, optional
    deps are not processed the first time, and then the package is not processed
    at depth 2 because it has already been seen. Add a case statement against
    that.
2018-02-19 16:01:00 +00:00
Pierre Labastie
df1f318915 Have the STATS variable displayed in jhalfs-blfs 2018-02-11 07:31:23 +00:00
Pierre Labastie
9e0c4b6a3a Wrong variable name when naming info.log file if stats are requested 2018-02-10 21:46:46 +00:00
Pierre Labastie
28546ae95d Output some information during the cleaning phase in BLFS dependency engine
for the impatient
2018-02-09 09:24:55 +00:00
Pierre Labastie
7bc70cd968 Allow DESTDIR to work for libelf, now that it is in LFS 2018-02-05 21:46:36 +00:00
Pierre Labastie
67c3df4aef Add stats to jhalfs-blfs. NB: due to book layout, far from perfect... 2018-02-05 18:12:17 +00:00
Pierre Labastie
ad747edfb0 Move the linefeed. Sometimes, several attempts are needed to make things
rignt, sorry
2018-02-05 14:56:54 +00:00
Pierre Labastie
6613034d13 Move a misplaced linefeed in LFS/lfs.xsl:outputpkgdest 2018-02-05 10:45:29 +00:00
Pierre Labastie
1cb4c7662c Only output DESTDIR when the command is "ninja install" 2018-02-05 10:30:01 +00:00
Pierre Labastie
4696ddd406 Add DESTDIR instructions when the command is "ninja install" (in LFS/lfs.xsl) 2018-02-05 09:54:15 +00:00
Pierre Labastie
bcbecc53f9 Don't generate porg and del .la instructions when doing userad or groupadd 2018-02-04 15:19:14 +00:00
Pierre Labastie
b7583ec500 Removing the need to have write access to BUILDDIR:
- remove an entry in Config.in (useless, since we impose sudo anyway)
- Update README and CHEATSHEET
2018-02-04 08:50:16 +00:00
Pierre Labastie
c7b535b488 Remove the need to have write access to BUILDDIR, using sudi, which is
required anyway. ticket #1715
2018-02-03 16:37:32 +00:00
Pierre Labastie
f1edc8e377 Because we do not want to depend on <pack>groupxx if it creates a circular
dependency, it may happen that nothing depends on <pack>groupxx. Detect and
    fix this by appending <pack>groupsxx to root.dep
2018-02-02 21:12:30 +00:00
Pierre Labastie
d80302bf94 Impose -pass1 to be built before its dependant package (bug #1718) 2018-02-02 21:10:16 +00:00
Pierre Labastie
59afe7323a BLFS/libs: Another stupid bug in path_to 2018-02-02 21:06:49 +00:00
Pierre Labastie
5afaf7cc48 BLFS/libs/func_dependencies: fix 2 stupid bug in function path_to 2018-02-02 17:55:29 +00:00
Pierre Labastie
1fa0dee15b Prepend JH_ to exported variables in jhalfs-blfs, so that collision with
build system variables is unlikely
2018-01-30 13:53:34 +00:00
Pierre Labastie
2140f22a88 New management of dependencies:
- Even if only required or recommended deps only are requested and built,
  account for optional deps to build the pacakge order
- build "runtime" deps after the pacakge dependening on them, but before
  any other package
- using the "first" role in the book, implement pass1 pacakges when there
  are circular dependencies
- Documentation has still to be written
- There must be bugs, thank you for testing...
2018-01-28 17:56:55 +00:00
Pierre Labastie
764a5d712c Do not add >> $TESTLOG to lines ending with "\" 2018-01-14 20:19:14 +00:00
Pierre Labastie
84a3fda1c3 Do not optimize binutils-pass1 in order to measure the SBU:
- introduce REALSBU variable if Config.in and jhalfs, and display it
- Adpat LFS/master.sh
2018-01-14 10:26:43 +00:00
Pierre Labastie
d2a7ec8984 Missing quote in Config.in 2018-01-13 09:34:57 +00:00
Pierre Labastie
2e1c1c3c16 Remove spaces at the end of lines 2018-01-13 09:08:56 +00:00
Pierre Labastie
dc7fd7b7ba Add .la file removal to LFS and BLFS scripts 2018-01-12 19:04:19 +00:00
Pierre Labastie
5637b53ba7 override libelf->elfutils for getting the tarball name 2018-01-12 16:10:54 +00:00
Pierre Labastie
c672fa87d7 Always create the test-log directory to allow user to "uncomment" test
instructions
2018-01-12 10:42:36 +00:00
Pierre Labastie
5a8939e7f9 Really comment out test instructions+always define TESTLOG since the user
may "uncomment" some tests
2018-01-12 09:40:59 +00:00
Pierre Labastie
489bdc21d1 Always generate test instructions, and comment unwanted ones out.
Fixes ticket #1695, also for CLFS...
2018-01-07 21:22:46 +00:00
Pierre Labastie
1d5f3e309f Always generate test instructions, and comment unwanted ones out.
Fixes ticket #1695
2018-01-07 20:20:12 +00:00
Pierre Labastie
4b2a5fd304 Typos and removing useless instruction 2018-01-07 18:23:51 +00:00
Pierre Labastie
0d93997796 The case of x265 in packInstall.sh.porg 2017-12-02 20:34:57 +00:00
Pierre Labastie
ce99eb609b Do not set LC_ALL in BLFS/envars.conf,
and rely on the user setting an UTF-8 locale
2017-11-19 16:59:34 +00:00
Pierre Labastie
e6ed1a1de7 Warn before cleaning BUILDDIR; see #1711 2017-11-01 14:40:53 +00:00
Pierre Labastie
9556f88088 Missing word in a comment 2017-11-01 14:40:09 +00:00
Pierre Labastie
fb63ddff14 No need for $() in if command 2017-11-01 14:39:34 +00:00
Pierre Labastie
7a0c3d2128 Add code to account to the new role attribute in dependencies 2017-10-07 18:48:02 +00:00
Pierre Labastie
87405299a9 Add ninja and python to the list of LFS packages which should not appear,
since they are also in BLFS
2017-10-07 08:17:57 +00:00
Pierre Labastie
b2fa9e83de Merge jhalfs 2.4 branch r4008: Remove characters that are illegal in filenames from external deps 2017-09-14 17:10:47 +00:00
Pierre Labastie
d0d4181726 Vim is in BLFS and should not be in LFS package list 2017-09-14 17:04:16 +00:00
Pierre Labastie
711b98e84e Special case for exiv2 version 2017-09-05 08:46:06 +00:00
Pierre Labastie
e674994435 One more special version case (xvid) 2017-08-23 08:45:02 +00:00
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
91e8eaa0b0 Fix stupid copy-paste bug 2017-08-21 16:05:14 +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
b15261a649 Update documentation for LFS inclusion in BLFS tools. 2017-08-12 13:03:06 +00:00
Pierre Labastie
6d1d77c1e8 Improve the list of installed LFS packages:
Take package names and versions from <sect1info> tags in lfs-full.xml
2017-08-10 15:25:12 +00:00
Pierre Labastie
f73377282f Fix two bugs:
- LFS_XML variable was forgotten in Config.in
- All customization to $JHALFSDIR have to be done before getting the
  {H,C,}LFS book, so that custom/config/* has to be copied before getting
  the book.
2017-08-10 08:10:43 +00:00