Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ignition for openSUSE:Factory checked in at 2022-03-04 20:17:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ignition (Old) and /work/SRC/openSUSE:Factory/.ignition.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ignition" Fri Mar 4 20:17:08 2022 rev:30 rq:959493 version:2.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ignition/ignition.changes 2021-12-02 02:14:34.422787213 +0100 +++ /work/SRC/openSUSE:Factory/.ignition.new.1958/ignition.changes 2022-03-04 20:21:00.252676265 +0100 @@ -1,0 +2,6 @@ +Fri Mar 4 10:23:10 UTC 2022 - Fabian Vogt <fv...@suse.com> + +- Add support for NetworkManager in dracut: + * ignition-enable-network.service, ignition-enable-network.sh + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ignition.spec ++++++ --- /var/tmp/diff_new_pack.J7EV9I/_old 2022-03-04 20:21:00.964675699 +0100 +++ /var/tmp/diff_new_pack.J7EV9I/_new 2022-03-04 20:21:00.968675696 +0100 @@ -1,7 +1,7 @@ # # spec file for package ignition # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ ignition-enable-network.service ++++++ --- /var/tmp/diff_new_pack.J7EV9I/_old 2022-03-04 20:21:01.068675616 +0100 +++ /var/tmp/diff_new_pack.J7EV9I/_new 2022-03-04 20:21:01.072675613 +0100 @@ -15,7 +15,7 @@ # See hack in coreos-enable-network, as well as coreos-copy-firstboot-network.service; # adapted for SUSE / wicked use After=dracut-cmdline.service -Before=dracut-initqueue.service +Before=dracut-initqueue.service nm-initrd.service [Service] Type=oneshot ++++++ ignition-enable-network.sh ++++++ --- /var/tmp/diff_new_pack.J7EV9I/_old 2022-03-04 20:21:01.092675597 +0100 +++ /var/tmp/diff_new_pack.J7EV9I/_new 2022-03-04 20:21:01.096675594 +0100 @@ -5,9 +5,15 @@ if [ -f /run/ignition/neednet ] && ! getargbool 0 'rd.neednet'; then echo "rd.neednet=1" > /etc/cmdline.d/40-ignition-neednet.conf - # Re-trigger generation of network rules - . /lib/dracut/hooks/pre-udev/60-net-genrules.sh - udevadm control --reload - udevadm trigger --subsystem-match net --action add + # Re-trigger generation of network rules and apply them + if [ -e /lib/dracut/hooks/pre-udev/60-net-genrules.sh ]; then + # Wicked + . /lib/dracut/hooks/pre-udev/60-net-genrules.sh + udevadm control --reload + udevadm trigger --subsystem-match net --action add + else + # NetworkManager + . /usr/lib/dracut/hooks/cmdline/99-nm-config.sh + fi fi