Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 48CFEE00C1C; Wed, 5 Oct 2016 06:53:27 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [130.164.80.23 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from ni.com (skprod2.natinst.com [130.164.80.23]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D07F6E00C02 for ; Wed, 5 Oct 2016 06:53:23 -0700 (PDT) Received: from us-aus-mgwout2.amer.corp.natinst.com (nb-snip2-1338.natinst.com [130.164.19.135]) by us-aus-skprod2.natinst.com (8.15.0.59/8.15.0.59) with ESMTP id u95DrBgc032392; Wed, 5 Oct 2016 08:53:11 -0500 Received: from adi-pc-linux.natinst.com ([130.164.14.198]) by us-aus-mgwout2.amer.corp.natinst.com (Lotus Domino Release 8.5.3FP6 HF1218) with ESMTP id 2016100508531115-620471 ; Wed, 5 Oct 2016 08:53:11 -0500 From: Ioan-Adrian Ratiu To: yocto@yoctoproject.org Date: Wed, 5 Oct 2016 16:51:41 +0300 Message-Id: <20161005135141.25973-1-adrian.ratiu@ni.com> X-Mailer: git-send-email 2.10.0 X-MIMETrack: Itemize by SMTP Server on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 10/05/2016 08:53:11 AM, Serialize by Router on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 10/05/2016 08:53:11 AM, Serialize complete at 10/05/2016 08:53:11 AM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-10-05_05:, , signatures=0 Subject: [meta-selinux][PATCH] libpcre_%.bbappend: add missing symlink libpcre.so.1 X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2016 13:53:27 -0000 This bbappend moves sysroot lib libpcre.so.x.x.x from /usr/lib to /lib and symlinks /usr/lib/libpcre.so to ../../lib/libpcre.so.x.x.x, but this causes certain recipes dependent on libpcre (like pango) to fail because they also expect libpcre.so.1 to exist which this recipe omits to create. (the reason why the lib is moved in the first place is to avoid a QA issue because there's a risk for /usr to be on another partition) Signed-off-by: Ioan-Adrian Ratiu --- recipes-support/libpcre/libpcre_%.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-support/libpcre/libpcre_%.bbappend b/recipes-support/libpcre/libpcre_%.bbappend index 9131f8d..ad18d61 100644 --- a/recipes-support/libpcre/libpcre_%.bbappend +++ b/recipes-support/libpcre/libpcre_%.bbappend @@ -7,6 +7,7 @@ do_install_append () { mv -f ${D}${libdir}/libpcre.so.* ${D}${base_libdir}/ relpath=${@os.path.relpath("${base_libdir}", "${libdir}")} ln -sf ${relpath}/${realsofile} ${D}${libdir}/libpcre.so + ln -sf ${relpath}/${realsofile} ${D}${libdir}/libpcre.so.1 fi } -- 2.10.0