Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2016 20:42:46 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Ed Maste <emaste@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r295757 - in head: lib/libc/tests/gen/posix_spawn lib/libc/tests/sys sys/boot/efi/boot1 sys/boot/i386/boot2 sys/boot/i386/pxeldr sys/boot/i386/zfsboot
Message-ID:  <56D7C0C6.3050908@FreeBSD.org>
In-Reply-To: <201602181417.u1IEHSRU079616@repo.freebsd.org>
References:  <201602181417.u1IEHSRU079616@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 2/18/2016 6:17 AM, Ed Maste wrote:
> Author: emaste
> Date: Thu Feb 18 14:17:28 2016
> New Revision: 295757
> URL: https://svnweb.freebsd.org/changeset/base/295757
> 
> Log:
>   Remove dd xfer stats emitted during buildworld
>   
>   They result in gratuitous differences when comparing build log output.
> 
> Modified:
>   head/lib/libc/tests/gen/posix_spawn/Makefile
>   head/lib/libc/tests/sys/Makefile
>   head/sys/boot/efi/boot1/Makefile
>   head/sys/boot/i386/boot2/Makefile
>   head/sys/boot/i386/pxeldr/Makefile
>   head/sys/boot/i386/zfsboot/Makefile
> 
> Modified: head/lib/libc/tests/gen/posix_spawn/Makefile
> ==============================================================================
> --- head/lib/libc/tests/gen/posix_spawn/Makefile	Thu Feb 18 13:07:21 2016	(r295756)
> +++ head/lib/libc/tests/gen/posix_spawn/Makefile	Thu Feb 18 14:17:28 2016	(r295757)
> @@ -20,7 +20,7 @@ CLEANFILES+=	h_nonexec
>  .include "../../Makefile.netbsd-tests"
>  
>  h_zero:
> -	dd if=/dev/zero of=h_zero bs=1k count=2
> +	dd if=/dev/zero of=h_zero bs=1k count=2 status=none
>  	chmod a+x h_zero
>  
>  CLEANFILES+=	h_zero
> 
> Modified: head/lib/libc/tests/sys/Makefile
> ==============================================================================
> --- head/lib/libc/tests/sys/Makefile	Thu Feb 18 13:07:21 2016	(r295756)
> +++ head/lib/libc/tests/sys/Makefile	Thu Feb 18 14:17:28 2016	(r295757)
> @@ -78,6 +78,6 @@ truncate_test_FILESGRP= wheel
>  
>  CLEANFILES=	truncate_test.root_owned
>  truncate_test.root_owned:
> -	dd if=/dev/null bs=1 count=1 of=${.TARGET}
> +	dd if=/dev/null bs=1 count=1 of=${.TARGET} status=none
>  
>  .include <bsd.test.mk>
> 
> Modified: head/sys/boot/efi/boot1/Makefile
> ==============================================================================
> --- head/sys/boot/efi/boot1/Makefile	Thu Feb 18 13:07:21 2016	(r295756)
> +++ head/sys/boot/efi/boot1/Makefile	Thu Feb 18 14:17:28 2016	(r295757)
> @@ -113,7 +113,8 @@ boot1.efifat: boot1.efi
>  	uudecode ${.CURDIR}/fat-${MACHINE}.tmpl.bz2.uu
>  	mv fat-${MACHINE}.tmpl.bz2 ${.TARGET}.bz2
>  	bzip2 -f -d ${.TARGET}.bz2
> -	dd if=boot1.efi of=${.TARGET} seek=${BOOT1_OFFSET} conv=notrunc
> +	dd if=boot1.efi of=${.TARGET} seek=${BOOT1_OFFSET} conv=notrunc \
> +	    status=none
>  
>  CLEANFILES= boot1.efi boot1.efifat
>  
> 
> Modified: head/sys/boot/i386/boot2/Makefile
> ==============================================================================
> --- head/sys/boot/i386/boot2/Makefile	Thu Feb 18 13:07:21 2016	(r295756)
> +++ head/sys/boot/i386/boot2/Makefile	Thu Feb 18 14:17:28 2016	(r295757)
> @@ -72,14 +72,14 @@ CLEANFILES+=	boot2 boot2.ld boot2.ldr bo
>  boot2: boot2.ld
>  	@set -- `ls -l boot2.ld`; x=$$((7680-$$5)); \
>  	    echo "$$x bytes available"; test $$x -ge 0
> -	dd if=boot2.ld of=${.TARGET} obs=7680 conv=osync
> +	dd if=boot2.ld of=${.TARGET} obs=7680 conv=osync status=none
>  
>  boot2.ld: boot2.ldr boot2.bin ${BTXKERN}
>  	btxld -v -E ${ORG2} -f bin -b ${BTXKERN} -l boot2.ldr \
>  	    -o ${.TARGET} -P 1 boot2.bin
>  
>  boot2.ldr:
> -	dd if=/dev/zero of=${.TARGET} bs=512 count=1
> +	dd if=/dev/zero of=${.TARGET} bs=512 count=1 status=none
>  
>  boot2.bin: boot2.out
>  	${OBJCOPY} -S -O binary boot2.out ${.TARGET}
> 
> Modified: head/sys/boot/i386/pxeldr/Makefile
> ==============================================================================
> --- head/sys/boot/i386/pxeldr/Makefile	Thu Feb 18 13:07:21 2016	(r295756)
> +++ head/sys/boot/i386/pxeldr/Makefile	Thu Feb 18 14:17:28 2016	(r295757)
> @@ -31,7 +31,7 @@ CLEANFILES+= ${BOOT}.tmp
>  
>  ${BOOT}: ${LDR} ${LOADER}
>  	cat ${LDR} ${LOADER} > ${.TARGET}.tmp
> -	dd if=${.TARGET}.tmp of=${.TARGET} obs=2k conv=osync
> +	dd if=${.TARGET}.tmp of=${.TARGET} obs=2k conv=osync status=none
>  	rm ${.TARGET}.tmp
>  
>  LDFLAGS+=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
> 
> Modified: head/sys/boot/i386/zfsboot/Makefile
> ==============================================================================
> --- head/sys/boot/i386/zfsboot/Makefile	Thu Feb 18 13:07:21 2016	(r295756)
> +++ head/sys/boot/i386/zfsboot/Makefile	Thu Feb 18 14:17:28 2016	(r295757)
> @@ -65,7 +65,7 @@ BOOT2SIZE=	65536
>  zfsboot2: zfsboot.ld
>  	@set -- `ls -l zfsboot.ld`; x=$$((${BOOT2SIZE}-$$5)); \
>  	    echo "$$x bytes available"; test $$x -ge 0
> -	dd if=zfsboot.ld of=${.TARGET} obs=${BOOT2SIZE} conv=osync
> +	dd if=zfsboot.ld of=${.TARGET} obs=${BOOT2SIZE} conv=osync status=none
>  
>  zfsboot.ld: zfsboot.ldr zfsboot.bin ${BTXKERN}
>  	btxld -v -E ${ORG2} -f bin -b ${BTXKERN} -l zfsboot.ldr \
> 

(From Peter) You'll need to add bin/dd to bootstrap-tools now. It only
learned status= support in 2014 in r264059.

-- 
Regards,
Bryan Drewery


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJW18DGAAoJEDXXcbtuRpfPlSgH/iyELBGcFUq8RMXUamajPCpE
Om9VJ6qz3tE0TBSvpED51j2Bl8kwdXhpCcJizvoZ2sGzdxfkbyIwh1JjbIvj2kDk
9yCdcWMPGBAuRF83TiEYZs/+Awfw5XtPWv/Q4kmS04oKHIZYTDTCMKtRtuEeUxOw
q0uY7qgLyTK9O44s+mMJhkDn1Y1HO6pHamf0/zOZFakzk73cfs/WaEoLWouOadEs
M+HsnMbgcDIamtCz+fn+dKBXYgJNvY8Gj4FqnsqHla/VxD/mKrzxWIvQxUAA1jkL
mZcVfutilEkEXlPKkAYb1a0FwcpL49onQxEhc55dybnGaxFnJzCT2Ct7Xa4V4+A=
=Du5K
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56D7C0C6.3050908>