Skip to content

Commit

Permalink
Update 850_make_USB_bootable.sh
Browse files Browse the repository at this point in the history
Simplified test when output/USB/Linux-i386/850_make_USB_bootable.sh is skipped
because GRUB2 is specified to be used as USB bootloader
  • Loading branch information
jsmeix committed Jul 20, 2021
1 parent bd7403e commit 93abd4e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions usr/share/rear/output/USB/Linux-i386/850_make_USB_bootable.sh
@@ -1,7 +1,6 @@
# Only run for syslinux and extlinux
if [ ! -z $USB_BOOTLOADER ] && [[ ! $USB_BOOTLOADER =~ syslinux|extlinux ]]; then
return 0
fi

# Nothing to do here when GRUB2 is specified to be used as USB bootloader:
test "$USB_BOOTLOADER" = "grub" && return

# Test for features in dd
# true if dd supports oflag= option
Expand Down

0 comments on commit 93abd4e

Please sign in to comment.