From 266bf499507d8fdf251b1f4dbd40ae37b4a89f2f Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Wed, 20 Dec 2023 16:07:33 +0100 Subject: [PATCH] make build of cpio reproduceable Signed-off-by: Christian Goll --- provision/initramfs/capabilities/transport-http/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/provision/initramfs/capabilities/transport-http/Makefile.am b/provision/initramfs/capabilities/transport-http/Makefile.am index ad36b106..cbb77bc5 100644 --- a/provision/initramfs/capabilities/transport-http/Makefile.am +++ b/provision/initramfs/capabilities/transport-http/Makefile.am @@ -16,7 +16,8 @@ rootfs: done capability.cpio: rootfs - cd rootfs/; find . | cpio -o -H newc -F ../capability.cpio + cd rootfs/; find . | xargs touch -d @1690848000 ; find . | sort | cpio +-o -H newc --reproducible -F ../capability.cpio install-data-local: capability.cpio install -d -m 755 $(DESTDIR)/$(WAREWULF_STATEDIR)/warewulf/initramfs/$(MACHINE)/capabilities