Lines 11-16
from _emerge.BinpkgEnvExtractor import BinpkgEnvExtractor
Link Here
|
11 |
from _emerge.MiscFunctionsProcess import MiscFunctionsProcess |
11 |
from _emerge.MiscFunctionsProcess import MiscFunctionsProcess |
12 |
from _emerge.EbuildProcess import EbuildProcess |
12 |
from _emerge.EbuildProcess import EbuildProcess |
13 |
from _emerge.CompositeTask import CompositeTask |
13 |
from _emerge.CompositeTask import CompositeTask |
|
|
14 |
from portage.package.ebuild.prepare_build_dirs import _prepare_workdir |
14 |
from portage.util import writemsg |
15 |
from portage.util import writemsg |
15 |
|
16 |
|
16 |
try: |
17 |
try: |
Lines 216-223
class EbuildPhase(CompositeTask):
Link Here
|
216 |
if self.phase == "unpack": |
217 |
if self.phase == "unpack": |
217 |
# Bump WORKDIR timestamp, in case tar gave it a timestamp |
218 |
# Bump WORKDIR timestamp, in case tar gave it a timestamp |
218 |
# that will interfere with distfiles / WORKDIR timestamp |
219 |
# that will interfere with distfiles / WORKDIR timestamp |
219 |
# comparisons as reported in bug #332217. |
220 |
# comparisons as reported in bug #332217. Also, fix |
|
|
221 |
# ownership since tar can change that too. |
220 |
os.utime(settings["WORKDIR"], None) |
222 |
os.utime(settings["WORKDIR"], None) |
|
|
223 |
_prepare_workdir(settings) |
221 |
elif self.phase == "install": |
224 |
elif self.phase == "install": |
222 |
out = io.StringIO() |
225 |
out = io.StringIO() |
223 |
_post_src_install_write_metadata(settings) |
226 |
_post_src_install_write_metadata(settings) |
224 |
- |
|
|