summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-06-20 13:03:47 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 21:08:02 +0100
commit324913cd22bd7d263555c1f1628d86cd0b5e6d0f (patch)
tree57ad1b003fd9f76b6f80df6ded627e7c5ef39057 /meta/recipes-core/base-passwd
parentbee912037e0fd1dacc1f3a4b6df8ee9c488ecae8 (diff)
downloadpoky-324913cd22bd7d263555c1f1628d86cd0b5e6d0f.tar.gz
base-passwd: Fix owners/groups
Fix the owners and groups of specific files copied from the developmen tree. This resolves an issue where those files gain the user/group id of the build user. (From OE-Core rev: 8996d4dfd302dc966e39d752761f0f3adbc75683) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/base-passwd')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd_3.5.22.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
index 3315c68196..7b1fdf17c2 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb
@@ -1,7 +1,7 @@
1SUMMARY = "Base system master password/group files." 1SUMMARY = "Base system master password/group files."
2DESCRIPTION = "The master copies of the user database files (/etc/passwd and /etc/group). The update-passwd tool is also provided to keep the system databases synchronized with these master files." 2DESCRIPTION = "The master copies of the user database files (/etc/passwd and /etc/group). The update-passwd tool is also provided to keep the system databases synchronized with these master files."
3SECTION = "base" 3SECTION = "base"
4PR = "r2" 4PR = "r3"
5LICENSE = "GPLv2+" 5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" 6LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
7 7
@@ -21,16 +21,16 @@ SSTATEPOSTINSTFUNCS += "base_passwd_sstate_postinst"
21 21
22do_install () { 22do_install () {
23 install -d -m 755 ${D}${sbindir} 23 install -d -m 755 ${D}${sbindir}
24 install -p -m 755 update-passwd ${D}${sbindir}/ 24 install -o root -g root -p -m 755 update-passwd ${D}${sbindir}/
25 install -d -m 755 ${D}${mandir}/man8 ${D}${mandir}/pl/man8 25 install -d -m 755 ${D}${mandir}/man8 ${D}${mandir}/pl/man8
26 install -p -m 644 man/update-passwd.8 ${D}${mandir}/man8/ 26 install -p -m 644 man/update-passwd.8 ${D}${mandir}/man8/
27 install -p -m 644 man/update-passwd.pl.8 \ 27 install -p -m 644 man/update-passwd.pl.8 \
28 ${D}${mandir}/pl/man8/update-passwd.8 28 ${D}${mandir}/pl/man8/update-passwd.8
29 gzip -9 ${D}${mandir}/man8/* ${D}${mandir}/pl/man8/* 29 gzip -9 ${D}${mandir}/man8/* ${D}${mandir}/pl/man8/*
30 install -d -m 755 ${D}${datadir}/base-passwd 30 install -d -m 755 ${D}${datadir}/base-passwd
31 install -p -m 644 passwd.master ${D}${datadir}/base-passwd/ 31 install -o root -g root -p -m 644 passwd.master ${D}${datadir}/base-passwd/
32 install -p -m 644 group.master ${D}${datadir}/base-passwd/ 32 install -o root -g root -p -m 644 group.master ${D}${datadir}/base-passwd/
33 install -p -m 644 ${S}/../login.defs ${D}${datadir}/base-passwd/login.defs 33 install -o root -g root -p -m 644 ${S}/../login.defs ${D}${datadir}/base-passwd/login.defs
34 34
35 install -d -m 755 ${D}${docdir}/${PN} 35 install -d -m 755 ${D}${docdir}/${PN}
36 install -p -m 644 debian/changelog ${D}${docdir}/${PN}/ 36 install -p -m 644 debian/changelog ${D}${docdir}/${PN}/