mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
* Updated what the files are for
* Mentioned that you shouldn't copy the lfs-command files inside a package directory + gave an example what happens with autoconf when you do so git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@597 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
51542c73f6
commit
fec335e207
@ -3,23 +3,44 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
LFS Commands is a tarball containing files which list the installation
|
LFS Commands is a tarball containing files which list the installation
|
||||||
commands for the packages installed in this book. These files can be
|
commands for the packages installed in this book.
|
||||||
used to dump to a shell and install the packages, though some files
|
|
||||||
need to be modified (for example, when the kbd package is
|
|
||||||
installed, you needed to select the keyboard layout file, becaue it can't
|
|
||||||
reliably be guessed).
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
These files can also be used to quickly find out which commands have been
|
These files can also be used to quickly find out which commands have
|
||||||
changed between the different LFS versions as well. Download the
|
been changed between the different LFS versions as well. Download the
|
||||||
lfs-commands tarball for this book version and the previous book version
|
lfs-commands tarball for this book version and the previous book
|
||||||
and run a diff on the files. That way it is possible to see which packages
|
version and run a diff on the files. That way it is possible to see which
|
||||||
have updated installation instructions, so any scripts you may have can
|
packages have updated installation instructions, so any scripts you may
|
||||||
be modified, or you can reinstall a package if you think that
|
have can be modified, or you can reinstall a package if you think that
|
||||||
necessary.
|
necessary.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
A side effect is that these files can be used to dump to a shell and
|
||||||
|
install the packages, though some files need to be modified (for
|
||||||
|
example, when the kbd package is installed, you needed to select the
|
||||||
|
keyboard layout file, becaue it can't reliably be guessed). Keep in
|
||||||
|
mind, please, that these files are not checked for correctness,
|
||||||
|
integrity and so forth. There may be bugs in the files (since they are
|
||||||
|
manually created, typo's are often inevitable) so do check them and
|
||||||
|
don't blindly trust them.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If you decide to use these files for scripting purposes, then don't
|
||||||
|
place the files inside the directory of a package. For example, don't
|
||||||
|
put the autoconf file from the lfs-commands package into the autoconf
|
||||||
|
directory. The files may interfere with the actual package files, which
|
||||||
|
may contain a file with the same name. Autoconf is one
|
||||||
|
example of this: if an autoconf file is present in the autoconf
|
||||||
|
directory, the configure script won't create a new autoconf file. You
|
||||||
|
will end up with /usr/bin/autoconf containing autoconf's installation
|
||||||
|
instructions, rather than the real autoconf perl script. There may be
|
||||||
|
other packages that behave in similar ways, so just keep the
|
||||||
|
lfs-commands files outside the package directory.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The lfscommands can be downloaded from <ulink
|
The lfscommands can be downloaded from <ulink
|
||||||
url="http://packages.linuxfromscratch.org/lfs-commands/">
|
url="http://packages.linuxfromscratch.org/lfs-commands/">
|
||||||
|
Loading…
Reference in New Issue
Block a user