summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install-efi.sh2
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install.sh2
2 files changed, 2 insertions, 2 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
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh
index 0593b3c716..7fccddea03 100644
--- a/meta/recipes-core/initrdscripts/files/init-install.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install.sh
@@ -153,7 +153,7 @@ echo "Rootfs partition size: $rootfs_size MB ($rootfs)"
153echo "Swap partition size: $swap_size MB ($swap)" 153echo "Swap partition size: $swap_size MB ($swap)"
154echo "*****************" 154echo "*****************"
155echo "Deleting partition table on ${device} ..." 155echo "Deleting partition table on ${device} ..."
156dd if=/dev/zero of=${device} bs=512 count=2 156dd if=/dev/zero of=${device} bs=512 count=35
157 157
158echo "Creating new partition table on ${device} ..." 158echo "Creating new partition table on ${device} ..."
159if [ $grub_version -eq 0 ] ; then 159if [ $grub_version -eq 0 ] ; then