aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/cortexa53/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/cortexa53/base-files')
-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"