Skip to content

Commit

Permalink
fix: Use xone driver as canary for secure boot check
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Apr 6, 2024
1 parent a5a7b95 commit 6113650
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -6,7 +6,7 @@ if [[ $IMAGE_FLAVOR = "nvidia" ]]; then
echo -e 'You are using a Nvidia image, but the Nvidia driver is not loaded:\n - If you are using secure boot, run "ujust enroll-secure-boot-key", then reboot and enter the password "ublue-os" when prompted.\n - If you are not using secure boot or have already enrolled the above key, ensure you have the needed kargs by running "ujust configure-nvidia kargs" and then rebooting.\n - This message will not appear if the issue is resolved.\n'
fi
else
if ! grep -q "v4l2loopback" <<< $(lsmod); then
if ! grep -q "xone-dongle" <<< $(lsmod); then
echo -e 'Requires drivers could not be loaded:\n - If you are using secure boot, run "ujust enroll-secure-boot-key", then reboot and enter the password "ublue-os" when prompted.\n - This message will not appear if the issue is resolved.\n'
fi
fi

0 comments on commit 6113650

Please sign in to comment.