Merge branch 'axtloss/fix-partitioning' into 'main'

Check if device is nvme or mmcblk for partitionilng

See merge request crystal/software/jade!5
axtloss/rework-partitioning v1.3.3
axtloss 2 years ago
commit b058721187

@ -102,7 +102,9 @@ pub fn partition(
} else { } else {
partition_no_efi(&device, unakite); partition_no_efi(&device, unakite);
} }
if device.to_string_lossy().contains("nvme") { if device.to_string_lossy().contains("nvme")
|| device.to_string_lossy().contains("mmcblk")
{
part_nvme(&device, efi, unakite); part_nvme(&device, efi, unakite);
} else { } else {
part_disk(&device, efi, unakite); part_disk(&device, efi, unakite);

Loading…
Cancel
Save