summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-27 23:01:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-27 23:01:16 +0200
commita6b6699daff82984218f0d804de1cd0660ec1ab2 (patch)
tree81057b3cf385e6a8b9b113185a25f3931df55768 /scripts
parentb38c81ca8279b8f3bfd9af57d200c147349ffa8d (diff)
fix timing problem
- there seems to be a timing problem, when changing partition id. cf disk partition was always empty. strange.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 520d166a2..5cb5e01f4 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -156,7 +156,9 @@ if [ $rb532 -ne 0 ];then
$parted -s $1 set 1 boot on
$sfdisk --change-id $1 1 27
$sfdisk --change-id $1 3 88
- dd if=$3 of=${1}1
+ sleep 2
+ sync
+ dd if=$3 of=${1}1 bs=2048
sync
else
rootpart=${1}1