diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2018-05-25 10:48:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-29 21:07:17 +0100 |
commit | 3b0e1e22753065ff18c55d84349538fba808fff0 (patch) | |
tree | a86ec76e3e7855ce5e698978716b78215d71d3e2 /bitbake/lib/bb/fetch2 | |
parent | c9fc9110be33fe0f24bc3a7c242b584a4ca33e04 (diff) | |
download | poky-3b0e1e22753065ff18c55d84349538fba808fff0.tar.gz |
nativesdk-rpm: Add wrappers for nativesdk support
When installing the SDK to a non-default path, running "rpm --showrc" from the
sdk will produce the following error:
error: Unable to open /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or directory.
Fix this by adding wrappers that dynamically export the RPM_CONFIGDIR,
RPM_ETCCONFIGDIR and MAGIC environment variables, pointing to the proper
sdk locations.
(From OE-Core rev: 760103cdaed3e820888d8984ec0b76cfc831d534)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
0 files changed, 0 insertions, 0 deletions