Accepting request 396777 from home:scarabeus_iv:branches:Base:System
- Add compat symlinks for binaries to /sbin/ to avoid errors on hardcoded systems, obsolete them with leap 43 - Add compat symlinks for binaries to /sbin/ to avoid errors on hardcoded systems, obsolete them with leap 43 - Add compat symlinks for binaries to /sbin/ to avoid errors on hardcoded systems, obsolete them with leap 43 OBS-URL: https://build.opensuse.org/request/show/396777 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=152
This commit is contained in:
parent
d3abef8d85
commit
40dea6f79c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 19 12:07:09 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Add compat symlinks for binaries to /sbin/ to avoid errors on
|
||||
hardcoded systems, obsolete them with leap 43
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 12 08:12:54 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
|
@ -194,6 +194,10 @@ rm %{buildroot}%{_unitdir}/lvm2-monitor.service
|
||||
rm %{buildroot}%{_mandir}/man8/blkdeactivate.8
|
||||
rm %{buildroot}%{_mandir}/man8/lvm2-activation-generator.8
|
||||
|
||||
# compat symlinks in /sbin remove with Leap 43
|
||||
mkdir -p %{buildroot}/sbin
|
||||
ln -s %{_sbindir}/dmsetup %{buildroot}/sbin/dmsetup
|
||||
|
||||
%post
|
||||
%service_add_post dm-event.service dm-event.socket
|
||||
%{?regenerate_initrd_post}
|
||||
@ -230,6 +234,7 @@ rm %{buildroot}%{_mandir}/man8/lvm2-activation-generator.8
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING COPYING.LIB README
|
||||
%doc udev/12-dm-permissions.rules
|
||||
/sbin/dmsetup
|
||||
%{_sbindir}/dmsetup
|
||||
%{_sbindir}/dmeventd
|
||||
%{_sbindir}/dmstats
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 19 12:07:09 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Add compat symlinks for binaries to /sbin/ to avoid errors on
|
||||
hardcoded systems, obsolete them with leap 43
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 12 08:12:54 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 19 12:07:09 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Add compat symlinks for binaries to /sbin/ to avoid errors on
|
||||
hardcoded systems, obsolete them with leap 43
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 12 08:12:54 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
|
11
lvm2.spec
11
lvm2.spec
@ -233,6 +233,14 @@ rm %{buildroot}%{_libdir}/libdevmapper-event.so
|
||||
rm %{buildroot}%{_includedir}/libdevmapper*.h
|
||||
rm %{buildroot}%{_libdir}/pkgconfig/devmapper*.pc
|
||||
|
||||
# compat symlinks in /sbin remove with Leap 43
|
||||
mkdir -p %{buildroot}/sbin
|
||||
pushd %{buildroot}/%{_sbindir}
|
||||
for i in {vg,pv,lv}*; do
|
||||
ln -s %{_sbindir}/$i %{buildroot}/sbin/$i
|
||||
done
|
||||
popd
|
||||
|
||||
%pre
|
||||
%service_add_pre blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service
|
||||
|
||||
@ -292,6 +300,9 @@ rm %{buildroot}%{_libdir}/pkgconfig/devmapper*.pc
|
||||
%{_sbindir}/lv*
|
||||
%{_sbindir}/pv*
|
||||
%{_sbindir}/vg*
|
||||
/sbin/lv*
|
||||
/sbin/pv*
|
||||
/sbin/vg*
|
||||
%{_sbindir}/rcblk-availability
|
||||
%{_sbindir}/rclvm2-lvmetad
|
||||
%{_sbindir}/rclvm2-monitor
|
||||
|
Loading…
Reference in New Issue
Block a user