Skip to content

Commit

Permalink
Don't display broken rootfs size variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mac2612 committed Mar 29, 2021
1 parent 8aeab60 commit 0bba526
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions remote_flash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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'
Expand Down

0 comments on commit 0bba526

Please sign in to comment.