fai-mirror has problems with variables
Thomas Lange
lange at informatik.Uni-Koeln.DE
Tue Mar 29 11:46:13 CEST 2005
>>>>> On Tue, 29 Mar 2005 10:37:12 +0200, Holger Schurig <hs4233 at mail.mn-solutions.de> said:
> # export kernelversion=2.6.10
> # export kernelsubversion=1-686
> Adding packages from variable $addpackages:
> kernel-image-${kernelversion}-${kernelsubversion}E: Regex compilation
> error - Invalid preceding regular expression
You should not use variables names in the name of a package, even this
is possible in install_packages. Also the old examples using
kernel-source-`echo $kernelversion` should not be used any more.
But maybe it's possible to change the subroutine get_addpackages() in
fai-mirror to support the variable names in $addpackages. Patches are
always welcome ;-)
--
regards Thomas
More information about the linux-fai
mailing list