summaryrefslogtreecommitdiff
path: root/libre/grub
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@parabola.nu>2024-01-07 15:22:55 -0700
committerLuke T. Shumaker <lukeshu@parabola.nu>2024-01-07 20:18:29 -0700
commit14a544b18cf971ec8a116caaf4da0de2d8c4b127 (patch)
tree7ea0f8ae56211118c9c806b9fd7d5ccaf6b2ec70 /libre/grub
parent5b7c4eb3e0abde7a005ec66ee062f2c08cbfb1e9 (diff)
libre/grub: clean up optdepends
Diffstat (limited to 'libre/grub')
-rw-r--r--libre/grub/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/libre/grub/PKGBUILD b/libre/grub/PKGBUILD
index ed6833f72..db7b34157 100644
--- a/libre/grub/PKGBUILD
+++ b/libre/grub/PKGBUILD
@@ -101,7 +101,12 @@ makedepends=('git' 'rsync' 'xz' 'freetype2' 'ttf-dejavu' 'python' 'autogen'
'texinfo' 'help2man' 'gettext' 'device-mapper' 'fuse2')
depends=('sh' 'xz' 'gettext' 'device-mapper')
optdepends=('freetype2: For grub-mkfont usage'
- 'fuse2: For grub-mount usage')
+ 'fuse2: For grub-mount usage'
+ #'dosfstools: For grub-mkrescue FAT FS and EFI support' # drop 'and EFI' from the device-specific arm-uboot packages
+ #'efibootmgr: For grub-install EFI support' # drop from the device-specific arm-uboot packages
+ #'libisoburn: Provides xorriso for generating grub rescue iso using grub-mkrescue' # drop from the device-specific arm-uboot packages
+ 'os-prober: To detect other OSes when generating grub.cfg in BIOS systems'
+ 'mtools: For grub-mkrescue FAT FS support')
if [[ "${CARCH}" = 'x86_64' ]] && [[ "${_XEN}" = '1' ]]; then
makedepends+=('xen')
@@ -109,6 +114,8 @@ fi
if [[ "${_GRUB_EMU_BUILD}" = "1" ]]; then
makedepends+=('libusbx' 'sdl')
+ #optdepends+=('libusbx: For grub-emu USB support' # drop from the device-specific arm-uboot packages
+ # 'sdl: For grub-emu SDL support') # drop from the device-specific arm-uboot packages
fi
if [[ "${CARCH}" = 'x86_64' ]] || [[ "${CARCH}" = 'i686' ]]; then
@@ -433,9 +440,7 @@ _package_grub-uboot() {
package_grub() {
optdepends+=('dosfstools: For grub-mkrescue FAT FS and EFI support'
'efibootmgr: For grub-install EFI support'
- 'libisoburn: Provides xorriso for generating grub rescue iso using grub-mkrescue'
- 'os-prober: To detect other OSes when generating grub.cfg in BIOS systems'
- 'mtools: For grub-mkrescue FAT FS support')
+ 'libisoburn: Provides xorriso for generating grub rescue iso using grub-mkrescue')
if [[ "${_GRUB_EMU_BUILD}" = '1' ]]; then
optdepends+=('libusbx: For grub-emu USB support'
@@ -487,9 +492,7 @@ _package_grub-uboot-dev() {
local devdesc=$2
pkgdesc="GNU GRand Unified Bootloader (2) for $devdesc ($devname), (Parabola rebranded)"
- optdepends+=('dosfstools: For grub-mkrescue FAT FS'
- 'os-prober: To detect other OSes when generating grub.cfg in BIOS systems'
- 'mtools: For grub-mkrescue FAT FS support')
+ optdepends+=('dosfstools: For grub-mkrescue FAT FS')
echo "Copy the source for packaging the U-Boot ($devname) part..."
cp -r "${srcdir}/grub-uboot/" "${srcdir}/grub-uboot_$devname/"