diff options
author | etaIneLp <33374857+etaIneLp@users.noreply.github.com> | 2020-05-26 17:52:16 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-28 00:50:55 +0200 |
commit | 0c1ed0ebf3d64359a948e6fae0d0d6ab8f89fd78 (patch) | |
tree | 486d0eb4f51dcb93608164cabb56819327062d6c /Meta/build-image-grub.sh | |
parent | 775d44efb587f6dd0e13f89e5240fd4e9b99158a (diff) | |
download | serenity-0c1ed0ebf3d64359a948e6fae0d0d6ab8f89fd78.zip |
Meta: build-image-grub.sh looks for grub configs in the right place
Diffstat (limited to 'Meta/build-image-grub.sh')
-rwxr-xr-x | Meta/build-image-grub.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/build-image-grub.sh b/Meta/build-image-grub.sh index 7efbb0649f..985323e4a9 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" |