From 7ab6dfb121db7ce5bac58ce8eadc3f004da29d26 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sat, 31 Mar 2018 10:34:00 +0200 Subject: [PATCH] run partprobe after deleting partition table --- addon/lib/rmupdate.tcl | 1 + 1 file changed, 1 insertion(+) diff --git a/addon/lib/rmupdate.tcl b/addon/lib/rmupdate.tcl index 427102d..fe2a31f 100644 --- a/addon/lib/rmupdate.tcl +++ b/addon/lib/rmupdate.tcl @@ -395,6 +395,7 @@ proc ::rmupdate::get_partion_start_end_and_size {device partition} { proc ::rmupdate::delete_partition_table {device} { exec /bin/dd if=/dev/zero of=$device bs=512 count=1 2>/dev/null + catch { exec /usr/sbin/partprobe } } proc ::rmupdate::is_system_upgradeable {} {