]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rpm: fix multilib macro installation ChenQi/rpm-macros
authorChen Qi <Qi.Chen@windriver.com>
Tue, 15 Nov 2016 03:01:44 +0000 (11:01 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Tue, 15 Nov 2016 06:11:36 +0000 (14:11 +0800)
commit77d67e1026284cb6061e1e3e785b4d30b6b0192c
tree281c6406c43b32af8bac7733f6f3b427eb3d15ef
parent9303d8055c45a0f6af295d70a6f6a8b9d8d8a7c9
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>
meta/recipes-devtools/rpm/rpm_5.4.16.bb