unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / 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	[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

unofficial mirror of guix-devel@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-devel/0 guix-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-devel guix-devel/ https://yhetil.org/guix-devel \
		guix-devel@gnu.org
	public-inbox-index guix-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.devel
	nntp://news.gmane.io/gmane.comp.gnu.guix.devel


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git