pmaports/cross/grub-x86/APKBUILD
Oliver Smith 2cba912d15
cross/grub-x86: fix pmb:strict option name
This package should use the pmb:strict option, in order to force
pmbootstrap to always build it in strict mode. Otherwise it can have
a conflict with packages installed earlier.

I've just noticed that the merged patch was still using the early name
of the option, "pmbootstrap-strict". It was later changed to
"pmb:strict" in the related pmbootstrap!1771 merge request, for
consistency with !pmb:kconfig-check. Fix grub-x86 to use the proper
option name.

[ci:skip-vercheck]: version bump not needed
2019-06-04 23:28:39 +02:00

22 lines
779 B
Text

pkgname=grub-x86
pkgver=1
pkgrel=0
pkgdesc="GRUB i386-efi image"
url="https://www.gnu.org/software/grub/"
license="GPL-3.0-or-later"
arch="x86_64"
makedepends="grub grub-efi-x86"
options="pmb:strict"
source="grub_early.cfg"
package() {
mkdir -p "$pkgdir/boot/EFI/Boot"
grub_mod="all_video disk part_gpt part_msdos linux normal configfile search search_label efi_gop fat iso9660 cat echo ls test true help gzio"
grub-mkimage --config="$srcdir/grub_early.cfg" \
--prefix="" \
--output="$pkgdir/boot/EFI/Boot/bootia32.efi" \
--format="i386-efi" --compression="xz" \
$grub_mod
}
sha512sums="0f9357d4eea089628fbceb1e3e96d21a3f4329aeb6743158a6f877f967ef274506404eba949d5f01b7e1adea149f9a3aef992a5e8cd4181f93ab00909b1c5ecd grub_early.cfg"