Re: 10.0 Kernel build (link) failure
Ede Wolf <[email protected]> Sun, 4 Aug 2024 13:26:12 +0200
| Newsgroups | gmane.os.netbsd.ports.alpha |
|---|---|
| Message-ID | <[email protected]> |
Again, thanks very much for your time and explanation! Am 02.08.24 um 18:16 schrieb Martin Husemann: > 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