Skip to content

fix: Ensure bit-for-bit reproducibility of AppImage builds.#193

Merged
iphydf merged 1 commit into
TokTok:masterfrom
iphydf:appimage-repro
Feb 16, 2026
Merged

fix: Ensure bit-for-bit reproducibility of AppImage builds.#193
iphydf merged 1 commit into
TokTok:masterfrom
iphydf:appimage-repro

Conversation

@iphydf
Copy link
Copy Markdown
Member

@iphydf iphydf commented Feb 14, 2026

Normalization of file timestamps and permissions was happening before some plugins were copied and the deploy step was run, making files in the AppDir non-deterministic. We now move the normalization to just before AppImage creation.

Also, stop unsetting SOURCE_DATE_EPOCH during packaging. To avoid conflicts with appimagetool's -fstime argument (which defaults to the current time), wrap mksquashfs to strip the -fstime flag, allowing it to honor the environment variable for the SquashFS superblock.


This change is Reviewable

Normalization of file timestamps and permissions was happening before
some plugins were copied and the deploy step was run, making files in
the AppDir non-deterministic. We now move the normalization to just
before AppImage creation.

Also, stop unsetting `SOURCE_DATE_EPOCH` during packaging. To avoid
conflicts with `appimagetool`'s `-fstime` argument (which defaults to
the current time), wrap `mksquashfs` to strip the `-fstime` flag,
allowing it to honor the environment variable for the SquashFS
superblock.
@iphydf iphydf added this to the v0.8.4 milestone Feb 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 14, 2026

Tip

Preview URL:

@github-actions github-actions Bot added the bug Bug fix for the user, not a fix to a build script label Feb 14, 2026
@iphydf iphydf marked this pull request as ready for review February 14, 2026 23:38
@iphydf iphydf merged commit 2735bd7 into TokTok:master Feb 16, 2026
29 checks passed
@iphydf iphydf deleted the appimage-repro branch February 16, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug fix for the user, not a fix to a build script

Development

Successfully merging this pull request may close these issues.

2 participants