aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-07-09 22:34:46 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-07-09 22:34:46 +0200
commit88ab5e9efb74f0658ba3102be11b4b2e2cec4c38 (patch)
tree5f730dbe9a130c92a1f384e225abc2d5bef529f2 /scripts
parent65733d1fda46497babb0d0f19d4a741ee4462d07 (diff)
downloadimagefish-88ab5e9efb74f0658ba3102be11b4b2e2cec4c38.tar.gz
fix rpi3 64bit
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/config-blacklist-module.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config-blacklist-module.sh b/scripts/config-blacklist-module.sh
index 4af599d..6e3e812 100755
--- a/scripts/config-blacklist-module.sh
+++ b/scripts/config-blacklist-module.sh
@@ -9,7 +9,7 @@ if test "$image" = ""; then
fi
if virt-cat -a "$image" /etc/grub2-efi.cfg >/dev/null; then
- bootedit="/etc/grub2-efi.cfg:s/linuxefi/linuxefi rd.driver.blacklist=${module}/"
+ bootedit="/etc/grub2-efi.cfg:s/^([ \t]*linux[ ]+[^ ]+)/\1 rd.driver.blacklist=${module}/"
else
bootedit="/boot/extlinux/extlinux.conf:s/append/append rd.driver.blacklist=${module}/"
fi