diff options
-rwxr-xr-x | scripts/install.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index df39ba9f8..80d08293f 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -209,7 +209,6 @@ case $ostype { } function create_fs { (( quiet )) || print "Creating filesystem on ${1}..." - partprobe $tgt mkfs.$3 "$1" } function tune_fs { @@ -498,6 +497,11 @@ else fi dd if="$T/firsttrack" of="$tgt" > /dev/null 2>&1 +if [[ $ostype = Linux ]]; then + partprobe $tgt + sync +fi + fwdir=$(dirname "$src") case $target { |