summaryrefslogtreecommitdiff
path: root/meta/packages/pam
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-08-11 13:34:54 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-12 15:39:24 +0100
commite101642a61fc418273c1cd4d58a9564b4bdecc5c (patch)
tree8890d90be0403bd1a9161f32ceb3d5cd1b7a27b5 /meta/packages/pam
parentcf1e754b3fee3c7ae907e7ae30233083d7892215 (diff)
downloadopenembedded-core-e101642a61fc418273c1cd4d58a9564b4bdecc5c.tar.gz
openembedded-core-e101642a61fc418273c1cd4d58a9564b4bdecc5c.tar.bz2
openembedded-core-e101642a61fc418273c1cd4d58a9564b4bdecc5c.tar.xz
openembedded-core-e101642a61fc418273c1cd4d58a9564b4bdecc5c.zip
populate-volatile.sh: cleanup duplicated invocations and remove boot warning
For one, populate-volatile.sh is itself a rcS script which is invoked earlier than package's own postinst method (last one in rcS). If package has already installed their volatile files correctly, it doesn't make sense to update volatile again in postinst since nothing is changed. On the other hand, dbus/hal are special since their user/group are only created in the target. If they pre-install volatiles like others, populate-volatile.sh will report "undefined user" since at that time their user/group haven't been created. The better way solving this is to generate their volatile in the fly after user/group are created, and then update volatiles. This fix [BUGID #121] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/packages/pam')
-rw-r--r--meta/packages/pam/pam_1.1.1.bb6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/packages/pam/pam_1.1.1.bb b/meta/packages/pam/pam_1.1.1.bb
index 7ef4d2d25..ad53a32f7 100644
--- a/meta/packages/pam/pam_1.1.1.bb
+++ b/meta/packages/pam/pam_1.1.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.kernel.org/pub/linux/libs/pam/"
BUGTRACKER = "http://sourceforge.net/projects/pam/support"
# PAM allows dual licensed under GPL and BSD
LICENSE = "GPLv2+ | BSD"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-${PV}.tar.bz2 \
file://disable_crossbinary.patch \
@@ -37,7 +37,3 @@ do_install() {
install -d ${D}/etc/default/volatiles
install -m 0644 ${WORKDIR}/99_pam ${D}/etc/default/volatiles
}
-
-pkg_postinst_${PN} () {
- /etc/init.d/populate-volatile.sh update
-}