Chakkaradeep C C([EMAIL PROTECTED])@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.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page