diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-07-26 15:32:42 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-30 14:50:31 +0100 |
commit | 754c54818d30ae8f5ba644a6b698b8e24636e133 (patch) | |
tree | 91a734a341aef2ea1699574323972189c71ad29e /meta/packages | |
parent | 8362a98b8e3ad3d97d1a7b65d0ecb4723fa9c769 (diff) | |
download | poky-754c54818d30ae8f5ba644a6b698b8e24636e133.tar.gz |
pam: use volatile to avoid /var/run population in do_rootfs
also disable doc rebuild to reuse existing man pages.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/pam/pam-1.1.1/99_pam | 1 | ||||
-rw-r--r-- | meta/packages/pam/pam_1.1.1.bb | 21 |
2 files changed, 19 insertions, 3 deletions
diff --git a/meta/packages/pam/pam-1.1.1/99_pam b/meta/packages/pam/pam-1.1.1/99_pam new file mode 100644 index 0000000000..97e990d10b --- /dev/null +++ b/meta/packages/pam/pam-1.1.1/99_pam | |||
@@ -0,0 +1 @@ | |||
d root root 0755 /var/run/sepermit none | |||
diff --git a/meta/packages/pam/pam_1.1.1.bb b/meta/packages/pam/pam_1.1.1.bb index 12a95267ea..7ef4d2d251 100644 --- a/meta/packages/pam/pam_1.1.1.bb +++ b/meta/packages/pam/pam_1.1.1.bb | |||
@@ -3,14 +3,16 @@ HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/" | |||
3 | BUGTRACKER = "http://sourceforge.net/projects/pam/support" | 3 | BUGTRACKER = "http://sourceforge.net/projects/pam/support" |
4 | # PAM allows dual licensed under GPL and BSD | 4 | # PAM allows dual licensed under GPL and BSD |
5 | LICENSE = "GPLv2+ | BSD" | 5 | LICENSE = "GPLv2+ | BSD" |
6 | PR = "r0" | 6 | PR = "r1" |
7 | 7 | ||
8 | SRC_URI = "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-${PV}.tar.bz2 \ | 8 | SRC_URI = "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-${PV}.tar.bz2 \ |
9 | file://disable_crossbinary.patch" | 9 | file://disable_crossbinary.patch \ |
10 | file://99_pam" | ||
10 | 11 | ||
11 | EXTRA_OECONF = "--with-db-uniquename=_pam \ | 12 | EXTRA_OECONF = "--with-db-uniquename=_pam \ |
12 | --includedir=${includedir}/security \ | 13 | --includedir=${includedir}/security \ |
13 | --libdir=/lib" | 14 | --libdir=${base_libdir} \ |
15 | --disable-regenerate-docu" | ||
14 | DEPENDS = "bison flex" | 16 | DEPENDS = "bison flex" |
15 | CFLAGS_append = " -fPIC " | 17 | CFLAGS_append = " -fPIC " |
16 | 18 | ||
@@ -26,3 +28,16 @@ FILES_${PN} += "${base_libdir}/security/*.so" | |||
26 | FILES_${PN}-dev += "${base_libdir}/security/*.la" | 28 | FILES_${PN}-dev += "${base_libdir}/security/*.la" |
27 | FILES_${PN}-dev += "${base_libdir}/*.la" | 29 | FILES_${PN}-dev += "${base_libdir}/*.la" |
28 | FILES_${PN} += "${base_libdir}/*.so*" | 30 | FILES_${PN} += "${base_libdir}/*.so*" |
31 | |||
32 | do_install() { | ||
33 | autotools_do_install | ||
34 | |||
35 | # don't install /var/run when populating rootfs. Do it through volatile | ||
36 | rm -rf ${D}/var | ||
37 | install -d ${D}/etc/default/volatiles | ||
38 | install -m 0644 ${WORKDIR}/99_pam ${D}/etc/default/volatiles | ||
39 | } | ||
40 | |||
41 | pkg_postinst_${PN} () { | ||
42 | /etc/init.d/populate-volatile.sh update | ||
43 | } | ||