| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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).
|
| |
|
| |
|
|
|
|
|
| |
There is only one chroot command in newer LFS, and using the first one
with previous versions does not hurt.
|
| |
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add also a description of that loop in the general header
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
It does not exist anymore, and it has been integrated in
check_alfs_tools.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The default VERSION returned is always "0". Create
a special case to prevent that.
|
|
|
|
| |
First the function used in pass1. Also some nit in the function itself
|
| |
|
|
|
|
|
| |
This is needed for managing -pass1 packages, since their version
can only be found in the tracking file (thanks to previous commit).
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
Change http to https for the new linuxfromscratch site.
Explicitly cite dependencies for the tools.
Cosmetic change to the kernel config instructions.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This is needed to be able to fit "Docbook XSL stylesheets" in.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Comment out the version comparison in BLFS/xsl/dependencies.xsl. It is
a mess in xslt anyway...
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
And try to clarify... Also remove references to books other than
LFS.
|
|
|
|
| |
Add to the configuration file in $BUILD_DIR/blfs_root
|
|
|
|
| |
Since this is not done anymore in envars.conf...
|
|
|
|
| |
Not needed anymore since envars are taken from configuration
|
|
|
|
| |
Now the environment variables are taken from configuration.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
it is not needed anymore by any book.
|
|
|
|
| |
Now the variables previously defined into envars.conf are in Config.in
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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, ...).
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
When rebuilding the Makefile, we should have prbook.xml in
ĴHALFSDIR. Use it to get VERSION (from lfs-release).
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|