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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
9 deletions
-
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 |
|
|
|