From: Saul Wold Date: Tue, 30 Sep 2014 17:16:51 +0000 (-0700) Subject: nss: nss.pc is not target specific X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32280 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f70efca58e9411feb251c9d00066f8631b167004;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git nss: nss.pc is not target specific RPM4 requires an nss-native component Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc index beb2cae3da5..ce7bff4e5d7 100644 --- a/meta/recipes-support/nss/nss.inc +++ b/meta/recipes-support/nss/nss.inc @@ -24,7 +24,7 @@ SRC_URI = "\ file://nss-CVE-2013-5606.patch \ file://nss-CVE-2014-1544.patch \ " -SRC_URI_append_class-target = "\ +SRC_URI_append = "\ file://nss.pc.in \ file://signlibs.sh \ " @@ -153,7 +153,7 @@ do_install() { done } -do_install_append_class-target() { +do_install_append() { # Create empty .chk files for the NSS libraries at build time. They could # be regenerated at target's boot time. for file in libsoftokn3.chk libfreebl3.chk libnssdbm3.chk; do @@ -168,7 +168,9 @@ do_install_append_class-target() { sed -i s:OEEXECPREFIX:${exec_prefix}:g ${D}${libdir}/pkgconfig/nss.pc sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/nss.pc sed -i s:OEINCDIR:${includedir}/nss3:g ${D}${libdir}/pkgconfig/nss.pc +} +do_install_append_class-target() { # Create a blank certificate mkdir -p ${D}${sysconfdir}/pki/nssdb/ touch ./empty_password