lorax: Log when SOURCE_DATE_EPOCH is used for the current time
(cherry picked from commit 5409748e75
)
This commit is contained in:
parent
e2366fd0c0
commit
ccb11427d0
@ -173,6 +173,9 @@ def main():
|
||||
raise ValueError("Missing '=' for key=value in " % kv)
|
||||
parsed_add_arch_template_vars[k] = v
|
||||
|
||||
if 'SOURCE_DATE_EPOCH' in os.environ:
|
||||
log.info("Using SOURCE_DATE_EPOCH=%s as the current time.", os.environ["SOURCE_DATE_EPOCH"])
|
||||
|
||||
# run lorax
|
||||
lorax = pylorax.Lorax()
|
||||
lorax.configure(conf_file=opts.config)
|
||||
|
Loading…
Reference in New Issue
Block a user