From 8f641ee861c870936f00d7fdee74c96fcc0195a4 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 25 Sep 2022 16:57:15 +0800 Subject: [PATCH] arm64: grub cfg: add quote to avoid "escaping" Windoge-style loader path --- chapter10/grub.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter10/grub.xml b/chapter10/grub.xml index 6dcde599a..bf8738dd9 100644 --- a/chapter10/grub.xml +++ b/chapter10/grub.xml @@ -177,7 +177,7 @@ mount /boot/efi mount -v -t efivarfs efivarfs /sys/firmware/efi/efivars efibootmgr -B -L LFS || true -efibootmgr -c -L LFS -l \EFI\BOOT\BOOTAA64.EFI -d /dev/sda +efibootmgr -c -L LFS -l '\EFI\BOOT\BOOTAA64.EFI' -d /dev/sda umount /sys/firmware/efi/efivars Replace /dev/sda with the device node of the