AW: Packagename depends on uname -r

Geoff Shang Geoff at MintFM.net
Fri May 15 14:46:52 CEST 2015


On Fri, 15 May 2015, Werner Pommerer wrote:

> it didn't work for me. In "package_config", I added the line:
>
> ......
> PACKAGES yumi
> ......
> kernel-module-openafs-`uname -r`
> ......
>
> 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

My guess is that the kernel running durin the install is 3.2.0-4 which is
where this comes from.  You'll have to do something else to figure out the
version of the installed kernel, or run this command when the new system
comes up.

Geoff.



More information about the linux-fai mailing list