Hello community,
here is the log from the commit of package ignition-dracut for openSUSE:Factory
checked in at 2020-07-01 20:44:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ignition-dracut (Old)
and /work/SRC/openSUSE:Factory/.ignition-dracut.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ignition-dracut"
Wed Jul 1 20:44:01 2020 rev:15 rq:818139 version:0.0+git20200504.7ff38d9
Changes:
--------
--- /work/SRC/openSUSE:Factory/ignition-dracut/ignition-dracut.changes
2020-06-30 21:58:58.575225169 +0200
+++
/work/SRC/openSUSE:Factory/.ignition-dracut.new.3060/ignition-dracut.changes
2020-07-01 20:44:02.966361697 +0200
@@ -1,0 +2,5 @@
+Wed Jul 1 13:11:06 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Add back proper bootloader configuration code to grub2 post scripts
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ignition-dracut.spec ++++++
--- /var/tmp/diff_new_pack.mZMtTt/_old 2020-07-01 20:44:03.730364106 +0200
+++ /var/tmp/diff_new_pack.mZMtTt/_new 2020-07-01 20:44:03.734364118 +0200
@@ -115,12 +115,19 @@
%service_add_pre ignition-firstboot-complete.service
%post grub2
+if [ "$1" = 1 ] ; then
+ sed -i 's/^\(GRUB_CMDLINE_LINUX_DEFAULT="\)\(.*\)/\1\\$ignition_firstboot
\2/' %{_sysconfdir}/default/grub
+ %{?update_bootloader_refresh_post}
+fi
%service_add_post ignition-firstboot-complete.service
%preun grub2
%service_del_preun ignition-firstboot-complete.service
%postun grub2
+if [ "$1" = 0 ] ; then
+ sed -i -E
'/^GRUB_CMDLINE_LINUX_DEFAULT="/s/(\\\$)?ignition[._][^[:space:]"]+ ?//g'
%{_sysconfdir}/default/grub
+fi
%service_del_postun -n ignition-firstboot-complete.service
%posttrans grub2