From 0c1ed0ebf3d64359a948e6fae0d0d6ab8f89fd78 Mon Sep 17 00:00:00 2001 From: etaIneLp <33374857+etaIneLp@users.noreply.github.com> Date: Tue, 26 May 2020 17:52:16 -0400 Subject: [PATCH] Meta: build-image-grub.sh looks for grub configs in the right place --- Meta/build-image-grub.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Meta/build-image-grub.sh b/Meta/build-image-grub.sh index 7efbb0649f6..985323e4a9d 100755 --- a/Meta/build-image-grub.sh +++ b/Meta/build-image-grub.sh @@ -90,8 +90,8 @@ echo "installing grub using $grub..." $grub --boot-directory=mnt/boot --target=i386-pc --modules="ext2 part_msdos" "${dev}" if [ -d mnt/boot/grub2 ]; then - cp grub-"${partition_scheme}".cfg mnt/boot/grub2/grub.cfg + cp "$SERENITY_ROOT"/Meta/grub-"${partition_scheme}".cfg mnt/boot/grub2/grub.cfg else - cp grub-"${partition_scheme}".cfg mnt/boot/grub/grub.cfg + cp "$SERENITY_ROOT"/Meta/grub-"${partition_scheme}".cfg mnt/boot/grub/grub.cfg fi echo "done"