[OE-core] [PATCH] rpm: make rpm work in toolchain.
Alexander Kanavin
alex.kanavin at gmail.com
Mon Sep 9 11:07:03 UTC 2019
On Mon, 9 Sep 2019 at 12:58, Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
wrote:
> rm -rf ${D}/var
> + install -d ${D}/${SDKTARGETSYSROOT}/etc/rpm
>
Why not simply ${D}/etc/rpm?
> + sed -i 's/-nativesdk//g' ${D}/${SDKTARGETSYSROOT}/etc/rpmrc
> + sed -i 's/-/_/' ${D}/${SDKTARGETSYSROOT}/etc/rpmrc
>
What do these two sed commands do? If we create /etc/rpmrc just above, can
it have the right content from the beginning?
"
> +FILES_${PN}_append_class-nativesdk += "${SDKTARGETSYSROOT}"
>
Same question: why is ${SDKTARGETSYSROOT} needed? The configuration files
should be in /etc, and rpm should be instructed to pick them up from there,
same way as it is done for -native variant when building an image.
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190909/d8e6c790/attachment.html>
More information about the Openembedded-core
mailing list