diff options
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" | ||