Fix zypp fail to download packages
authorHuanhuan Li <huanhuanx.li@intel.com>
Mon, 3 Mar 2014 07:03:11 +0000 (15:03 +0800)
committerHuanhuan Li <huanhuanx.li@intel.com>
Mon, 3 Mar 2014 08:37:39 +0000 (16:37 +0800)
commit7ec2306f2cb28cd7a070c1632397b956bb1ea4b4
tree8d7d17f141e6896972fc97b656430d885272aadd
parent0d35495cda35a57da492a18a4bf3e7e95b50a024
Fix zypp fail to download packages

If we changed all configuration in '/etc/mic/mic.conf' to other dirs
like '/home/build/xx' instead of '/var/tmp/xx', mic wouldn't mount
or create '/var/tmp' any more, then it would result in zypp can't download
packages, becuase zypp will use '/var/tmp' to build cache as default

Fixes: #1623

Change-Id: I6f69c4a6f9655f70d3cbfa6670756255bca171a4
plugins/backend/zypppkgmgr.py