This patch fixes the shebang line of the smime script and also adds a 'perl' RDEPENDS for the main package since smime needs perl to run.
Also, this patch fixes some do_rootfs failures when using RPM backend because RPM automatically scans the files and, if perl scripts are found, adds dependency on the file found in the shebang line (i.e. /usr/local/bin/perl). Signed-off-by: Laurentiu Palcu <[email protected]> --- recipes-support/nss/nss_3.13.3.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-support/nss/nss_3.13.3.bb b/recipes-support/nss/nss_3.13.3.bb index 59c16e8..c05179f 100644 --- a/recipes-support/nss/nss_3.13.3.bb +++ b/recipes-support/nss/nss_3.13.3.bb @@ -7,6 +7,7 @@ LICENSE = "MPL1.1 GPL LGPL" LIC_FILES_CHKSUM = "file://security/nss/manifest.mn;md5=d71978748f23eae3156c38ac2a691924" DEPENDS = "sqlite3 nspr nspr-native" +RDEPENDS_${PN} += "perl" SRC_URI = "\ http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_13_3_RTM/src/${PN}-${PV}.tar.gz \ @@ -105,6 +106,8 @@ do_install() { sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/nss.pc sed -i s:OEINCDIR:${includedir}:g ${D}${libdir}/pkgconfig/nss.pc sed -i s:OEEXECPREFIX:${exec_prefix}:g ${D}${libdir}/pkgconfig/nss.pc + + sed -i s:/usr/local/bin/perl:${bindir}/perl:g ${D}${bindir}/smime } FILES_SOLIBSDEV := "" -- 1.7.9.5 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
