summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/image-hdd.bbclass26
-rw-r--r--classes/image_types_sdcard.bbclass22
2 files changed, 47 insertions, 1 deletions
diff --git a/classes/image-hdd.bbclass b/classes/image-hdd.bbclass
index fc76234..46146b7 100644
--- a/classes/image-hdd.bbclass
+++ b/classes/image-hdd.bbclass
@@ -1,3 +1,25 @@
1#############################################################################
2##
3## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
4##
5## This file is part of the Qt Enterprise Embedded Scripts of the Qt
6## framework.
7##
8## $QT_BEGIN_LICENSE$
9## Commercial License Usage Only
10## Licensees holding valid commercial Qt license agreements with Digia
11## with an appropriate addendum covering the Qt Enterprise Embedded Scripts,
12## may use this file in accordance with the terms contained in said license
13## agreement.
14##
15## For further information use the contact form at
16## http://qt.digia.com/contact-us.
17##
18##
19## $QT_END_LICENSE$
20##
21#############################################################################
22
1# need to define the dependency and the ROOTFS for directdisk 23# need to define the dependency and the ROOTFS for directdisk
2do_bootdirectdisk[depends] += "${PN}:do_rootfs" 24do_bootdirectdisk[depends] += "${PN}:do_rootfs"
3ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" 25ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3"
@@ -7,10 +29,13 @@ SYSLINUX_PROMPT = "0"
7SYSLINUX_TIMEOUT = "1" 29SYSLINUX_TIMEOUT = "1"
8SYSLINUX_LABELS = "boot" 30SYSLINUX_LABELS = "boot"
9LABELS_append = " ${SYSLINUX_LABELS} " 31LABELS_append = " ${SYSLINUX_LABELS} "
32SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200"
10 33
11inherit image_types boot-directdisk 34inherit image_types boot-directdisk
12 35
13create_hdd_image () { 36create_hdd_image () {
37 cd ${DEPLOY_DIR_IMAGE}
38 rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdd
14 ln -s ${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdd 39 ln -s ${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdd
15} 40}
16 41
@@ -19,4 +44,3 @@ python do_hddimg() {
19} 44}
20 45
21addtask hddimg after do_bootdirectdisk before do_build 46addtask hddimg after do_bootdirectdisk before do_build
22do_hddimg[nostamp] = "1"
diff --git a/classes/image_types_sdcard.bbclass b/classes/image_types_sdcard.bbclass
index 7b11482..e562530 100644
--- a/classes/image_types_sdcard.bbclass
+++ b/classes/image_types_sdcard.bbclass
@@ -1,3 +1,25 @@
1#############################################################################
2##
3## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
4##
5## This file is part of the Qt Enterprise Embedded Scripts of the Qt
6## framework.
7##
8## $QT_BEGIN_LICENSE$
9## Commercial License Usage Only
10## Licensees holding valid commercial Qt license agreements with Digia
11## with an appropriate addendum covering the Qt Enterprise Embedded Scripts,
12## may use this file in accordance with the terms contained in said license
13## agreement.
14##
15## For further information use the contact form at
16## http://qt.digia.com/contact-us.
17##
18##
19## $QT_END_LICENSE$
20##
21#############################################################################
22
1inherit image_types_fsl 23inherit image_types_fsl
2 24
3IMAGE_ROOTFS_EXTRA_SPACE = "300000" 25IMAGE_ROOTFS_EXTRA_SPACE = "300000"