Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package skiboot for openSUSE:Factory checked in at 2026-05-21 18:32:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/skiboot (Old) and /work/SRC/openSUSE:Factory/.skiboot.new.2084 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "skiboot" Thu May 21 18:32:58 2026 rev:20 rq:1354459 version:6.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/skiboot/skiboot.changes 2020-10-08 13:14:03.307274066 +0200 +++ /work/SRC/openSUSE:Factory/.skiboot.new.2084/skiboot.changes 2026-05-21 18:34:11.387475142 +0200 @@ -1,0 +2,5 @@ +Thu May 21 11:23:59 UTC 2026 - Dario Faggioli <[email protected]> + +- Move away from update-alternatives as required by jsc#PED-15661 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ skiboot.spec ++++++ --- /var/tmp/diff_new_pack.0erpYt/_old 2026-05-21 18:34:12.303513209 +0200 +++ /var/tmp/diff_new_pack.0erpYt/_new 2026-05-21 18:34:12.303513209 +0200 @@ -1,7 +1,7 @@ # # spec file for package skiboot # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -63,8 +63,8 @@ Summary: OPAL firmware Group: System/Management BuildArch: noarch -Requires(post): update-alternatives -Requires(postun): update-alternatives +Provides: qemu-skiboot +Conflicts: qemu-skiboot %description -n opal-firmware OPAL firmware, aka skiboot, loads the bootloader and provides runtime @@ -94,10 +94,7 @@ %if %build_firmware mkdir -p %{buildroot}%{_datadir}/qemu -install -m 644 -p skiboot.lid %{buildroot}%{_datadir}/qemu/skiboot.lid.opal -# create a dummy target for /etc/alternatives/skiboot.lid -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -ln -s -f %{_sysconfdir}/alternatives/skiboot.lid %{buildroot}%{_datadir}/qemu/skiboot.lid +install -m 644 -p skiboot.lid %{buildroot}%{_datadir}/qemu/skiboot.lid %endif %pre -n opal-prd @@ -113,13 +110,15 @@ %service_del_postun opal-prd.service %if %build_firmware -%post -n opal-firmware -update-alternatives --install \ - %{_datadir}/qemu/skiboot.lid skiboot.lid %{_datadir}/qemu/skiboot.lid.opal 10 - -%postun -n opal-firmware -if [ ! -f %{_datadir}/qemu/skiboot.lid.opal ] ; then - update-alternatives --remove skiboot.lid %{_datadir}/qemu/skiboot.lid.opal +%pre -n opal-firmware +# Remove the old symlink from where we were using update-alternatives +if [ "$1" -ge 1 ]; then + if [ -x %{_sbindir}/update-alternatives ]; then + %{_sbindir}/update-alternatives --remove skiboot.lid %{_datadir}/qemu/skiboot.lid.opal || : + fi + if [ -L %{_datadir}/qemu/skiboot.lid ]; then + rm -f %{_datadir}/qemu/skiboot.lid + fi fi %endif @@ -149,7 +148,5 @@ %doc README.md LICENCE %dir %{_datadir}/qemu %{_datadir}/qemu/skiboot.lid -%{_datadir}/qemu/skiboot.lid.opal -%ghost %_sysconfdir/alternatives/skiboot.lid %endif
