BLFS install tracking

M.Canales.es manuel at linuxfromscratch.org
Wed Jun 14 13:56:31 PDT 2006


El Miércoles, 14 de Junio de 2006 22:44, George Boudreau escribió:

>    Could you extract the package version number and place it in the
> build script as a variable ie: PKG_VERSION=1.2.3 . 

I will try it after finish the download code. 

> I could extract the 
> value and use it when the makefile is created for version comparison.
> When the makefile is run it could
>    touch /var/lib/jhalfs/BLFS/pkgname-$PKG_VERSION

Or maybe

echo $PKG_VERSION > /var/lib/jhalfs/BLFS/pkgname

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.com
TLDP-ES:                           http://es.tldp.org



More information about the alfs-discuss mailing list