source_date_epoch

This commit is contained in:
Hannes Mehnert 2018-10-31 23:44:06 +01:00
parent bed90d7a0b
commit 5392b6e3b3

View file

@ -51,4 +51,5 @@ sed -e "s:%%GITVER%%:${gitver}:" -e "s:%%FLATSIZE%%:${flatsize}:" \
printf '}\n'
} | sed -e "s:${rootdir}::" >> "$manifest"
export SOURCE_DATE_EPOCH=$(git log -1 --pretty=format:%ct)
pkg create -r "$rootdir" -M "$manifest" -o $basedir/_build/