testlab.bbclass: use opkg.conf from staging, always specify tmp_dir in opkg-cl call...
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 24 Feb 2010 09:22:47 +0000 (09:22 +0000)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 25 Feb 2010 08:37:02 +0000 (09:37 +0100)
commit13555b5d9620b78e6e4d8f88de551f79a90e76c6
tree2fefd5a512f4bf95ccad5922b3fc5050afbc629e
parent2f3568adab6d26f8f5c6beedd339998a5ed3a9b5
testlab.bbclass: use opkg.conf from staging, always specify tmp_dir in opkg-cl call with -t parameter

* Use opkg.conf from staging in the same way as do_rootfs does
* 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)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Koen Kooi <koen@openembedded.org>
classes/testlab.bbclass