Merge pull request #2 from dguibert/dg/linux-kernel-target
rename hostPlatform.platform.kernelTarget to hostPlatform.linux-kernel.target
This commit is contained in:
commit
2aeeddf3a3
@ -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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user