Re: [OE-core] [PATCH] nativesdk-rpm: Add wrappers for nativesdk support

2018-02-27 Thread Mark Hatle
On 2/27/18 8:09 AM, Alexander Kanavin wrote: > On 02/27/2018 03:45 PM, Ovidiu Panait wrote: >> +do_install_append_class-nativesdk() { >> +tools="\ >> +${bindir}/rpm \ >> +${bindir}/rpm2archive \ >> +${bindir}/rpm2cpio \ >> +${b

Re: [OE-core] [PATCH] nativesdk-rpm: Add wrappers for nativesdk support

2018-02-27 Thread Alexander Kanavin
On 02/27/2018 03:45 PM, Ovidiu Panait wrote: +do_install_append_class-nativesdk() { +tools="\ +${bindir}/rpm \ +${bindir}/rpm2archive \ +${bindir}/rpm2cpio \ +${bindir}/rpmbuild \ +${bindir}/rpmdb \ +

[OE-core] [PATCH] nativesdk-rpm: Add wrappers for nativesdk support

2018-02-27 Thread Ovidiu Panait
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/poky/2.4+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/rpm/rpmrc for reading: No such file or directory. Fix this by adding wrappers that dynamically