From 50b716ced8c5af2b9560c212a990bb997b0a1fd7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 21 Sep 2017 03:28:54 +0200 Subject: add some debug output, which has the nice side effect to fix timing issues while creating filesystems while partition tables isn't uptodate --- scripts/install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scripts') 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") -- cgit v1.2.3