Re: [rt-tests][PATCH] rt-tests: make manpages builds reproducible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, 25 Feb 2020, Jeremy A. Puhlman wrote:

> From: Jeremy Puhlman <jpuhlman@xxxxxxxxxx>
> 
> Add -n to gzip call to make the build output
> of the manpages reproducible.
> 
> Signed-off-by: Jeremy A. Puhlman <jpuhlman@xxxxxxxxxx>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 8747971..1b37ba7 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -181,7 +181,7 @@ ssdd: $(OBJDIR)/ssdd.o $(OBJDIR)/librttest.a
>  	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB)
>  
>  %.8.gz: %.8
> -	gzip -c $< > $@
> +	gzip -nc $< > $@
>  
>  %.8.bz2: %.8
>  	bzip2 -c $< > $@
> -- 
> 2.20.1
> 
> 

Could you explain to me how this makes the build output of manpages more 
reproducible?

Thanks

John



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux