Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package opensuse-migration-tool for 
openSUSE:Leap:16.0 checked in at 2026-01-27 18:17:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:16.0/opensuse-migration-tool (Old)
 and      /work/SRC/openSUSE:Leap:16.0/.opensuse-migration-tool.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opensuse-migration-tool"

Tue Jan 27 18:17:29 2026 rev:8 rq: version:20260106.d2cfd39

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:16.0/opensuse-migration-tool/opensuse-migration-tool.changes
        2025-11-27 13:19:53.489359858 +0100
+++ 
/work/SRC/openSUSE:Leap:16.0/.opensuse-migration-tool.new.1928/opensuse-migration-tool.changes
      2026-01-27 18:17:30.079486454 +0100
@@ -1,0 +2,26 @@
+Mon Jan 26 10:30:01 UTC 2026 - Lubos Kocman <[email protected]>
+
+- Add dependency on update-bootloader to fix boo#1255897
+  pattern-base-selinux could be skipped if update-bootloader was missing
+
+-------------------------------------------------------------------
+Thu Jan 08 17:09:32 UTC 2026 - [email protected]
+
+- Update to version 20260106.d2cfd39:
+  * Update scripts/20_pulse2pipewire.sh
+  * Update scripts/20_ia32.sh
+  * Update scripts/20_pulse2pipewire.sh
+  * Consistent no-use of sudo in migration scripts
+  * Update scripts/10_keepapparmor.sh
+  * Update scripts/10_keepselinux.sh
+  * Update scripts/10_keepapparmor.sh
+  * Update scripts/10_keepapparmor.sh
+  * Update opensuse-migration-tool
+  * Update scripts/10_keepselinux.sh
+  * Improve DRYRUN option to work well even from scripts
+  * Enable migration to SElinux with proper dryrun
+  * Update 10_keepselinux.sh
+  * Update 10_keepapparmor.sh
+  * Update 10_keepapparmor.sh
+
+-------------------------------------------------------------------

Old:
----
  opensuse-migration-tool-20251029.ed0d12d.obscpio

New:
----
  opensuse-migration-tool-20260106.d2cfd39.obscpio

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

Other differences:
------------------
++++++ opensuse-migration-tool.spec ++++++
--- /var/tmp/diff_new_pack.Mg5TSZ/_old  2026-01-27 18:17:30.467502483 +0100
+++ /var/tmp/diff_new_pack.Mg5TSZ/_new  2026-01-27 18:17:30.471502649 +0100
@@ -19,7 +19,7 @@
 
 
 Name:           opensuse-migration-tool
-Version:        20251029.ed0d12d
+Version:        20260106.d2cfd39
 Release:        0
 Summary:        Migration and Upgrade tool for openSUSE
 License:        Apache-2.0
@@ -32,6 +32,7 @@
 Requires:       gawk
 Requires:       jq
 Requires:       sed
+Requires:       update-bootloader
 BuildArch:      noarch
 
 %description

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.Mg5TSZ/_old  2026-01-27 18:17:30.507504136 +0100
+++ /var/tmp/diff_new_pack.Mg5TSZ/_new  2026-01-27 18:17:30.511504301 +0100
@@ -1,7 +1,7 @@
-mtime: 1763481938
-commit: 99f08127a2bad47e4c8d40549725c9114e81b38b0802f1fe21a6bcc60e6fe7c9
+mtime: 1769423681
+commit: 251d8cc96eaa69b9a2d3674d6ee13a49a0740682085f6321f8902fa586a8c5c7
 url: https://src.opensuse.org/pool/opensuse-migration-tool
-revision: 99f08127a2bad47e4c8d40549725c9114e81b38b0802f1fe21a6bcc60e6fe7c9
+revision: 251d8cc96eaa69b9a2d3674d6ee13a49a0740682085f6321f8902fa586a8c5c7
 trackingbranch: Leap-16.0
 projectscmsync: https://src.opensuse.org/openSUSE/Leap
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Mg5TSZ/_old  2026-01-27 18:17:30.551505954 +0100
+++ /var/tmp/diff_new_pack.Mg5TSZ/_new  2026-01-27 18:17:30.555506119 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/openSUSE/opensuse-migration-tool.git</param>
-              <param 
name="changesrevision">ed0d12d53c7eeab780c8c81b18a469d18c4a59df</param></service></servicedata>
+              <param 
name="changesrevision">d2cfd39fd633a3108d9dc7737752922b04181f6d</param></service></servicedata>
 (No newline at EOF)
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-01-27 18:17:28.000000000 +0100
@@ -0,0 +1,2 @@
+.osc
+opensuse-migration-tool

++++++ opensuse-migration-tool-20251029.ed0d12d.obscpio -> 
opensuse-migration-tool-20260106.d2cfd39.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/opensuse-migration-tool-20251029.ed0d12d/opensuse-migration-tool 
new/opensuse-migration-tool-20260106.d2cfd39/opensuse-migration-tool
--- old/opensuse-migration-tool-20251029.ed0d12d/opensuse-migration-tool        
2025-10-29 21:29:32.000000000 +0100
+++ new/opensuse-migration-tool-20260106.d2cfd39/opensuse-migration-tool        
2026-01-06 19:15:41.000000000 +0100
@@ -108,6 +108,7 @@
         *) echo "Unknown option: $1"; exit 1 ;;
     esac
 done
