diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2014-02-12 17:08:56 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@digia.com> | 2014-02-13 09:11:47 +0200 |
commit | fd4b7ea9473e18060e61cff670f3cabfd074eae9 (patch) | |
tree | 6e031b6b095e57d6a30202398f59e1061880ae81 /classes | |
parent | d698db24eddd962b9fecd4f63d97ac7b5ce508d5 (diff) | |
download | meta-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.bbclass | 5 |
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" | |||
34 | inherit image_types boot-directdisk | 34 | inherit image_types boot-directdisk |
35 | 35 | ||
36 | create_hdd_image () { | 36 | create_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 | ||
40 | python do_hddimg() { | 42 | python do_hddimg() { |
@@ -42,4 +44,3 @@ python do_hddimg() { | |||
42 | } | 44 | } |
43 | 45 | ||
44 | addtask hddimg after do_bootdirectdisk before do_build | 46 | addtask hddimg after do_bootdirectdisk before do_build |
45 | do_hddimg[nostamp] = "1" | ||