Keep /etc/mtab intact if it is a symlink and clean up yum cache
authorYi Yang <yi.y.yang@intel.com>
Tue, 31 May 2011 20:28:07 +0000 (04:28 +0800)
committerYi Yang <yi.y.yang@intel.com>
Tue, 31 May 2011 20:28:07 +0000 (04:28 +0800)
commitdbfb59f88aeffd86a62cea363df2da95bcd702e5
tree41b0c3916941109ef9e0f46df499eb15e4e24f57
parent391306d1421a736aa794f5a661d44200b136e09e
Keep /etc/mtab intact if it is a symlink and clean up yum cache

Note: we're using zypp, so directories yum create are
helpless, this commit removes /var/lib/yum and /var/cache/yum
completely, thus fixed bug #17878, too.
mic/imgcreate/creator.py