summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pam
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-08-05 21:48:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:49 +0100
commit4efdf2c82f886cb5ac688ccd94f733ddfdc84b5e (patch)
treeec95531c07580bd1803640723cf5b1b6dac0cc5b /meta/recipes-extended/pam
parent6c9d66b16f52db6cabe6c1ce4247b31bb058ccfc (diff)
downloadpoky-4efdf2c82f886cb5ac688ccd94f733ddfdc84b5e.tar.gz
libpam: use ${localstatedir} and ${sysconfdir} instead of /var and /etc
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: 7556e60bf23c07646594a1704b3db7dfc29e631d) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pam')
-rw-r--r--meta/recipes-extended/pam/libpam_1.1.5.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.1.5.bb b/meta/recipes-extended/pam/libpam_1.1.5.bb
index dd75d427ec..c035aafe14 100644
--- a/meta/recipes-extended/pam/libpam_1.1.5.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.5.bb
@@ -9,7 +9,7 @@ SECTION = "base"
9LICENSE = "GPLv2+ | BSD" 9LICENSE = "GPLv2+ | BSD"
10LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083" 10LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083"
11 11
12PR = "r4" 12PR = "r5"
13 13
14SRC_URI = "https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-${PV}.tar.bz2 \ 14SRC_URI = "https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-${PV}.tar.bz2 \
15 file://99_pam \ 15 file://99_pam \
@@ -79,9 +79,9 @@ do_install() {
79 autotools_do_install 79 autotools_do_install
80 80
81 # don't install /var/run when populating rootfs. Do it through volatile 81 # don't install /var/run when populating rootfs. Do it through volatile
82 rm -rf ${D}/var 82 rm -rf ${D}${localstatedir}
83 install -d ${D}${sysconfdir}/default/volatiles 83 install -d ${D}${sysconfdir}/default/volatiles
84 install -m 0644 ${WORKDIR}/99_pam ${D}/etc/default/volatiles 84 install -m 0644 ${WORKDIR}/99_pam ${D}${sysconfdir}/default/volatiles
85 85
86 install -d ${D}${sysconfdir}/pam.d/ 86 install -d ${D}${sysconfdir}/pam.d/
87 install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ 87 install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/