On 18-06-26 12:33 +0200, Alexander Kanavin wrote: > I believe the culprit is likely this patch: > http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch > > As scriptlets are executed outside of rpm's chroot, they are being > written into system's /var/tmp, not rootfs's. This patch should > probably be amended to prepend the rootfs path when scriptlets are > written out, and then we should be sorted.
Is that not a more invasive change than just removing the tmp files unconditionally (especially in terms of maintainability)? I'm not even sure how exactly to do that, but I'm obviously missing something. For instance, is there a way to manipulate the global rpmMacroContext temporarily? But your theory seems to be right, no /var/tmp/rpm-tmp.* files are created if i drop the patch (but some scripts fail, as expected). -- olofjn -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
