Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pmbootstrap for openSUSE:Factory 
checked in at 2026-05-23 23:23:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pmbootstrap (Old)
 and      /work/SRC/openSUSE:Factory/.pmbootstrap.new.2084 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pmbootstrap"

Sat May 23 23:23:05 2026 rev:7 rq:1354498 version:3.10.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/pmbootstrap/pmbootstrap.changes  2026-05-04 
12:57:23.051029058 +0200
+++ /work/SRC/openSUSE:Factory/.pmbootstrap.new.2084/pmbootstrap.changes        
2026-05-23 23:23:28.807166280 +0200
@@ -1,0 +2,13 @@
+Thu May 21 12:23:47 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to version 3.10.3
+  * envkernel: Run envkernel.sh with bash.
+  * envkernel: Strip alias prefix from aliases.
+  * pmb.config.apk_tools_min_version: update for v26.06.
+  * pmb.install._install: remove unused "cat" invocation.
+  * pmb: Use NonBugError for "don't run pmbootstrap as root".
+  * pmb.helpers.git: Also consider "master" to be an official
+    branch.
+  * pmb: Suggest --as-root when pmbootstrap is run as root.
+
+-------------------------------------------------------------------

Old:
----
  pmbootstrap-3.10.2.tar.gz

New:
----
  pmbootstrap-3.10.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pmbootstrap.spec ++++++
--- /var/tmp/diff_new_pack.NN8ilV/_old  2026-05-23 23:23:29.459192898 +0200
+++ /var/tmp/diff_new_pack.NN8ilV/_new  2026-05-23 23:23:29.459192898 +0200
@@ -21,9 +21,9 @@
 
 
 %define         pythons %{primary_python}
-%define         commit 021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68
+%define         commit 845cda033ab534f8350f71baea9226603f1c5693
 Name:           pmbootstrap
-Version:        3.10.2
+Version:        3.10.3
 Release:        0
 Summary:        Sophisticated chroot/build/flash tool to develop and install 
postmarketOS
 License:        GPL-3.0-or-later

++++++ pmbootstrap-3.10.2.tar.gz -> pmbootstrap-3.10.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/.gitlab-ci.yml 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/.gitlab-ci.yml
--- 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/.gitlab-ci.yml  
    2026-05-03 11:31:16.000000000 +0200
+++ 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/.gitlab-ci.yml  
    2026-05-19 22:41:54.000000000 +0200
@@ -232,8 +232,8 @@
     - .ci/integration_tests/force_build aarch64 hello-world
     - .ci/integration_tests/force_build armv7 hello-world
   # cross compiling: cross-native
-    - .ci/integration_tests/force_build aarch64 arch-bin-masquerade
-    - .ci/integration_tests/force_build armv7 arch-bin-masquerade
+    - .ci/integration_tests/force_build aarch64 lk2nd
+    - .ci/integration_tests/force_build armv7 lk2nd
   # cross compiling: cross-native2
     - .ci/integration_tests/force_build aarch64 postmarketos-mkinitfs
     - .ci/integration_tests/force_build armv7 postmarketos-mkinitfs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/helpers/envkernel.fish
 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/helpers/envkernel.fish
--- 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/helpers/envkernel.fish
      2026-05-03 11:31:16.000000000 +0200
+++ 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/helpers/envkernel.fish
      2026-05-19 22:41:54.000000000 +0200
@@ -19,7 +19,7 @@
 # Fish compatibility code from envkernel.sh
 set envkernel_fish (status filename)
 set script_dir (dirname "$envkernel_fish")
-sh "$script_dir/envkernel.sh" $argv --fish 1>| read -z fishcode
+bash "$script_dir/envkernel.sh" $argv --fish 1>| read -z fishcode
 set pmbootstrap_dir (realpath "$script_dir/..")
 if not test -e "$pmbootstrap_dir/pmbootstrap.py"
        set -e pmbootstrap_dir
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/helpers/envkernel.sh
 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/helpers/envkernel.sh
