From ddb27e71d8fa60cb5270b5196534e88fa79896c2 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sun, 6 Mar 2022 11:33:42 -0800 Subject: 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 --- meta-integrity/recipes-security/ima-evm-keys/ima-evm-keys_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { if [ -e "${IMA_EVM_X509}" ]; then install -d ${D}/${sysconfdir}/keys install "${IMA_EVM_X509}" ${D}${sysconfdir}/keys/x509_evm.der - lnr ${D}${sysconfdir}/keys/x509_evm.der ${D}${sysconfdir}/keys/x509_ima.der + ln -rs ${D}${sysconfdir}/keys/x509_evm.der ${D}${sysconfdir}/keys/x509_ima.der fi } do_install[file-checksums] += "${@'${IMA_EVM_X509}:%s' % os.path.exists('${IMA_EVM_X509}')}" -- cgit v1.2.3-54-g00ecf