diff --git a/modules/outputs.nix b/modules/outputs.nix index 85e66d5d..6bd8e650 100644 --- a/modules/outputs.nix +++ b/modules/outputs.nix @@ -19,7 +19,7 @@ in ./outputs/uimage.nix ./outputs/updater ./outputs/ubimage.nix - ./outputs/mtdimage.nix +# ./outputs/mtdimage.nix ]; options = { system.outputs = { diff --git a/modules/outputs/mtdimage.nix b/modules/outputs/mtdimage.nix index d817679d..99a09eaf 100644 --- a/modules/outputs/mtdimage.nix +++ b/modules/outputs/mtdimage.nix @@ -60,6 +60,7 @@ in { config = { kernel = { config = { + # this needs to be conditional on "not qemu" MTD_SPLIT_UIMAGE_FW = "y"; } // lib.optionalAttrs (pkgs.stdenv.isMips) { # https://stackoverflow.com/questions/26466470/can-the-logical-erase-block-size-of-an-mtd-device-be-increased