[archiso] Ensure that there is no .fs before create it
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
98c457c26f
commit
0d895a225a
@ -250,6 +250,7 @@ _mkfs () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
_msg_info "Creating ${_fs_type} image of ${_fs_size} MiB"
|
_msg_info "Creating ${_fs_type} image of ${_fs_size} MiB"
|
||||||
|
rm -f "${_fs_img}"
|
||||||
dd of="${_fs_img}" count=0 bs=1M seek=${_fs_size} &> /dev/null
|
dd of="${_fs_img}" count=0 bs=1M seek=${_fs_size} &> /dev/null
|
||||||
local _qflag=""
|
local _qflag=""
|
||||||
if [[ ${quiet} == "y" ]]; then
|
if [[ ${quiet} == "y" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user