mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Meta: build-image-grub.sh looks for grub configs in the right place
This commit is contained in:
parent
775d44efb5
commit
0c1ed0ebf3
Notes:
sideshowbarker
2024-07-19 18:30:36 +09:00
Committer: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0c1ed0ebf3d
1 changed files with 2 additions and 2 deletions
|
@ -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