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

Don't use sudo when uploading extraFiles #434

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

phaer
Copy link
Member

@phaer phaer commented Dec 10, 2024

There seems to be no scenario where we aren't root on the target system at this point.

But there is one where it breaks: If hasSudo is true because the pre-kexec env had it, but kexec env does not.

Fixes #431

There seems to be no scenario where we aren't root on the target
system at this point.

But there is one where it breaks: If hasSudo is true because the
pre-kexec env had it, but kexec env does not. See
nix-community#431
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.

System not rebooting if sudo is present and --extra-files is used
1 participant