← Back to issue list

Handle SOURCE_DATE_EPOCH for SquashFS

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1890046
Type
issue
State
open
Author
~abitrolly
Labels
Created
2020-08-02 15:32:17.736022+00:00
Updated
2025-11-22 05:41:10.035632+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

For reproducible snap builds is needed that if SOURCE_DATE_EPOCH is set, the timestamps inside of .snap archive were set from it. --- v2.snap +++ yakshaveinc_eternal_amd64.snap ├── unsquashfs -s {} │ @@ -1,9 +1,9 @@ │ Found a valid SQUASHFS 4:0 superblock │ -Creation or last append time Sat Aug 1 18:36:27 2020 │ +Creation or last append time Sun Aug 2 15:04:00 2020 │ Filesystem size 576 bytes (0.56 Kbytes / 0.00 Mbytes) │ Compression xz │ Block size 131072 │ Filesystem is exportable via NFS │ Inodes are compressed │ Data is compressed │ Uids/Gids (Id table) are compressed ├── unsquashfs -d -lls {} │ @@ -1,6 +1,6 @@ │ Parallel unsquashfs: Using 4 processors │ 1 inodes (1 blocks) to write │ │ drwxr-xr-x root/root 27 2020-05-26 13:34 │ drwxr-xr-x root/root 32 2020-05-26 13:34 /meta │ --rw-r--r-- root/root 275 2020-08-01 18:36 /meta/snap.yaml │ +-rw-r--r-- root/root 275 2020-08-02 15:04 /meta/snap.yaml

Evaluation history

No evaluation history available.