[go: nahoru, domu]

Skip to content

Commit

Permalink
Update main.sh
Browse files Browse the repository at this point in the history
Fixes:
    !!!
    !!! PLEASE USE 'dev_boot_altfw' INSTEAD OF 'dev_boot_legacy'
    !!!
  • Loading branch information
lothrond committed Jun 20, 2021
1 parent b2d1eb1 commit 305893f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ if [ -z "$DOWNLOADONLY" ] && ! vboot_is_safe; then
echo "If this is a surprise to you, you should do a full system recovery via USB." 1>&2
sleep 5
elif [ -z "$DOWNLOADONLY" ] && \
boot="`crossystem dev_boot_usb dev_boot_legacy dev_boot_signed_only`"; then
boot="`crossystem dev_boot_usb dev_boot_altfw dev_boot_signed_only`"; then
# db_usb and db_legacy be off, db_signed_only should be on.
echo "$boot" | {
read -r usb legacy signed
Expand All @@ -582,7 +582,7 @@ elif [ -z "$DOWNLOADONLY" ] && \
fi
if [ "$legacy" != 0 ]; then
echo "WARNING: Legacy booting is enabled; consider disabling it." 1>&2
suggest="$suggest dev_boot_legacy=0"
suggest="$suggest dev_boot_altfw=0"
fi
if [ -n "$suggest" ]; then
if [ "$signed" != 1 ]; then
Expand Down

0 comments on commit 305893f

Please sign in to comment.