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:
parent
a2bb55e885
commit
92284fa9ba
@ -19,7 +19,7 @@ in
|
||||
./outputs/uimage.nix
|
||||
./outputs/updater
|
||||
./outputs/ubimage.nix
|
||||
./outputs/mtdimage.nix
|
||||
# ./outputs/mtdimage.nix
|
||||
];
|
||||
options = {
|
||||
system.outputs = {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user