From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 03 04:18:22 2023 Received: (at submit) by debbugs.gnu.org; 3 Apr 2023 08:18:23 +0000 Received: from localhost ([127.0.0.1]:43311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjFOQ-0005mF-Fm for submit@debbugs.gnu.org; Mon, 03 Apr 2023 04:18:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:33928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjFOM-0005m3-58 for submit@debbugs.gnu.org; Mon, 03 Apr 2023 04:18:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjFOL-0007yr-BJ for guix-patches@gnu.org; Mon, 03 Apr 2023 04:18:17 -0400 Received: from mail-4318.protonmail.ch ([185.70.43.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjFOF-00042c-6w for guix-patches@gnu.org; Mon, 03 Apr 2023 04:18:15 -0400 Date: Mon, 03 Apr 2023 08:17:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1680509886; x=1680769086; bh=a2EgiPTY1mPWjE2DAA91ZwuAecSiQscKf4v2V1VNJ5A=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=GFOlpqpA7+auM7wsMabuVP/Hpo2ApHbVpTYOEctQOTeqWYf5IHb0cFm8DyprizJ9t DjKGt53bxCNBgCrC0eqFJC3+F61n5ROLFUY1pBB+k488OTnlS4oJdr7XgeA35NviMO xm0jeUc7/hdGZUjhCxzxKU3HZQ7jm8nAGKdkuxj3bxAj9EB5FtrtEus8edcgWoAJKB HLS7NqAtuIExvRoJRxpWVQGA7WPjSij7hIZbk+8IApGDHkmYqVvL6tjrUrov7ERw4u JeHSHuKUBwy78AWEvcKrE8xs4mm8taxhFf+hdE7AUJzFa6jqgbvLo3OZ88B5NgAGQB KQvPFG1qz/gyQ== To: "guix-patches@gnu.org" From: Sughosha Subject: [PATCH] gnu: Add pmbootstrap. Message-ID: Feedback-ID: 45211691:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.18; envelope-from=Sughosha@proton.me; helo=mail-4318.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/postmarketos.scm: New file. (pmbootstrap): New public variable. * gnu/packages/local.mk (GNU_SYSTEM_MODULES): Add the new file. --- gnu/local.mk | 1 + gnu/packages/postmarketos.scm | 68 +++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 gnu/packages/postmarketos.scm diff --git a/gnu/local.mk b/gnu/local.mk index 186d82a..92848b2 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -502,6 +502,7 @@ GNU_SYSTEM_MODULES =3D=09=09=09=09\ %D%/packages/poedit.scm=09=09=09=09\ %D%/packages/polkit.scm=09=09=09\ %D%/packages/popt.scm=09=09=09=09\ + %D%/packages/postmarketos=09=09=09\ %D%/packages/printers.scm=09=09=09\ %D%/packages/profiling.scm=09=09=09\ %D%/packages/prolog.scm=09=09=09\ diff --git a/gnu/packages/postmarketos.scm b/gnu/packages/postmarketos.scm new file mode 100644 index 0000000..9de45ec --- /dev/null +++ b/gnu/packages/postmarketos.scm @@ -0,0 +1,68 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2023 Sughosha +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages postmarketos) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system python) + #:use-module (gnu packages admin) + #:use-module (gnu packages bash) + #:use-module (gnu packages linux) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control)) + +(define-public pmbootstrap + (package + (name "pmbootstrap") + (version "1.51.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "pmbootstrap" version)) + (sha256 + (base32 + "08g55fh24n3wpva7d1ps6fnk65ik49wfycjpwrjs9w0889zlwsl1")))) + (build-system python-build-system) + (arguments + `(#:tests? #f + #:phases (modify-phases %standard-phases + (replace 'wrap + (lambda* (#:key outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out= ") + "/bin/pmbootstrap") + `("PATH" =3D ("/run/setuid-programs" ,(getenv "PAT= H"))) + `("GUIX_PYTHONPATH" =3D + (,(getenv "GUIX_PYTHONPATH")))))) + ;; Dissociate "sudo" as setuid-programs is preferred + (add-after 'sanity-check 'dissociate-sudo + (lambda* (#:key outputs inputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (sudo (assoc-ref inputs "sudo"))) + (substitute* (string-append out "/bin/pmbootstrap"= ) + (((string-append ":" sudo "/sbin")) + "") + (((string-append ":" sudo "/bin")) + "")))))))) + (native-inputs (list sudo)) + (inputs (list bash-minimal git openssl procps)) + (home-page "https://git.sr.ht/~postmarketos/pmbootstrap") + (synopsis "Bootstrap a postmarketOS system") + (description + "This package provides a sophisticated chroot / build / flash tool to + develop and install postmarketOS.") + (license license:gpl3+))) -- libgit2 1.5.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 03 04:25:02 2023 Received: (at 62640) by debbugs.gnu.org; 3 Apr 2023 08:25:02 +0000 Received: from localhost ([127.0.0.1]:43317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjFUr-0005wM-Ep for submit@debbugs.gnu.org; Mon, 03 Apr 2023 04:25:02 -0400 Received: from mail-4325.protonmail.ch ([185.70.43.25]:34339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjFUn-0005w2-I7 for 62640@debbugs.gnu.org; Mon, 03 Apr 2023 04:25:00 -0400 Date: Mon, 03 Apr 2023 08:24:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1680510291; x=1680769491; bh=ppKhUoEbWAn3kvsV+AMm50Co6EE5aNO+YCusooTRDMQ=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=hvjGSG18wGpZWZbWeqTZX515iWBXDoBJiwDSrFfo8Frtp46LFp/idQyHOOzYrdvSs 3o0d9MgK2QH7cgjCT7HJjwF63GxWuY2VJKoQdeTP/zv0W32XCVbU+oiQHAMWZKOX+O F5G992v+6NhoPBRDaxGAKAVfY1NepgvUsNcwHI8xVBe55sTJs7uDoI7vts8mZ8wKda pR9o+nYb4s5rMLvLnovDOfZrmZIKTZ+Nvgp6GdvFmKxuxXzLQi8VCOkgDB7/7AN6js lypKmfhB54n2BjgJRiL+dzOoZvvEgP8UWfEDzZw4vgyKyihsrp3am/z9jFtQbduu7+ tQJ5YUnyORCbQ== To: "62640@debbugs.gnu.org" <62640@debbugs.gnu.org> From: Sughosha Subject: [PATCH v2] gnu: Add pmbootstrap. Message-ID: Feedback-ID: 45211691:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62640 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/postmarketos.scm: New file. (pmbootstrap): New public variable. * gnu/packages/local.mk (GNU_SYSTEM_MODULES): Add the new file. --- gnu/local.mk | 1 + gnu/packages/postmarketos.scm | 68 +++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 gnu/packages/postmarketos.scm diff --git a/gnu/local.mk b/gnu/local.mk index 186d82a..12e5f68 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -502,6 +502,7 @@ GNU_SYSTEM_MODULES =3D=09=09=09=09\ %D%/packages/poedit.scm=09=09=09=09\ %D%/packages/polkit.scm=09=09=09\ %D%/packages/popt.scm=09=09=09=09\ + %D%/packages/postmarketos.scm=09=09=09\ %D%/packages/printers.scm=09=09=09\ %D%/packages/profiling.scm=09=09=09\ %D%/packages/prolog.scm=09=09=09\ diff --git a/gnu/packages/postmarketos.scm b/gnu/packages/postmarketos.scm new file mode 100644 index 0000000..9de45ec --- /dev/null +++ b/gnu/packages/postmarketos.scm @@ -0,0 +1,68 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2023 Sughosha +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages postmarketos) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system python) + #:use-module (gnu packages admin) + #:use-module (gnu packages bash) + #:use-module (gnu packages linux) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control)) + +(define-public pmbootstrap + (package + (name "pmbootstrap") + (version "1.51.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "pmbootstrap" version)) + (sha256 + (base32 + "08g55fh24n3wpva7d1ps6fnk65ik49wfycjpwrjs9w0889zlwsl1")))) + (build-system python-build-system) + (arguments + `(#:tests? #f + #:phases (modify-phases %standard-phases + (replace 'wrap + (lambda* (#:key outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out= ") + "/bin/pmbootstrap") + `("PATH" =3D ("/run/setuid-programs" ,(getenv "PAT= H"))) + `("GUIX_PYTHONPATH" =3D + (,(getenv "GUIX_PYTHONPATH")))))) + ;; Dissociate "sudo" as setuid-programs is preferred + (add-after 'sanity-check 'dissociate-sudo + (lambda* (#:key outputs inputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (sudo (assoc-ref inputs "sudo"))) + (substitute* (string-append out "/bin/pmbootstrap"= ) + (((string-append ":" sudo "/sbin")) + "") + (((string-append ":" sudo "/bin")) + "")))))))) + (native-inputs (list sudo)) + (inputs (list bash-minimal git openssl procps)) + (home-page "https://git.sr.ht/~postmarketos/pmbootstrap") + (synopsis "Bootstrap a postmarketOS system") + (description + "This package provides a sophisticated chroot / build / flash tool to + develop and install postmarketOS.") + (license license:gpl3+))) -- libgit2 1.5.1 From debbugs-submit-bounces@debbugs.gnu.org Mon May 19 07:43:40 2025 Received: (at 62640) by debbugs.gnu.org; 19 May 2025 11:43:40 +0000 Received: from localhost ([127.0.0.1]:38560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uGyuA-00040Q-UM for submit@debbugs.gnu.org; Mon, 19 May 2025 07:43:40 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:43169 helo=email.rimm.ee) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uGyu1-0003z3-R9 for 62640@debbugs.gnu.org; Mon, 19 May 2025 07:43:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1747655000; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K9I59ZrXssLwzTEnEnZ3swy2J2uGcbngMS50up4uNjY=; b=Kls4CO7Z8AP4wjANC6auo3IC9Tsm4KihMGkcPUzg30LtIAc3EACuWRn+lA1NqtnzZpzg5s XaOTIHtNa6JK3hlxUK41NwUWfpaFBrIZYZDw86hGphLlqZYcXID+4nKGUeBpQme974uBz4 H9oT9MuMfyyAFRjzeIreeLB7kAfp6xsoNd8g226sWR+CutMrGVNu4GpGu+2BrccxMeTarW t03ffh6/b/CdrG+8PgdRwdhsQ4k0jd4I2ExEMpRriXOSbxzEm3mrSlXMkgUXDh+bwwVe5U MTcEhyuGuj6wcRe/5IlXucFNmF3/3F9Jz/d8eYvu1IzO2GLfUsZhGmXjoEKJcA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 2fd8e0b0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Mon, 19 May 2025 11:43:20 +0000 (UTC) From: Herman Rimm To: 62640@debbugs.gnu.org Subject: [PATCH v3] gnu: Add pmbootstrap. Date: Mon, 19 May 2025 13:42:13 +0200 Message-ID: <39f24b984cbc74b14a859046f3c466f295276738.1747654181.git.herman@rimm.ee> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62640 Cc: Sughosha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Sughosha * gnu/packages/postmarketos.scm: New file. * gnu/packages/local.mk (GNU_SYSTEM_MODULES): Register file. Change-Id: Ib8347dd536738d2ea16a961c85308a0e43b98c1f --- Hello, For v3: version is bumped to 3.4.0; source uses git-fetch; three tests are skipped; mkbootimg, python-setuptools, python-wheel and util-linux are added to native-inputs; multipath-tools is added to propagated-inputs. pmbootstrap uses kpartx from multipath-tools for e.g.: $ pmbootstrap install --sdcard /dev/sda If the kpartx invocations could be replaced with a store path, then multipath-tools could be moved to (normal) inputs. Cheers, Herman gnu/local.mk | 3 +- gnu/packages/postmarketos.scm | 71 +++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/postmarketos.scm diff --git a/gnu/local.mk b/gnu/local.mk index 3730d272eae..c4d5e6cb2e4 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -566,7 +566,8 @@ GNU_SYSTEM_MODULES = \ %D%/packages/poedit.scm \ %D%/packages/polkit.scm \ %D%/packages/popt.scm \ - %D%/packages/potassco.scm \ + %D%/packages/postmarketos.scm \ + %D%/packages/potassco.scm \ %D%/packages/power.scm \ %D%/packages/printers.scm \ %D%/packages/profiling.scm \ diff --git a/gnu/packages/postmarketos.scm b/gnu/packages/postmarketos.scm new file mode 100644 index 00000000000..78e95fcbb5d --- /dev/null +++ b/gnu/packages/postmarketos.scm @@ -0,0 +1,71 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Sughosha +;;; Copyright © 2025 Herman Rimm +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages postmarketos) + #:use-module (gnu packages admin) + #:use-module (gnu packages android) + #:use-module (gnu packages bash) + #:use-module (gnu packages check) + #:use-module (gnu packages linux) + #:use-module (gnu packages python-build) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) + #:use-module (guix build-system pyproject) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + +(define-public pmbootstrap + (package + (name "pmbootstrap") + (version "3.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://gitlab.postmarketos.org/" + "postmarketOS/pmbootstrap")) + (commit version))) + (sha256 + (base32 "16naj8ykipbrs2a93zaxci1wl045cc9jn7rq8sy76d1rqlqb9mmw")))) + (build-system pyproject-build-system) + (arguments + (list #:test-flags + ;; Tests require a pmaports git repository in the workdir. + #~(list (string-append "--deselect=test/core/test_pkgrepo.py" + "::test_pkgrepo_pmaports") + (string-append "--deselect=test/parse/test_bootimg.py" + "::test_bootimg") + ;; RuntimeError: No package repositories specified? + (string-append "--deselect=test/parse/test_deviceinfo.py" + "::test_random_valid_deviceinfos")))) + (native-inputs (list mkbootimg + python-pytest + python-setuptools + python-wheel + util-linux)) ; for losetup + (inputs (list bash-minimal git openssl procps)) + (propagated-inputs (list multipath-tools)) ; for kpartx + (home-page "https://gitlab.com/postmarketOS/pmbootstrap") + (synopsis "Bootstrap a postmarketOS system") + (description + "This package provides a sophisticated chroot, build and flash tool +to develop and install postmarketOS.") + (license license:gpl3+))) base-commit: 450a361532573a02389530a6a80b7821683ed41b -- 2.47.1 From debbugs-submit-bounces@debbugs.gnu.org Fri May 23 14:41:47 2025 Received: (at 62640) by debbugs.gnu.org; 23 May 2025 18:41:47 +0000 Received: from localhost ([127.0.0.1]:50590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIXKx-0003iG-Nj for submit@debbugs.gnu.org; Fri, 23 May 2025 14:41:47 -0400 Received: from mx0.riseup.net ([198.252.153.6]:48796) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIXKt-0003hc-QO for 62640@debbugs.gnu.org; Fri, 23 May 2025 14:41:41 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4b3vBj1SBjz9wBJ; Fri, 23 May 2025 18:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1748025693; bh=jOThOE6c7ShxTdkolMAOvTDUSFNWmqvbRY4VSWm3+/M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qxDeU6zziria9XPoMLrrXn3otdEHw5AhxPZu2GmUqpzmohlr8kvc6U/CTXUpP7cpg uylOpp97M73ezTSM/SeG98S4QQVI+R6ZYsBmewn0DNRtx/dmuR6caN+l8MoQDUak1g osfkHYANLjDuQyA/flwmw+VjpWLSt87VkpmyaIuk= X-Riseup-User-ID: 3D48D6F2838DA1564B5414D125A4FC00F280DB861155F541C6D36ECA40CEC154 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4b3vBg3KKczFv6V; Fri, 23 May 2025 18:41:31 +0000 (UTC) Date: Fri, 23 May 2025 15:41:18 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Herman Rimm Subject: Re: [bug#62640] [PATCH v3] gnu: Add pmbootstrap. Message-ID: References: <39f24b984cbc74b14a859046f3c466f295276738.1747654181.git.herman@rimm.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <39f24b984cbc74b14a859046f3c466f295276738.1747654181.git.herman@rimm.ee> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62640 Cc: Sughosha , 62640@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Herman, seg 19 mai 2025 às 13:42:13 (1747672933), guix-patches@gnu.org enviou: > From: Sughosha > > * gnu/packages/postmarketos.scm: New file. > * gnu/packages/local.mk (GNU_SYSTEM_MODULES): Register file. > > Change-Id: Ib8347dd536738d2ea16a961c85308a0e43b98c1f > --- > Hello, > > For v3: > version is bumped to 3.4.0; > source uses git-fetch; > three tests are skipped; > mkbootimg, python-setuptools, python-wheel and util-linux are added to > native-inputs; > multipath-tools is added to propagated-inputs. > > pmbootstrap uses kpartx from multipath-tools for e.g.: > $ pmbootstrap install --sdcard /dev/sda > If the kpartx invocations could be replaced with a store path, > then multipath-tools could be moved to (normal) inputs. > > Cheers, > Herman > > gnu/local.mk | 3 +- > gnu/packages/postmarketos.scm | 71 +++++++++++++++++++++++++++++++++++ > 2 files changed, 73 insertions(+), 1 deletion(-) > create mode 100644 gnu/packages/postmarketos.scm > > diff --git a/gnu/local.mk b/gnu/local.mk > index 3730d272eae..c4d5e6cb2e4 100644 > --- a/gnu/local.mk > +++ b/gnu/local.mk > @@ -566,7 +566,8 @@ GNU_SYSTEM_MODULES = \ > %D%/packages/poedit.scm \ > %D%/packages/polkit.scm \ > %D%/packages/popt.scm \ > - %D%/packages/potassco.scm \ > + %D%/packages/postmarketos.scm \ > + %D%/packages/potassco.scm \ IMO, it would be better if you did not touch the potassco.scm line, since this format change is unrelated to this commit. > %D%/packages/power.scm \ > %D%/packages/printers.scm \ > %D%/packages/profiling.scm \ > diff --git a/gnu/packages/postmarketos.scm b/gnu/packages/postmarketos.scm > new file mode 100644 > index 00000000000..78e95fcbb5d > --- /dev/null > +++ b/gnu/packages/postmarketos.scm > @@ -0,0 +1,71 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright © 2023 Sughosha > +;;; Copyright © 2025 Herman Rimm > +;;; > +;;; This file is part of GNU Guix. > +;;; > +;;; GNU Guix is free software; you can redistribute it and/or modify it > +;;; under the terms of the GNU General Public License as published by > +;;; the Free Software Foundation; either version 3 of the License, or (at > +;;; your option) any later version. > +;;; > +;;; GNU Guix is distributed in the hope that it will be useful, but > +;;; WITHOUT ANY WARRANTY; without even the implied warranty of > +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +;;; GNU General Public License for more details. > +;;; > +;;; You should have received a copy of the GNU General Public License > +;;; along with GNU Guix. If not, see . > + > +(define-module (gnu packages postmarketos) > + #:use-module (gnu packages admin) > + #:use-module (gnu packages android) > + #:use-module (gnu packages bash) > + #:use-module (gnu packages check) > + #:use-module (gnu packages linux) > + #:use-module (gnu packages python-build) > + #:use-module (gnu packages tls) > + #:use-module (gnu packages version-control) > + #:use-module (guix build-system pyproject) > + #:use-module (guix gexp) > + #:use-module (guix git-download) > + #:use-module ((guix licenses) #:prefix license:) > + #:use-module (guix packages)) > + > +(define-public pmbootstrap > + (package > + (name "pmbootstrap") > + (version "3.4.0") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url (string-append "https://gitlab.postmarketos.org/" > + "postmarketOS/pmbootstrap")) > + (commit version))) 'origin' is missing a file-name field which usually goes: (file-name (git-file-name name version)) > + (sha256 > + (base32 "16naj8ykipbrs2a93zaxci1wl045cc9jn7rq8sy76d1rqlqb9mmw")))) > + (build-system pyproject-build-system) > + (arguments > + (list #:test-flags > + ;; Tests require a pmaports git repository in the workdir. > + #~(list (string-append "--deselect=test/core/test_pkgrepo.py" > + "::test_pkgrepo_pmaports") This is a nitpick of mine, but I find it confusing when keys starting with '#' are followed by their arguments on another aligned line which also starts with '#' (a gexp this time, not another key). So, I'd suggest indenting the arguments with two spaces to ease reading. Also, I would also have inserted this package directly on android.scm, since this tool is useful for android related activities and it seems overkill to create a new file for just one package. WDYT? Thanks for picking up this patch! From debbugs-submit-bounces@debbugs.gnu.org Sat May 24 09:01:06 2025 Received: (at 62640) by debbugs.gnu.org; 24 May 2025 13:01:06 +0000 Received: from localhost ([127.0.0.1]:58866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIoUs-0004iq-1q for submit@debbugs.gnu.org; Sat, 24 May 2025 09:01:06 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:41893 helo=email.rimm.ee) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIoUo-0004hj-90 for 62640@debbugs.gnu.org; Sat, 24 May 2025 09:01:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1748091654; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YpHqAKjDToWpET0cJGmEytl7LZAhdjOj55W6T+jEhCQ=; b=VExvhEeJuPX8trqXjKZcRULbqq4HZWPixhivKMZxBAMIT7kaI5MGjYdlXHkjS94aylgllt blUfodeGO81BfZLD7WKtNeK1zhKL4TOMHjqdkNQ8GY2DwIjcbqfqaK3uJhYlWqitYjPU9O qxEkBylIwvCRNQmbmIgAxFfY7nTDsZWT+6b+qgeZJLRcj+bQWQ53YQIZF0Bw3Is+UlFmDt CZdY8cNDeu/S6YldQf6z+ELqDjGKVCutz4xymagd0EBQSOhSB+dmzIExGO0JWKEWWQlG8u O1VsbqlqNwMnm2GANd7UP5ihFG8CdLD63TctIyg4ggoMtOjSOZ9+rnGuK/wLaA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 0e7caa17 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 24 May 2025 13:00:53 +0000 (UTC) Date: Sat, 24 May 2025 14:59:48 +0200 From: Herman Rimm To: =?utf-8?B?QW5kcsOp?= Batista Subject: Re: [bug#62640] [PATCH v3] gnu: Add pmbootstrap. Message-ID: References: <39f24b984cbc74b14a859046f3c466f295276738.1747654181.git.herman@rimm.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62640 Cc: Sughosha , 62640@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Fri, May 23, 2025 at 03:41:18PM -0300, André Batista wrote: > > diff --git a/gnu/local.mk b/gnu/local.mk > > index 3730d272eae..c4d5e6cb2e4 100644 > > --- a/gnu/local.mk > > +++ b/gnu/local.mk > > @@ -566,7 +566,8 @@ GNU_SYSTEM_MODULES = \ > > %D%/packages/poedit.scm \ > > %D%/packages/polkit.scm \ > > %D%/packages/popt.scm \ > > - %D%/packages/potassco.scm \ > > + %D%/packages/postmarketos.scm \ > > + %D%/packages/potassco.scm \ > > IMO, it would be better if you did not touch the potassco.scm line, since > this format change is unrelated to this commit. > > > +(define-public pmbootstrap > > + (package > > + (name "pmbootstrap") > > + (version "3.4.0") > > + (source > > + (origin > > + (method git-fetch) > > + (uri (git-reference > > + (url (string-append "https://gitlab.postmarketos.org/" > > + "postmarketOS/pmbootstrap")) > > + (commit version))) > > 'origin' is missing a file-name field which usually goes: > (file-name (git-file-name name version)) Thanks, I will make the appropriate changes for the next revision. I will also add a wrap phase so pmbootstrap can find the inputs' binaries. > > + (sha256 > > + (base32 "16naj8ykipbrs2a93zaxci1wl045cc9jn7rq8sy76d1rqlqb9mmw")))) > > + (build-system pyproject-build-system) > > + (arguments > > + (list #:test-flags > > + ;; Tests require a pmaports git repository in the workdir. > > + #~(list (string-append "--deselect=test/core/test_pkgrepo.py" > > + "::test_pkgrepo_pmaports") > > This is a nitpick of mine, but I find it confusing when keys starting > with '#' are followed by their arguments on another aligned line which > also starts with '#' (a gexp this time, not another key). So, I'd suggest > indenting the arguments with two spaces to ease reading. Like this? (arguments (list #:test-flags ;; Tests require a pmaports git repository in the workdir. #~(list (string-append "--deselect=test/core/test_pkgrepo.py" ...)))) I would rather do it like this: (arguments (list ;; The first two tests require a pmaports git repository in the workdir. #:test-flags #~(list (string-append "--deselect=test/core/test_pkgrepo" ...)))) > Also, I would also have inserted this package directly on android.scm, > since this tool is useful for android related activities and it seems > overkill to create a new file for just one package. Besides handling the Android bootimg format, I don't think pmbootstrap is Android related. Yes, the only other major PostmarketOS project is pmaports, but I don't think there is an existing module where pmbootstrap belongs. Should it be a more general module like: (gnu packages smartphone)? Can you please close or merge issue #49577, because the PyPi pmbootstrap releases are apparently deprecated? Cheers, Herman From debbugs-submit-bounces@debbugs.gnu.org Sat May 24 12:26:38 2025 Received: (at 62640) by debbugs.gnu.org; 24 May 2025 16:26:38 +0000 Received: from localhost ([127.0.0.1]:34382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIrhl-0002Hj-Ke for submit@debbugs.gnu.org; Sat, 24 May 2025 12:26:38 -0400 Received: from mx1.riseup.net ([198.252.153.129]:58612) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIrhj-0002Gc-F7; Sat, 24 May 2025 12:26:36 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4b4S8P0W3dzDsSD; Sat, 24 May 2025 16:26:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1748103989; bh=Z8hGjRv8q1Jt4jV6NZoeuiWU1Rd4pTmZ7JoYSBIOaAk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rPB0QinBzBwkjetFFYAwnggD1ROXuaIgwViYHxyQUTtj887gjRH988SIDR2ilK2CP lYMabLimjJW5hW5RvbbgTMRlETutBm83qdlrY3tuXc5XJV7e93dSzEq0/y06iVdoFb rv6ugptINsgd+Qals/Apm6pwFvCQFjIammuqJ9mc= X-Riseup-User-ID: 269D9E26D0353444922B9FA126AEB2DB0F96D9926D2E0A7ACE4F11D6753F699D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4b4S8M6158zFt4j; Sat, 24 May 2025 16:26:27 +0000 (UTC) Date: Sat, 24 May 2025 13:26:17 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Herman Rimm Subject: Re: [bug#62640] [PATCH v3] gnu: Add pmbootstrap. Message-ID: References: <39f24b984cbc74b14a859046f3c466f295276738.1747654181.git.herman@rimm.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62640 Cc: Sughosha , control@debbugs.gnu.org, 62640@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) merge 62640 49577 quit sáb 24 mai 2025 às 14:59:48 (1748109588), herman@rimm.ee enviou: > (...) > > > > + (sha256 > > > + (base32 "16naj8ykipbrs2a93zaxci1wl045cc9jn7rq8sy76d1rqlqb9mmw")))) > > > + (build-system pyproject-build-system) > > > + (arguments > > > + (list #:test-flags > > > + ;; Tests require a pmaports git repository in the workdir. > > > + #~(list (string-append "--deselect=test/core/test_pkgrepo.py" > > > + "::test_pkgrepo_pmaports") > > > > This is a nitpick of mine, but I find it confusing when keys starting > > with '#' are followed by their arguments on another aligned line which > > also starts with '#' (a gexp this time, not another key). So, I'd suggest > > indenting the arguments with two spaces to ease reading. > > Like this? > > (arguments > (list #:test-flags > ;; Tests require a pmaports git repository in the workdir. > #~(list (string-append "--deselect=test/core/test_pkgrepo.py" > ...)))) > Precisely. > I would rather do it like this: > > (arguments > (list > ;; The first two tests require a pmaports git repository in the workdir. > #:test-flags #~(list (string-append "--deselect=test/core/test_pkgrepo" > ...)))) > This would be even better, IMO. But after reviewing some files, I think this is just my personal take on it, not a guix standard. So your patch, your take. > > Also, I would also have inserted this package directly on android.scm, > > since this tool is useful for android related activities and it seems > > overkill to create a new file for just one package. > > Besides handling the Android bootimg format, I don't think pmbootstrap > is Android related. Yes, the only other major PostmarketOS project is > pmaports, but I don't think there is an existing module where > pmbootstrap belongs. Should it be a more general module like: (gnu > packages smartphone)? > Makes sense. The only time I've used pmbootstrap was for analysing android images, so I've given this functionality undue primacy. I guess we may keep it as is for now and move it elsewhere on a separate commit if others see fit. > Can you please close or merge issue #49577, because the PyPi pmbootstrap > releases are apparently deprecated? > You may also do it by sending a mail to control@debbugs.gnu.org, as I've done here. There's no special priviledge to it. See: https://debbugs.gnu.org/server-control.html Note: I'm not a commiter, I'm just trying to help this patch get through by helping commiters with the review and giving it more visibility. Thanks! From debbugs-submit-bounces@debbugs.gnu.org Sat May 24 12:53:32 2025 Received: (at 62640) by debbugs.gnu.org; 24 May 2025 16:53:32 +0000 Received: from localhost ([127.0.0.1]:34643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIs7k-0008R4-FY for submit@debbugs.gnu.org; Sat, 24 May 2025 12:53:32 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:52149 helo=email.rimm.ee) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIs7g-0008Q5-D6 for 62640@debbugs.gnu.org; Sat, 24 May 2025 12:53:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1748105596; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=putKCW/5npjOXmkYORhxa9pfKj1gDmslhjeed+oPIpo=; b=JZiRA1i7eJBwrLrz0XmraYyaP4NeeWepsJ6cBzQn6ylgxbJLP5HcoPh07p7sZJRhN9yH+Q SCBBbpccnrvbhIwZr8MvD+r6j4a6cgg9ICFlXUaR+n6z/ZVSVQZkux1mpYVSs6kih/yPmB KqWFMdK9nfnY1Xc0t9mPDgaL+PpR2WbPAO08xH24lgbL7CiIu9K8kobM/8i2SQj7WjMG3M ZS8NZok4r6hVks8IY8Yo1IlMbaX7MX/xdBuEDmgBBUzB9CBLIhNJDh2mlqart8wWQ3X+Ph ehtKZe0/M1ZLEAAAZ1S9qIkHwGuidNzW6IF97IGOkNyEYw9kHfCAkWgqvPxeBQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id bf229bf5 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 24 May 2025 16:53:16 +0000 (UTC) From: Herman Rimm To: 62640@debbugs.gnu.org Subject: [PATCH] gnu: Add pmbootstrap. Date: Sat, 24 May 2025 18:52:18 +0200 Message-ID: <1fce4c8651be87d6611e2af30cdf4e24f97713c2.1748105428.git.herman@rimm.ee> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62640 Cc: Sughosha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Sughosha * gnu/packages/postmarketos.scm: New file. * gnu/packages/local.mk (GNU_SYSTEM_MODULES): Register file. Change-Id: Ib8347dd536738d2ea16a961c85308a0e43b98c1f --- gnu/local.mk | 1 + gnu/packages/postmarketos.scm | 107 ++++++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 gnu/packages/postmarketos.scm diff --git a/gnu/local.mk b/gnu/local.mk index 3730d272eae..a884110d381 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -566,6 +566,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/poedit.scm \ %D%/packages/polkit.scm \ %D%/packages/popt.scm \ + %D%/packages/postmarketos.scm \ %D%/packages/potassco.scm \ %D%/packages/power.scm \ %D%/packages/printers.scm \ diff --git a/gnu/packages/postmarketos.scm b/gnu/packages/postmarketos.scm new file mode 100644 index 00000000000..43e8caf2c80 --- /dev/null +++ b/gnu/packages/postmarketos.scm @@ -0,0 +1,107 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Sughosha +;;; Copyright © 2025 Herman Rimm +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages postmarketos) + #:use-module (gnu packages admin) + #:use-module (gnu packages android) + #:use-module (gnu packages base) + #:use-module (gnu packages bash) + #:use-module (gnu packages check) + #:use-module (gnu packages linux) + #:use-module (gnu packages python-build) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) + #:use-module (guix build-system pyproject) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (ice-9 match)) + +(define-public pmbootstrap + (package + (name "pmbootstrap") + (version "3.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://gitlab.postmarketos.org/" + "postmarketOS/pmbootstrap.git")) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16naj8ykipbrs2a93zaxci1wl045cc9jn7rq8sy76d1rqlqb9mmw")))) + (build-system pyproject-build-system) + (arguments + (list + #:modules `((guix build pyproject-build-system) + (guix build utils) + (ice-9 match)) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'set-sudo + (lambda _ + (substitute* "pmb/config/sudo.py" + (("sudo\"") "/run/privileged/bin/sudo\"")))) + (add-after 'wrap 'wrap-required-programs + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append (assoc-ref outputs "out") + "/bin/pmbootstrap") + `("PATH" ":" prefix + ,(map (match-lambda + ((input directory) + (string-append (assoc-ref inputs input) + "/" directory))) + '(("bash" "bin") + ("coreutils" "bin") + ("git" "bin") + ("openssl" "bin") + ("procps" "bin") + ("multipath-tools" "sbin") + ("tar" "bin") + ("util-linux" "bin") + ("util-linux" "sbin")))))))) + ;; The first two tests require a pmaports git repository in the workdir. + #:test-flags #~(list (string-append "--deselect=test/core/test_pkgrepo" + ".py::test_pkgrepo_pmaports") + (string-append "--deselect=test/parse/test_bootimg" + ".py::test_bootimg") + ;; RuntimeError: No package repositories specified? + (string-append "--deselect=test/parse/" + "test_deviceinfo.py::" + "test_random_valid_deviceinfos")))) + (native-inputs (list mkbootimg + python-pytest + python-setuptools + python-wheel + util-linux)) ; for losetup + (inputs (list bash-minimal + coreutils + git + multipath-tools + openssl + procps + tar + util-linux)) + (home-page "https://gitlab.com/postmarketOS/pmbootstrap") + (synopsis "Bootstrap a postmarketOS system") + (description + "This package provides a sophisticated chroot, build and flash tool +to develop and install postmarketOS.") + (license license:gpl3+))) base-commit: 096dedd0bb13523002c814b001429c2f65b6f10d -- 2.47.1 From debbugs-submit-bounces@debbugs.gnu.org Thu May 29 15:39:56 2025 Received: (at 62640) by debbugs.gnu.org; 29 May 2025 19:39:56 +0000 Received: from localhost ([127.0.0.1]:39292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uKj6Z-0008V6-MR for submit@debbugs.gnu.org; Thu, 29 May 2025 15:39:56 -0400 Received: from mx0.riseup.net ([198.252.153.6]:35744) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uKj6X-0008Ua-Cd for 62640@debbugs.gnu.org; Thu, 29 May 2025 15:39:54 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4b7cC72Gp1z9vr0; Thu, 29 May 2025 19:39:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1748547587; bh=Nl8vplF166dP+f7XLOB3/zUwgTF2OcWqll7GMHb6Ckk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OsuzsxbYiOXaOGdBTEfP/MyDppr++fu9d/r2LvD6xYH64iVJY1WtUCro3k0YCvWHM 3Om1dhQiAS5HUcyTSCyl8Wv6wedhesJJ0D3IJFFxiPFHCb1JueT8TLnxblR419swr3 7JIEAdp7bLENe7Z119G5rwaHOru7F9xMnv/sYnS0= X-Riseup-User-ID: 52097CF7F72417D2EAB3B9FCCE172DAB6D02DEAD698347448980B8340696629F Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4b7cC60cGpzFtZQ; Thu, 29 May 2025 19:39:45 +0000 (UTC) Date: Thu, 29 May 2025 16:39:37 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Herman Rimm Subject: Re: [bug#62640] [PATCH] gnu: Add pmbootstrap. Message-ID: References: <1fce4c8651be87d6611e2af30cdf4e24f97713c2.1748105428.git.herman@rimm.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1fce4c8651be87d6611e2af30cdf4e24f97713c2.1748105428.git.herman@rimm.ee> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62640 Cc: Sughosha , 62640@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Quite a lot of improvements! sáb 24 mai 2025 às 18:52:18 (1748123538), guix-patches@gnu.org enviou: > (...) > + (arguments > + (list > + #:modules `((guix build pyproject-build-system) > + (guix build utils) > + (ice-9 match)) > + #:phases #~(modify-phases %standard-phases > + (add-after 'unpack 'set-sudo > + (lambda _ > + (substitute* "pmb/config/sudo.py" > + (("sudo\"") "/run/privileged/bin/sudo\"")))) > + (add-after 'wrap 'wrap-required-programs > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (wrap-program (string-append (assoc-ref outputs "out") > + "/bin/pmbootstrap") > + `("PATH" ":" prefix > + ,(map (match-lambda > + ((input directory) > + (string-append (assoc-ref inputs input) Even though this is fine, maintainers have been favoring the usage of 'this-package-inputs' and related functions that improve code semantics and readability. The same goes for gexps in place for the usual quote unquote dance. See: and Also, a bit above, instead of 'assoc-ref outputs "out"', you may use #$output. Incidentally, the first link shows that I was really in the wrong as to the indentation comments in the previous mail. > + "/" directory))) > + '(("bash" "bin") > + ("coreutils" "bin") > + ("git" "bin") > + ("openssl" "bin") > + ("procps" "bin") > + ("multipath-tools" "sbin") Breaks alphabetical order, which was consistently respected otherwise. > + ("tar" "bin") > + ("util-linux" "bin") > + ("util-linux" "sbin")))))))) > + ;; The first two tests require a pmaports git repository in the workdir. > + #:test-flags #~(list (string-append "--deselect=test/core/test_pkgrepo" > + ".py::test_pkgrepo_pmaports") > + (string-append "--deselect=test/parse/test_bootimg" > + ".py::test_bootimg") > + ;; RuntimeError: No package repositories specified? > + (string-append "--deselect=test/parse/" > + "test_deviceinfo.py::" > + "test_random_valid_deviceinfos")))) But this is way clearer to me, thanks.. :) > + (native-inputs (list mkbootimg > + python-pytest > + python-setuptools > + python-wheel > + util-linux)) ; for losetup > + (inputs (list bash-minimal > + coreutils > + git > + multipath-tools > + openssl > + procps > + tar > + util-linux)) I could not check this, so more of a question: are this new inputs required for what? They seem to enlarge the package size quite a bit according to guix size. Cheers! From debbugs-submit-bounces@debbugs.gnu.org Sat May 31 04:33:54 2025 Received: (at 62640) by debbugs.gnu.org; 31 May 2025 08:33:55 +0000 Received: from localhost ([127.0.0.1]:55366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uLHf6-0006LY-Bi for submit@debbugs.gnu.org; Sat, 31 May 2025 04:33:54 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:46917 helo=email.rimm.ee) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uLHf0-0006JL-Sq for 62640@debbugs.gnu.org; Sat, 31 May 2025 04:33:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1748680418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7ct1DwaiBPJqYAtlEWCr7o8n1Tlc07Wwftgf+3wZgGE=; b=mYTzprWIfvB9rhytaL+EJljA9BRdo0aS2p9NWgUHFkBv2JkFbHXGnYNbLBRh2c2xV8Rlje btfZNHPaD2iHcuEm0aT9BH6DzDeu1UgzB2KliVx69fa8++9Ozz9NWa+0ky1FQ/MXVvYqgR E2z4Lo54ao9Qm+FLj49+NI7olAm9TQ1csoy3tgBPEg7h5xlWPprlTCcyYPtzOpimOkIfB2 UcuPWijEFF5WV8hHqDyGSpJBvOOBIjI67mGNmwSEfrmN4TwBlmv3zhigtHfaOflwBZYFum I8z6TmkYlB7yNxw1DjtZMKsFcqMEOXa4DZSW4CwPV7Sk0v8duhp8wsmJ/kF/dA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 34a73e2a (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 31 May 2025 08:33:38 +0000 (UTC) From: Herman Rimm To: 62640@debbugs.gnu.org Subject: [PATCH v5] gnu: Add pmbootstrap. Date: Sat, 31 May 2025 10:32:15 +0200 Message-ID: <3c4fc10fc9cf18685baf7343fd07b5ad650753c9.1748679476.git.herman@rimm.ee> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62640 Cc: =?UTF-8?q?Andr=C3=A9=20Batista?= , Sughosha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Sughosha * gnu/packages/postmarketos.scm: New file. * gnu/packages/local.mk (GNU_SYSTEM_MODULES): Register file. Change-Id: Ib8347dd536738d2ea16a961c85308a0e43b98c1f --- Hi, Thanks again André. The wrap-required-programs phase now uses output, ungexp and this-package-input. I also replaced the coreutils and git inputs with their minimal counterparts, and this still works: $ guix shell --pure pmbootstrap -- pmbootstrap init $ guix shell --pure pmbootstrap -- pmbootstrap export Cheers, Herman gnu/local.mk | 1 + gnu/packages/postmarketos.scm | 107 ++++++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 gnu/packages/postmarketos.scm diff --git a/gnu/local.mk b/gnu/local.mk index 2948bfb1bff..b56cfe34d75 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -567,6 +567,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/poedit.scm \ %D%/packages/polkit.scm \ %D%/packages/popt.scm \ + %D%/packages/postmarketos.scm \ %D%/packages/potassco.scm \ %D%/packages/power.scm \ %D%/packages/printers.scm \ diff --git a/gnu/packages/postmarketos.scm b/gnu/packages/postmarketos.scm new file mode 100644 index 00000000000..7bb7e788e34 --- /dev/null +++ b/gnu/packages/postmarketos.scm @@ -0,0 +1,107 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Sughosha +;;; Copyright © 2025 Herman Rimm +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages postmarketos) + #:use-module (gnu packages admin) + #:use-module (gnu packages android) + #:use-module (gnu packages base) + #:use-module (gnu packages bash) + #:use-module (gnu packages check) + #:use-module (gnu packages linux) + #:use-module (gnu packages python-build) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) + #:use-module (guix build-system pyproject) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (ice-9 match)) + +(define-public pmbootstrap + (package + (name "pmbootstrap") + (version "3.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://gitlab.postmarketos.org/" + "postmarketOS/pmbootstrap.git")) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16naj8ykipbrs2a93zaxci1wl045cc9jn7rq8sy76d1rqlqb9mmw")))) + (build-system pyproject-build-system) + (arguments + (list + #:modules '((guix build pyproject-build-system) + (guix build utils) + (ice-9 match)) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'set-sudo + (lambda _ + (substitute* "pmb/config/sudo.py" + (("sudo\"") "/run/privileged/bin/sudo\"")))) + (add-after 'wrap 'wrap-required-programs + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append #$output + "/bin/pmbootstrap") + '("PATH" ":" prefix + #$(map (match-lambda + ((input directory) + (file-append (this-package-input input) + "/" directory))) + '(("bash-minimal" "bin") + ("coreutils-minimal" "bin") + ("git-minimal" "bin") + ("multipath-tools" "sbin") + ("openssl" "bin") + ("procps" "bin") + ("tar" "bin") + ("util-linux" "bin") + ("util-linux" "sbin")))))))) + ;; The first two tests require a pmaports git repository in the workdir. + #:test-flags #~(list (string-append "--deselect=test/core/test_pkgrepo" + ".py::test_pkgrepo_pmaports") + (string-append "--deselect=test/parse/test_bootimg" + ".py::test_bootimg") + ;; RuntimeError: No package repositories specified? + (string-append "--deselect=test/parse/" + "test_deviceinfo.py::" + "test_random_valid_deviceinfos")))) + (native-inputs (list mkbootimg + python-pytest + python-setuptools + python-wheel + util-linux)) ; for losetup + (inputs (list bash-minimal + coreutils-minimal + git-minimal + multipath-tools + openssl + procps + tar + util-linux)) + (home-page "https://gitlab.com/postmarketOS/pmbootstrap") + (synopsis "Bootstrap a postmarketOS system") + (description + "This package provides a sophisticated chroot, build and flash tool +to develop and install postmarketOS.") + (license license:gpl3+))) base-commit: d3334af3958caad3617df5aa9ebe08c76285f345 -- 2.47.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 04 11:24:12 2025 Received: (at 62640) by debbugs.gnu.org; 4 Jun 2025 15:24:12 +0000 Received: from localhost ([127.0.0.1]:50916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uMpyO-0007un-2L for submit@debbugs.gnu.org; Wed, 04 Jun 2025 11:24:12 -0400 Received: from mx0.riseup.net ([198.252.153.6]:35040) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uMpyK-0007u2-81; Wed, 04 Jun 2025 11:24:09 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4bCBFF6yj6z9wtt; Wed, 4 Jun 2025 15:24:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1749050642; bh=3TdbMfWwBeOmywnJo3cqrZmuWmQmgOedlclv9EbjXwQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q8LkP1Bl7Zag6Rl7y27i4X4E6YlVc21iNq8M8hOCtDZpafu5v5NL/AW94kIiZoG82 6l1P4bGWzAJRXalg7+K8WrslYdf9lvHyTSwHW5eCBP2wu8Jz300y5y9v1OW/87el4h FkO4D+4wM+ZKciocOhn+xX88nLJjoDZFSwxkrcs4= X-Riseup-User-ID: B0B0483C84E236FEA76BE0CBE078F0A65C7DA07BEBA3C70DBF1C04D7FC42547F Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4bCBFD4k0qzFsRf; Wed, 4 Jun 2025 15:24:00 +0000 (UTC) Date: Wed, 4 Jun 2025 12:23:53 -0300 From: =?iso-8859-1?Q?Andr=E9?= Batista To: Herman Rimm Subject: Re: [PATCH v5] gnu: Add pmbootstrap. Message-ID: References: <3c4fc10fc9cf18685baf7343fd07b5ad650753c9.1748679476.git.herman@rimm.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3c4fc10fc9cf18685baf7343fd07b5ad650753c9.1748679476.git.herman@rimm.ee> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62640 Cc: Sughosha , control@debbugs.gnu.org, 62640@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) user guix usertag 62640 reviewed-looks-good quit sáb 31 mai 2025 às 10:32:15 (1748698335), herman@rimm.ee enviou: > From: Sughosha > > * gnu/packages/postmarketos.scm: New file. > * gnu/packages/local.mk (GNU_SYSTEM_MODULES): Register file. > > Change-Id: Ib8347dd536738d2ea16a961c85308a0e43b98c1f > --- > Hi, > > Thanks again André. The wrap-required-programs phase now uses output, > ungexp and this-package-input. I also replaced the coreutils and git > inputs with their minimal counterparts, and this still works: > > $ guix shell --pure pmbootstrap -- pmbootstrap init > $ guix shell --pure pmbootstrap -- pmbootstrap export > Nice! LGTM, lets wait for someone to pick it up. Cheers From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 05 19:21:20 2025 Received: (at 62640-done) by debbugs.gnu.org; 5 Jun 2025 23:21:20 +0000 Received: from localhost ([127.0.0.1]:39148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uNJtg-0000OU-10 for submit@debbugs.gnu.org; Thu, 05 Jun 2025 19:21:20 -0400 Received: from bumble.birch.relay.mailchannels.net ([23.83.209.25]:27115) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uNJtd-0000OE-IA for 62640-done@debbugs.gnu.org; Thu, 05 Jun 2025 19:21:18 -0400 X-Sender-Id: dreamhost|x-authsender|dannym@friendly-machines.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BF40C8C2BB8; Thu, 5 Jun 2025 23:21:15 +0000 (UTC) Received: from pdx1-sub0-mail-a209.dreamhost.com (100-121-35-93.trex-nlb.outbound.svc.cluster.local [100.121.35.93]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 84A2F8C2C16; Thu, 5 Jun 2025 23:21:14 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1749165674; a=rsa-sha256; cv=none; b=NndJqvy4GSjqo5spMl/Z1krNH1/DRT8miRxs80svTFtMP2F9VUAAs6Jzp/ClGAzUFIkrgd lVLHwxr54n0Z0X5KvS7GiCTB+e45KdAp9e1KsXq88AqSzgk99SqoTKNU+RQmJgLvILDFPd 1beJybVnjF5LXEA2G34W9CL/V5T1UOah6J5HEcio5IiwyHUP1mDzHMAu4fHTjpoZ02MHzq 9xzP1YYa0GSvb5VPviL9SU5p+DWeOWJWDzcQAIZGDAKnKBZFoKwlNBJXI4pU4U/gSQI32Q EyRNhrSV30Ip7TxDWSR0ZqG/mZiffBOBCwq4khjW96cyf3daSX/7ZCb8z0XyiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1749165674; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=BHUXD0q5HSqXHsmI5YgUAYQqraG6o7tK0rJvM18UZZk=; b=+G9gOJSKQg3FGvNbnDf7FOJxmb9t+6aL6sFVENrRSkrs3Ef5IxZCIBxhkJydsb5fqJnJ5Q UtK+3rm6eXAcvxIAJhK4bkLpIBlu/gjUi9ciT90hHAj92ue34h8HlBHNoym0/oB8/phQ8t LOeNY4ungs0yeEPjvZ9WJ2QaDb33E4ZLzmJKWuqLHSm6rV3zSVGlsU7S8LMfPhew4IvfH1 Kld/LCPodV0+gfyBlOMk+0Ia3K5LPO0/uTdu6tmpUPWzBi7D89BchIWD9qwOuOiOT1bfey yhA240gvpx+2jB7KlcpZ8yVvhb6SXODpon0jRnsXfgDSrEocsHaE/enCrBsu+Q== ARC-Authentication-Results: i=1; rspamd-5674bcf875-rgfxg; auth=pass smtp.auth=dreamhost smtp.mailfrom=dannym@friendly-machines.com X-Sender-Id: dreamhost|x-authsender|dannym@friendly-machines.com X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dannym@friendly-machines.com X-MailChannels-Auth-Id: dreamhost X-Eyes-Gusty: 73f98cb46c49b003_1749165675664_2349025225 X-MC-Loop-Signature: 1749165675664:2760363052 X-MC-Ingress-Time: 1749165675664 Received: from pdx1-sub0-mail-a209.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.121.35.93 (trex/7.0.3); Thu, 05 Jun 2025 23:21:15 +0000 Received: from nova (84-115-226-251.cable.dynamic.surfer.at [84.115.226.251]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dannym@friendly-machines.com) by pdx1-sub0-mail-a209.dreamhost.com (Postfix) with ESMTPSA id 4bD0nP0XSZzK8; Thu, 5 Jun 2025 16:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=friendly-machines.com; s=dreamhost; t=1749165674; bh=BHUXD0q5HSqXHsmI5YgUAYQqraG6o7tK0rJvM18UZZk=; h=From:To:Cc:Subject:Date:Content-Type; b=ba/ahoPvIjPhwXYEYwCq+8k8q8EPoA/HkV3rPDFn9pPCSveenEFlzkabLwRVG7hpZ jMEE32IVrCothUKN7hxln116yBpgtogwJm9STNvN856ooSNtvorYAcYMPaCixZlMVV Xo7ZGTX9JzpN1pFoN6+9knHLv1Hb94IfxgcCAVtsNUOJA0TSLDOeCK99/7b8MiUN8b +e0ndUcw5rD5fn37fRKmk5hvu95TScDIKMptg6gcX5aNSyfX5XfviCO5XE5nQSETMJ giGBKiRnLvdTqEKC0coNkYib979Pos+es8hSfbTyJhiJtTUqi16/L9ca+JpB5GRk7a tKJoqqWEKL5/w== From: Danny Milosavljevic To: Sughosha , =?utf-8?Q?Andr=C3=A9?= Batista Subject: Re: [bug#62640] [PATCH v5] gnu: Add pmbootstrap. In-Reply-To: (=?utf-8?Q?=22Andr=C3=A9?= Batista"'s message of "Wed, 4 Jun 2025 12:23:53 -0300") References: <3c4fc10fc9cf18685baf7343fd07b5ad650753c9.1748679476.git.herman@rimm.ee> User-Agent: mu4e 1.12.11; emacs 29.4 Date: Fri, 06 Jun 2025 01:21:05 +0200 Message-ID: <87tt4t3hcu.fsf@friendly-machines.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Merged pmboostrap to guix master as commit e4e3176a061d046e34d30a0c39a8afc913d4228d. Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.209.25 listed in sa-accredit.habeas.com] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [84.115.226.251 listed in zen.spamhaus.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.209.25 listed in bl.score.senderscore.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [23.83.209.25 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [23.83.209.25 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 62640-done Cc: Herman Rimm , 62640-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Merged pmboostrap to guix master as commit e4e3176a061d046e34d30a0c39a8afc913d4228d. Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [23.83.209.25 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.209.25 listed in sa-trusted.bondedsender.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.209.25 listed in bl.score.senderscore.com] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [84.115.226.251 listed in zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [23.83.209.25 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Merged pmboostrap to guix master as commit e4e3176a061d046e34d30a0c39a8afc913d4228d.