mirror of
				https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
				synced 2023-10-10 11:37:40 +00:00 
			
		
		
		
	run partprobe after deleting partition table
This commit is contained in:
		| @@ -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 {} { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user