From aa87eade2bbb92f66894508384528600b4d6d2d0 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Sat, 2 Aug 2014 06:38:49 -0400 Subject: nss*: Replace hardcoded "/etc" with "${sysconfdir}" (From OE-Core rev: 1c44e057c66fe20d491fcb3ae45defe0a300b256) Signed-off-by: Robert P. J. Day Signed-off-by: Richard Purdie --- meta/recipes-support/nss/nss.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/recipes-support/nss') diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc index ce7d4a4b27..69f98b58cd 100644 --- a/meta/recipes-support/nss/nss.inc +++ b/meta/recipes-support/nss/nss.inc @@ -169,10 +169,10 @@ do_install_append_class-target() { sed -i s:OEINCDIR:${includedir}/nss3:g ${D}${libdir}/pkgconfig/nss.pc # Create a blank certificate - mkdir -p ${D}/etc/pki/nssdb/ + mkdir -p ${D}${sysconfdir}/pki/nssdb/ touch ./empty_password - certutil -N -d ${D}/etc/pki/nssdb/ -f ./empty_password - chmod 644 ${D}/etc/pki/nssdb/*.db + certutil -N -d ${D}${sysconfdir}/pki/nssdb/ -f ./empty_password + chmod 644 ${D}${sysconfdir}/pki/nssdb/*.db rm ./empty_password } -- cgit v1.2.3-54-g00ecf