[OE-core] [PATCH] rpm: Avoid leaking temporary scriplet files
Alexander Kanavin
alex.kanavin at gmail.com
Mon Jun 25 13:25:09 UTC 2018
2018-06-25 11:27 GMT+02:00 Olof Johansson <olof.johansson at axis.com>:
> RPM writes each package scriptlet (post-/preinstall) to /var/tmp/rpm-tmp.XXXXXX
> --- a lot of files get created. When debugging is enabled, these temporary
> scriptlet files aren't cleaned up at all and after a while this results in the
> filesystem resources are eaten up (like running out of available inodes).
>
> This is a quick fix to avoid this. It does degrade functionality for
> those working with debugging pre-/postintall scripts.
It's better to clean them up in meta/lib/oe/rootfs.py, instead of
forever carrying a custom patch to rpm.
Alex
More information about the Openembedded-core
mailing list