From: Zac Medico Date: Mon, 27 Dec 2010 22:47:28 +0000 (-0800) Subject: unmerge: ignore rmdir EPERM from mount point X-Git-Tag: v2.2.0_alpha11~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ea30a50c3b0c32eed3169906a51d16b19cb5793f;p=portage.git unmerge: ignore rmdir EPERM from mount point This will fix bug #349757. --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 8e3f9bae4..9f75da21b 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1767,7 +1767,8 @@ class dblink(object): ignored_rmdir_errnos = ( errno.EEXIST, errno.ENOTEMPTY, errno.EBUSY, errno.ENOENT, - errno.ENOTDIR, errno.EISDIR) + errno.ENOTDIR, errno.EISDIR, + errno.EPERM) modprotect = os.path.join(self._eroot, "lib/modules/") def unlink(file_name, lstatobj):