summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/files/init-install-efi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/initrdscripts/files/init-install-efi.sh')
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install-efi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
index 74372b0c96..14939acd69 100644
--- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
@@ -127,7 +127,7 @@ echo "Rootfs partition size: $rootfs_size MB ($rootfs)"
127echo "Swap partition size: $swap_size MB ($swap)" 127echo "Swap partition size: $swap_size MB ($swap)"
128echo "*****************" 128echo "*****************"
129echo "Deleting partition table on ${device} ..." 129echo "Deleting partition table on ${device} ..."
130dd if=/dev/zero of=${device} bs=512 count=2 130dd if=/dev/zero of=${device} bs=512 count=35
131 131
132echo "Creating new partition table on ${device} ..." 132echo "Creating new partition table on ${device} ..."
133parted ${device} mklabel gpt 133parted ${device} mklabel gpt