aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change README for the legacy branchlegacyPierre Labastie2022-02-261-2/+6
|
* Fix packInstall.sh.porg for non versioned x26[45]Pierre Labastie2022-02-211-2/+7
|
* Various fixes for create-sbu_du-report.shPierre Labastie2022-02-191-9/+12
| | | | | | | | - Check that there is enough material to calculate a SBU (!) - Prevent an error if REALSBU does not occur in jhalfs.config - Remove double square bracket: they change semantics and I cannot memorize what the change is (but e.g. file* is not expanded even if there is some filexxx in the dir).
* create-sbu_du-report.sh: check that J_VALUE is never emptyPierre Labastie2022-02-171-0/+3
|
* makefile-functions: make sudo/chroot messages less confusingPierre Labastie2022-02-051-4/+4
|
* Use only CHROOT1 in LFS/master.shPierre Labastie2022-02-051-4/+4
| | | | | There is only one chroot command in newer LFS, and using the first one with previous versions does not hurt.
* Improve and augment the "func_dependency" docPierre Labastie2021-12-301-17/+43
|
* func_install_blfs: gen_pkg_book needs the tracking filePierre Labastie2021-12-201-1/+3
| | | | | | | | The tracking file is needed for gen_pkg_book.sh as a first argument. Since it is called to generate the initial scriptlets, it needs to be passed the full path of the tracking file, including $BUILD_DIR. The $TOPDIR is now the second argument (and still needs to be passed too).
* BLFS Dependencies: Fix pass2 not runPierre Labastie2021-12-191-0/+10
| | | | | | With the way we manage "first" deps, it may happen that no node unreference the pass2 node. In that case, we add it to root. Add some documentation for what we do for those deps, too.
* Better document the loop on "after" depsPierre Labastie2021-12-191-1/+39
| | | | Add also a description of that loop in the general header
* Document some variables in func_dependenciesPierre Labastie2021-12-191-6/+7
| | | | | | | Better document the $seen global variable used in path_to, also at places where "path_to" is called. Document p and b flags in the loop over "after" deps. Document lr variable in the loop over "first" deps.
* install_blfs_tools: do not call check_blfs_toolsPierre Labastie2021-12-191-1/+0
| | | | | It does not exist anymore, and it has been integrated in check_alfs_tools.
* install_blfs: update trackdir also in gen_pkg_book.shPierre Labastie2021-12-193-3/+3
| | | | | | Now gen_pkf_book.sh depends on trackfile. This can be passed as an argument, but to ease calling it standalone, we need to set the default to the actual file used.
* Treat the case of boost in packInstall.sh.porgPierre Labastie2021-12-191-0/+4
| | | | | The default VERSION returned is always "0". Create a special case to prevent that.
* BLFS dependencies: better document the functionsPierre Labastie2021-12-181-13/+41
| | | | First the function used in pass1. Also some nit in the function itself
* Fix the logic for -pass1 packages in gen_pkg_bookPierre Labastie2021-12-161-2/+24
|
* Pass tracking file to gen_pkg_bookPierre Labastie2021-12-162-4/+8
| | | | | This is needed for managing -pass1 packages, since their version can only be found in the tracking file (thanks to previous commit).
* Allow to store version of -pass1 packagesPierre Labastie2021-12-161-6/+17
| | | | | | | | | | | With the new way of treating dependencies, we need to properly manage -pass1 packages: For that we need the installed version of -pass1 packages. But it is recorded nowhere. packages.xml shouldn't be used for that, because it is directly built from the book dependencies: adding -pass1 packages would just duplicate the dependency information. So the version has to be recorded in the tracking file. This involves changing bump.xsl (this commit), and passing the tracking file to gen_pkg_book (next commit).
* Update READMEPierre Labastie2021-12-131-2/+4
| | | | | | Change http to https for the new linuxfromscratch site. Explicitly cite dependencies for the tools. Cosmetic change to the kernel config instructions.
* Do not call check_blfs_tools that doesn't exist anymorePierre Labastie2021-12-131-2/+3
|
* Ticket #1732: add Docbook XSL and XML to check_alfs_toolsPierre Labastie2021-12-131-17/+13
| | | | | | | This is an oversight of when we moved to profiling and when we removed the docbook xsl stylesheets from the LFS directory. Docbook XML DTD and XSL stylesheets are needed, so test them at start. This has the effect of removing the need for check_blfs_tools.
* Change spacing in func_check_version outputPierre Labastie2021-12-131-4/+5
| | | | This is needed to be able to fit "Docbook XSL stylesheets" in.
* [BLFS] Ticket #1730: Do not forget "-pass1" packagesPierre Labastie2021-12-121-0/+1
|
* [BLFS] Ticket #1730: clean the dependency listPierre Labastie2021-12-121-3/+16
| | | | | | | | | | | With the new xsl/dependencies.xsl, the full dependency list is generated. We compare the version and installed version gotten from packages.xml using xsl/get_version.xsl and only install if the installed version is lower than the available version. Since the installed version returned by get_version.xsl for a non installed package is 0, that version is always lower than the available version and the package is installed. Note that if a package does not exist, both versions are empty, and they compare as equal with our method. So they are never installed...
* [BLFS] Ticket #1730: add a .xsl for returning versionsPierre Labastie2021-12-121-0/+31
| | | | | | | | This .xsl, applied to packages.ent, takes the package name as a string param, then returns: "version"<nl>"installed version" if both versions are known "version"<nl>0 if the package is known but not installed nothing if the package does not exist (case of the groupxx ones)
* [BLFS] Ticket #1730: compute the full dependency chainPierre Labastie2021-12-121-1/+7
| | | | | Comment out the version comparison in BLFS/xsl/dependencies.xsl. It is a mess in xslt anyway...
* BLFS ordered book gen: fix for .xz Xorg packagesPierre Labastie2021-12-111-1/+1
| | | | | | | | | In Xorg pages where there are several packages, the .xsl for separating packages assumed that the package names ended in tar.bz2 and selected the substring before ".tar.bz2" to extract the packagedir. This has changed recently for libX11, which is a .tar.xz package: the fix is to just select the substring before ".tar." for the packagedir.
* Add dependency thoughts to BLFS/TODOPierre Labastie2021-12-101-0/+23
|
* Ensure that MAKE_TERM(OUT|ERR) are unsetPierre Labastie2021-11-211-1/+6
| | | | | | Some packages use those variables to determine whether they are talking to a terminal, and issue color codes that mess our logs if the top level make has been launched from a terminal.
* Update README.BLFS for envars.conf removalPierre Labastie2021-11-211-104/+117
| | | | | And try to clarify... Also remove references to books other than LFS.
* Adapt func_install_blfs.sh to the removal of envarsPierre Labastie2021-11-211-0/+13
| | | | Add to the configuration file in $BUILD_DIR/blfs_root
* BLFS tools: Source /etc/profile in scriptsPierre Labastie2021-11-211-0/+4
| | | | Since this is not done anymore in envars.conf...
* Remove BLFS/envars.confPierre Labastie2021-11-211-99/+0
| | | | Not needed anymore since envars are taken from configuration
* BLFS tools: Do not source envars.confPierre Labastie2021-11-211-1/+1
| | | | Now the environment variables are taken from configuration.
* BLFS tools: Take variables from config instead of envars.confPierre Labastie2021-11-212-31/+174
| | | | | | Get them in gen_pkg_book, and pass them to sripts.xsl use them in scripts.xsl. We set them at the beginning of of the scriptlet, so that it is easy to modify them.
* Remove KBLAYOUT settingPierre Labastie2021-11-091-4/+1
| | | | it is not needed anymore by any book.
* [Remove BLFS envars.conf]: new gen_config.xslPierre Labastie2021-11-091-54/+119
| | | | Now the variables previously defined into envars.conf are in Config.in
* BLFS tools: do not needlessly validate bookPierre Labastie2021-11-091-13/+10
| | | | | | | With the current Makefile, git-version.sh is run unconditionally, so that the bok is validated each time, even if there is no text change. Change this to only validate if there is a text change (the previous behavior), and run git-version.sh just before validation.
* install-blfs-tools.sh: Minor tidy upPierre Labastie2021-11-091-8/+9
|
* Have install commands use the right PATH and exit if errorPierre Labastie2021-11-061-1/+2
| | | | | | | Hopefully the present commit fixes those problems: - use sh -e instead of sh - set PATH to $PATH (which will expand to the PATH before entering sudo) before the install commands.
* Display the size of $BUILD_DIR for statsPierre Labastie2021-11-012-8/+8
| | | | | | | | Displaying the size of /, but excluding other filesystems is not good if BUILD_DIR is on another filesystem. Furthermore, when doing stats, the DESTDIR is inside $BUILD_DIR, so the full size is recorded. The only thing that is not recorded is if the build system downloads files to the user's home (cargo, maven, ...).
* Remove $Id$ comments, they are useless with gitPierre Labastie2021-10-3193-186/+4
|
* Fix packInstall.sh.porg for docbook-5.1Pierre Labastie2021-10-211-1/+1
|
* Add gtweak to non-install commandsPierre Labastie2021-10-211-0/+1
|
* Add tracker-miner to the list of non-install commandsPierre Labastie2021-10-211-0/+1
|
* Fix blfs tools for condxmlPierre Labastie2021-10-171-1/+1
|
* jhalfs: rebuild-makefile. take VERSION from prbookPierre Labastie2021-10-141-10/+1
| | | | | When rebuilding the Makefile, we should have prbook.xml in ĴHALFSDIR. Use it to get VERSION (from lfs-release).
* Adapt to condxml branch: func_book_parserPierre Labastie2021-10-141-1/+1
| | | | | | When running git-version.sh, unconditionally add a $INITSYS argument, which is needed for the new condxml, and is harmless if this argument is not needed.
* Custom tools: prevent a warning if no md5sum for patchesPierre Labastie2021-10-142-1/+2
|
* Update and fix documentation of custom toolsPierre Labastie2021-10-144-29/+46
|