+export DRYRUN
 # Populate migration options
 function fetch_versions() {
     local filter="$1"
@@ -543,9 +544,13 @@
     $DRYRUN $SCRIPT
 done
 
+if [[ -v DRYRUN ]] ; then
+       echo "Dry run completed, feel free to continue. "
+else
 #dialog --clear \
 #    --backtitle "[EXPERIMENTAL] Migration tool" \
 #    --title "Migration process completed" \
 #    --msgbox "\nMigration process completed.\nA reboot is recommended." 10 40
 #
-echo "Migration process completed. A reboot is recommended."
+       echo "Migration process completed. A reboot is recommended."
+fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/opensuse-migration-tool-20251029.ed0d12d/scripts/10_keepapparmor.sh 
new/opensuse-migration-tool-20260106.d2cfd39/scripts/10_keepapparmor.sh
--- old/opensuse-migration-tool-20251029.ed0d12d/scripts/10_keepapparmor.sh     
2025-10-29 21:29:32.000000000 +0100
+++ new/opensuse-migration-tool-20260106.d2cfd39/scripts/10_keepapparmor.sh     
2026-01-06 19:15:41.000000000 +0100
@@ -6,6 +6,23 @@
 
 set -euo pipefail
 
+# Elevated permissions check unless DRYRUN is set
+if [ -z "${DRYRUN:-}" ]; then
+    if [ "$EUID" -ne 0 ]; then
+        exec sudo "$0" "$@"
+    fi
+        # Requires elevated permissions or test will always fail
+        test -w / || { echo "Please run the tool inside 'transactional-update 
shell' on Immutable systems."; exit 1; }
+fi
+
+UPDATE_BOOTLOADER=$(command -v update-bootloader)
+
+if [ -z "$UPDATE_BOOTLOADER" ]; then
+    # It was not found in the PATH; this is a critical dependency.
+    echo -e "No update-bootloader found in PATH. Exiting.\n" >&2
+    exit 1
+fi
+
 log() {
     echo "[MIGRATION] $1"
 }
@@ -17,7 +34,7 @@
 
 # Check if we have security=apparmor as boot param
 if [[ "${1:-}" == "--check" ]]; then
-    if ! /usr/sbin/update-bootloader --get-option security | grep apparmor 
&>/dev/null; then
+    if ! $UPDATE_BOOTLOADER --get-option security | grep apparmor &>/dev/null; 
then
         exit 0
     else
         exit 1
@@ -25,11 +42,11 @@
 fi
 
 log "Drop any SELinux boot options"
-sudo update-bootloader --del-option "security=selinux"
-sudo update-bootloader --del-option "enforcing=1"
-sudo update-bootloader --del-option "selinux=1"
+$DRYRUN update-bootloader --del-option "security=selinux"
+$DRYRUN update-bootloader --del-option "enforcing=1"
+$DRYRUN update-bootloader --del-option "selinux=1"
 log "Adding AppArmor boot options"
-sudo update-bootloader --add-option "security=apparmor"
+$DRYRUN update-bootloader --add-option "security=apparmor"
 
 if rpm -q patterns-base-apparmor &>/dev/null; then
     log "Package patterns-base-apparmor is already installed. Skipping."
@@ -37,7 +54,7 @@
 
 else
     log "Installing packages: patterns-base-apparmor"
-    if sudo zypper --non-interactive install --force-resolution 
patterns-base-apparmor; then
+    if $DRYRUN zypper --non-interactive install --force-resolution 
patterns-base-apparmor; then
         log "Installation completed successfully."
     else
         error_exit "Package installation failed. Please check zypper logs or 
try again manually."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/opensuse-migration-tool-20251029.ed0d12d/scripts/10_keepselinux.sh 
new/opensuse-migration-tool-20260106.d2cfd39/scripts/10_keepselinux.sh
--- old/opensuse-migration-tool-20251029.ed0d12d/scripts/10_keepselinux.sh      
2025-10-29 21:29:32.000000000 +0100
+++ new/opensuse-migration-tool-20260106.d2cfd39/scripts/10_keepselinux.sh      
2026-01-06 19:15:41.000000000 +0100
@@ -7,6 +7,22 @@
 
 set -euo pipefail
 
+# Elevated permissions check unless DRYRUN is set
+if [ -z "${DRYRUN:-}" ]; then
+    if [ "$EUID" -ne 0 ]; then
+        exec sudo "$0" "$@"
+    fi
+        # Requires elevated permissions or test will always fail
+        test -w / || { echo "Please run the tool inside 'transactional-update 
shell' on Immutable systems."; exit 1; }
+fi  
+
+UPDATE_BOOTLOADER=$(command -v update-bootloader)
+
+if [ -z "$UPDATE_BOOTLOADER" ]; then
+    # It was not found in the PATH
+    echo -e "No update-bootloader found!\n"
+fi
+
 log() {
     echo "[MIGRATION] $1"
 }
@@ -18,7 +34,7 @@
 
 # Check if we have security=selinux as boot param
 if [[ "${1:-}" == "--check" ]]; then
-    if ! /usr/sbin/update-bootloader --get-option security | grep selinux 
&>/dev/null; then
+    if ! $UPDATE_BOOTLOADER --get-option security | grep selinux &>/dev/null; 
then
         exit 0
     else
         exit 1
@@ -26,23 +42,23 @@
 fi
 
 log "Drop AppArmor boot options"
-sudo update-bootloader --del-option "security=apparmor"
+$DRYRUN update-bootloader --del-option "security=apparmor"
 
 log "Add any SELinux boot options"
-sudo update-bootloader --add-option "security=selinux"
-sudo update-bootloader --add-option "enforcing=1"
-sudo update-bootloader --add-option "selinux=1"
+$DRYRUN update-bootloader --add-option "security=selinux"
+$DRYRUN update-bootloader --add-option "enforcing=1"
+$DRYRUN update-bootloader --add-option "selinux=1"
 
 if rpm -q patterns-base-apparmor &>/dev/null; then
     log "Uninstalling packages: patterns-base-apparmor"
-    if sudo zypper --non-interactive remove --force-resolution 
patterns-base-apparmor; then
+    if $DRYRUN zypper --non-interactive remove --force-resolution 
patterns-base-apparmor; then
         log "Uninstallation of AppArmor completed successfully."
     else
         error_exit "Package uninstallation failed. Please check zypper logs or 
try again manually."
     fi
-
-else
-    log "Installing packages: patterns-selinux selinux-policy-targeted-gaming"
-    sudo zypper --non-interactive install -t pattern --force-resolution selinux
-    sudo zypper --non-interactive install selinux-policy-targeted-gaming
 fi
+# user said he wants SElinux, so install SElinux pattern
+log "Installing packages: patterns-selinux selinux-policy-targeted-gaming"
+$DRYRUN zypper --non-interactive install -t pattern --force-resolution selinux
+# this SElinux package is providing rules for gaming
+$DRYRUN zypper --non-interactive install selinux-policy-targeted-gaming
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/opensuse-migration-tool-20251029.ed0d12d/scripts/20_ia32.sh 
new/opensuse-migration-tool-20260106.d2cfd39/scripts/20_ia32.sh
--- old/opensuse-migration-tool-20251029.ed0d12d/scripts/20_ia32.sh     
2025-10-29 21:29:32.000000000 +0100
+++ new/opensuse-migration-tool-20260106.d2cfd39/scripts/20_ia32.sh     
2026-01-06 19:15:41.000000000 +0100
@@ -5,6 +5,15 @@
 
 set -euo pipefail
 
+# Elevated permissions check unless DRYRUN is set
+if [ -z "${DRYRUN:-}" ]; then
+    if [ "$EUID" -ne 0 ]; then
+        exec sudo "$0" "$@"
+    fi
+    # Requires elevated permissions or test will always fail
+    test -w / || { echo "Please run the tool inside 'transactional-update 
shell' on Immutable systems."; exit 1; }
+fi
+
 log() {
     echo "[MIGRATION] $1"
 }
@@ -24,7 +33,7 @@
 fi
 
 log "Installing packages: grub2-compat-ia32"
-if sudo zypper --non-interactive install --force-resolution grub2-compat-ia32; 
then
+if $DRYRUN zypper --non-interactive install --force-resolution 
grub2-compat-ia32; then
     log "Installation completed successfully."
 else
     error_exit "Package installation failed. Please check zypper logs or try 
again manually."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/opensuse-migration-tool-20251029.ed0d12d/scripts/20_pulse2pipewire.sh 
new/opensuse-migration-tool-20260106.d2cfd39/scripts/20_pulse2pipewire.sh
--- old/opensuse-migration-tool-20251029.ed0d12d/scripts/20_pulse2pipewire.sh   
2025-10-29 21:29:32.000000000 +0100
+++ new/opensuse-migration-tool-20260106.d2cfd39/scripts/20_pulse2pipewire.sh   
2026-01-06 19:15:41.000000000 +0100
@@ -6,6 +6,15 @@
 
 set -euo pipefail
 
+# Elevated permissions check unless DRYRUN is set
+if [ -z "${DRYRUN:-}" ]; then
+    if [ "$EUID" -ne 0 ]; then
+        exec sudo "$0" "$@"
+    fi
+    # Requires elevated permissions or test will always fail
+    test -w / || { echo "Please run the tool inside 'transactional-update 
shell' on Immutable systems."; exit 1; }
+fi
+
 log() {
     echo "[MIGRATION] $1"
 }
@@ -39,7 +48,7 @@
 fi
 
 log "Installing packages: pipewire-pulseaudio and ensure 
wireplumber-video-only-profile is removed"
-if sudo zypper --non-interactive install --force-resolution 
pipewire-pulseaudio -wireplumber-video-only-profile; then
+if $DRYRUN zypper --non-interactive install --force-resolution 
pipewire-pulseaudio -wireplumber-video-only-profile; then
     log "Migration completed successfully."
 else
     error_exit "Package installation failed. Please check zypper logs or try 
again manually."

++++++ opensuse-migration-tool.obsinfo ++++++
--- /var/tmp/diff_new_pack.Mg5TSZ/_old  2026-01-27 18:17:30.851518348 +0100
+++ /var/tmp/diff_new_pack.Mg5TSZ/_new  2026-01-27 18:17:30.855518512 +0100
@@ -1,5 +1,5 @@
 name: opensuse-migration-tool
-version: 20251029.ed0d12d
-mtime: 1761769772
-commit: ed0d12d53c7eeab780c8c81b18a469d18c4a59df
+version: 20260106.d2cfd39
+mtime: 1767723341
+commit: d2cfd39fd633a3108d9dc7737752922b04181f6d
 

Reply via email to