On Fri, Aug 02, 2024 at 05:52:35PM +0200, Ede Wolf wrote:
Just out of curiosity, how would I correctly add MKREPRO_TIMESTAMP to
mk.conf?
This is a per-build flag, so mk.conf is not a good place for it.
In case you want to reproduce a previous build you set it to the same
timestamp used for that (old) build, otherwise you can just pick the
current time or the last change to the repository (which is what -P does).
To set it to the current time you can use something like:
./build.sh -V MKREPRO=yes -V MKREPRO_TIMESTAMP=$( date "+%s" )
The variable just is the unix time (seconds since jan 1, 1970) in decimal.
Martin