summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"