BLFS install tracking

George Boudreau georgeb at linuxfromscratch.org
Wed Jun 14 14:09:28 PDT 2006



M.Canales.es wrote:
> 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
   yup.. works for me
> 



More information about the alfs-discuss mailing list