summaryrefslogtreecommitdiffstats
path: root/classes/image-hdd.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/image-hdd.bbclass')
-rw-r--r--classes/image-hdd.bbclass15
1 files changed, 5 insertions, 10 deletions
diff --git a/classes/image-hdd.bbclass b/classes/image-hdd.bbclass
index 05fd847..1391be1 100644
--- a/classes/image-hdd.bbclass
+++ b/classes/image-hdd.bbclass
@@ -27,18 +27,13 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30# need to define the dependency and the ROOTFS for directdisk 30VM_ROOTFS_TYPE = "ext3"
31do_bootdirectdisk[depends] += "${PN}:do_rootfs" 31ROOT_VM = "root=/dev/hda2"
32ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" 32LABELS_VM = "boot"
33 33AUTO_SYSLINUXMENU = "0"
34SYSLINUX_ROOT = "root=/dev/hda2 "
35SYSLINUX_PROMPT = "0"
36SYSLINUX_TIMEOUT = "1"
37SYSLINUX_LABELS = "boot"
38LABELS_append = " ${SYSLINUX_LABELS} "
39SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200" 34SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200"
40 35
41inherit image_types boot-directdisk 36inherit image_types image-vm
42 37
43create_hdd_image () { 38create_hdd_image () {
44 cd ${DEPLOY_DIR_IMAGE} 39 cd ${DEPLOY_DIR_IMAGE}