diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-12 20:16:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-12 21:25:10 +0100 |
commit | 6703173449ad21e1623ac75a66535cb2ed52aeeb (patch) | |
tree | 289833e67f3162fc7fa0e7e56d40e2999da8753b /scripts/lib/devtool/export.py | |
parent | d74c5aa2c92f0306bd5a879bb75c1399b27b9e8b (diff) | |
download | poky-6703173449ad21e1623ac75a66535cb2ed52aeeb.tar.gz |
package_rpm.bbclass: Set tmppath for rpm to somewhere which won't conflict with the rootfs1.2_M4.rc3.2
If the rootfs has a specific layout in mind for /var/tmp, it should be
free to create this. Preinst scripts trigger rpm to create its tmppath
directory which could potentially conflict with this.
We're seeing issues if the provider of the /var/tmp wants to use a symlink
and a preinst script executes before it has been installed. This change
places tmppath as used by rpm somewhere safe which is already automatically
cleaned up too.
(From OE-Core rev: 71e95c744eaa4dda1b3237db2e13f666f121c92b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/export.py')
0 files changed, 0 insertions, 0 deletions