From: Robert Yang Date: Tue, 29 Jul 2014 07:05:04 +0000 (-0700) Subject: image-vmdk.bbclass: use sda rather than hda X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32966 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=842a797460cd07b779ab588a4ece7e5d4d97417b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image-vmdk.bbclass: use sda rather than hda The modern kernels may not support IDE (CONFIG_IDE=y), but it should support SCSI in most of the cases. The boot-directdisk.bbclass uses sda, too. Remove an extra space from image-live.bbclass and image-vmdk.bbclass to not confuse the user. Signed-off-by: Robert Yang Signed-off-by: Saul Wold --- diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index c7e6937fa9e..7b770fb353c 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass @@ -2,7 +2,7 @@ AUTO_SYSLINUXCFG = "1" INITRD_IMAGE ?= "core-image-minimal-initramfs" INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz" -SYSLINUX_ROOT = "root=/dev/ram0 " +SYSLINUX_ROOT = "root=/dev/ram0" SYSLINUX_TIMEOUT ?= "10" SYSLINUX_LABELS ?= "boot install" LABELS_append = " ${SYSLINUX_LABELS} " diff --git a/meta/classes/image-vmdk.bbclass b/meta/classes/image-vmdk.bbclass index 703c00ea3c6..77b7facd415 100644 --- a/meta/classes/image-vmdk.bbclass +++ b/meta/classes/image-vmdk.bbclass @@ -1,7 +1,7 @@ #NOISO = "1" -SYSLINUX_ROOT = "root=/dev/hda2 " +SYSLINUX_ROOT ?= "root=/dev/sda2" SYSLINUX_PROMPT ?= "0" SYSLINUX_TIMEOUT ?= "10" SYSLINUX_LABELS = "boot"