diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-05-08 16:30:46 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-05-08 16:30:46 +0000 |
commit | e8bf718b878138610febe04b9d65312bc7ac0fd7 (patch) | |
tree | 807751cdc57d0320df8dc3efb3245f0610d3cb46 /distrib | |
parent | 0944d949345728dcc1f925bea32492bba5fc48ae (diff) |
Copy /boot before /bsd and add some extra flushs.
Floppy build works consistenly for me now.
Diffstat (limited to 'distrib')
-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 |