mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +00:00
Meta: build-image-grub.sh looks for grub configs in the right place
This commit is contained in:
parent
775d44efb5
commit
0c1ed0ebf3
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue