Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-23.11] nixos/dockerTools: fix includeStorePaths when enableFakechroot #288893

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

github-actions[bot]
Copy link
Contributor

Bot-based backport to release-23.11, triggered by a label in #271976.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

r-k-b and others added 2 commits February 14, 2024 22:39
After #268458, when setting `enableFakechroot = true` and
`includeStorePaths = false`, some of the store paths were getting
included into the image anyway, thru `bind-paths`.
This resulted in unexpectedly large images.

Now, the images will not contain any store paths under those
circumstances.

(cherry picked from commit 8353fad)
@github-actions github-actions bot requested a review from roberth as a code owner February 14, 2024 22:39
@roberth roberth closed this Feb 14, 2024
@roberth roberth reopened this Feb 14, 2024
@github-actions github-actions bot added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Feb 14, 2024
@roberth
Copy link
Member

roberth commented Feb 14, 2024

@ofborg build nixosTests.docker-tools

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Feb 14, 2024
@roberth roberth merged commit cffc4e5 into release-23.11 Feb 28, 2024
23 checks passed
@bjornfor bjornfor deleted the backport-271976-to-release-23.11 branch March 2, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants