guix_mirror_bot pushed a commit to branch master
in repository guix.
commit c6da50437d967874162cd88ef66a8469649c1fbb
Author: Efraim Flashner <[email protected]>
AuthorDate: Fri Jul 4 14:57:01 2025 +0300
gnu: Add grub-uboot.
* gnu/packages/bootloaders.scm (grub-uboot): New variable.
Change-Id: Ib923c66723f6250a7505b14f9d4a4dc0bad528ea
---
gnu/packages/bootloaders.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 803ebc52e6..6617d6fc8e 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -562,6 +562,17 @@ menu to select one of the installed operating systems.")
"i586-gnu" "x86_64-gnu"
"powerpc-linux" "powerpc64le-linux"))))
+(define-public grub-uboot
+ (let ((base (make-grub "uboot")))
+ (package
+ (inherit base)
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ;; Running the tests isn't supported for this grub platform.
+ ((#:tests? _ #t) #f)))
+ (synopsis "GRand Unified Boot loader (u-boot version)")
+ (supported-systems '("armhf-linux")))))
+
;; Because grub searches hardcoded paths it's easiest to just build grub
;; again to make it find both grub-pc and grub-efi. There is a command
;; line argument which allows you to specify ONE platform - but