1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:27:45 +00:00

Meta: build-image-grub.sh looks for grub configs in the right place

This commit is contained in:
etaIneLp 2020-05-26 17:52:16 -04:00 committed by Andreas Kling
parent 775d44efb5
commit 0c1ed0ebf3

View file

@ -90,8 +90,8 @@ echo "installing grub using $grub..."
$grub --boot-directory=mnt/boot --target=i386-pc --modules="ext2 part_msdos" "${dev}" $grub --boot-directory=mnt/boot --target=i386-pc --modules="ext2 part_msdos" "${dev}"
if [ -d mnt/boot/grub2 ]; then 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 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 fi
echo "done" echo "done"