rootfs_ipk.bbclass: always specify tmp_dir in opkg-cl call with -t parameter
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 24 Feb 2010 18:19:03 +0000 (19:19 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Wed, 24 Feb 2010 19:10:40 +0000 (20:10 +0100)
commit046c7c5f1cdec5c92f6a365d8846ba33986277b6
tree3cb33271c6b0cea9a4df9124ffd091191fd8407b
parentfe7f6581e7f238552de8230d6e61c00590be22cf
rootfs_ipk.bbclass: always specify tmp_dir in opkg-cl call with -t parameter

* When option tmp_dir is used in opkg.conf installed on rootfs then it's
  used also in do_rootfs call and points to probably non-existent directory
  on buildhost like /var/lib/opkg/tmp.
* The value of tmp_dir from rootfs is used even with another config file
  specified with -c parameter
* Before this, it was using default value (/tmp) on buildhost, now it will use
  own "${IMAGE_ROOTFS}-tmp" and remove it after do_rootfs finish
  (usually already empty inside, cleaned by opkg itself)
* Similar patch for testlab.bbclass will follow

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
classes/rootfs_ipk.bbclass