summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2022-03-06 11:33:42 -0800
committerArmin Kuster <akuster808@gmail.com>2022-03-11 21:08:22 -0800
commitddb27e71d8fa60cb5270b5196534e88fa79896c2 (patch)
treeda4f8dd6d191500d7d0f9f65fb8405fde57a9b02
parent47bbac52424509d35991b15bf987915ce753a38a (diff)
downloadmeta-security-ddb27e71d8fa60cb5270b5196534e88fa79896c2.tar.gz
ima-evm-keys: don't use lnr
lnr is a script in oe-core that creates relative symlinks, with the same behaviour as `ln --relative --symlink`. It was added back in 2014[1] as not all of the supported host distributions at the time shipped coreutils 8.16, the first release with --relative. However the oldest coreutils release in the supported distributions is now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln. Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb b/meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb
index dd32397..230c859 100644
--- a/meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb
+++ b/meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb
@@ -11,7 +11,7 @@ do_install () {
11 if [ -e "${IMA_EVM_X509}" ]; then 11 if [ -e "${IMA_EVM_X509}" ]; then
12 install -d ${D}/${sysconfdir}/keys 12 install -d ${D}/${sysconfdir}/keys
13 install "${IMA_EVM_X509}" ${D}${sysconfdir}/keys/x509_evm.der 13 install "${IMA_EVM_X509}" ${D}${sysconfdir}/keys/x509_evm.der
14 lnr ${D}${sysconfdir}/keys/x509_evm.der ${D}${sysconfdir}/keys/x509_ima.der 14 ln -rs ${D}${sysconfdir}/keys/x509_evm.der ${D}${sysconfdir}/keys/x509_ima.der
15 fi 15 fi
16} 16}
17do_install[file-checksums] += "${@'${IMA_EVM_X509}:%s' % os.path.exists('${IMA_EVM_X509}')}" 17do_install[file-checksums] += "${@'${IMA_EVM_X509}:%s' % os.path.exists('${IMA_EVM_X509}')}"