Make install observe ${INSTPRIV}

This commit is contained in:
gmcgarry 2001-11-08 07:45:25 +00:00
parent 316d7126f6
commit 2cd41580a7
3 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2000/09/23 13:53:41 simonb Exp $
# $NetBSD: Makefile,v 1.5 2001/11/08 07:45:25 gmcgarry Exp $
PROGAOUT= inst
PROGSOURCE= inst.c
@ -7,10 +7,10 @@ NEWVERSWHAT= "Miniroot Installer"
CPPFLAGS+= -DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK
install:
${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} \
${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \
${DESTDIR}${BINDIR}/rbootd
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 inst.lif \
${DESTDIR}${BINDIR}/inst.lif
${INSTALL} ${COPY} -m 444 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \
inst.lif ${DESTDIR}${BINDIR}/inst.lif
rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_INST
ln ${DESTDIR}${BINDIR}/inst.lif ${DESTDIR}${BINDIR}/rbootd/SYS_INST

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.3 2000/09/23 13:53:41 simonb Exp $
# $NetBSD: Makefile,v 1.4 2001/11/08 07:45:26 gmcgarry Exp $
MKMAN= no
beforeinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${INSTPRIV} \
${.CURDIR}/installboot.sh ${DESTDIR}${BINDIR}/installboot
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2000/09/23 13:53:41 simonb Exp $
# $NetBSD: Makefile,v 1.5 2001/11/08 07:45:26 gmcgarry Exp $
PROGAOUT= uboot
PROGSOURCE= uboot.c tgets.c
@ -7,10 +7,10 @@ NEWVERSWHAT= "Primary Boot"
CPPFLAGS+= -DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK
install:
${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} \
${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} ${INSTPRIV} \
${DESTDIR}${BINDIR}/rbootd
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 uboot.lif \
${DESTDIR}${BINDIR}/uboot.lif
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${INSTPRIV} \
uboot.lif ${DESTDIR}${BINDIR}/uboot.lif
rm -f ${DESTDIR}${BINDIR}/rdboot
ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rdboot
rm -f ${DESTDIR}${BINDIR}/bootrd