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

sandbox: introduce the MKOSI_CHROOT_SUPPRESS_CHOWN variable #2986

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

behrmann
Copy link
Contributor

This allows suppressing chowns in scripts.

mkosi/resources/mkosi.md Outdated Show resolved Hide resolved
mkosi/resources/mkosi.md Outdated Show resolved Hide resolved
mkosi/sandbox/__init__.py Outdated Show resolved Hide resolved
@behrmann behrmann force-pushed the nochown branch 2 times, most recently from cd7be6c to e04a568 Compare August 29, 2024 09:06
Copy link
Contributor

@DaanDeMeyer DaanDeMeyer left a comment

Choose a reason for hiding this comment

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

Looks good, two minor things

mkosi/__init__.py Show resolved Hide resolved
mkosi/run.py Outdated Show resolved Hide resolved
@behrmann behrmann force-pushed the nochown branch 2 times, most recently from 8e4360a to 1b7c0c8 Compare August 29, 2024 09:52
mkosi/__init__.py Outdated Show resolved Hide resolved
mkosi/__init__.py Outdated Show resolved Hide resolved
mkosi/__init__.py Outdated Show resolved Hide resolved
This allows suppressing chowns in scripts. Also inline chroot_script_cmd since
it only as a single user.
@behrmann behrmann merged commit 1757e44 into systemd:main Aug 30, 2024
30 of 36 checks passed
@behrmann behrmann deleted the nochown branch August 30, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants