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-10-17 21:27:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pmbootstrap (Old)
 and      /work/SRC/openSUSE:Factory/.pmbootstrap.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pmbootstrap"

Sat Oct 17 21:27:43 2026 rev:11 rq:1385580 version:3.12.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/pmbootstrap/pmbootstrap.changes  2026-10-10 
15:00:01.915617864 +0200
+++ /work/SRC/openSUSE:Factory/.pmbootstrap.new.3698736/pmbootstrap.changes     
2026-10-17 21:27:48.261894965 +0200
@@ -1,0 +2,9 @@
+Fri Oct 16 14:25:20 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 3.12.1 (hotfix release):
+  * Fix install failure when the locale requires additional XKB
+    configuration.
+  * Avoid updating all package indexes when building with
+    arch=None.
+
+-------------------------------------------------------------------

Old:
----
  pmbootstrap-3.12.0.tar.gz

New:
----
  pmbootstrap-3.12.1.tar.gz

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

Other differences:
------------------
++++++ pmbootstrap.spec ++++++
--- /var/tmp/diff_new_pack.L3pG10/_old  2026-10-17 21:27:48.937923208 +0200
+++ /var/tmp/diff_new_pack.L3pG10/_new  2026-10-17 21:27:48.938923250 +0200
@@ -21,9 +21,9 @@
 
 
 %define         pythons %{primary_python}
-%define         commit 200f5123615808326ac796f66b02fdc6cebbcbf1
+%define         commit 7d23010a125ca7386fec4e390d14128b6c24d266
 Name:           pmbootstrap
-Version:        3.12.0
+Version:        3.12.1
 Release:        0
 Summary:        Sophisticated chroot/build/flash tool to develop and install 
postmarketOS
 License:        GPL-3.0-or-later

++++++ pmbootstrap-3.12.0.tar.gz -> pmbootstrap-3.12.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pmbootstrap-3.12.0-200f5123615808326ac796f66b02fdc6cebbcbf1/pmb/__init__.py 
new/pmbootstrap-3.12.1-7d23010a125ca7386fec4e390d14128b6c24d266/pmb/__init__.py
--- 
old/pmbootstrap-3.12.0-200f5123615808326ac796f66b02fdc6cebbcbf1/pmb/__init__.py 
    2026-10-09 15:33:20.000000000 +0200
+++ 
new/pmbootstrap-3.12.1-7d23010a125ca7386fec4e390d14128b6c24d266/pmb/__init__.py 
    2026-10-13 21:06:48.000000000 +0200
@@ -24,7 +24,7 @@
 from .helpers import logging, mount, other
 
 # pmbootstrap version
-__version__ = "3.12.0"
+__version__ = "3.12.1"
 
 # Python version check
 # === CHECKLIST FOR UPGRADING THE REQUIRED PYTHON VERSION ===
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pmbootstrap-3.12.0-200f5123615808326ac796f66b02fdc6cebbcbf1/pmb/build/_package.py
 
new/pmbootstrap-3.12.1-7d23010a125ca7386fec4e390d14128b6c24d266/pmb/build/_package.py
--- 
old/pmbootstrap-3.12.0-200f5123615808326ac796f66b02fdc6cebbcbf1/pmb/build/_package.py
       2026-10-09 15:33:20.000000000 +0200
+++ 
new/pmbootstrap-3.12.1-7d23010a125ca7386fec4e390d14128b6c24d266/pmb/build/_package.py
       2026-10-13 21:06:48.000000000 +0200
@@ -513,11 +513,19 @@
     logging.debug(f"Attempting to build: {', '.join(pkgnames)}")
 
     # Get existing binary package indexes
+    update_arches = set()
     if arch:
-        pmb.helpers.repo.update(arch)
+        # assume that all the packages are for the provided arch!
+        update_arches.add(arch)
     else:
-        for arch_to_update in Arch.supported_binary():
-            pmb.helpers.repo.update(arch_to_update)
+        # Update relevant binary package indexes
+        for pkgname in pkgnames:
+            _, apkbuild = get_apkbuild(pkgname)
+            if apkbuild is None:
+                continue  # Let process_package error out for us
+            update_arches.add(pmb.build.autodetect.arch(apkbuild))
+    for update_arch in update_arches:
+        pmb.helpers.repo.update(update_arch)
 
     # Process the packages we've been asked to build, queuing up any
     # dependencies that need building as well as the package itself
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pmbootstrap-3.12.0-200f5123615808326ac796f66b02fdc6cebbcbf1/pmb/install/_install.py
 
new/pmbootstrap-3.12.1-7d23010a125ca7386fec4e390d14128b6c24d266/pmb/install/_install.py
--- 
old/pmbootstrap-3.12.0-200f5123615808326ac796f66b02fdc6cebbcbf1/pmb/install/_install.py
     2026-10-09 15:33:20.000000000 +0200
+++ 
new/pmbootstrap-3.12.1-7d23010a125ca7386fec4e390d14128b6c24d266/pmb/install/_install.py
     2026-10-13 21:06:48.000000000 +0200
@@ -384,7 +384,7 @@
     if xkb_vars:
         xkb_vars = xkb_vars.replace("\n", "\\n")
         pmb.chroot.root(
-            ["sed", "-i", "$a\\" + xkb_vars, 
"/etc/profile.d/10locale-pmos.sh"],
+            ["sh", "-c", f'printf "%b\\n" "{xkb_vars}" > 
/etc/profile.d/10locale-pmos.sh'],
             chroot,
         )
     if (chroot / "etc/X11").exists() and (kb_config := 
xkb_layout.get_keyboard_config()):

Reply via email to