summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2014-02-12 17:08:56 +0200
committerSamuli Piippo <samuli.piippo@digia.com>2014-02-13 09:11:47 +0200
commitfd4b7ea9473e18060e61cff670f3cabfd074eae9 (patch)
tree6e031b6b095e57d6a30202398f59e1061880ae81 /classes
parentd698db24eddd962b9fecd4f63d97ac7b5ce508d5 (diff)
downloadmeta-boot2qt-fd4b7ea9473e18060e61cff670f3cabfd074eae9.tar.gz
Fix emulator hdd image building
Remove nostamp so that symbolic link is not updated, when boot-directdisk has not been updated. Otherwise we ended up with broken link. Change-Id: I27a51047e74861f034fbf3f15f9cf29fd20b142b Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/image-hdd.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/image-hdd.bbclass b/classes/image-hdd.bbclass
index 8dac725..46146b7 100644
--- a/classes/image-hdd.bbclass
+++ b/classes/image-hdd.bbclass
@@ -34,7 +34,9 @@ SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200"
34inherit image_types boot-directdisk 34inherit image_types boot-directdisk
35 35
36create_hdd_image () { 36create_hdd_image () {
37 ln -fs ${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdd 37 cd ${DEPLOY_DIR_IMAGE}
38 rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdd
39 ln -s ${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdd
38} 40}
39 41
40python do_hddimg() { 42python do_hddimg() {
@@ -42,4 +44,3 @@ python do_hddimg() {
42} 44}
43 45
44addtask hddimg after do_bootdirectdisk before do_build 46addtask hddimg after do_bootdirectdisk before do_build
45do_hddimg[nostamp] = "1"