From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:49576) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGwxW-00087k-P5 for guix-patches@gnu.org; Tue, 24 Mar 2020 23:44:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGwxV-0004rS-Q9 for guix-patches@gnu.org; Tue, 24 Mar 2020 23:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGwxV-0004rN-Nt for guix-patches@gnu.org; Tue, 24 Mar 2020 23:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGwxV-0000zt-Lz for guix-patches@gnu.org; Tue, 24 Mar 2020 23:44:01 -0400 Subject: [bug#40218] linux-libre patch to support pinebook pro Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:49525) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGwwp-00087N-0r for guix-patches@gnu.org; Tue, 24 Mar 2020 23:43:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGwwn-0004he-US for guix-patches@gnu.org; Tue, 24 Mar 2020 23:43:18 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:35096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jGwwn-0004hN-Ok for guix-patches@gnu.org; Tue, 24 Mar 2020 23:43:17 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 4F7A11A9BD for ; Tue, 24 Mar 2020 20:43:16 -0700 (PDT) From: Vagrant Cascadian In-Reply-To: <87a74516fx.fsf@yucca> References: <87a74516fx.fsf@yucca> Date: Tue, 24 Mar 2020 20:43:13 -0700 Message-ID: <877dz914mm.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40218@debbugs.gnu.org --=-=-= Content-Type: text/plain On 2020-03-24, Vagrant Cascadian wrote: > The one reason I haven't pushed the patch is it would cause useless > rebuilds of linux-libre for x86_64, i686 and armhf; I've been trying to > make that conditional for aarch64 and not been very successful at it; if > someone could help with that, or give me the go-ahead to merge as is > ... that'd be great! FWIW, this is one of the permutations I've tried so far: --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -432,12 +432,16 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." (define-public linux-libre-5.4-source (source-with-patches linux-libre-5.4-pristine-source - (list %boot-logo-patch - %linux-libre-arm-export-__sync_icache_dcache-patch - ;; Pinebook Pro patch from linux-next, - ;; can be dropped for linux-libre 5.7 - (search-patch - "linux-libre-Add-initial-support-for-Pinebook-.patch")))) + (cons* %boot-logo-patch + %linux-libre-arm-export-__sync_icache_dcache-patch + (if (let ((system (or (%current-target-system) + (%current-system)))) + (string-prefix? "aarch64" system)) + ;; Pinebook Pro patch from linux-next, + ;; can be dropped for linux-libre 5.7 + '((search-patch + "linux-libre-Add-initial-support-for-Pinebook-.patch")) + '())))) (define-public linux-libre-4.19-source (source-with-patches linux-libre-4.19-pristine-source But with this, I get the source without the patch applied in all cases... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXnrTUQAKCRDcUY/If5cW qni3AP9M1qdWcwQM3+Ls3kirdh1D6wSIZGVTkJJFx1clpMTRQAEAvj0IDvaMO2Wx zAb3WonA2Ph1cxybNqp8GIl9ZTYFOw8= =Qhfx -----END PGP SIGNATURE----- --=-=-=--