unofficial mirror of guix-devel@gnu.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

* Re: Applying patches to linux-libre-X.Y-source conditionally by architecture
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Vagrant Cascadian @ 2021-05-30  5:51 UTC (permalink / raw)
  To: guix-devel

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

On 2021-05-12, Vagrant Cascadian wrote:
> 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...

Given no comment and limited skills, I ended up just applying the patch
to linux-libre@5.12 b5069d8eaa09d20ed622b284f4004b155fc11ef8

It would still be very nice to be able to do this sort of thing
per-architecture, if anyone might be able to take a look at it!  :)

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).