[lfs-dev] make keeps modifying lfs-bootscripts-20190524.tar.xz
bruce.dubbs at gmail.com
Tue Jul 2 08:43:16 PDT 2019
On 7/2/19 9:42 AM, Pierre Labastie via lfs-dev wrote:
> On 02/07/2019 15:10, Wayne Blaszczyk via lfs-dev wrote:
>> Hi All,
>> Since yesterday, building the LFS book has been cause some issues for me.
>> I've been using git rather than svn to keep up to date with the LFS repository.
>> But recently I've been getting a 'update-index --refresh: command returned error: 1' when doing a git svn rebase.
>> I turns out that 'make REV=systemd' keeps regenerating lfs-bootscripts-20190524.tar.xz .
>> Has something changed to have caused this?
>> I've even checked out using svn (svn co svn://svn.linuxfromscratch.org/LFS/trunk/BOOK) and the issue is there as well.
>> Md5sum before executing make:
>> c91b11e366649c9cec60c2552820fed5 lfs-bootscripts-20190524.tar.xz
>> md5sum after executing make:
>> cd1ebce5e7b89442f41f85fde5994a38 lfs-bootscripts-20190524.tar.xz
>> $ svn status
>> M trunk/BOOK/lfs-bootscripts-20190524.tar.xz
> I think this has been present for years. The bootscripts are regenerated by
> make-aux-files.sh, which is run by aux-file-data.sh, which is itself run at
> the end of the "validate" target.
That is correct. In addition the xml in packages.ent has:
<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">
<!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">
<!ENTITY lfs-bootscripts-home " ">
<!ENTITY lfs-bootscripts-ch7-du "BOOTSCRIPTS-INSTALL-KB KB">
and aux-file-data.sh updates those BOOTSCRIPTS entries in an
intermediate file when rendering the book.
The md5sum will change due to datestamps, but the contents do not change
often. When they do, we change <!ENTITY lfs-bootscripts-version
"20190524"> in packages.ent.
Note that I just changed the scripts to create .xz tarballs instead of .bz2.
More information about the lfs-dev