kernel, initrd: Remove legacy ubootChooser

This commit is contained in:
Tuomas Tynkkynen
2017-11-03 15:55:09 +02:00
parent cf610f8a48
commit b50693d16c
3 changed files with 5 additions and 8 deletions

View File

@@ -12,13 +12,13 @@
# `contents = {object = ...; symlink = /init;}' is a typical
# argument.
{ stdenv, perl, cpio, contents, ubootChooser, compressor, prepend
{ stdenv, perl, cpio, contents, compressor, prepend, ubootTools
, hostPlatform
}:
let
inputsFun = ubootName : [ perl cpio ]
++ stdenv.lib.optional (ubootName != null) [ (ubootChooser ubootName) ];
++ stdenv.lib.optional (ubootName != null) ubootTools;
makeUInitrdFun = ubootName : (ubootName != null);
in
stdenv.mkDerivation {