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.
This commit is contained in:
Rodney W. Grimes 1993-07-20 01:23:28 +00:00
parent bb5d729efe
commit 64784fa9e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163

View File

@ -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)