cleanup zypp credential file to fix conflicts during installing
authorGui Chen <gui.chen@intel.com>
Mon, 21 Jan 2013 07:50:39 +0000 (15:50 +0800)
committerGui Chen <gui.chen@intel.com>
Mon, 21 Jan 2013 17:38:02 +0000 (01:38 +0800)
commit4bc1a1ba8069fa4375add04344c53375295a317a
tree24f4da825e4e329d514c394569bcf3978cb55ead
parentaf7b0574913ae5460a378110251f4669b0c717a5
cleanup zypp credential file to fix conflicts during installing

the issue is zypp will create credential file $instroot/$home/.zypp/*.cat,
and this file only influence rpm downloading, but it cause some conflicts
issue during rpm installing for it is not owned by any package.
in this patch, it will locate the credential file to $instroot/.zypp,
then clean it up before rpm installing.

Change-Id: Ib1409b5aa57547ec8ff96ca39be07bf53894b1bf
Signed-off-by: Gui Chen <gui.chen@intel.com>
plugins/backend/zypppkgmgr.py