summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorOlof Johansson <olof.johansson@axis.com>2018-07-03 14:00:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-19 10:53:52 +0100
commit66051c128d23636974e24a9f9591c4acf81a512f (patch)
tree880c6c3b3b64e5bf5c727c651f3a464f98a21fec /meta/recipes-support
parent5a1a699415f8c94700bf4306e3c6bdf61fcba5a7 (diff)
downloadpoky-66051c128d23636974e24a9f9591c4acf81a512f.tar.gz
rpm: Avoid leaking temporary scriplet files
RPM writes each package scriptlet (post-/preinstall) to /var/tmp/rpm-tmp.XXXXXX --- a lot of files potentially gets 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). Normally, the temporary files would have been written to the tmp directory of the target sysroot (which we can easily clean up), but in this tree, you can't necessarily run the scriptlets. Fixes [YOCTO #12792] (From OE-Core rev: ffb0ece83e74797f4c3da3866bb3d691c388a5e5) (From OE-Core rev: f0e1683d53e3b7436c04d665a181cdf5909e987c) Signed-off-by: Olof Johansson <olofjn@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
0 files changed, 0 insertions, 0 deletions