diff options
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb b/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb index 38bb922282..529f90a071 100644 --- a/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb +++ b/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb | |||
@@ -7,7 +7,7 @@ LICENSE = "BSD | Artistic-1.0" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \ | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \ |
8 | file://src/passwd.c;firstline=8;endline=30;md5=2899a045e90511d0e043b85a7db7e2fe" | 8 | file://src/passwd.c;firstline=8;endline=30;md5=2899a045e90511d0e043b85a7db7e2fe" |
9 | 9 | ||
10 | PR = "r4" | 10 | PR = "r5" |
11 | 11 | ||
12 | SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \ | 12 | SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \ |
13 | file://shadow.automake-1.11.patch \ | 13 | file://shadow.automake-1.11.patch \ |
@@ -44,6 +44,9 @@ do_install_append() { | |||
44 | sed -i 's:/bin/bash:/bin/sh:g' ${D}${sysconfdir}/default/useradd | 44 | sed -i 's:/bin/bash:/bin/sh:g' ${D}${sysconfdir}/default/useradd |
45 | sed -i '/^CREATE_MAIL_SPOOL/ s:^:#:' ${D}${sysconfdir}/default/useradd | 45 | sed -i '/^CREATE_MAIL_SPOOL/ s:^:#:' ${D}${sysconfdir}/default/useradd |
46 | 46 | ||
47 | # Use users group by default | ||
48 | sed -i 's,^GROUP=1000,GROUP=100,g' ${D}${sysconfdir}/default/useradd | ||
49 | |||
47 | install -d ${D}${sbindir} ${D}${base_sbindir} ${D}${base_bindir} | 50 | install -d ${D}${sbindir} ${D}${base_sbindir} ${D}${base_bindir} |
48 | for i in passwd chfn newgrp chsh ; do | 51 | for i in passwd chfn newgrp chsh ; do |
49 | mv ${D}${bindir}/$i ${D}${bindir}/$i.${PN} | 52 | mv ${D}${bindir}/$i ${D}${bindir}/$i.${PN} |