make etcfiles: small fix in Makefile
Keep the MKUNPRIVED=yes stuff with the installation of master.passwd, i.e. away from make etcfiles
This commit is contained in:
parent
8f3fbf7cc1
commit
211cab38e2
14
etc/Makefile
14
etc/Makefile
@ -324,6 +324,13 @@ install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV
|
|||||||
master.passwd ${DESTDIR}/etc
|
master.passwd ${DESTDIR}/etc
|
||||||
${TOOL_PWD_MKDB} -p ${PWD_MKDB_ENDIAN} -d ${DESTDIR}/ \
|
${TOOL_PWD_MKDB} -p ${PWD_MKDB_ENDIAN} -d ${DESTDIR}/ \
|
||||||
${DESTDIR}/etc/master.passwd
|
${DESTDIR}/etc/master.passwd
|
||||||
|
.if ${MKUNPRIVED} != "no"
|
||||||
|
( \
|
||||||
|
for metaent in passwd pwd.db spwd.db; do \
|
||||||
|
echo "./etc/$${metaent} type=file mode=0644 uname=root gname=operator tags=etc_pkg"; \
|
||||||
|
done; \
|
||||||
|
) | ${METALOG.add}
|
||||||
|
.endif # MKUNPRIVED != no
|
||||||
.if defined(__MINIX)
|
.if defined(__MINIX)
|
||||||
# LSC: We need a safe install target for etc files, as this is expected from
|
# LSC: We need a safe install target for etc files, as this is expected from
|
||||||
# our current user base. This safe version only leaves out the master.passwd
|
# our current user base. This safe version only leaves out the master.passwd
|
||||||
@ -341,13 +348,6 @@ install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV
|
|||||||
install-etc-files-safe: .PHONY .MAKE check_DESTDIR MAKEDEV
|
install-etc-files-safe: .PHONY .MAKE check_DESTDIR MAKEDEV
|
||||||
# LSC Minix administrator group is operator, not wheel
|
# LSC Minix administrator group is operator, not wheel
|
||||||
.endif # defined(__MINIX)
|
.endif # defined(__MINIX)
|
||||||
.if ${MKUNPRIVED} != "no"
|
|
||||||
( \
|
|
||||||
for metaent in passwd pwd.db spwd.db; do \
|
|
||||||
echo "./etc/$${metaent} type=file mode=0644 uname=root gname=operator tags=etc_pkg"; \
|
|
||||||
done; \
|
|
||||||
) | ${METALOG.add}
|
|
||||||
.endif # MKUNPRIVED != no
|
|
||||||
${_MKMSG_INSTALL} ${DESTDIR}/etc/ttys
|
${_MKMSG_INSTALL} ${DESTDIR}/etc/ttys
|
||||||
.if !defined(__MINIX)
|
.if !defined(__MINIX)
|
||||||
${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user