Accepting request 674894 from home:michael-chang:boo:1123942

- Create compatibility sym-link of grub.xen in the old location to which
  old VM definition is pointing (boo#1123942)

OBS-URL: https://build.opensuse.org/request/show/674894
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=326
This commit is contained in:
Raymund Will 2019-02-14 15:38:58 +00:00 committed by Git OBS Bridge
parent d55d47e08d
commit 74165feb3c
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 12 08:57:03 UTC 2019 - mchang@suse.com
- Create compatibility sym-link of grub.xen in the old location to which
old VM definition is pointing (boo#1123942)
-------------------------------------------------------------------
Mon Jan 28 14:12:05 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
@ -30,7 +36,6 @@ Wed Jan 23 10:44:09 UTC 2019 - rw@suse.com
* grub2-efi-xen-chainload.patch (bsc#1122563)
* grub2-efi-xen-removable.patch (refresh)
-------------------------------------------------------------------
Thu Dec 20 09:21:27 UTC 2018 - mchang@suse.com

View File

@ -807,6 +807,9 @@ cd ..
cd build-xen
%make_install
install -m 644 grub.xen %{buildroot}/%{_datadir}/%{name}/%{grubxenarch}/.
# provide compatibility sym-link for VM definitions pointing to old location
install -d %{buildroot}/%{_libdir}/%{name}/%{grubxenarch}
ln -srf %{buildroot}/%{_datadir}/%{name}/%{grubxenarch}/grub.xen %{buildroot}/%{_libdir}/%{name}/%{grubxenarch}/grub.xen
cd ..
%endif
@ -1273,6 +1276,10 @@ fi
%files %{grubxenarch}
%dir %{_datadir}/%{name}/%{grubxenarch}
%{_datadir}/%{name}/%{grubxenarch}/*
# provide compatibility sym-link for VM definitions pointing to old location
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/%{grubxenarch}
%{_libdir}/%{name}/%{grubxenarch}/grub.xen
%endif
%if 0%{?has_systemd:1}