summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/draklive-install b/draklive-install
index eced2d6..0dd21d6 100755
--- a/draklive-install
+++ b/draklive-install
@@ -179,6 +179,13 @@ sub ask_partitions {
mkdir_p($::prefix) or die "unable to create $::prefix";
+ # There is an unidentified condition which stops udevd from calling the
+ # BLKRRPART ioctl when the "use entire disk" solution is selected. Adding
+ # this udevadm settle' call appears to fix it (although it may just be the
+ # extra delay that does the job). Look at removing this once we switch to
+ # using libparted for all partition table types.
+ system('udevadm', 'settle');
+
fs::any::write_hds($all_hds, $fstab, undef, sub { on_reboot_needed($in) }, {});
fs::any::check_hds_boot_and_root($all_hds, $fstab);
fs::partitioning::choose_partitions_to_format($in, $fstab);