Merge pull request #2 from dguibert/dg/linux-kernel-target

rename hostPlatform.platform.kernelTarget to hostPlatform.linux-kernel.target
This commit is contained in:
Graham Christensen 2021-04-25 14:58:28 -04:00 committed by GitHub
commit 2aeeddf3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ in
runCommand "netboot" { runCommand "netboot" {
pxe = '' pxe = ''
#!ipxe #!ipxe
kernel ${pkgs.stdenv.hostPlatform.platform.kernelTarget} init=${config.system.build.toplevel}/init ${cmdlineinitrds} ${toString config.boot.kernelParams} kernel ${pkgs.stdenv.hostPlatform.linux-kernel.target} init=${config.system.build.toplevel}/init ${cmdlineinitrds} ${toString config.boot.kernelParams}
${builtins.concatStringsSep "\n" (builtins.attrValues (builtins.mapAttrs (name: path: "initrd ${name}") initrds))} ${builtins.concatStringsSep "\n" (builtins.attrValues (builtins.mapAttrs (name: path: "initrd ${name}") initrds))}
initrd initrd initrd initrd
boot boot
@ -19,7 +19,7 @@ runCommand "netboot" {
} '' } ''
mkdir stage mkdir stage
cd stage cd stage
ln -s "${config.system.build.kernel}/${pkgs.stdenv.hostPlatform.platform.kernelTarget}" ./ ln -s "${config.system.build.kernel}/${pkgs.stdenv.hostPlatform.linux-kernel.target}" ./
set -x set -x
${builtins.concatStringsSep "\n" ${builtins.concatStringsSep "\n"