diff options
author | 1997-05-08 16:30:45 +0000 | |
---|---|---|
committer | 1997-05-08 16:30:45 +0000 | |
commit | ad0eea9ba10baadf1fe62988b5098becf3b06d91 (patch) | |
tree | 24e7f3c5de24b2bfc50e92568b3d152d549a61e2 | |
parent | Fix typo. Fix from SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp> (diff) | |
download | wireguard-openbsd-ad0eea9ba10baadf1fe62988b5098becf3b06d91.tar.xz wireguard-openbsd-ad0eea9ba10baadf1fe62988b5098becf3b06d91.zip |
Copy /boot before /bsd and add some extra flushs.
Floppy build works consistenly for me now.
-rw-r--r-- | distrib/alpha/ramdisk/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/distrib/alpha/ramdisk/Makefile b/distrib/alpha/ramdisk/Makefile index ca4f9d1a0ae..24840156498 100644 --- a/distrib/alpha/ramdisk/Makefile +++ b/distrib/alpha/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 1997/05/08 05:44:58 millert Exp $ +# $OpenBSD: Makefile,v 1.5 1997/05/08 16:30:45 millert Exp $ TOP= ${.CURDIR}/.. @@ -48,17 +48,19 @@ ${FLOPPY}: bsd.gz newfs ${NEWFSARGS} ${NEWFSARGS_FD} -s ${FLOPPYBLKS} ${VND_RDEV} \ ${FLOPPYTYPE} mount ${VND_DEV} ${MOUNT_POINT} - cp bsd.gz ${MOUNT_POINT}/bsd cp ${BOOT} ${MOUNT_POINT} + cp bsd.gz ${MOUNT_POINT}/bsd + cat /*bin/* > /dev/null ${INSTALLBOOT} ${MOUNT_POINT}/boot ${BOOTXX} ${VND_CRDEV} @echo "" @df -i ${MOUNT_POINT} @echo "" + cat /*bin/* > /dev/null umount ${MOUNT_POINT} vnconfig -u ${VND} - cat /*bin/* > /dev/null # some bug can put an extra 8k at the end it seems dd if=${REALIMAGE} of=${FLOPPY} count=${FLOPPYBLKS} + rm -f ${REALIMAGE} bsd.gz: ${KERNEL} ${IMAGE} ecoffrdsetroot cp ${KERNEL} bsd @@ -88,10 +90,12 @@ do_umount: @echo "" @df -i ${MOUNT_POINT} @echo "" + cat /*bin/* > /dev/null umount ${MOUNT_POINT} vnconfig -u ${VND} cat /*bin/* > /dev/null unconfig: + -cat /*bin/* > /dev/null -umount ${MOUNT_POINT} -vnconfig -u ${VND} && cat /*bin/* > /dev/null |