summaryrefslogtreecommitdiff
path: root/package/adkinstall
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-27 23:44:03 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-27 23:44:13 -0600
commitd3edb850913a1c0beafa427661ac996f76a47589 (patch)
tree040f017280c1c1ab1427c1b4ecf9d2b935a9ae99 /package/adkinstall
parente4b7cb8506c7540ba2e2ab6d974cbe7fb7b1ab6d (diff)
partprobe required to let the kernel recognize the partition table
Diffstat (limited to 'package/adkinstall')
-rw-r--r--package/adkinstall/src/adkinstall3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/adkinstall/src/adkinstall b/package/adkinstall/src/adkinstall
index 6047ce503..8ddd8a367 100644
--- a/package/adkinstall/src/adkinstall
+++ b/package/adkinstall/src/adkinstall
@@ -236,6 +236,7 @@ case $target {
create_partition /dev/sda ext2 $(($rootsize+1)) $(($maxsize-1))
set_boot_flag /dev/sda 1
change_part_type /dev/sda 2 88
+ partprobe /dev/sda
create_filesystem /dev/sda $fs 1
mdev -s
mount_fs /dev/sda 1 $fs /mnt
@@ -251,6 +252,7 @@ case $target {
create_partition /dev/sda ext2 $(($rootsize+1)) $(($maxsize-1))
set_boot_flag /dev/sda 1
change_part_type /dev/sda 2 88
+ partprobe /dev/sda
create_filesystem /dev/sda $fs 1
mdev -s
mount_fs /dev/sda 1 $fs /mnt
@@ -269,6 +271,7 @@ case $target {
set_boot_flag /dev/sda 1
change_part_type /dev/sda 1 27
change_part_type /dev/sda 3 88
+ partprobe /dev/sda
create_filesystem /dev/sda $fs 2
mdev -s
mount_fs /dev/sda 2 $fs /mnt