On Mon, 9 Sep 2019 at 12:58, Zheng Ruoqin <[email protected]>
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
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core