]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Specify --renumber-inodes when calling cpio
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 22 Aug 2024 08:22:41 +0000 (10:22 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 22 Aug 2024 09:46:38 +0000 (11:46 +0200)
This helps with making initrds reproducible as the sequence of inodes
will always be stable starting from 1.

mkosi/archive.py

index 154a82c94fffaee8b58ddda99f7c4d72ac47a0a1..0ba828aa1a576d8a74d718261b9b3c16de57e0b9 100644 (file)
@@ -118,6 +118,7 @@ def make_cpio(
                 "cpio",
                 "--create",
                 "--reproducible",
+                "--renumber-inodes",
                 "--null",
                 "--format=newc",
                 "--quiet",