summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-02 19:00:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-02 19:00:54 +0100
commitf0a8743a60ef5a9d580d987efbf25c9cd7111daa (patch)
treeb8d40a39586df9c0e3b0d34426fe3fc06fd390ea /scripts
parent6412186eaf7c659b661a3084aa31636e43fc7639 (diff)
inform the linux kernel about the new partition table. reported on solidrun forum's to help.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 802a74a66..740dd7f7e 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -116,7 +116,7 @@ shift $((OPTIND - 1))
f=0
case $ostype {
(Linux)
- tools="bc mkfs.$fs tune2fs"
+ tools="bc mkfs.$fs tune2fs partprobe"
;;
(Darwin)
tools="bc diskutil"
@@ -207,6 +207,7 @@ case $ostype {
}
function create_fs {
(( quiet )) || print "Creating filesystem on ${1}..."
+ partprobe $tgt
mkfs.$3 "$1"
}
function tune_fs {