diff options
Diffstat (limited to 'classes/bootfs-image.bbclass')
-rw-r--r-- | classes/bootfs-image.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/bootfs-image.bbclass b/classes/bootfs-image.bbclass index a0563ce..c7a25ae 100644 --- a/classes/bootfs-image.bbclass +++ b/classes/bootfs-image.bbclass | |||
@@ -44,15 +44,15 @@ fakeroot do_bootfs () { | |||
44 | src=`echo $item | awk -F':' '{ print $1 }'` | 44 | src=`echo $item | awk -F':' '{ print $1 }'` |
45 | dst=`echo $item | awk -F':' '{ print $2 }'` | 45 | dst=`echo $item | awk -F':' '{ print $2 }'` |
46 | 46 | ||
47 | install -D -m 0755 ${DEPLOY_DIR_IMAGE}/$src ${S}/bootfs/$dst | 47 | install -D -m 0755 ${IMGDEPLOYDIR}/$src ${S}/bootfs/$dst |
48 | done | 48 | done |
49 | 49 | ||
50 | cd ${S}/bootfs | 50 | cd ${S}/bootfs |
51 | rm -f ${DEPLOY_DIR_IMAGE}/${BOOTFS_NAME}.tar.gz ${DEPLOY_DIR_IMAGE}/${BOOTFS_LINK_NAME}.tar.gz | 51 | rm -f ${IMGDEPLOYDIR}/${BOOTFS_NAME}.tar.gz ${IMGDEPLOYDIR}/${BOOTFS_LINK_NAME}.tar.gz |
52 | 52 | ||
53 | mkdir -p ${DEPLOY_DIR_IMAGE} | 53 | mkdir -p ${IMGDEPLOYDIR} |
54 | tar czvf ${DEPLOY_DIR_IMAGE}/${BOOTFS_NAME}.tar.gz . | 54 | tar czvf ${IMGDEPLOYDIR}/${BOOTFS_NAME}.tar.gz . |
55 | ln -s ${BOOTFS_NAME}.tar.gz ${DEPLOY_DIR_IMAGE}/${BOOTFS_LINK_NAME}.tar.gz | 55 | ln -s ${BOOTFS_NAME}.tar.gz ${IMGDEPLOYDIR}/${BOOTFS_LINK_NAME}.tar.gz |
56 | } | 56 | } |
57 | 57 | ||
58 | addtask bootfs before do_rootfs | 58 | addtask bootfs before do_rootfs |