-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
qubes-dom0-update could check whether /boot is mounted #159
Conversation
[[ ${?} -ne 0 ]] && return | ||
# Ask user to manually mount partition if user is using GUI Updater | ||
if [ ! -t 1 ]; then | ||
echo "Could not decide about unmounted ${1} partition in non-interactive/GUI mode!" |
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 doesn't allow overriding the check in non-interactive case. Maybe add some option for that?
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 doesn't allow overriding the check in non-interactive case. Maybe add some option for that?
Is --skip-boot
or --skip-boot-check
or --skip-boot-upgrade
good? And the help text:
--skip-boot do no check if /boot & /boot/efi partitions are mounted.
dom0-updates/qubes-dom0-update
Outdated
esac | ||
} | ||
|
||
if [ "$CHECK_ONLY" != "1" ]; then |
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.
There are more cases when mounting is not necessary or desired: REMOTE_ONLY=1
, DOWNLOADONLY=1
. In fact CHECK_ONLY
implies REMOTE_ONLY
already.
--skip-boot-check is okay.
…--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
|
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024062721-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024062115-4.3&flavor=update
Failed tests11 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/103633#dependencies 5 fixed
Unstable tests
|
Fixes: QubesOS/qubes-issues#885