Commit 034efd83 authored by Dmitry Shachnev's avatar Dmitry Shachnev 🐧

Do not use faketime at all when asked to not vary time.

Closes: #930592.
parent dbca954a
......@@ -357,6 +357,8 @@ def timezone(ctx, build, vary):
@tool_required("faketime")
def faketime(ctx, build, vary):
if "time" not in ctx.spec:
return build
if not vary:
# fix the time at base_faketime
faket = ctx.base_faketime
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment