Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package grub2-compat-ia32 for openSUSE:Factory checked in at 2025-09-30 18:24:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grub2-compat-ia32 (Old) and /work/SRC/openSUSE:Factory/.grub2-compat-ia32.new.11973 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grub2-compat-ia32" Tue Sep 30 18:24:22 2025 rev:4 rq:1307971 version:1 Changes: -------- --- /work/SRC/openSUSE:Factory/grub2-compat-ia32/grub2-compat-ia32.changes 2025-06-26 14:06:37.865140345 +0200 +++ /work/SRC/openSUSE:Factory/.grub2-compat-ia32.new.11973/grub2-compat-ia32.changes 2025-09-30 18:24:25.023957932 +0200 @@ -1,0 +2,6 @@ +Mon Aug 4 13:33:31 UTC 2025 - Lubos Kocman <[email protected]> + +- Drop update-bootloader --get as it returns 0 + even if the variable is unset + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grub2-compat-ia32.spec ++++++ --- /var/tmp/diff_new_pack.E5e9p2/_old 2025-09-30 18:24:26.320012754 +0200 +++ /var/tmp/diff_new_pack.E5e9p2/_new 2025-09-30 18:24:26.320012754 +0200 @@ -25,6 +25,7 @@ Source1: README.md Requires: glibc-32bit Requires: update-bootloader +BuildRequires: update-bootloader BuildArch: noarch ExclusiveArch: x86_64 @@ -45,17 +46,16 @@ %doc README.md %post -if ! %{_sbindir}/update-bootloader --get-option "ia32_emulation=1" &>/dev/null; then - %{_sbindir}/update-bootloader --add-option "ia32_emulation=1" || : -fi -%{_sbindir}/update-bootloader --config || : + +%{_sbindir}/update-bootloader --add-option "ia32_emulation=1" +%{_sbindir}/update-bootloader --config echo "IA32 emulation has been enabled. Please reboot to apply changes." %postun # Only delete the option on uninstall, not upgrade if [ "$1" -eq 0 ]; then - %{_sbindir}/update-bootloader --del-option "ia32_emulation=1" || : - %{_sbindir}/update-bootloader --config || : + %{_sbindir}/update-bootloader --del-option "ia32_emulation=1" + %{_sbindir}/update-bootloader --config echo "IA32 emulation has been removed. Please reboot to apply changes." fi
