Changeset 97013 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Oct 5, 2022 7:27:55 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r97012 r97013 305 305 esac 306 306 307 307 # Check if update-secureboot-policy tool supports required commandline options. 308 update_secureboot_policy_supports() 309 { 310 opt_name="$1" 311 [ -n "$opt_name" ] || return 312 313 [ -z "$(update-secureboot-policy --help 2>&1 | grep "$opt_name")" ] && return 314 echo "1" 315 } 316 317 HAVE_UPDATE_SECUREBOOT_POLICY_TOOL= 308 318 if type update-secureboot-policy >/dev/null 2>&1; then 309 HAVE_UPDATE_SECUREBOOT_POLICY_TOOL=true 319 [ "$(update_secureboot_policy_supports new-key)" = "1" -a "$(update_secureboot_policy_supports enroll-key)" = "1" ] && \ 320 HAVE_UPDATE_SECUREBOOT_POLICY_TOOL=true 310 321 fi 311 322
Note:
See TracChangeset
for help on using the changeset viewer.