diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2014-08-02 06:38:49 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-06 10:02:39 +0100 |
commit | 1c44e057c66fe20d491fcb3ae45defe0a300b256 (patch) | |
tree | 3af5c858d57f113eeb8dcba92c4369fbd47ef65f /meta/recipes-support/nss/nss.inc | |
parent | 77b4d82687e7d65e8c6619c36d337b1d5763fc36 (diff) | |
download | openembedded-core-1c44e057c66fe20d491fcb3ae45defe0a300b256.tar.gz openembedded-core-1c44e057c66fe20d491fcb3ae45defe0a300b256.tar.bz2 openembedded-core-1c44e057c66fe20d491fcb3ae45defe0a300b256.zip |
nss*: Replace hardcoded "/etc" with "${sysconfdir}"
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nss/nss.inc')
-rw-r--r-- | meta/recipes-support/nss/nss.inc | 6 |
1 files changed, 3 insertions, 3 deletions
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 } |