From c922791ab3d4413f78c55184aef55e2c9ef1401c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 2 Apr 2009 17:58:39 +0000 Subject: Inside tar_contents(), don't emulate tar --numeric-id option. The uid/gid might be different on the system where the package will be installed, so we need to store the actual user/group name in the tar file. svn path=/main/trunk/; revision=13281 --- pym/portage/dbapi/vartree.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'pym') diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 061622b16..833ba3102 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -4068,9 +4068,6 @@ def tar_contents(contents, root, tar, protect=None, onProgress=None): # can properly extract it's children. live_path = os.path.realpath(live_path) tarinfo = tar.gettarinfo(live_path, arcname) - # store numbers instead of real names like tar's --numeric-owner - tarinfo.uname = id_strings.setdefault(tarinfo.uid, str(tarinfo.uid)) - tarinfo.gname = id_strings.setdefault(tarinfo.gid, str(tarinfo.gid)) if stat.S_ISREG(lst.st_mode): # break hardlinks due to bug #185305 -- cgit v1.2.3-1-g7c22