From 5bf1a89062dd181b6dcbe5188c6f96880e760976 Mon Sep 17 00:00:00 2001 From: Mirza Krak Date: Mon, 19 Nov 2018 15:51:58 +0100 Subject: [PATCH] remove erase_filesystem function It has no users. Changelog: None Signed-off-by: Mirza Krak --- mender-convert-functions.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mender-convert-functions.sh b/mender-convert-functions.sh index c2c0a4a..6afee9c 100755 --- a/mender-convert-functions.sh +++ b/mender-convert-functions.sh @@ -381,15 +381,6 @@ unmount_partitions() { fi } -# Takes following arguments: -# -# $1 - raw disk image -erase_filesystem() { - log "Erase filesystem..." - sudo wipefs --all --force ${1}?* - sudo dd if=/dev/zero of=${1} bs=1M count=100 -} - # Takes following arguments: # # $1 - raw disk image path