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.1.9.27~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a92ecbc4f59a6ab6ebc124cb8adc4586b9855a2c;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 863fa19a6..9955cde1d 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1766,7 +1766,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):