fix(zyxel/nwa50ax): ubi cannot run on phram

Discovered the hard way.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-08-26 18:55:58 +02:00 committed by Ryan Lahfa
parent 85bfe94429
commit c1e61d6af5
5 changed files with 42 additions and 24 deletions

View file

@ -29,13 +29,6 @@ in
};
boot.initramfs.enable = true;
# In TFTP, the device named "rootfs" is the UBI device.
# We tell the kernel to load it.
# This avoids interference from the other UBI volumes.
boot.tftp.commandLine = [
"ubi.mtd=rootfs"
];
system.outputs.rootfs =
let
inherit (pkgs.pkgsBuildBuild) runCommand;