Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package agama-installer for openSUSE:Factory 
checked in at 2026-06-27 18:03:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/agama-installer (Old)
 and      /work/SRC/openSUSE:Factory/.agama-installer.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "agama-installer"

Sat Jun 27 18:03:55 2026 rev:36 rq:1361726 version:22.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/agama-installer/agama-installer.changes  
2026-06-16 13:49:47.304118526 +0200
+++ 
/work/SRC/openSUSE:Factory/.agama-installer.new.11887/agama-installer.changes   
    2026-06-27 18:04:30.256764519 +0200
@@ -1,0 +2,13 @@
+Wed Jun 24 15:19:28 UTC 2026 - Ladislav Slezák <[email protected]>
+
+- Break a initrd-nmtui systemd dependency cycle (systemd deletes some services
+  to break the cycle, that services are then missing and it might
+  trigger the emergency shell) (bsc#1268901)
+
+-------------------------------------------------------------------
+Thu Jun 18 08:16:25 UTC 2026 - Imobach Gonzalez Sosa <[email protected]>
+
+- Add support for alts as update-alternatives replacement
+  (gh#agama-project/agama#3645).
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ config-cdroot.tar.xz ++++++

++++++ live-root.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/etc/systemd/system/initrd-nmtui.service 
new/etc/systemd/system/initrd-nmtui.service
--- old/etc/systemd/system/initrd-nmtui.service 2026-06-15 17:53:58.000000000 
+0200
+++ new/etc/systemd/system/initrd-nmtui.service 2026-06-24 17:55:03.000000000 
+0200
@@ -10,8 +10,8 @@
 # after the console is initialized
 After=systemd-vconsole-setup.service
 # before running the pre-pivot dracut hooks (before the driver update),
-# before the self-update and before displaying the Plymouth splash screen
-Before=dracut-pre-pivot.service live-self-update.service plymouth-start.service
+# before the self-update
+Before=dracut-pre-pivot.service live-self-update.service
 
 ConditionKernelCommandLine=live.net_config_tui=1
 
@@ -22,6 +22,12 @@
 ExecStartPre=dmesg --console-off
 # disable the systemd status messages on the console
 ExecStartPre=kill -SIGRTMIN+21 1
+# hide the plymouth splash screen
+# NOTE: It should be enough to hide the splash with "plymouth hide-splash" and
+# then show it back with "plymouth show-splash". But unfortunately the nmtui
+# tool then for some reason does not work properly and does not react on
+# pressing the [Enter] key. As a workaround stop the plymouth splash 
completely.
+ExecStartPre=-plymouth quit
 
 ExecStart=initrd-network-setup.sh
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/usr/lib/dracut/modules.d/99agama-dud/agama-dud-apply.sh 
new/usr/lib/dracut/modules.d/99agama-dud/agama-dud-apply.sh
--- old/usr/lib/dracut/modules.d/99agama-dud/agama-dud-apply.sh 2026-06-15 
17:53:58.000000000 +0200
+++ new/usr/lib/dracut/modules.d/99agama-dud/agama-dud-apply.sh 2026-06-24 
17:55:03.000000000 +0200
@@ -163,7 +163,7 @@
   mkdir -p "$dest"
   pushd "$dest" || exit 1
   "$NEWROOT/usr/bin/chroot" "$NEWROOT" /usr/bin/rpm2cpio 
"${source##"$NEWROOT"}" |
-    cpio --extract --make-directories --preserve-modification-time
+    cpio --extract --make-directories --preserve-modification-time 
--unconditional
   popd || exit 1
 }
 
@@ -184,6 +184,8 @@
 }
 
 # Sets the alternative links
+#
+# It identifies whether it should use alts or update-alternatives.
 set_alternative() {
   dud_instsys=$1
   name=$2
@@ -191,12 +193,20 @@
   priority=150000
 
   executables=("$dud_instsys/usr/bin/${name}.ruby"*-*)
-  executable=${executables[0]}
+  executable="${executables[0]##"$dud_instsys"}"
+
   if [ -n "$executable" ]; then
-    "$NEWROOT/usr/bin/chroot" "$NEWROOT" /usr/sbin/update-alternatives \
-      --install "/usr/bin/$name" "$name" "${executable##"$dud_instsys"}" 
"$priority"
-    "$NEWROOT/usr/bin/chroot" "$NEWROOT" /usr/sbin/update-alternatives \
-      --set "$name" "${executable##"$dud_instsys"}"
+    alts=$("$NEWROOT/usr/bin/chroot" "$NEWROOT" /usr/bin/alts -l "$executable")
+    if [ -n "$alts" ]; then
+      echo "Setting alternative ${executable} using alts"
+      "$NEWROOT/usr/bin/chroot" "$NEWROOT" "/usr/bin/alts" -n "$name" 
"$executable"
+    else
+      "$NEWROOT/usr/bin/chroot" "$NEWROOT" /usr/sbin/update-alternatives \
+        --install "/usr/bin/$name" "$name" "$executable" "$priority"
+      "$NEWROOT/usr/bin/chroot" "$NEWROOT" /usr/sbin/update-alternatives \
+        --set "$name" "$executable"
+    fi
+
   fi
 }
 

Reply via email to