mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 01:59:14 +03:00
Build: Fix build of grub image when choosing GPT scheme
This commit is contained in:
parent
43d833d94f
commit
0f208669af
Notes:
sideshowbarker
2024-07-19 00:31:33 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/0f208669af0 Pull-request: https://github.com/SerenityOS/serenity/pull/4527 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/bugaevc
@ -63,7 +63,7 @@ if [ "$1" = "mbr" ]; then
|
||||
partition_number="p1"
|
||||
partition_scheme="mbr"
|
||||
elif [ "$1" = "gpt" ]; then
|
||||
parted -s "${dev}" mklabel gpt mkpart BIOSBOOT ext3 1MiB 8MiB mkpart OS ext2 8MiB 700MiB set 1 bios_grub || die "couldn't partition disk"
|
||||
parted -s "${dev}" mklabel gpt mkpart BIOSBOOT ext3 1MiB 8MiB mkpart OS ext2 8MiB 290MiB set 1 bios_grub || die "couldn't partition disk"
|
||||
partition_number="p2"
|
||||
partition_scheme="gpt"
|
||||
elif [ "$1" = "ebr" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user