Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id A043C6C3AA for ; Tue, 22 Jan 2019 03:06:53 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id x0M36st9015246 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 21 Jan 2019 19:06:54 -0800 (PST) Received: from pek-lpggp4.wrs.com (128.224.153.77) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.408.0; Mon, 21 Jan 2019 19:06:53 -0800 From: Xulin Sun To: Date: Tue, 22 Jan 2019 11:03:57 +0800 Message-ID: <1548126237-38328-1-git-send-email-xulin.sun@windriver.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <20190118022248.17108-1-xulin.sun@windriver.com> References: <20190118022248.17108-1-xulin.sun@windriver.com> MIME-Version: 1.0 Cc: xulin.sun@windriver.com Subject: [meta-oe][PATCH v2] openssl: fix multilib file install conflicts X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2019 03:06:53 -0000 Content-Type: text/plain To avoid issue like below if run "bitbake lib32-core-image-minimal" with series userspace packages(LAMP,krb5...) added. Add multilib_script support for openssl's c_rehash which is a perl script. Error: Transaction check error: file /usr/bin/c_rehash conflicts between attempted installs of lib32-openssl-bin-1.1.1-r0.armv7at2hf_neon and openssl-bin-1.1.1-r0.aarch64 Signed-off-by: Xulin Sun --- meta/recipes-connectivity/openssl/openssl_1.1.1a.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1a.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1a.bb index 5c4e69c..21359fa 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.1.1a.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1a.bb @@ -206,3 +206,7 @@ RREPLACES_openssl-conf = "openssl10-conf" RCONFLICTS_openssl-conf = "openssl10-conf" BBCLASSEXTEND = "native nativesdk" + +inherit multilib_script + +MULTILIB_SCRIPTS = "${PN}:${bindir}/c_rehash" -- 2.7.4