1
0
forked from dan/liminix

mtdimage can't be a default import

it adds kernel config that depend on openwrt patches,
which aren't used/needed on all devices
This commit is contained in:
Daniel Barlow 2025-01-03 00:19:17 +00:00
parent a2bb55e885
commit 92284fa9ba
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ in
./outputs/uimage.nix
./outputs/updater
./outputs/ubimage.nix
./outputs/mtdimage.nix
# ./outputs/mtdimage.nix
];
options = {
system.outputs = {

View File

@ -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