summaryrefslogtreecommitdiffstats
path: root/classes/image-hdd.bbclass
diff options
context:
space:
mode:
authorKalle Viironen <kalle.viironen@digia.com>2014-02-21 12:08:34 +0200
committerKalle Viironen <kalle.viironen@digia.com>2014-02-21 12:08:39 +0200
commita68e1ea9b2904f7c69330e534da877cf19376219 (patch)
treeb3b6b17eea9ae44206226cc7d47f42841883020f /classes/image-hdd.bbclass
parent48f7d2b6ef3939417a1bf291a82fa36660b213e6 (diff)
parentee2541cf756ddada9bd008b148267e2836d42450 (diff)
downloadmeta-boot2qt-a68e1ea9b2904f7c69330e534da877cf19376219.tar.gz
Merge branch 'stable' into releaseQtEE_v2.0.0
* stable: (34 commits) udev: disable udev-cache also for beagleboard busybox: use ifplugd to enable hotplug networking Move libgl workaround to libsdl imx53: change to correct GPU driver package emulator: don't build mesa with llvm anymore Fix emulator hdd image building emulator: alsa config to allow multiple source to play audio hunspell: use multple checksums for hunspell srcs Changes to init script Add script to initialize yocto build env Add missing copyright headers Update copyright year to 2014 adb: use modprobe to load dependency modules udev: disable udev-cache on beaglebone Add support for BeagleBone Black Recipe for hunspell upgrade emulator components gpu-viv-bin-mx6q: remove dependency to mesa rpi: disable bbappend from meta-raspberrypi Install all kernel modules ... Change-Id: I7adca9894ee35092d546babb1926edbf06300feb
Diffstat (limited to 'classes/image-hdd.bbclass')
-rw-r--r--classes/image-hdd.bbclass26
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
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"