Merge branch 'make-the-kernel-build-repeatable' of git://github.com/alexanderkjeldaas/nixpkgs

Make the kernel build and initrd generation binary repeatable (#2128)
This commit is contained in:
Shea Levy
2014-04-06 17:02:16 -04:00
6 changed files with 40 additions and 5 deletions

View File

@@ -102,7 +102,11 @@ let
runHook postConfigure
'';
buildFlags = [ "KBUILD_BUILD_VERSION=1-NixOS" platform.kernelTarget ] ++ optional isModular "modules";
buildFlags = [
"KBUILD_BUILD_VERSION=1-NixOS"
"KBUILD_BUILD_TIMESTAMP=Thu_Jan__1_00:00:01_UTC_1970"
platform.kernelTarget
] ++ optional isModular "modules";
installFlags = [
"INSTALLKERNEL=${installkernel}"