AW: Packagename depends on uname -r

Thomas Lange lange at informatik.uni-koeln.de
Fri May 15 14:46:25 CEST 2015


>>>>> On Fri, 15 May 2015 14:16:39 +0200, "Werner Pommerer" <werner.pommerer at uni-hohenheim.de> said:

    > But fai.log says:

    > install_packages: executing chroot /target yum -y install .... kernel-module-openafs-`uname -r` .......
    > No package kernel-module-openafs-3.2.0-4-amd64 available.

    > When the I do the same, when the machine is installed, it works.
    > uname -r gives 2.6.32-504.16.2.el6.x86_64

    > yum install kernel-module-openafs-`uname -r`
    > ........... Package 1:kernel-module-openafs-2.6.32-504.16.2.el6-1.6.6-cern3.0.slc6.x86_64 ............

    > What is the problem?
The problem is that during installation the Debian kernel is running,
which has a different kernel version than the CentOS/RHEL kernel.
Maybe it also work setting a variable kversion and then using

kernel-module-openafs-`echo $kversion`
or just
kernel-module-openafs-$kversion

inside the package_config.
-- 
regards Thomas


More information about the linux-fai mailing list