summaryrefslogtreecommitdiff
path: root/user/grub/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/grub/APKBUILD')
-rw-r--r--user/grub/APKBUILD42
1 files changed, 25 insertions, 17 deletions
diff --git a/user/grub/APKBUILD b/user/grub/APKBUILD
index 06e574c8d..2c0cfdbc9 100644
--- a/user/grub/APKBUILD
+++ b/user/grub/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=grub
pkgver=2.04
-pkgrel=1
+pkgrel=3
pkgdesc="Bootloader with support for Linux, Multiboot and more"
url="https://www.gnu.org/software/grub/"
arch="all !s390x"
@@ -10,11 +10,12 @@ arch="all !s390x"
options="!check !strip" # Cannot test boot loader.
license="GPL-3.0+"
depends=""
-makedepends="bison flex freetype-dev linux-headers lvm2-dev python3 xz unifont
+makedepends="bison flex freetype-dev fuse-dev linux-headers lvm2-dev python3
+ unifont xz
automake autoconf libtool"
# [22:02] <@awilfox> [[sroracle]]: grub breaks without its locale files present
# [22:02] <@awilfox> it cannot be split
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-mount"
# currently grub only builds on x86*, aarch64 and ppc* systems
flavors=""
@@ -138,42 +139,49 @@ package() {
bios() {
pkgdesc="$pkgdesc (BIOS version)"
depends="$pkgname"
- mkdir -p $subpkgdir/usr/lib/grub
- mv $pkgdir/usr/lib/grub/*-pc $subpkgdir/usr/lib/grub/
+ mkdir -p "$subpkgdir"/usr/lib/grub
+ mv "$pkgdir"/usr/lib/grub/*-pc "$subpkgdir"/usr/lib/grub/
}
efi() {
pkgdesc="$pkgdesc (EFI version)"
depends="$pkgname efibootmgr efivar"
- mkdir -p $subpkgdir/usr/lib/grub
- mv $pkgdir/usr/lib/grub/*-efi $subpkgdir/usr/lib/grub/
+ mkdir -p "$subpkgdir"/usr/lib/grub
+ mv "$pkgdir"/usr/lib/grub/*-efi "$subpkgdir"/usr/lib/grub/
}
xenhost() {
- pkgdesc="$pkgdesc (XEN host version)"
- mkdir -p $subpkgdir/usr/lib/grub-xen
- mv $pkgdir/*-xen.bin $subpkgdir/usr/lib/grub-xen/
+ pkgdesc="$pkgdesc (Xen host version)"
+ mkdir -p "$subpkgdir"/usr/lib/grub-xen
+ mv "$pkgdir"/*-xen.bin "$subpkgdir"/usr/lib/grub-xen/
}
ieee1275() {
- pkgdesc="$pkgdesc (IEEE1275 version)"
+ pkgdesc="$pkgdesc (IEEE-1275 OpenFirmware version)"
depends="$pkgname powerpc-utils"
- mkdir -p $subpkgdir/usr/lib/grub
- mv $pkgdir/usr/lib/grub/*-ieee1275 $subpkgdir/usr/lib/grub/
+ mkdir -p "$subpkgdir"/usr/lib/grub
+ mv "$pkgdir"/usr/lib/grub/*-ieee1275 "$subpkgdir"/usr/lib/grub/
}
emu() {
pkgdesc="$pkgdesc (EMU version)"
depends="$pkgname"
- mkdir -p $subpkgdir/usr/lib/grub
- mv $pkgdir/usr/lib/grub/*-emu $subpkgdir/usr/lib/grub/
+ mkdir -p "$subpkgdir"/usr/lib/grub
+ mv "$pkgdir"/usr/lib/grub/*-emu "$subpkgdir"/usr/lib/grub/
+}
+
+mount() {
+ pkgdesc="Utility to mount filesystems using GRUB modules"
+ depends="$pkgname"
+ mkdir -p "$subpkgdir"/usr/bin/
+ mv "$pkgdir"/usr/bin/grub-mount "$subpkgdir"/usr/bin/
}
sha512sums="9c15c42d0cf5d61446b752194e3b628bb04be0fe6ea0240ab62b3d753784712744846e1f7c3651d8e0968d22012e6d713c38c44936d4004ded3ca4d4007babbb grub-2.04.tar.xz
-f8c9af848c14abc3e4cc749b3ec80432d1d69bf945c8e48f1650ec35d2442450dc0436a02a4737d5d06f21d5fdef54a91120a393e8d77a6b55aeb897aa1fe85c adelie-branding.patch
+4a6c909a1150b057fb0563f7a0646db33e16f84d6a8c443ef7db4003efd56c211a52f87699c5c95a6ccde65f6db46a8711a5b784f38479db804938dfe3115439 adelie-branding.patch
f2a7d9ab6c445f4e402e790db56378cecd6631b5c367451aa6ce5c01cd95b95c83c3dd24d6d4b857f8f42601eba82c855607513eb6ce5b2af6bd6c71f046e288 fix-gcc-no-pie-specs.patch
6e001762f7f562f2fafed56118079122e7602c731c70723241276f523e0882a3930d720fd847143d379ffd85626d2d7d3fa914590c0de1f0903a293695e71c41 grub2-accept-empty-module.patch
4e7394e0fff6772c89683039ccf81099ebbfe4f498e6df408977a1488fd59389b6e19afdbf0860ec271e2b2aea0df7216243dcc8235d1ca3af0e7f4d0a9d60a4 grub-xen-host_grub.cfg
-1e6ae4a3884829864dbd789d3c3a0d43a5aa5f279c3ebb25f71775686e9236bc1c6295e5064ad32b384635987ee0814df95e9ca33bc57bc8e0aeb47bec34270e default-grub
+1cb675fa0af9a1fd8d1a868e3e9de3bfef7eada66c5df0cfef23eca33e93e676eed6e1f67c679690f3e581565b350a9f3ba01aa9b89de66c970ea61ca21bcd65 default-grub
8e5f1cf91da9fd956695438509bb26e45f38170ca90d99a996e859053d72c82b7e4b02cb8979f047fc53498036f47b5400bf54687c390793995a05ded4216d55 update-grub
78b7ec141a364994c7de181e47fedca820add9960c56c7adf4c14ee11d5249a0887fd788ecd5d24b9bdd102b7c40395181e2f7c3fe5ab795dd7c0057ba1115c5 quirk-01_radeon_agpmode"