[CRIU] [PATCH] pycriu: Make build reproducible

Andrew Vagin avagin at odin.com
Thu Oct 8 02:28:50 PDT 2015


On Thu, Oct 08, 2015 at 10:35:49AM +0200, Salvatore Bonaccorso wrote:
> 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>

Acked-by: Andrew Vagin <avagin at odin.com>

> ---
>  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
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list