Packagename depends on uname -r

Thomas Lange lange at informatik.uni-koeln.de
Sun May 10 23:19:15 CEST 2015


>>>>> On Fri, 8 May 2015 15:47:24 +0200, "Werner Pommerer" <werner.pommerer at uni-hohenheim.de> said:

    > I would like to install a package (SLC6), which depends on ‘uname –r’.
    > How do I do this?
Just use it in a package_config file, for e.g.

package-`uname -r`


Since this package name will be given to your yum command, but also
interpreted by the shell, this will work.

-- 
regards Thomas


More information about the linux-fai mailing list