From 64784fa9e894cd8a5801bdd1fad6b0439073f5fe Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Tue, 20 Jul 1993 01:23:28 +0000 Subject: [PATCH] Since pwd_mkdb always works in /etc no matter what I added pwd.db and spwd.db that are created from the template master.passwd to src/etc so that a build distribution can populate /etc correctly. This is a work around until a better solution can be found. --- etc/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/etc/Makefile b/etc/Makefile index 83a63196fc60..5fa85a271b10 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -35,7 +35,14 @@ distribution: distrib-dirs install -c -o root -g wheel -m 755 ${BIN3} ${DESTDIR}/etc install -c -o root -g wheel -m 600 crontab ${DESTDIR}/var/cron/tabs/root install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc - (cd ${DESTDIR}/etc; pwd_mkdb -p master.passwd) + # + # This is broken, it always does /etc. It IGNORES the $DESTDIR for + # where to write the spwd.db pwd.db files. + #(cd ${DESTDIR}/etc; pwd_mkdb -p master.passwd) + # + # Work around for above problem. + install -c -o root -g wheel -m 644 pwd.db ${DESTDIR}/etc + install -c -o root -g wheel -m 600 spwd.db ${DESTDIR}/etc install -c -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev (cd ${DESTDIR}/dev; sh MAKEDEV all)