summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh
index b9d9029d21..5e6b81c9d3 100644
--- a/meta/recipes-core/initrdscripts/files/init-install.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install.sh
@@ -105,13 +105,13 @@ echo "Creating new partition table on /dev/${device} ..."
105parted /dev/${device} mklabel msdos 105parted /dev/${device} mklabel msdos
106 106
107echo "Creating boot partition on /dev/${device}1" 107echo "Creating boot partition on /dev/${device}1"
108parted /dev/${device} mkpartfs primary ext2 0 $boot_size 108parted /dev/${device} mkpart primary 1 $boot_size
109 109
110echo "Creating rootfs partition on /dev/${device}2" 110echo "Creating rootfs partition on /dev/${device}2"
111parted /dev/${device} mkpartfs primary ext2 $rootfs_start $rootfs_end 111parted /dev/${device} mkpart primary $rootfs_start $rootfs_end
112 112
113echo "Creating swap partition on /dev/${device}3" 113echo "Creating swap partition on /dev/${device}3"
114parted /dev/${device} mkpartfs primary linux-swap $swap_start $disk_size 114parted /dev/${device} mkpart primary $swap_start $disk_size
115 115
116parted /dev/${device} print 116parted /dev/${device} print
117 117