]> gitweb.fluxo.info Git - hydra.git/commitdiff
Fix: parted: ESP partition name
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 25 Jan 2022 12:25:30 +0000 (09:25 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 25 Jan 2022 12:25:30 +0000 (09:25 -0300)
share/hydractl/provision

index b205742fd4c24d318f34d0e09d0638b578def39f..be60cac5eeb24e43436344b317321de90dbc5d81 100755 (executable)
@@ -291,7 +291,8 @@ else
   else
     esp_device="${device}${partition_separator}1"
 
-    hydra_sudo_run parted -s -- $device mkpart "EFI System Partition" fat32 ${start}s ${uefi_grub_end}s
+    hydra_sudo_run parted -s -- $device mkpart fat32 ${start}s ${uefi_grub_end}s
+    hydra_sudo_run parted -s -- $device name   1 ESP
     hydra_sudo_run parted -s -- $device set 1 esp on
     hydra_sudo_run mkfs.vfat $esp_device
   fi