-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
os-prober: add test and update #62904
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just a few formatting nits :)
|
||
testScript = '' | ||
# hack to add the secondary disk | ||
$machine->{startCommand} = "QEMU_OPTS=\"\$QEMU_OPTS \"${lib.escapeShellArg QEMU_OPTS} ".$machine->{startCommand}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is sad but would require some relatively large refactoring to be able to cleanly set that from the test file. 👍 for me to merge with the hack for the time being, but maybe add a comment stating that as a todo?
Co-Authored-By: Léo Gaspard <github@leo.gaspard.ninja>
Co-Authored-By: Léo Gaspard <github@leo.gaspard.ninja>
Co-Authored-By: Léo Gaspard <github@leo.gaspard.ninja>
os-prober should be able to probe unmounted filesystems
Ofborg appears to be down, merging without a last check-up ofborg run. |
Motivation for this change
Update, and add a test to check that updates do not introduce regressions.
The update should be a noop (it only touches debian specific files: https://salsa.debian.org/installer-team/os-prober/compare/1.76...1.77)
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)