From 0bba52604e3524d066acd683848df194e4bde677 Mon Sep 17 00:00:00 2001 From: mac2612 Date: Sun, 28 Mar 2021 23:43:51 -0400 Subject: [PATCH] Don't display broken rootfs size variable --- remote_flash.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/remote_flash.sh b/remote_flash.sh index 73e52b8..3ae8454 100755 --- a/remote_flash.sh +++ b/remote_flash.sh @@ -63,7 +63,6 @@ nand_flash_kernel () { nand_flash_rfs () { rfs_path=$1 - # Size of the rootfs to be flashed, in bytes. echo -n "Flashing the root filesystem..." ${SSH} "/usr/sbin/ubiformat -y $RFS_PARTITION" ${SSH} "/usr/sbin/ubiattach -p $RFS_PARTITION" @@ -74,7 +73,7 @@ nand_flash_rfs () { # Note: We used to use a ubifs image here, but now use a .tar.gz. # This removes the need to care about PEB/LEB sizes at build time, # which is important as some LF2000 models (Ultra XDi) have differing sizes. - echo "Writing rootfs image ($rfs_size bytes)..." + echo "Writing rootfs image..." cat $rfs_path | ${SSH} "gunzip -c | tar x -f '-' -C /mnt/root" ${SSH} "umount /mnt/root" ${SSH} '/usr/sbin/ubidetach -d 0'