SHA256
3
0
forked from pool/rpm

Accepting request 539253 from Base:System

OBS-URL: https://build.opensuse.org/request/show/539253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=251
This commit is contained in:
Dominique Leuenberger 2017-11-06 10:44:41 +00:00 committed by Git OBS Bridge
commit 3d70affecb
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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