Browse Source

sorry, but proper boot cd building should be done in distrib/mvmeppc

when the time comes (not here!)
OPENBSD_4_0
deraadt 18 years ago
parent
commit
263ba158ee
1 changed files with 3 additions and 20 deletions
  1. +3
    -20
      src/etc/etc.mvmeppc/Makefile.inc

+ 3
- 20
src/etc/etc.mvmeppc/Makefile.inc View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile.inc,v 1.3 2006/07/27 02:50:22 deraadt Exp $
# $OpenBSD: Makefile.inc,v 1.4 2006/07/27 02:51:15 deraadt Exp $
.ifdef DESTDIR
snap_md: bsd bootblocks distrib1
snap_md: bsd bootblocks distrib
cp ${.CURDIR}/../sys/arch/mvmeppc/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
@ -15,23 +15,6 @@ bootblocks:
cp ${DESTDIR}/usr/mdec/bootsd ${DESTDIR}/snapshot/bootsd
cp ${DESTDIR}/usr/mdec/installboot ${DESTDIR}/snapshot/installboot
# knows about bsd.rd and bsdofw.rd
distrib1:
${MAKE} distrib
mkdir ${DESTDIR}/snapshot/boot
cp ${DESTDIR}/snapshot/bsd.rd ${DESTDIR}/snapshot/boot/bsd.rd
strip ${DESTDIR}/snapshot/boot/bsd.rd
gzip -9 ${DESTDIR}/snapshot/boot/bsd.rd
mv ${DESTDIR}/snapshot/boot/bsd.rd.gz ${DESTDIR}/snapshot/boot/bsd
cp ${DESTDIR}/usr/mdec/bootxx ${DESTDIR}/snapshot/boot
mkisofs -r ${DESTDIR}/snapshot/boot > ${DESTDIR}/snapshot/boot.fs
rm -rf ${DESTDIR}/snapshot/boot
#
# compress the bsd.rd files but keep original naming,
# bootloader can deal with it.
gzip -9 ${DESTDIR}/snapshot/bsd.rd
mv ${DESTDIR}/snapshot/bsd.rd.gz ${DESTDIR}/snapshot/bsd.rd
.PHONY: bsd bootblocks distrib1
.PHONY: bsd bootblocks
.endif # DESTDIR check

Loading…
Cancel
Save