all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Applying patches to linux-libre-X.Y-source conditionally by architecture
@ 2021-05-12 20:46 Vagrant Cascadian
  2021-05-30  5:51 ` Vagrant Cascadian
  0 siblings, 1 reply; 2+ messages in thread
From: Vagrant Cascadian @ 2021-05-12 20:46 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-30  5:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-12 20:46 Applying patches to linux-libre-X.Y-source conditionally by architecture Vagrant Cascadian
2021-05-30  5:51 ` Vagrant Cascadian

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.