Browse Source

Merge pull request #49 from mirzak/remove-wipe-fs

remove erase_filesystem function
1.0.x
DominikAdamski 6 years ago
committed by GitHub
parent
commit
157a1ef06f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      mender-convert-functions.sh

9
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

Loading…
Cancel
Save