[CRIU] [PATCH] pycriu: Make build reproducible
Salvatore Bonaccorso
carnil at debian.org
Thu Oct 8 01:35:49 PDT 2015
Chris Lamb <lamby at debian.org> reported in Debian that criu is not
building reproducible while working on the "reproducible builds" effort
[0].
[0] https://wiki.debian.org/ReproducibleBuilds
[1] https://bugs.debian.org/801211
Signed-off-by: Salvatore Bonaccorso <carnil at debian.org>
---
pycriu/images/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pycriu/images/Makefile b/pycriu/images/Makefile
index 579b6fa..98a4500 100644
--- a/pycriu/images/Makefile
+++ b/pycriu/images/Makefile
@@ -2,7 +2,7 @@ all: pb.py protobuf magic.py
.PHONY: all protobuf clean pb.py
-proto := $(filter-out $(SRC_DIR)/protobuf/rpc.proto, $(wildcard $(SRC_DIR)/protobuf/*.proto))
+proto := $(filter-out $(SRC_DIR)/protobuf/rpc.proto, $(sort $(wildcard $(SRC_DIR)/protobuf/*.proto)))
proto-py-modules := $(foreach m,$(proto),$(subst -,_,$(notdir $(m:.proto=_pb2))))
# We don't need rpc_pb2.py here, as it is not related to the
--
2.6.1
More information about the CRIU
mailing list