--- 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/helpers/envkernel.sh
        2026-05-03 11:31:16.000000000 +0200
+++ 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/helpers/envkernel.sh
        2026-05-19 22:41:54.000000000 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Copyright 2019 Oliver Smith
 # SPDX-License-Identifier: GPL-3.0-or-later
 #
@@ -485,7 +485,7 @@
 fish_compat() {
        [ "$1" = "--fish" ] || return 0
        for name in make kernelroot pmbootstrap pmbroot; do
-               alias "$name" >/dev/null 2>&1 && echo "alias $(alias "$name" | 
sed 's/=/ /')"
+               alias "$name" >/dev/null 2>&1 && echo "alias $(alias "$name" | 
sed 's/alias //; s/=/ /')"
        done
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/pmb/__init__.py 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/pmb/__init__.py
--- 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/pmb/__init__.py 
    2026-05-03 11:31:16.000000000 +0200
+++ 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/pmb/__init__.py 
    2026-05-19 22:41:54.000000000 +0200
@@ -23,7 +23,7 @@
 from .helpers import logging, mount, other, status
 
 # pmbootstrap version
-__version__ = "3.10.2"
+__version__ = "3.10.3"
 
 # Python version check
 # === CHECKLIST FOR UPGRADING THE REQUIRED PYTHON VERSION ===
@@ -72,7 +72,10 @@
         # Sanity checks
         other.check_grsec()
         if not args.as_root and os.geteuid() == 0:
-            raise RuntimeError("Do not run pmbootstrap as root!")
+            raise NonBugError(
+                "Do not run pmbootstrap as root!\n"
+                "If you absolutely must run it as root, use 'pmbootstrap 
--as-root'"
+            )
 
         # Check for required programs (and find their absolute paths)
         require_programs()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/pmb/config/__init__.py
 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/pmb/config/__init__.py
--- 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/pmb/config/__init__.py
      2026-05-03 11:31:16.000000000 +0200
+++ 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/pmb/config/__init__.py
      2026-05-19 22:41:54.000000000 +0200
@@ -37,8 +37,9 @@
 # (which may contain a vulnerable apk/openssl, and allows an attacker to
 # exploit the system!)
 apk_tools_min_version = {
-    "edge": "3.0.3-r1",
-    "v3.23": "3.0.3-r1",
+    "edge": "3.0.6-r0",
+    "v3.24": "3.0.6-r0",
+    "v3.23": "3.0.6-r0",
     "v3.22": "2.14.9-r3",
     "v3.21": "2.14.6-r3",
     "v3.20": "2.14.4-r1",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/pmb/helpers/git.py
 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/pmb/helpers/git.py
--- 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/pmb/helpers/git.py
  2026-05-03 11:31:16.000000000 +0200
+++ 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/pmb/helpers/git.py
  2026-05-19 22:41:54.000000000 +0200
@@ -298,7 +298,7 @@
 
     :returns: True if it looks official, False otherwise
     """
-    if branch == "main":
+    if branch == "main" or branch == "master":
         return True
     if repo.parts[-1] == "pmaports":
         if re_branch_pmaports.match(branch):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/pmb/install/_install.py
 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/pmb/install/_install.py
--- 
old/pmbootstrap-3.10.2-021ed2f5e15fa70f1543997fc76c7e9f8b8c8e68/pmb/install/_install.py
     2026-05-03 11:31:16.000000000 +0200
+++ 
new/pmbootstrap-3.10.3-845cda033ab534f8350f71baea9226603f1c5693/pmb/install/_install.py
     2026-05-19 22:41:54.000000000 +0200
@@ -203,7 +203,6 @@
     pmb.chroot.root(
         ["sed", "-i", r"/\/mnt\/pmbootstrap\/packages/d", 
"/mnt/install/etc/apk/repositories"]
     )
-    pmb.helpers.run.user(["cat", rootfs / "etc/apk/repositories"])
 
 
 def set_user(config: Config) -> None:

Reply via email to