guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#69476] [PATCH 3/8] gnu: ath9k-htc-firmware: Remove binary blobs.


From: Jean-Pierre De Jesus DIAZ
Subject: [bug#69476] [PATCH 3/8] gnu: ath9k-htc-firmware: Remove binary blobs.
Date: Thu, 29 Feb 2024 16:20:45 +0100

* gnu/packages/firmware.scm (ath9k-htc-firmware) <source>: Add snippet
to remove bundled binary files.

Change-Id: I2f0592d03039ff9d5a5f3a79b0c62566164f3762
---
 gnu/packages/firmware.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 828bc7402a..a9f218eb9f 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -99,6 +99,10 @@ (define-public ath9k-htc-firmware
               (uri (git-reference
                     (url "https://github.com/qca/open-ath9k-htc-firmware";)
                     (commit version)))
+              (modules '((guix build utils)))
+              (snippet
+                ;; Delete binary blobs.
+                #~(for-each delete-file (find-files "." "\\.(a|o)$")))
               (sha256
                (base32
                 "16jbj8avg5jkgvq5lxm0hdxxn4c3zn7fx8b4nxllvr024apk9w23"))
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]