linux-4.13: mark as insecure (+required generic changes)

extraMeta was being fed as passthru without being processed by stdenv,
so without those changes, adding the security attribute would be useless.
This commit is contained in:
Vladimír Čunát
2017-12-04 09:33:39 +01:00
parent 561de381bc
commit 13797ff522
3 changed files with 11 additions and 6 deletions
+2 -5
View File
@@ -118,7 +118,7 @@ let
};
kernel = buildLinux {
inherit version modDirVersion src kernelPatches stdenv;
inherit version modDirVersion src kernelPatches stdenv extraMeta;
configfile = configfile.nativeDrv or configfile;
@@ -131,10 +131,7 @@ let
passthru = {
features = kernelFeatures;
meta = kernel.meta // extraMeta;
passthru = kernel.passthru // (removeAttrs passthru [ "passthru" "meta" ]);
passthru = kernel.passthru // (removeAttrs passthru [ "passthru" ]);
};
nativeDrv = lib.addPassthru kernel.nativeDrv passthru;