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 2025-06-11 16:24:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/agama-installer (Old)
and /work/SRC/openSUSE:Factory/.agama-installer.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "agama-installer"
Wed Jun 11 16:24:09 2025 rev:14 rq:1284540 version:15.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/agama-installer/agama-installer.changes
2025-05-27 18:43:19.059397771 +0200
+++
/work/SRC/openSUSE:Factory/.agama-installer.new.19631/agama-installer.changes
2025-06-11 16:26:00.351171247 +0200
@@ -1,0 +2,7 @@
+Mon May 26 21:35:04 UTC 2025 - Knut Anderssen <[email protected]>
+
+- Generate systemd network link files below Agama run folder to
+ be copied at the end of the installation (bsc#1237327,
+ bsc#1241969, gh#agama-project/agama#2404).
+
+-------------------------------------------------------------------
@@ -16 +23 @@
- (gh#agama-project/agama2377).
+ (gh#agama-project/agama#2377).
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ config-cdroot.tar.xz ++++++
++++++ live-root-PXE.tar.xz ++++++
++++++ live-root.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/usr/bin/kernel-cmdline-conf.sh
new/usr/bin/kernel-cmdline-conf.sh
--- old/usr/bin/kernel-cmdline-conf.sh 2025-05-27 09:03:23.000000000 +0200
+++ new/usr/bin/kernel-cmdline-conf.sh 2025-06-03 17:34:25.000000000 +0200
@@ -28,7 +28,7 @@
# remove the network configuration options
# https://man7.org/linux/man-pages/man7/dracut.cmdline.7.html
ip=* | rd.route=* | bootdev=* | BOOTIF=* | rd.bootif=* | nameserver=* | \
- rd.peerdns=* | rd.neednet=* | vlan=* | bond=* | team=* | bridge=*)
+ rd.peerdns=* | rd.neednet=* | vlan=* | bond=* | team=* | bridge=* |
ifname=*)
_found=1
;;
esac
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/usr/lib/dracut/modules.d/99agama-cmdline/agama-network-compat.sh
new/usr/lib/dracut/modules.d/99agama-cmdline/agama-network-compat.sh
--- old/usr/lib/dracut/modules.d/99agama-cmdline/agama-network-compat.sh
2025-05-27 09:03:23.000000000 +0200
+++ new/usr/lib/dracut/modules.d/99agama-cmdline/agama-network-compat.sh
2025-06-03 17:34:25.000000000 +0200
@@ -1,10 +1,54 @@
#!/bin/bash
+# Takes care of persist the `hostname` and `ifname` configuration as well of
translating the
+# linuxrc `ifcfg` option into its `ip` equivalent
+
[ -e /dracut-state.sh ] && . /dracut-state.sh
. /lib/dracut-lib.sh
. /lib/net-lib.sh
+# Parses the `ifname` option generating a systemd network link file under
Agama's run directory
+#
+# Example:
+#
+# ifname=bootdev:aa:bb:cc:dd:ee:ff
+#
+# Generates:
+#
+# cat /run/agama/systemd/network/10-agama-ifname-bootdev.link
+# # Generated by Agama's dracut module
+#
+# [Match]
+# MACAddress=aa:bb:cc:dd:ee:ff
+#
+# [Link]
+# Name=bootdev
+parse_ifname() {
+ while read -r i; do
+ set --
+ echo "### Processing $i ###"
+ set -- "$@" "${i%%=*}"
+ local v="${1}"
+ local iface="${v%%:*}"
+ local mac="${v#*:}"
+
+ if strglob "$mac" "*:*:*:*:*:*"; then
+ local path="/run/agama/systemd/network/10-agama-ifname-${iface}.link"
+ mkdir -p /run/agama/systemd/network
+ cat >"$path" <<EOF
+# Generated by Agama's dracut module
+
+[Match]
+MACAddress=${mac}
+
+[Link]
+Name=${iface}
+EOF
+ fi
+ done <<<"$(getargs ifname)"
+}
+
ifcfg_to_ip() {
local ip
local conf_path="/etc/cmdline.d/40-agama-network.conf"
@@ -142,5 +186,6 @@
return 0
}
-translate_ifcfg
parse_hostname
+parse_ifname
+translate_ifcfg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/usr/lib/dracut/modules.d/99agama-cmdline/save-agama-conf.sh
new/usr/lib/dracut/modules.d/99agama-cmdline/save-agama-conf.sh
--- old/usr/lib/dracut/modules.d/99agama-cmdline/save-agama-conf.sh
2025-05-27 09:03:23.000000000 +0200
+++ new/usr/lib/dracut/modules.d/99agama-cmdline/save-agama-conf.sh
2025-06-03 17:34:25.000000000 +0200
@@ -20,7 +20,12 @@
echo 'ignore-carrier=*' >>/run/NetworkManager/conf.d/00-agama-server.conf
mkdir -p "$NEWROOT/etc/NetworkManager/system-connections/"
- cp /run/NetworkManager/system-connections/*
"$NEWROOT/etc/NetworkManager/system-connections/"
+ for _i in /run/NetworkManager/system-connections/*; do
+ [ -f "$_i" ] || continue
+ grep -q 'origin=nm-initrd-generator' "$_i" 2>/dev/null || continue
+
+ mv "$_i" "$NEWROOT/etc/NetworkManager/system-connections/"
+ done
fi
else
: >/run/agama/not_copy_network