diff --git a/share/initrd/etc/Makefile b/share/initrd/etc/Makefile index c25fec84b443..c231ac5f8b6c 100644 --- a/share/initrd/etc/Makefile +++ b/share/initrd/etc/Makefile @@ -25,7 +25,7 @@ PW_FILES= /tmp/pwd.db /tmp/spwd.db afterinstall: ${INSTALL} -o root -g wheel -m 444 \ ${ETC_FILES} ${DESTDIR}${SHAREDIR}/initrd/etc - cp /usr/src/etc/master.passwd /tmp + cp ${.CURDIR}/../../../etc/master.passwd /tmp /usr/sbin/pwd_mkdb -d /tmp /tmp/master.passwd ${INSTALL} -o root -g wheel -m 444 \ ${PW_FILES} ${DESTDIR}${SHAREDIR}/initrd/etc