Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
grub


Commits:
e8d615ea by Niels P at 2026-09-17T13:31:45-07:00
Unified PKGBUILD for x86_64 and aarch64

- - - - -
71f6970e by Christian Hesse at 2026-09-22T09:03:46+02:00
use new upstream url for nvchecker

- - - - -


2 changed files:

- .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.nvchecker.toml
=====================================
@@ -1,5 +1,5 @@
 [grub]
 source = 'git'
-git = 'https://git.savannah.gnu.org/git/grub.git'
+git = 'https://gitlab.freedesktop.org/gnu-grub/grub.git'
 prefix = 'grub-'
 include_regex = 'grub-\d+\.\d+'


=====================================
PKGBUILD
=====================================
@@ -19,24 +19,30 @@ backup=(
 )
 install="${pkgname}.install"
 conflicts=(
-  grub-bios
   grub-common
-  grub-efi-x86_64
   grub-emu
   grub-legacy
 )
+conflicts_x86_64=(
+  grub-bios
+  grub-efi-x86_64
+)
 replaces=(
   grub-common
-  grub-bios
   grub-emu
+)
+replaces_x86_64=(
+  grub-bios
   grub-efi-x86_64
 )
 provides=(
-  grub-bios
   grub-common
-  grub-efi-x86_64
   grub-emu
 )
+provides_x86_64=(
+  grub-bios
+  grub-efi-x86_64
+)
 makedepends=(
   autogen
   device-mapper
@@ -191,6 +197,9 @@ _platform=(
   x86_64-efi
 )
 
+# disable cross-compilation when building for aarch64
+[[ $CARCH == "aarch64" ]] && _platform=(aarch64-efi)
+
 build() {
   for i in ${_platform[@]}; do
     echo "Unset CFLAGS for build..."



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/grub/-/compare/890aa6ff0992c651cbe123beff87566f0534b26d...71f6970e59213db659e9ebfdaa5769c089aa60d8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/grub/-/compare/890aa6ff0992c651cbe123beff87566f0534b26d...71f6970e59213db659e9ebfdaa5769c089aa60d8
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to