]> xenbits.xensource.com Git - mini-os.git/commitdiff
mini-os: use gzip -n
authorBernhard M. Wiedemann <bwiedemann@suse.de>
Thu, 22 Jun 2017 13:40:26 +0000 (15:40 +0200)
committerWei Liu <wei.liu2@citrix.com>
Thu, 29 Jun 2017 11:00:55 +0000 (12:00 +0100)
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

Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Makefile

index ef8559bcc42c8bb8815a01c69039b324b1075f28..5bdcdac05d4cd06864596af1cbd62fb64fb5221f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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 $@.o
        $(OBJCOPY) -w -G $(GLOBAL_PREFIX)* -G _start $@.o $@.o
        $(LD) $(LDFLAGS) $(LDFLAGS_FINAL) $@.o $(EXTRA_OBJS) -o $@
-       gzip -f -9 -c $@ >$@.gz
+       gzip -n -f -9 -c $@ >$@.gz
 
 .PHONY: config
 CONFIG_FILE ?= $(CURDIR)/minios-config.mk