ext4 file system images are not reproducible
Below is one of the reproducible build failure happened when file system images are included in the reproducible check [1],
--- image1/cip-core-image-cip-core-bookworm-qemu-amd64.wic.p6
+++ image2/cip-core-image-cip-core-bookworm-qemu-amd64.wic.p6
├── filetype from file(1)
│ @@ -1 +1 @@
│ -Linux rev 1.0 ext4 filesystem data, UUID=952607ef-d4dc-4ee2-bd13-e72189dbf0d9, volume name "home" (extents) (64bit) (large files) (huge files)
│ +Linux rev 1.0 ext4 filesystem data, UUID=a4b9219e-7148-4f28-9463-49d64259b9be, volume name "home" (extents) (64bit) (large files) (huge files)
├── cip-core-image-cip-core-bookworm-qemu-amd64.wic.p6.tar
│ ├── file list
│ │ @@ -1,6 +1,6 @@
│ │ -drwxr-xr-x 0 0 0 0 2023-08-14 07:56:14.000000 ./
│ │ -drwx------ 0 0 0 0 2023-08-14 07:56:14.000000 ./lost+found/
│ │ +drwxr-xr-x 0 0 0 0 2023-08-14 08:07:08.000000 ./
│ │ drwx------ 0 0 0 0 2023-08-14 07:33:23.000000 ./root/
│ │ +-rw-r--r-- 0 0 0 571 2021-04-10 20:00:00.000000 ./root/.bashrc
│ │ -rw-r--r-- 0 0 0 161 2019-07-09 10:05:50.000000 ./root/.profile
│ │ drwx------ 0 0 0 0 2023-08-14 07:33:23.000000 ./root/.ssh/
│ │ --rw-r--r-- 0 0 0 571 2021-04-10 20:00:00.000000 ./root/.bashrc
│ │ +drwx------ 0 0 0 0 2023-08-14 08:07:08.000000 ./lost+found/
In the above diff the UUID
value is different in both the images, apart from that there are other files in the file system are different (need to check)
for the UUID mismatch probably we should use fixed UUID value for reproducible build images.
Edited by venkata pyla