summaryrefslogtreecommitdiff
path: root/user/grub
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-09 04:33:53 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-09 04:33:53 -0500
commitddc221fb76fd6de641e3fd3af9c4c99eb828e00d (patch)
tree5ff7b0344761f516bd0332eef468294c7d826fce /user/grub
parentd2881162a4b8d50c765e7d8c5aa5c9b38b0daa46 (diff)
downloadpackages-ddc221fb76fd6de641e3fd3af9c4c99eb828e00d.tar.gz
packages-ddc221fb76fd6de641e3fd3af9c4c99eb828e00d.tar.bz2
packages-ddc221fb76fd6de641e3fd3af9c4c99eb828e00d.tar.xz
packages-ddc221fb76fd6de641e3fd3af9c4c99eb828e00d.zip
user/grub: Add U-Boot version package function
The addition of the U-Boot flavour for ARM needs this. Fixes: #1082
Diffstat (limited to 'user/grub')
-rw-r--r--user/grub/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/grub/APKBUILD b/user/grub/APKBUILD
index 8b365fc0b..b38abfd3a 100644
--- a/user/grub/APKBUILD
+++ b/user/grub/APKBUILD
@@ -175,6 +175,12 @@ ieee1275() {
mv "$pkgdir"/usr/lib/grub/*-ieee1275 "$subpkgdir"/usr/lib/grub/
}
+uboot() {
+ pkgdesc="$pkgdesc (U-Boot version)"
+ mkdir -p "$subpkgdir"/usr/lib/grub
+ mv "$pkgdir"/usr/lib/grub/*-uboot "$subpkgdir"/usr/lib/grub/
+}
+
mount() {
pkgdesc="Utility to mount filesystems using GRUB modules"
depends="$pkgname"