all root are not named root so give the possibility to configure this in the config file. Signed-off-by: Eric BÃnard <eric@xxxxxxxxxx> --- defaultenv/bin/boot | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot index 42c7ec2..509b463 100644 --- a/defaultenv/bin/boot +++ b/defaultenv/bin/boot @@ -34,7 +34,10 @@ else fi if [ x$rootfs_type = xubifs ]; then - bootargs="$bootargs root=ubi0:root ubi.mtd=$rootfs_mtdblock" + if [ x$ubiroot = x ]; then + ubiroot = "root" + fi + bootargs="$bootargs root=ubi0:$ubiroot ubi.mtd=$rootfs_mtdblock" else bootargs="$bootargs root=/dev/mtdblock$rootfs_mtdblock" fi -- 1.7.3.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox