Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 323350 Details for
Bug 332217
unpacking a tar with a "./" entry into $WORKDIR changes dir timestamp
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix WORDIR ownership after unpack
EbuildPhase-fix-WORKDIR-owner-after-unpack.patch (text/plain), 1.36 KB, created by
Zac Medico
on 2012-09-10 00:35:25 UTC
(
hide
)
Description:
fix WORDIR ownership after unpack
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2012-09-10 00:35:25 UTC
Size:
1.36 KB
patch
obsolete
>From 7fa029656fc0f7b12969dac5f2f9f5e22373584c Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Sun, 9 Sep 2012 17:30:19 -0700 >Subject: [PATCH] EbuildPhase: fix WORKDIR owner after unpack > >See bug #332217, comment #24. >--- > pym/_emerge/EbuildPhase.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/pym/_emerge/EbuildPhase.py b/pym/_emerge/EbuildPhase.py >index 84e8018..61e9a6f 100644 >--- a/pym/_emerge/EbuildPhase.py >+++ b/pym/_emerge/EbuildPhase.py >@@ -11,6 +11,7 @@ from _emerge.BinpkgEnvExtractor import BinpkgEnvExtractor > from _emerge.MiscFunctionsProcess import MiscFunctionsProcess > from _emerge.EbuildProcess import EbuildProcess > from _emerge.CompositeTask import CompositeTask >+from portage.package.ebuild.prepare_build_dirs import _prepare_workdir > from portage.util import writemsg > > try: >@@ -216,8 +217,10 @@ class EbuildPhase(CompositeTask): > if self.phase == "unpack": > # Bump WORKDIR timestamp, in case tar gave it a timestamp > # that will interfere with distfiles / WORKDIR timestamp >- # comparisons as reported in bug #332217. >+ # comparisons as reported in bug #332217. Also, fix >+ # ownership since tar can change that too. > os.utime(settings["WORKDIR"], None) >+ _prepare_workdir(settings) > elif self.phase == "install": > out = io.StringIO() > _post_src_install_write_metadata(settings) >-- >1.7.12 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 332217
:
242385
|
242759
|
323348
| 323350