summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Schurig <schurig@mn-solutions.de>2004-09-21 10:40:53 +0000
committerHolger Schurig <schurig@mn-solutions.de>2004-09-21 10:40:53 +0000
commitae4eaf3fc8e94589728f928d790fdeac77051881 (patch)
tree1fabe4db23b9c7a4d7867b1431ce9d1fa446a6da
parent204c1a41f6eec8ed3a2373d128b558e02beef6f2 (diff)
deleted some old cruft which was already uncommented
MNCI "Ramses": add numeric root entry BKrev: 41500535CCK4B1Vc6PtrPJkDqVB1FA
-rw-r--r--base-passwd/base-passwd_3.5.7.oe31
1 files changed, 8 insertions, 23 deletions
diff --git a/base-passwd/base-passwd_3.5.7.oe b/base-passwd/base-passwd_3.5.7.oe
index 7d65767f52..cf80de8be1 100644
--- a/base-passwd/base-passwd_3.5.7.oe
+++ b/base-passwd/base-passwd_3.5.7.oe
@@ -1,4 +1,5 @@
-DESCRIPTION = "Base System Password/Group Files."
+DESCRIPTION = "Base system password/group files."
+PR="r1"
SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \
file://configure.patch;patch=1 \
@@ -6,9 +7,6 @@ SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \
inherit autotools
-#do_compile_append () {
-# oe_runmake -C doc
-#}
do_install () {
install -d -m 755 ${D}/${sbindir}
@@ -32,19 +30,17 @@ do_install () {
gzip -9 ${D}/${docdir}/${P}/*
install -p -m 644 README ${D}/${docdir}/${P}/
install -p -m 644 debian/copyright ${D}/${docdir}/${P}/
-# install -p -m 644 \
-# doc/users-and-groups.html doc/users-and-groups.txt \
-# ${D}/${docdir}/${P}/
-# gzip -9 ${D}/${docdir}/${P}/users-and-groups.txt
}
+
+do_install_append_ramses() {
+ echo "0:Jn6tcg/qjqvUE:0:0:root:/root:/bin/sh" >>${D}/${datadir}/base-passwd/passwd.master
+}
+
+
pkg_postinst () {
set -e
-# if [ X"$1" != Xconfigure ]; then
-# exit 0
-# fi
-
if [ ! -e $D/${sysconfdir}/passwd ] ; then
cp $D/${datadir}/base-passwd/passwd.master $D/${sysconfdir}/passwd
fi
@@ -52,16 +48,5 @@ pkg_postinst () {
if [ ! -e $D/${sysconfdir}/group ] ; then
cp $D/${datadir}/base-passwd/group.master $D/${sysconfdir}/group
fi
-
-# if ! [ -x ${sbindir}/update-passwd ]; then
-# echo >&2 "`dirname $0`: ${sbindir}/update-passwd does not exist,"
-# echo >&2 "or is not executable"
-# exit 1
-# fi
-# update-passwd -p ${D}/${datadir}/base-passwd/passwd.master \
-# -g ${D}/${datadir}/base-passwd/group.master \
-# -P ${D}/${sysconfdir}/passwd \
-# -G ${D}/${sysconfdir}/group \
-# -S ${D}/${sysconfdir}/shadow --dry-run
exit 0
}