diff --git a/xen.spec b/xen.spec index 371b9ec..6f81794 100644 --- a/xen.spec +++ b/xen.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: xen ExclusiveArch: %ix86 x86_64 %arm aarch64 %define xvers 4.3 @@ -1153,6 +1154,11 @@ if [ -e /boot/efi/efi/SuSE/xen-%{version}-%{release}.efi ]; then rm /boot/efi/efi/SuSE/xen-%{version}-%{release}.efi fi +%posttrans +if [ -x /sbin/update-bootloader ]; then + /sbin/update-bootloader --refresh; exit 0 +fi + %post tools %if %{?with_xend}0 %if %{?with_systemd}0