path: root/common/recipes-core
diff options
authorTom Zanussi <>2011-08-21 19:22:07 (GMT)
committerTom Zanussi <>2011-08-22 16:18:46 (GMT)
commitf222033882ca011ed870eed29124ccf67ee27590 (patch)
treebe6fcd25374045703c1f7b5df7a4a0d54ed75c00 /common/recipes-core
parentb6e1f4f124bf1b1c404a77345614f0839ff5429d (diff)
meta-intel: update
The parted 3.0 release introduced some API changes such as the removal of mkpartfs. This updates to use mkpart instead. Fixes [YOCTO #1387] Signed-off-by: Tom Zanussi <>
Diffstat (limited to 'common/recipes-core')
1 files changed, 3 insertions, 3 deletions
diff --git a/common/recipes-core/initrdscripts/initramfs-live-install/ b/common/recipes-core/initrdscripts/initramfs-live-install/
index 7f2ea7f..7d80190 100644
--- a/common/recipes-core/initrdscripts/initramfs-live-install/
+++ b/common/recipes-core/initrdscripts/initramfs-live-install/
@@ -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 0 $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