unify kernel command line handling

We now use MIPS_CMDLINE_DTB_EXTEND for all boot varieties
(tftpboot, flash boot, kexec) with the addition of
MIPS_BOOTLOADER_CMDLINE_REQUIRE_COOKIE - local patch -
so that the bootloader args are ignored unless they
contain the string "liminix"
This commit is contained in:
Daniel Barlow
2023-03-23 21:50:44 +00:00
parent 1c36f1b373
commit a5cfa37ed3
6 changed files with 74 additions and 10 deletions

View File

@@ -11,9 +11,6 @@ in {
config = {
boot.ramdisk.enable = true;
kernel.config.MIPS_CMDLINE_FROM_DTB = "y";
kernel.config.MIPS_CMDLINE_FROM_BOOTLOADER = mkForce "n";
outputs.kexecboot =
let o = config.outputs; in
pkgs.runCommand "kexecboot" {} ''