From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iMeIDtA+nGAG0gAAgWs5BA (envelope-from ) for ; Wed, 12 May 2021 22:47:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QPYyCtA+nGA8cgAAB5/wlQ (envelope-from ) for ; Wed, 12 May 2021 20:47:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8FD7E177D1 for ; Wed, 12 May 2021 22:47:11 +0200 (CEST) Received: from localhost ([::1]:54934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgvl8-0003bG-Gx for larch@yhetil.org; Wed, 12 May 2021 16:47:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgvkc-0003af-Oq for guix-devel@gnu.org; Wed, 12 May 2021 16:46:38 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:38952) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgvka-0001Z9-O6 for guix-devel@gnu.org; Wed, 12 May 2021 16:46:38 -0400 Received: from localhost (97-120-1-76.ptld.qwest.net [97.120.1.76]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id B5E7A1AF2E; Wed, 12 May 2021 13:46:34 -0700 (PDT) From: Vagrant Cascadian To: guix-devel Subject: Applying patches to linux-libre-X.Y-source conditionally by architecture Date: Wed, 12 May 2021 13:46:06 -0700 Message-ID: <87im3nr88h.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620852431; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=r60DtyIaAhi/B5h9tde3SqJc7R/ytkF73MkTrAMY+Fc=; b=eOpl47kCyT+l7k1or63BMfJvmMDNg9lO5Y+yGTUO73O3SoUaDRuZw+3uZ0PDkxFEBPScW/ md+jLkjhdKc5VIqiJ4T1WsBv15kQirH/t5NjnjDmLHQdK40gSErVe5ZF/HSj8Bh4EEQc98 pt5wYOGDEUFRTQsCkFmgRDGnNq1tbRK3JiUhiJGppdktAiUz3+DdZJ6fgXcnQ3jlToyM7e SR6cjyEcg4+jYY9iywqZMSZ3mNkW34BusDVr2jzKTdyoiaS7IfS/5wwDQZQoFLYxLvRnsh ABPSwJD9dTy6kXrLHC57wDx0Pv7RxBFJydTsIeR24EWV8iytRWYSC+rnpFlyzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620852431; a=rsa-sha256; cv=none; b=FqkbeOLxvIK+S6G9N2+RWMhT/TBvcJL7OIgS9uD5ol2I8K3gPGjty1rqmFQbS+Z4t3sReL w2miUP6fBGeQDn5ySfETj0taST45/04oe7qoEzSrEVgxCm3sf23ibDXmXwUnvX8ySnMP+u J64EETF6TA8fGQtGfCDvNAwGj4qJAHJzc2jsgxUmaja82lXGa5l7QAQGJfGYdOLuZFE5Qf P9h2+iu1X3YTt+3mazU7unZ5sQcrQ8c2BNKeqE/CMZkJcY+xOvZxEXONwyr4azckveoALN MeIt9vSfS0Gv65Od0HHP5xFGY2bK1aMrZlnBy3GZLYF/koiTj4pdJuA20WNmSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -4.05 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 8FD7E177D1 X-Spam-Score: -4.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: o9eYMrdrKDfu --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYJw+jwAKCRDcUY/If5cW qs/MAP44ji0jfukLmkiYDMmmkMnkRJVrBOKao3vlIgqRPk8NhwD7BwgUAUzRTD0J 7ClXqjBN6nKJOJ7Ebos//8t2tfoiigo= =J9RL -----END PGP SIGNATURE----- --=-=-=--