Accepting request 539251 from home:RBrownSUSE:branches:Base:System
- Correct %post compatibility symlink for /usr/lib/sysimage/rpm OBS-URL: https://build.opensuse.org/request/show/539251 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=408
This commit is contained in:
parent
c3b54b9f96
commit
9f511d469d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 6 10:05:10 UTC 2017 - rbrown@suse.com
|
||||
|
||||
- Correct %post compatibility symlink for /usr/lib/sysimage/rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 26 12:10:16 UTC 2017 - rbrown@suse.com
|
||||
|
||||
|
2
rpm.spec
2
rpm.spec
@ -387,7 +387,7 @@ echo -n "%{_target_cpu}-suse-linux-gnueabi" > %{buildroot}/etc/rpm/platform
|
||||
# var/lib/rpm migration: set forwards compatible symlink for /usr/lib/sysimage/rpm so scriptlets in same transaction will still work
|
||||
if (test ! -L var/lib/rpm) && (test -f var/lib/rpm/Packages) ; then
|
||||
rmdir usr/lib/sysimage/rpm
|
||||
ln -s ../../var/lib/rpm usr/lib/sysimage/rpm
|
||||
ln -s ../../../var/lib/rpm usr/lib/sysimage/rpm
|
||||
fi
|
||||
|
||||
test -f usr/lib/sysimage/rpm/Packages || rpmdb --initdb
|
||||
|
Loading…
Reference in New Issue
Block a user