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

Merged
merged 1 commit into from
Dec 12, 2024

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
@phaer phaer requested a review from Mic92 December 12, 2024 14:37
@Mic92 Mic92 merged commit b7e91fa into nix-community:main Dec 12, 2024
4 checks passed
@phaer phaer deleted the no-sudo-extra-files branch December 12, 2024 15:46
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
2 participants