linux: Don't use underscores in the timestamp

This commit is contained in:
Eelco Dolstra 2014-04-14 21:06:04 +02:00
parent 269bd7ef83
commit 73b4b287bb

View File

@ -100,12 +100,13 @@ let
ln -sv ${configfile} $buildRoot/.config ln -sv ${configfile} $buildRoot/.config
make $makeFlags "''${makeFlagsArray[@]}" oldconfig make $makeFlags "''${makeFlagsArray[@]}" oldconfig
runHook postConfigure runHook postConfigure
buildFlagsArray+=("KBUILD_BUILD_TIMESTAMP=Thu Jan 1 00:00:01 UTC 1970")
''; '';
buildFlags = [ buildFlags = [
"KBUILD_BUILD_VERSION=1-NixOS" "KBUILD_BUILD_VERSION=1-NixOS"
"KBUILD_BUILD_TIMESTAMP=Thu_Jan__1_00:00:01_UTC_1970" platform.kernelTarget
platform.kernelTarget
] ++ optional isModular "modules"; ] ++ optional isModular "modules";
installFlags = [ installFlags = [