From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uHG3Msl6N2AScQAA0tVLHw (envelope-from ) for ; Thu, 25 Feb 2021 10:24:09 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4A99Lsl6N2DKWwAAB5/wlQ (envelope-from ) for ; Thu, 25 Feb 2021 10:24:09 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 06A14132FF for ; Thu, 25 Feb 2021 11:24:09 +0100 (CET) Received: from localhost ([::1]:56668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFDoW-0002KU-2G for larch@yhetil.org; Thu, 25 Feb 2021 05:24:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFDoQ-0002KM-0B for guix-patches@gnu.org; Thu, 25 Feb 2021 05:24:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFDoP-0005rh-Po for guix-patches@gnu.org; Thu, 25 Feb 2021 05:24:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lFDoP-00079H-ME for guix-patches@gnu.org; Thu, 25 Feb 2021 05:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46741] [PATCH] gnu: Return appropriate defconfig for ppc64 (non-LE) Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Feb 2021 10:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46741 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Carl Dong Cc: 46741@debbugs.gnu.org Received: via spool by 46741-submit@debbugs.gnu.org id=B46741.161424860227422 (code B ref 46741); Thu, 25 Feb 2021 10:24:01 +0000 Received: (at 46741) by debbugs.gnu.org; 25 Feb 2021 10:23:22 +0000 Received: from localhost ([127.0.0.1]:36744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFDnm-00078D-07 for submit@debbugs.gnu.org; Thu, 25 Feb 2021 05:23:22 -0500 Received: from flashner.co.il ([178.62.234.194]:56622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFDnk-000780-6T for 46741@debbugs.gnu.org; Thu, 25 Feb 2021 05:23:20 -0500 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id BCF93401D4; Thu, 25 Feb 2021 10:23:13 +0000 (UTC) Date: Thu, 25 Feb 2021 12:22:34 +0200 From: Efraim Flashner Message-ID: References: <20210224030312.458470-1-contact@carldong.me> <976A5887-0DF5-48A6-A071-D7B3A9A51186@carldong.me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m7IrqPTY4N5RcC1a" Content-Disposition: inline In-Reply-To: <976A5887-0DF5-48A6-A071-D7B3A9A51186@carldong.me> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.97 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 06A14132FF X-Spam-Score: -3.97 X-Migadu-Scanner: scn1.migadu.com X-TUID: PDYohTzUPgmg --m7IrqPTY4N5RcC1a Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I did some quick testing from the guile repl and it looks like it doesn't take a regex. I have no preference between two entries for 'powerpc64-' and 'powerpc64le-' vs 'powerpc64'. On Wed, Feb 24, 2021 at 03:30:00PM -0500, Carl Dong wrote: > Hmmm does string-prefix? accept regex? And if so perhaps it should be "po= werpc64(le)?-=E2=80=9C? >=20 > Carl Dong > contact@carldong.me > "I fight for the users" >=20 > > On Feb 24, 2021, at 3:17 AM, Efraim Flashner wr= ote: > >=20 > > On Tue, Feb 23, 2021 at 10:03:12PM -0500, Carl Dong wrote: > >> * gnu/packages/linux.scm (system->defconfig): Add "powerpc64-" prefix. > >> --- > >> gnu/packages/linux.scm | 1 + > >> 1 file changed, 1 insertion(+) > >>=20 > >> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > >> index c87c5ffb09..30cbebf849 100644 > >> --- a/gnu/packages/linux.scm > >> +++ b/gnu/packages/linux.scm > >> @@ -181,6 +181,7 @@ > >> defconfig. Return the appropriate make target if applicable, otherwis= e return > >> \"defconfig\"." > >> (cond ((string-prefix? "powerpc-" system) "pmac32_defconfig") > >> + ((string-prefix? "powerpc64-" system) "ppc64_defconfig") > >> ((string-prefix? "powerpc64le-" system) "ppc64_defconfig") > >=20 > > would it make more sense to change it to "powerpc64" or "powerpc(64)?-"? > >=20 > >> (else "defconfig"))) > >>=20 > >> -- > >> 2.30.1 > >>=20 > >>=20 > >>=20 > >>=20 > >=20 > > -- > > Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7= =9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 > > GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > > Confidentiality cannot be guaranteed on emails sent or received unencry= pted >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --m7IrqPTY4N5RcC1a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmA3emcACgkQQarn3Mo9 g1HfgA//WBLCRZvbccSEndgbA2Qne5vFF3zqFgEsrAXlI17/zPJ6MgYpqAw0YTnR ArNNCjX8Vk+avLV3CYAmROWS7lID3QA5vn4gzS1KSTL+uD6I2C2HFTzWGiAIiByD 34VEagtjQsG4DgsE7DzpIttw51VbwrOQgmCoEVj8+jFvXbxgLDnn/xmzWLhbqfMy Dun4aY0o+2wKB2fmg3CCDqXgUz+fR9g45mWMksVhtjl5EOERhK4WI/jCzPh33yRg 1M+GsREqsPIfw4M9YPPk7YKI2sdf9ikpui87yB9Qc8b9aOJjLAUSLI128uVNoucj RwEDP6aMEsuwR65DHlFzAyP1FGike5/sk7rdTMYz8lusUkkT5ep8rJfmh6xqj0cj qjsbUnRj76+y103XuEB9BndJcLXA2AQ4Ehc6BqT/5nWR+oN3bNVJoKEQNl4StbRA rVNOgA8OGthHybjoQgm/67ukjmx7EFVpV0YXewbhbeJgEjGIMjZitlkZAxS/BPKp fGB21eW2/HgXL2rETKGsCuiod9/2GWztInzu1lEdd8VRA4AQv+YBRINhsH7pmxrz 4dFyrrioMLNWB5kA2M7V7riVL2Cuf9kYBbwBLThYFmtQKyvfiof01yL+Nc6wBgN7 YFyFZheSjv0JaqpYKGSEmNt1wC425YJn/lx965COQ/3eTbLTXyY= =IP/o -----END PGP SIGNATURE----- --m7IrqPTY4N5RcC1a--