Skip to content

[Backport 2.30-maintenance] installer: Fix store mtime - #16566

Merged
xokdvium merged 3 commits into
2.30-maintenancefrom
backport-16558-to-2.30-maintenance
Oct 6, 2026
Merged

xokdvium merged 3 commits into
2.30-maintenancefrom
backport-16558-to-2.30-maintenance

Conversation

@xokdvium

@xokdvium xokdvium commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Motivation

Manual backport of #16558.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

This uncovers a latent bug in the tests: `MAYBESUDO: unbound variable` dating
back to 717e81d. `sudo` was never actually needed
and root's channel was never modified because the undefined variable was expanded on
the host and not the VM under test.

Keeping the test's behavior the same, we can safely remove the entire MAYBESUDO
machinery without functional changes.

(cherry picked from commit 33a7ac4)
…taller repo

Aligns the test better to what's in the nix-installer repo and adds support for
custom checks for cases with some common tests.

(cherry picked from commit a8d51fa)
It's 1, not 0 (see mtimeStore). Also busybox tar is busted at preserving mtime,
so hack around the issue by setting the correct mtime ourselves.

(cherry picked from commit 4620eab)
@xokdvium
xokdvium requested a review from edolstra as a code owner October 6, 2026 23:11
@xokdvium
xokdvium enabled auto-merge October 6, 2026 23:24
@xokdvium
xokdvium merged commit 086acba into 2.30-maintenance Oct 6, 2026
18 checks passed
@xokdvium
xokdvium deleted the backport-16558-to-2.30-maintenance branch October 6, 2026 23:44
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.

1 participant