diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/base-passwd/base-passwd_3.5.20.bb | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/recipes/base-passwd/base-passwd_3.5.20.bb b/recipes/base-passwd/base-passwd_3.5.20.bb index 78079a0aa6..5305730a9f 100644 --- a/recipes/base-passwd/base-passwd_3.5.20.bb +++ b/recipes/base-passwd/base-passwd_3.5.20.bb @@ -1,6 +1,7 @@ DESCRIPTION = "Base system password/group files." SECTION = "base" LICENSE = "GPL" +PR = "r1" SRC_URI = "\ ${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \ @@ -12,9 +13,7 @@ S = "${WORKDIR}/base-passwd" inherit autotools -do_install () { - install -d -m 755 ${D}${sbindir} - install -p -m 755 update-passwd ${D}${sbindir}/ +do_install_docs () { install -d -m 755 \ ${D}${mandir}/man8 ${D}${mandir}/pl/man8 install -p -m 644 man/update-passwd.8 \ @@ -23,11 +22,6 @@ do_install () { ${D}${mandir}/pl/man8/update-passwd.8 gzip -9 ${D}${mandir}/man8/* \ ${D}${mandir}/pl/man8/* - install -d -m 755 ${D}${datadir}/base-passwd - install -p -m 644 passwd.master \ - ${D}${datadir}/base-passwd/ - install -p -m 644 group.master \ - ${D}${datadir}/base-passwd/ install -d -m 755 ${D}${docdir}/${PN} install -p -m 644 debian/changelog ${D}${docdir}/${PN}/ @@ -36,6 +30,23 @@ do_install () { install -p -m 644 debian/copyright ${D}${docdir}/${PN}/ } +do_install () { + do_install_docs + + install -d -m 755 ${D}${sbindir} + install -p -m 755 update-passwd ${D}${sbindir}/ + install -d -m 755 ${D}${datadir}/base-passwd + install -p -m 644 passwd.master \ + ${D}${datadir}/base-passwd/ + install -p -m 644 group.master \ + ${D}${datadir}/base-passwd/ +} + +do_install_micro () { + install -d -m 755 ${D}${sysconfdir} + install -p -m 644 passwd.master ${D}${sysconfdir}/passwd + install -p -m 644 group.master ${D}${sysconfdir}/group +} do_install_append_openmn() { echo "0:Jn6tcg/qjqvUE:0:0:root:/root:/bin/sh" >>${D}${datadir}/base-passwd/passwd.master |