LFS suddenly not working!

Ag Hatzim zkom.xl at gmail.com
Fri Jun 3 22:37:44 PDT 2005


Chakkaradeep C C(chaks.lfs at gmail.com)@Sat, Jun 04, 2005 at 10:47:59AM +0530:
> 
> > Its a good idea to log every single package and a better idea to create
> > binaries for every package,just in case something goes wrong.
> 
> hey, how do create log of binaries, is that i have to collect manually
> the names of the binary being installed from each package?...
>  
If you have the log file e.g for unzip which is a small one
#-------------------------------# 
/usr/bin/zip
/usr/bin/zipnote
/usr/bin/zipcloak
/usr/bin/zipsplit
/usr/man/man1/zip.1
#-------------------------------# 
then all you have to do is to pass the log file to tar,like this.
tar -T ${LF}/log-${NA}-${VE} -cvjpf ${BN}/${NA}-${VE}-bin.bz2
Where
LF=log-dir
BN=binaries-dir
NA=name-of-the-package
VE=version

To create the log file you can use the log-install or paco or just use 
this simplier but a little more dangerous way.
Use the find command to make a log of your system *before* you built the
package and one more *after* the build,then create the diff of those
two and used as a log file of the installed package with a little help from grep and sed.

With regards.
Agx.



More information about the lfs-support mailing list