Use "${INSTALL} -c" instead of "cp". This makes it possible to install
the bootloader code in a "make release" with UPDATE turned on. Otherwise we get "permission denied" errors because the target is mode 444.
This commit is contained in:
parent
3cadf15c43
commit
6114f16a00
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.26 2004/03/19 08:07:28 jmc Exp $
|
# $NetBSD: Makefile,v 1.27 2005/07/04 08:17:00 he Exp $
|
||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
||||||
|
@ -26,12 +26,12 @@ UUDECODE_FILES_RENAME_${HPCBOOT}= ${HPCBOOT}
|
||||||
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
.include "${DISTRIBDIR}/common/Makefile.mdset"
|
||||||
|
|
||||||
release:: check_RELEASEDIR .WAIT ${PBSDBOOT1} ${PBSDBOOT} ${HPCBOOT}
|
release:: check_RELEASEDIR .WAIT ${PBSDBOOT1} ${PBSDBOOT} ${HPCBOOT}
|
||||||
cp pbsdboot1.exe ${RELEASEDIR}/${MACHINE}/installation; \
|
${INSTALL} -c -m ${NONBINMODE} \
|
||||||
chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/pbsdboot1.exe
|
pbsdboot1.exe ${RELEASEDIR}/${MACHINE}/installation
|
||||||
cp pbsdboot.exe ${RELEASEDIR}/${MACHINE}/installation; \
|
${INSTALL} -c -m ${NONBINMODE} \
|
||||||
chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/pbsdboot.exe
|
pbsdboot.exe ${RELEASEDIR}/${MACHINE}/installation
|
||||||
cp hpcboot.exe ${RELEASEDIR}/${MACHINE}/installation; \
|
${INSTALL} -c -m ${NONBINMODE} \
|
||||||
chmod ${NONBINMODE} ${RELEASEDIR}/${MACHINE}/installation/hpcboot.exe
|
hpcboot.exe ${RELEASEDIR}/${MACHINE}/installation
|
||||||
${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'
|
${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation '*.gz' '*.exe'
|
||||||
|
|
||||||
.include <bsd.files.mk>
|
.include <bsd.files.mk>
|
||||||
|
|
Loading…
Reference in New Issue