]> code.ossystems Code Review - openembedded-core.git/commit
package_manager.py: specify tmpdir for opkg
authorChen Qi <Qi.Chen@windriver.com>
Wed, 15 Jun 2016 09:40:56 +0000 (17:40 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jun 2016 13:21:37 +0000 (14:21 +0100)
commit5665e284b7e7ee071201664dc50a3412bd4ac8cd
treed3e6e90463538538a1ea574a275a115498694e4e
parentb9409863af71899e02275439949e3f4cdfaf2d0f
package_manager.py: specify tmpdir for opkg

Specify tmpdir for opkg via '-t' option so that opkg does not use
the default 'TMPDIR' which usually is '/tmp' on build host.

This would solve race problems like below.

  sh: /tmp/opkg-rOG6Tl/opkg-intercept-iPoEp5/depmod: Permission denied

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/package_manager.py