]> 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>
Fri, 24 Oct 2014 16:31:58 +0000 (17:31 +0100)
commit1247955a907f51aac7efd305d26856e263c11a65
tree53f1bc4984222d36b5cdaeeaeeec270581d56893
parentf2f72f8ff623d24fffbb1b0ad40bc08f05ff31dd
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.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.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