summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 09baffcdc..4a77511d6 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -118,7 +118,7 @@ shift $((OPTIND - 1))
f=0
case $ostype {
(Linux)
- tools="bc mkfs.$fs tune2fs partprobe"
+ tools="bc mkfs.ext4 mkfs.vfat tune2fs partprobe"
;;
(Darwin)
tools="bc diskutil"
@@ -504,8 +504,11 @@ fi
dd if="$T/firsttrack" of="$tgt" > /dev/null 2>&1
if [[ $ostype = Linux ]]; then
- partprobe $tgt
+ echo partprobe $tgt
+ partprobe -s $tgt
sync
+ fdisk -l $tgt
+ ls -la ${tgt}*
fi
fwdir=$(dirname "$src")