Skip to contentSkip to conversation

openssl: fix multilib files conflict

PATCH New [email protected] 1 participant 1 message Jul 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssl: fix multilib files conflict

From: Kai Kang <[email protected]>

Inherit multilib_script to fix openssl multilib files conflict issue:

| Error: Transaction check error:
|   file /usr/bin/c_rehash conflicts between attempted installs of
|   lib32-openssl-bin-1.1.1c-r0.core2_32 and openssl-bin-1.1.1c-r0.core2_64
---
 meta/recipes-connectivity/openssl/openssl_1.1.1c.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-connectivity/openssl/openssl_1.1.1c.bb +2 -1
index 0117407316..af43d6992c 100644
@@ -26,7 +26,8 @@ SRC_URI_append_class-nativesdk = " \
 SRC_URI[md5sum] = "15e21da6efe8aa0e0768ffd8cd37a5f6"
 SRC_URI[sha256sum] = "f6fb3079ad15076154eda9413fed42877d668e7069d9b87396d0804fdb3f4c90"
 
-inherit lib_package multilib_header ptest
+inherit lib_package multilib_header multilib_script ptest
+MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash"
 
 PACKAGECONFIG ?= ""
 PACKAGECONFIG_class-native = ""
Signature · 1 line
2.20.0