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.
This doesn't allow overriding the check in non-interactive case. Maybe add some option for that?
There was a problem hiding this comment.
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.
| esac | ||
| } | ||
|
|
||
| if [ "$CHECK_ONLY" != "1" ]; then |
There was a problem hiding this comment.
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 testsDetails
|
Fixes: QubesOS/qubes-issues#885