etc: create system log files
The new syslogd(8) does not create log files that do not already exist, and thus, we adopt the NetBSD way of creating them. Change-Id: Icd7fdba362726696df6a52dd55c049fd2bfcc2d3
This commit is contained in:
parent
ec725af4c5
commit
a6fc634735
2 changed files with 6 additions and 0 deletions
|
@ -2292,6 +2292,8 @@
|
|||
./usr/libexec/makewhatis minix-sys
|
||||
./usr/libexec/virecover minix-sys
|
||||
./usr/log minix-sys
|
||||
./usr/log/messages minix-sys
|
||||
./usr/log/syslog minix-sys
|
||||
./usr/Makefile minix-sys
|
||||
./usr/man minix-sys
|
||||
./usr/man/man1 minix-sys
|
||||
|
|
|
@ -355,7 +355,11 @@ install-etc-files-safe: .PHONY .MAKE check_DESTDIR MAKEDEV
|
|||
${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \
|
||||
MAKEDEV ${DESTDIR}/dev
|
||||
.else
|
||||
# As /var/log is a symlink to /usr/log, we need to use /usr/log for files
|
||||
# in /var/log here. The same applies to the distrib list entries.
|
||||
.for owner group mode file in \
|
||||
${BINOWN} ${BINGRP} 644 /usr/log/messages \
|
||||
${BINOWN} ${BINGRP} 644 /usr/log/syslog \
|
||||
games games 664 /var/games/tetris.scores
|
||||
${_MKMSG_INSTALL} ${DESTDIR}${file}
|
||||
if [ ! -e ${DESTDIR}${file} -o -s ${DESTDIR}${file} ]; then \
|
||||
|
|
Loading…
Reference in a new issue