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

@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
"unpackPhase"
"butcherPkgconfig"
"extraPatchPhase"
"patchPhase"
"patchScripts"
"configurePhase"
"checkConfigurationPhase"
@ -48,6 +49,10 @@ stdenv.mkDerivation rec {
"installPhase"
];
patches = [
./cmdline-cookie.patch
];
# this is here to work around what I think is a bug in nixpkgs
# packaging of ncurses: it installs pkg-config data files which
# don't produce any -L options when queried with "pkg-config --lib