ramdisk: build pwd_mkdb

This commit is contained in:
Arun Thomas 2011-11-22 16:20:05 +01:00
parent cd107a5ac3
commit 32aabfab40

View file

@ -149,12 +149,15 @@ ext2: ../../servers/ext2/ext2
system.conf: ../../etc/system.conf
install ${STRIPFLAG} ../../etc/$@ $@
passwd: ../../etc/master.passwd
passwd: ../../etc/master.passwd ../../usr.sbin/pwd_mkdb/pwd_mkdb
rm -f ../../etc/master.passwd.orig ../../etc/passwd.orig
rm -f ../../etc/pwd.db.tmp ../../etc/spwd.db.tmp
../../usr.sbin/pwd_mkdb/pwd_mkdb -V 0 -p -d ../../ ../../etc/master.passwd
install ${STRIPFLAG} ../../etc/$@ $@
../../usr.sbin/pwd_mkdb/pwd_mkdb:
$(MAKE) -C ../../usr.sbin/pwd_mkdb
master.passwd: ../../etc/master.passwd
install ${STRIPFLAG} ../../etc/$@ $@