summaryrefslogtreecommitdiff
path: root/libre/grub
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@parabola.nu>2024-01-07 15:22:54 -0700
committerLuke T. Shumaker <lukeshu@parabola.nu>2024-01-07 15:22:54 -0700
commit3588fef4dad7bbb21bc93b10757a61c41c733809 (patch)
tree8cdcf4d8b916befdfd2d964e3e69f7f996fe7b94 /libre/grub
parent10172331c70a09aae861964d694acbcd99b8df46 (diff)
libre/grub: add a comment about differences from Arch
Diffstat (limited to 'libre/grub')
-rw-r--r--libre/grub/PKGBUILD48
1 files changed, 47 insertions, 1 deletions
diff --git a/libre/grub/PKGBUILD b/libre/grub/PKGBUILD
index 1b031ac2d..b3b6deb35 100644
--- a/libre/grub/PKGBUILD
+++ b/libre/grub/PKGBUILD
@@ -6,6 +6,52 @@
# Contributor: Márcio Silva <coadde@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Differences from Arch's `core/grub`:
+#
+# - Branded for Parabola, not Arch
+#
+# - Add arch+=(i686)
+#
+# - Add arch+=(armv7h)
+#
+# - Add more platforms:
+#
+# + Arch starts with:
+#
+# * --with-platform=pc (x86 BIOS)
+# * --with-platform=efi (UEFI, x86 and ARM; if
+# _IA32_EFI_IN_ARCH_X86=1 then the x86_64
+# package contains both 32bit and 64bit
+# builds)
+# * --with-platform=emu (if _GRUB_EMU_BUILD=1, user-mode, x86 and ARM)
+#
+# + Parabola additions, since
+#
+# "grub: add armv7h support (U-Boot and UEFI)"
+# (2015-09-26, Márcio Alexandre Silva Delgado <coadde@parabola.nu>)
+#
+# * --with-platform=uboot (ARM)
+#
+# + Parabola additions, since
+#
+# "grub: rm unused grub-extras in U-Boot, fix msg on U-Boot build; add IEEE1275 (OpenFirmware) and Libreboot support"
+# (2015-09-26, Márcio Alexandre Silva Delgado <coadde@parabola.nu>)
+#
+# * --with-platform=ieee1275 (OpenFirmware, x86-only)
+# * --with-platform=coreboot (Libreboot, x86-only)
+#
+# + Parabola additions, since
+#
+# "grub: add QEMU, XEN and Multiboot support"
+# (2015-09-27, Márcio Alexandre Silva Delgado <coadde@parabola.nu>)
+#
+# * --with-platform=xen (if _XEN=1, x86-only; if
+# _IA32_XEN_IN_ARCH_X86=1 then the x86_64
+# package contains both 32bit and 64bit
+# builds)
+# * --with-platform=qemu (a separate -kernel file for Qemu, x86-only)
+# * --with-platform=multiboot (x86-only)
+
## '1' to enable Xen support, '0' to disable
_XEN='0'
@@ -15,7 +61,7 @@ _IA32_EFI_IN_ARCH_X64='1'
## '1' to enable IA32-XEN build in Arch x86_64, "0" to disable
_IA32_XEN_IN_ARCH_X64='1'
-## '1' to enable EMU build (x86_64 and i686 only), "0" to disable
+## '1' to enable EMU build, "0" to disable
_GRUB_EMU_BUILD='0'
[[ "${CARCH}" = 'armv7h' ]] && _EFI_ARCH='arm'