Pipeline: Pass down the source-epoch to stages via the meta key

This can be used by stages that wish to support more reproducible
builds.
This commit is contained in:
Alexander Larsson 2022-02-04 16:08:56 +01:00 committed by Christian Kellner
parent b31c91d671
commit 0ab4a6d401

View file

@ -97,7 +97,8 @@ class Stage:
def prepare_arguments(self, args, location):
args["options"] = self.options
args["meta"] = {
"id": self.id
"id": self.id,
"source-epoch": self.source_epoch
}
# Root relative paths: since paths are different on the