guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 136fc8bfe91a64d28b6c54cf8f5930ffe787c16e
Author: Jiyu <[email protected]>
AuthorDate: Sun Nov 23 00:37:46 2025 +0100

    gnu: u-boot: Removed non-free software.
    
    Change-Id: Ic647e659f41f245ce4a1409b232b24a91bd9ff25
    Signed-off-by: Gabriel Wicki <[email protected]>
---
 gnu/packages/bootloaders.scm | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 86efedde5f..334d3f7802 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2025 Esther Flashner <[email protected]>
 ;;; Copyright © 2025 André Batista <[email protected]>
 ;;; Copyright © 2025 dan <[email protected]>
+;;; Copyright © 2025 Jiyu Software <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -863,7 +864,17 @@ tree binary files.  These are board description files used 
by Linux and BSD.")
        (sha256
         (base32 "1i1v86bnixh8hyqbwwr5iwdnnadmg2fqxw9g526fvclsbvl8lz0v"))
        (patches (search-patches "u-boot-allow-disabling-openssl.patch"
-                                "u-boot-rockchip-inno-usb.patch"))))
+                                "u-boot-rockchip-inno-usb.patch"))
+       (snippet
+        ;; Remove non-free binary licenses, blobs and microcode.
+        #~(begin
+           (use-modules (guix build utils))
+           (for-each delete-file
+                   '("Licenses/r8a779x_usb3.txt"
+                     "drivers/usb/host/xhci-rcar-r8a779x_usb3_v3.h"
+                     "arch/mips/mach-octeon/include/mach/cvmx-pki-cluster.h"))
+           (for-each delete-file
+                   (find-files "arch/x86/dts/microcode/" "\\.dtsi$"))))))
     (build-system gnu-build-system)
     (native-inputs
      (list bison

Reply via email to