mini-os: use gzip -n
PATCH 1/1 mini-os: use gzip -n
to not add current timestamp to
ioemu-stubdom.gz
pv-grub-x86_32.gz
pv-grub-x86_64.gz
xenstore-stubdom.gz
to allow for reproducible builds
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -165,7 +165,7 @@ $(OBJ_DIR)/$(TARGET): $(OBJS) $(APP_O) arch_lib $(OBJ_DIR)/$(TARGET_ARCH_DIR)/mi $(LD) -r $(LDFLAGS) $(HEAD_OBJ) $(APP_O) $(OBJS) $(LDARCHLIB) $(LDLIBS) -o [email protected] $(OBJCOPY) -w -G $(GLOBAL_PREFIX)* -G _start [email protected] [email protected] $(LD) $(LDFLAGS) $(LDFLAGS_FINAL) [email protected] $(EXTRA_OBJS) -o $@ - gzip -f -9 -c $@ >[email protected] + gzip -n -f -9 -c $@ >[email protected] .PHONY: config CONFIG_FILE ?= $(CURDIR)/minios-config.mk
Signature · 7 lines
2.12.3 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Cc minios-devel and Samuel
Quoted 9 lines · Bernhard M. Wiedemann
to not add current timestamp to
ioemu-stubdom.gz
pv-grub-x86_32.gz
pv-grub-x86_64.gz
xenstore-stubdom.gzto allow for reproducible builds
Signed-off-by Bernhard M. Wiedemann <[email protected]>
Quoted 25 lines
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile +1
-1@@ -165,7 +165,7 @@ $(OBJ_DIR)/$(TARGET): $(OBJS) $(APP_O) arch_lib $(OBJ_DIR)/$(TARGET_ARCH_DIR)/mi $(LD) -r $(LDFLAGS) $(HEAD_OBJ) $(APP_O) $(OBJS) $(LDARCHLIB) $(LDLIBS) -o [email protected] $(OBJCOPY) -w -G $(GLOBAL_PREFIX)* -G _start [email protected] [email protected] $(LD) $(LDFLAGS) $(LDFLAGS_FINAL) [email protected] $(EXTRA_OBJS) -o $@ - gzip -f -9 -c $@ >[email protected] + gzip -n -f -9 -c $@ >[email protected] .PHONY: config CONFIG_FILE ?= $(CURDIR)/minios-config.mkSignature · 7 lines
2.12.3 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 9 lines · Wei Liu
Cc minios-devel and Samuel
Quoted 6 lines · Bernhard M. Wiedemann
to not add current timestamp to
ioemu-stubdom.gz
pv-grub-x86_32.gz
pv-grub-x86_64.gz
xenstore-stubdom.gz
Quoted 4 lines
Quoted 3 lines
to allow for reproducible builds
Signed-off-by Bernhard M. Wiedemann <[email protected]>Acked-by Wei Liu <[email protected]>
Would it make sense to have a $(GZIP) in the same as we abstract out other programs, and export GZIP = gzip -n ?
~Andrew
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 10 lines · Andrew Cooper
Quoted 9 lines · Wei Liu
Cc minios-devel and Samuel
Quoted 6 lines · Bernhard M. Wiedemann
to not add current timestamp to
ioemu-stubdom.gz
pv-grub-x86_32.gz
pv-grub-x86_64.gz
xenstore-stubdom.gz
Quoted 7 lines
Quoted 4 lines
Quoted 3 lines
to allow for reproducible builds
Signed-off-by Bernhard M. Wiedemann <[email protected]>Acked-by Wei Liu <[email protected]>Would it make sense to have a $(GZIP) in the same as we abstract out other programs, and export GZIP = gzip -n ?
Sure, that would be a nice thing to have.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 8 lines · Andrew Cooper
Quoted 7 lines · Wei Liu
Quoted 6 lines · Bernhard M. Wiedemann
to not add current timestamp to
ioemu-stubdom.gz
pv-grub-x86_32.gz
pv-grub-x86_64.gz
xenstore-stubdom.gz
Quoted 7 lines
Quoted 4 lines
Quoted 3 lines
to allow for reproducible builds
Signed-off-by Bernhard M. Wiedemann <[email protected]>Acked-by Wei Liu <[email protected]>Would it make sense to have a $(GZIP) in the same as we abstract out other programs, and export GZIP = gzip -n ?
IMHO that would only make sense, if anyone wanted to have it called without -n which I dont see why.
Or if there would be multiple invocations, to have a Single Point of Truth but there is only this 1 gzip here
(if we dont count the ones in main xen code).
Signature · 12 lines
Bernhard M. Wiedemann Cloud Software Developer and Sysadmin SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 14 lines · Bernhard M. Wiedemann
Quoted 13 lines · Andrew Cooper
Quoted 11 lines · Wei Liu
Quoted 9 lines · Bernhard M. Wiedemann
to not add current timestamp to
ioemu-stubdom.gz
pv-grub-x86_32.gz
pv-grub-x86_64.gz
xenstore-stubdom.gzto allow for reproducible builds
Signed-off-by Bernhard M. Wiedemann <[email protected]>Acked-by Wei Liu <[email protected]>
Quoted 9 lines
Quoted 2 lines
Would it make sense to have a $(GZIP) in the same as we abstract out other programs, and export GZIP = gzip -n ?
IMHO that would only make sense, if anyone wanted to have it called without -n which I dont see why.
Or if there would be multiple invocations, to have a Single Point of Truth but there is only this 1 gzip here
(if we dont count the ones in main xen code).
FADO I'm going to apply your patch at some point. The GZIP thing can be dealt with later if anyone wishes to.
Quoted 8 lines
Signature · 6 lines
Bernhard M. Wiedemann Cloud Software Developer and Sysadmin SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel