diff options
Diffstat (limited to 'classes/image-hdd.bbclass')
-rw-r--r-- | classes/image-hdd.bbclass | 26 |
1 files changed, 25 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 |
2 | do_bootdirectdisk[depends] += "${PN}:do_rootfs" | 24 | do_bootdirectdisk[depends] += "${PN}:do_rootfs" |
3 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" | 25 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" |
@@ -7,10 +29,13 @@ SYSLINUX_PROMPT = "0" | |||
7 | SYSLINUX_TIMEOUT = "1" | 29 | SYSLINUX_TIMEOUT = "1" |
8 | SYSLINUX_LABELS = "boot" | 30 | SYSLINUX_LABELS = "boot" |
9 | LABELS_append = " ${SYSLINUX_LABELS} " | 31 | LABELS_append = " ${SYSLINUX_LABELS} " |
32 | SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200" | ||
10 | 33 | ||
11 | inherit image_types boot-directdisk | 34 | inherit image_types boot-directdisk |
12 | 35 | ||
13 | create_hdd_image () { | 36 | create_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 | ||
21 | addtask hddimg after do_bootdirectdisk before do_build | 46 | addtask hddimg after do_bootdirectdisk before do_build |
22 | do_hddimg[nostamp] = "1" | ||