Replace "obs" with "bs" and "conv=osync" with "conv=sync" in the dd command.

This is necessary because POSIX doesn't specify "conv=osync" and GNU dd
doesn't implement it.  I believe that in this case, where only one output
block should ever be generated and the input is a regular file, bs/sync is
equivalent to obs/osync.
This commit is contained in:
bjh21 2002-04-06 16:41:24 +00:00
parent be27950398
commit a8938c1764
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2002/03/30 01:33:20 matt Exp $ # $NetBSD: Makefile,v 1.6 2002/04/06 16:41:24 bjh21 Exp $
.include "${.CURDIR}/../../Makefile.inc" .include "${.CURDIR}/../../Makefile.inc"
.include <bsd.own.mk> .include <bsd.own.mk>
@ -24,6 +24,6 @@ boot.vax: ${DESTDIR}/usr/mdec/boot
${IMAGE}: ${IMAGEDEPENDS} ${IMAGE}: ${IMAGEDEPENDS}
cat ${XXBOOT} > ${IMAGE}.tmp cat ${XXBOOT} > ${IMAGE}.tmp
${PAX} -w -x ustar boot.vax netbsd.gz | dd of=${IMAGE}.tmp seek=16 ${PAX} -w -x ustar boot.vax netbsd.gz | dd of=${IMAGE}.tmp seek=16
dd if=${IMAGE}.tmp of=${IMAGE} obs=${IMAGESIZE} conv=osync dd if=${IMAGE}.tmp of=${IMAGE} bs=${IMAGESIZE} conv=sync
.include <bsd.prog.mk> .include <bsd.prog.mk>