diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-07-29 00:05:04 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-02 09:26:13 +0100 |
commit | e517b082425b45500952a5429f2df26b01304d6a (patch) | |
tree | 4438c4411ada2dffc22debfb42c99453ea4da947 /meta/classes | |
parent | 2ca9406701e4b957c115eba37e77832252351e81 (diff) | |
download | poky-e517b082425b45500952a5429f2df26b01304d6a.tar.gz |
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.
(From OE-Core rev: 842a797460cd07b779ab588a4ece7e5d4d97417b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image-live.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/image-vmdk.bbclass | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index c7e6937fa9..7b770fb353 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass | |||
@@ -2,7 +2,7 @@ | |||
2 | AUTO_SYSLINUXCFG = "1" | 2 | AUTO_SYSLINUXCFG = "1" |
3 | INITRD_IMAGE ?= "core-image-minimal-initramfs" | 3 | INITRD_IMAGE ?= "core-image-minimal-initramfs" |
4 | INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz" | 4 | INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz" |
5 | SYSLINUX_ROOT = "root=/dev/ram0 " | 5 | SYSLINUX_ROOT = "root=/dev/ram0" |
6 | SYSLINUX_TIMEOUT ?= "10" | 6 | SYSLINUX_TIMEOUT ?= "10" |
7 | SYSLINUX_LABELS ?= "boot install" | 7 | SYSLINUX_LABELS ?= "boot install" |
8 | LABELS_append = " ${SYSLINUX_LABELS} " | 8 | LABELS_append = " ${SYSLINUX_LABELS} " |
diff --git a/meta/classes/image-vmdk.bbclass b/meta/classes/image-vmdk.bbclass index 703c00ea3c..77b7facd41 100644 --- a/meta/classes/image-vmdk.bbclass +++ b/meta/classes/image-vmdk.bbclass | |||
@@ -1,7 +1,7 @@ | |||
1 | 1 | ||
2 | #NOISO = "1" | 2 | #NOISO = "1" |
3 | 3 | ||
4 | SYSLINUX_ROOT = "root=/dev/hda2 " | 4 | SYSLINUX_ROOT ?= "root=/dev/sda2" |
5 | SYSLINUX_PROMPT ?= "0" | 5 | SYSLINUX_PROMPT ?= "0" |
6 | SYSLINUX_TIMEOUT ?= "10" | 6 | SYSLINUX_TIMEOUT ?= "10" |
7 | SYSLINUX_LABELS = "boot" | 7 | SYSLINUX_LABELS = "boot" |