mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-02 12:22:29 +00:00
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>
This commit is contained in:
parent
7be11ee35e
commit
3b80b8e560
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user