[Patch: RFC] Log new files
matthew at linuxfromscratch.org
Thu Apr 26 14:41:17 PDT 2007
At the moment, Jhalfs doesn't track what files are installed by each package
it installs. This causes me problems when upgrading packages in LFS, as I
can't easily figure out if there are any new binaries or libraries that need
adding to the book.
To that end, I've attached a work-in-progress patch that nearly does what I
want. What it does is touches a 'timestamp-marker' file, immediately prior
to the 'make install' step in each package. It then runs a `find' command to
report all files newer than that timestamp, just prior to deleting the source
It has the following issues though:
1) The `touch timestamp-marker' command ends up in lfs-commands/chapter0*/*
whereas these scripts appear to match the book's instructions exactly. I'm
not sure if anyone will have concerns over those scripts now diverging from
2) It touches 'timestamp-marker' in chapter 5 packages as well. While this
doesn't cause any problems, it's unnecessary. My XSL-fu is far from
proficient so I wasn't sure how to prevent this from happening.
3) The functionality can't be turned off. It'd probably be better if this
were included in the options that control the disk usage and SBU reports, but
I haven't got around to grokking the Kconfig syntax yet.
I'd love to see this, or some other approach to installed-file logging
available in Jhalfs. Comments welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1855 bytes
Desc: not available
More information about the alfs-discuss