]> code.ossystems Code Review - openembedded-core.git/commit
rpm: fix multilib macro installation
authorChen Qi <Qi.Chen@windriver.com>
Tue, 15 Nov 2016 06:31:06 +0000 (14:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Nov 2016 11:02:29 +0000 (11:02 +0000)
commit40e92de46489bdab0af48fedc46c0d153355f15c
tree2653c3724c5f7dc84469548308106a7c8632d075
parent17cd2cb99d3610fd77595ff116b2168188c250cd
rpm: fix multilib macro installation

For now, the rpm macro for multilib is not installed correctly. For
example, in x86-64 lib32 situation, the macro is installed under
tmp/work/x86-pokymllib32-linux/rpm/5.4.16-r0/image/usr/lib/rpm/poky/i686-linux/.

The directory is even not under WORKDIR. And it will of course not be
packaged.

We need to save necessary values before updating the localdata and restore
them so that the macros could be installed into the correct directory.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/rpm/rpm_5.4.16.bb