forked from DGNum/liminix
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:
parent
85bfe94429
commit
c1e61d6af5
5 changed files with 42 additions and 24 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue