forked from DGNum/liminix
fix(zyxel/nwa50ax): make altroot
useful
Let's use `ubi1` if it exist, as it should be the second device containing a rootfs. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
8f5ea94765
commit
ea740bbfaf
1 changed files with 2 additions and 2 deletions
|
@ -181,8 +181,8 @@
|
|||
# Aligned on 2kb.
|
||||
alignment = 2048;
|
||||
|
||||
rootDevice = "ubi:rootfs";
|
||||
alternativeRootDevice = "ubi:rootfs";
|
||||
rootDevice = "ubi0:rootfs";
|
||||
alternativeRootDevice = "ubi1:rootfs";
|
||||
|
||||
# Auto-attach MTD devices: ubi_a then ubi_b.
|
||||
ubi.mtds = [ "ubi_a" "ubi_b" ];
|
||||
|
|
Loading…
Reference in a new issue