aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-08-20 13:56:51 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2023-02-03 11:34:20 +0100
commit3b80b8e560a0d1414c2ed9f2a2e0e1cc3e0e0e87 (patch)
tree1baf5c47648c05213a638dcbc5778d6b044873cd /target
parent7be11ee35ec5b95d9629ce316fbf1a91439b2f02 (diff)
downloadupstream-3b80b8e560a0d1414c2ed9f2a2e0e1cc3e0e0e87.tar.gz
upstream-3b80b8e560a0d1414c2ed9f2a2e0e1cc3e0e0e87.tar.bz2
upstream-3b80b8e560a0d1414c2ed9f2a2e0e1cc3e0e0e87.zip
mvebu/uDPU: remove echo y
It's a bit of a hack. mkfs.ext4 has an -F parameter that does the same thing. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh b/target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh
index 1d65a5437b..437222e08a 100644
--- a/target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh
+++ b/target/linux/mvebu/cortexa53/base-files/lib/upgrade/uDPU.sh
@@ -82,11 +82,11 @@ udpu_do_misc_prep() {
udpu_do_initial_setup() {
# Prepare /recovery parition
udpu_part_prep ${emmc_dev}p2
- mkfs.ext4 -q ${emmc_dev}p2 | echo y &> /dev/null
+ mkfs.ext4 -qF ${emmc_dev}p2 2>&1 /dev/null
# Prepare /boot partition
udpu_part_prep ${emmc_dev}p1
- mkfs.ext4 -q ${emmc_dev}p1 | echo y &> /dev/null
+ mkfs.ext4 -qF ${emmc_dev}p1 2>&1 /dev/null
# Prepare /root partition
printf "Formating /root partition, this may take a while..\n"