Skip to content

Commit

Permalink
make build of cpio reproduceable
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Goll <cgoll@suse.com>
  • Loading branch information
mslacken committed Dec 20, 2023
1 parent f13a377 commit 266bf49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provision/initramfs/capabilities/transport-http/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 266bf49

Please sign in to comment.