Skip to content

Conversation

JedMeister
Copy link
Member

Fix exiting with an error regardless of success status.

Check for root and provide a useful error message if not.

Ensure faketime uses a reliable and reproducible timestamp.

FYI the timestamp for faketime was coming from the last changelog entry, however pool generates the changelog file dynamically so that is not reproducible. If the source is a git repo, it now uses the mtime of debian/control file. It was a somewhat arbitrary choice, but the file will always exist. FYI I had to use git log to get the "real" mtime because the mtime from the local filesystem is clone/last local update. If it's not a git repo, it falls back to the previous default behavior (i.e. last changelog entry).

@JedMeister JedMeister requested a review from OnGle October 3, 2025 00:07
@JedMeister JedMeister mentioned this pull request Oct 3, 2025
Copy link
Member

@OnGle OnGle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@JedMeister JedMeister merged commit a1a508a into turnkeylinux:master Oct 3, 2025
@JedMeister JedMeister deleted the bugfix-error-and-faketime branch October 3, 2025 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants