Changeset 97017 in vbox
- Timestamp:
- Oct 5, 2022 8:09:52 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/vboxdrv.sh
r97015 r97017 127 127 fi 128 128 129 # Check if update-secureboot-policy tool supports required commandline options. 130 update_secureboot_policy_supports() 131 { 132 opt_name="$1" 133 [ -n "$opt_name" ] || return 134 135 [ -z "$(update-secureboot-policy --help 2>&1 | grep "$opt_name")" ] && return 136 echo "1" 137 } 138 139 HAVE_UPDATE_SECUREBOOT_POLICY_TOOL= 129 140 if type update-secureboot-policy >/dev/null 2>&1; then 130 HAVE_UPDATE_SECUREBOOT_POLICY_TOOL=true 141 [ "$(update_secureboot_policy_supports new-key)" = "1" -a "$(update_secureboot_policy_supports enroll-key)" = "1" ] && \ 142 HAVE_UPDATE_SECUREBOOT_POLICY_TOOL=true 131 143 fi 132 144
Note:
See TracChangeset
for help on using the changeset viewer.