diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-07-06 11:00:03 +0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-07-08 21:05:40 -0700 |
commit | cf3796f66318074737bbf9e0b43da8063f9fe43a (patch) | |
tree | 4e64457faeb513cb3f88eae25af2e5739f9a1a7c /meta/packages/base-passwd/base-passwd_3.5.9.bb | |
parent | fae8d5e985e9b05ce90f1eca434ad4dbf2259725 (diff) | |
download | poky-cf3796f66318074737bbf9e0b43da8063f9fe43a.tar.gz |
base-passwd: upgrade to 3.5.22
[Patches]
UPDATE _nobash.patch_: use /bin/sh instead of /bin/bash. disable root password
as we have no /etc/shadow
KEEP _root-home.patch_: set home of root to /home/root instead of /root
DISABLE _mysql.patch_: poky doesn't have mysql pacakge. no need to set password
for it then. but keep for a while
REMOVE _configure.patch_: in upstream now
[Recipe]
- add license checksum
- reduce line wraps
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/packages/base-passwd/base-passwd_3.5.9.bb')
-rw-r--r-- | meta/packages/base-passwd/base-passwd_3.5.9.bb | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/packages/base-passwd/base-passwd_3.5.9.bb b/meta/packages/base-passwd/base-passwd_3.5.9.bb deleted file mode 100644 index 46333ebd59..0000000000 --- a/meta/packages/base-passwd/base-passwd_3.5.9.bb +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | DESCRIPTION = "Base system password/group files." | ||
2 | SECTION = "base" | ||
3 | PR = "r2" | ||
4 | LICENSE = "GPLv2+" | ||
5 | |||
6 | SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \ | ||
7 | file://configure.patch \ | ||
8 | file://nobash.patch \ | ||
9 | file://root-home.patch \ | ||
10 | file://mysql.patch" | ||
11 | |||
12 | S = "${WORKDIR}/base-passwd" | ||
13 | |||
14 | inherit autotools | ||
15 | |||
16 | do_install () { | ||
17 | install -d -m 755 ${D}${sbindir} | ||
18 | install -p -m 755 update-passwd ${D}${sbindir}/ | ||
19 | install -d -m 755 \ | ||
20 | ${D}${mandir}/man8 ${D}${mandir}/pl/man8 | ||
21 | install -p -m 644 man/update-passwd.8 \ | ||
22 | ${D}${mandir}/man8/ | ||
23 | install -p -m 644 man/update-passwd.pl.8 \ | ||
24 | ${D}${mandir}/pl/man8/update-passwd.8 | ||
25 | gzip -9 ${D}${mandir}/man8/* \ | ||
26 | ${D}${mandir}/pl/man8/* | ||
27 | install -d -m 755 ${D}${datadir}/base-passwd | ||
28 | install -p -m 644 passwd.master \ | ||
29 | ${D}${datadir}/base-passwd/ | ||
30 | install -p -m 644 group.master \ | ||
31 | ${D}${datadir}/base-passwd/ | ||
32 | |||
33 | install -d -m 755 ${D}${docdir}/${PN} | ||
34 | install -p -m 644 debian/changelog ${D}${docdir}/${PN}/ | ||
35 | gzip -9 ${D}${docdir}/${PN}/* | ||
36 | install -p -m 644 README ${D}${docdir}/${PN}/ | ||
37 | install -p -m 644 debian/copyright ${D}${docdir}/${PN}/ | ||
38 | } | ||
39 | |||
40 | |||
41 | do_install_append_openmn() { | ||
42 | echo "0:Jn6tcg/qjqvUE:0:0:root:/root:/bin/sh" >>${D}${datadir}/base-passwd/passwd.master | ||
43 | } | ||
44 | |||
45 | |||
46 | pkg_postinst () { | ||
47 | set -e | ||
48 | |||
49 | if [ ! -e $D${sysconfdir}/passwd ] ; then | ||
50 | cp $D${datadir}/base-passwd/passwd.master $D${sysconfdir}/passwd | ||
51 | fi | ||
52 | |||
53 | if [ ! -e $D${sysconfdir}/group ] ; then | ||
54 | cp $D${datadir}/base-passwd/group.master $D${sysconfdir}/group | ||
55 | fi | ||
56 | exit 0 | ||
57 | } | ||