mirror of
https://github.com/YellowJacketLinux/lfs-rpmbootstrap.git
synced 2025-01-23 14:32:16 +08:00
clarification on duplicate documentation
This commit is contained in:
parent
d3c8f59bd5
commit
14f973b7fb
@ -42,6 +42,14 @@ By default, LFS/BLFS does not compress man or info pages. By default, RPM uses
|
||||
gzip compression on man and info pages. Thus when RPM bootstrapping an LFS
|
||||
system, you will likely end up with two copies of each man and info page.
|
||||
|
||||
One solution is to gzip all man and info pages *before* the RPM bootstrap. That
|
||||
way the files on the file system will have the same file name as the file names
|
||||
in the RPM files. Similarly, you can configure your RPM build environment to NOT
|
||||
gzip the man and info pages. Then once the bootstrap is complete, revert it to
|
||||
gzip in future package builds. However, I just use a shell script to find and
|
||||
delete the duplicates. Since RPM compresses them and the script only deletes the
|
||||
uncompressed duplicates, it does not remove files under RPM management.
|
||||
|
||||
The shell script [`remove_duplicates.sh`](remove_duplicates.sh) can be used to
|
||||
remove the duplicates. Run it once a day or so during the RPM bootstrap process,
|
||||
definitely after installing RPM packaged Perl for the first time.
|
||||
|
Loading…
Reference in New Issue
Block a user