guix-devel
[Top][All Lists]
Advanced

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

Applying patches to linux-libre-X.Y-source conditionally by architecture


From: Vagrant Cascadian
Subject: Applying patches to linux-libre-X.Y-source conditionally by architecture
Date: Wed, 12 May 2021 13:46:06 -0700

When patching linux-libre-X.Y-source, is it possible to apply patches
per-architecture? I ask, because I'd like to apply an aarch64/arm64
patch, but would hate to trigger linux-libre rebuilds for all
architectures just to add trivial patches that would have no affect in
most architectures...


I've done basically this same patch for linux-libre@5.11 and @5.10, and
it would be nice to apply for @5.12, too. If we can't get architecture
specific conditionals, then it would be ideal to apply it at the same
time as the next version bump so as not to rebuild twice on all
architectures.


diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a155c29f8b..ac70bdf4f0 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -489,7 +489,9 @@ corresponding UPSTREAM-SOURCE (an origin), using the given 
DEBLOB-SCRIPTS."
 (define-public linux-libre-5.10-source
   (source-with-patches linux-libre-5.10-pristine-source
                        (list %boot-logo-patch
-                             
%linux-libre-arm-export-__sync_icache_dcache-patch)))
+                             %linux-libre-arm-export-__sync_icache_dcache-patch
+                            (search-patch
+                             "linux-libre-arm64-generic-pinebook-lcd.patch"))))



Thanks!


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


reply via email to

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