]> code.ossystems Code Review - openembedded-core.git/commit
rpm: realpath is required before expanding _dbpath in chroot
authorMing Liu <ming.liu@windriver.com>
Tue, 21 Oct 2014 11:10:54 +0000 (19:10 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 10:17:22 +0000 (10:17 +0000)
commit4b9ae27e3ac9cf55bff5418fe884738b8ec5ab9b
treec99657a30309dc07e54d5be9c5a96fa8414b539d
parent68954e7e62b8b494168bf83fec517e751c679b21
rpm: realpath is required before expanding _dbpath in chroot

A regression is introduced by commit 66573093:
[ rpm: Fix rpm relocation macro usage ]

_usr turned out to be a relative path to support dyanmic config after
that, but it's being used somewhere as a indicator to locate substrings,
so we must get the real path of it in advance.

(From OE-Core rev: 1247955a907f51aac7efd305d26856e263c11a65)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/rpm/rpm/rpm-realpath.patch [new file with mode: 0644]
meta/recipes-devtools/rpm/rpm_5.4+cvs.bb
meta/recipes-devtools/rpm/rpm_5.4.14.bb