summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-09-21 03:28:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-09-21 03:28:54 +0200
commit50b716ced8c5af2b9560c212a990bb997b0a1fd7 (patch)
tree24d1c8b1434db3bdfda4132b7e717b731bb119fb /scripts
parent40480aab2e8f92f2e9941520591bffed7d3da053 (diff)
add some debug output, which has the nice side effect to fix timing issues while creating filesystems while partition tables isn't uptodate
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")