diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-08-11 09:08:26 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-08-11 10:23:17 +0000 |
commit | 7a77eb1760eb242a6a4b37bec71c2311a0a806d6 (patch) | |
tree | a56e6e9e0607cb45c7c8aa4b5ec55e7777ca34b4 /classes/bootfs-image.bbclass | |
parent | 96550b28fc28fd3b59f8bf1ac92686dea1ace3ce (diff) | |
download | meta-boot2qt-7a77eb1760eb242a6a4b37bec71c2311a0a806d6.tar.gz |
Change all tab characters to spaces
Gerrit Sanity Bot does not like tabs, so remove them from recipes.
Change-Id: Ic0bede29c9a4a01a2bd816e6771fafd76b2323e2
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
Diffstat (limited to 'classes/bootfs-image.bbclass')
-rw-r--r-- | classes/bootfs-image.bbclass | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/classes/bootfs-image.bbclass b/classes/bootfs-image.bbclass index 7203b01..ccc995f 100644 --- a/classes/bootfs-image.bbclass +++ b/classes/bootfs-image.bbclass | |||
@@ -26,24 +26,24 @@ BOOTFS_LINK_NAME = "${IMAGE_BASENAME}-boot-${MACHINE}" | |||
26 | BOOTFS_DEPENDS ?= "" | 26 | BOOTFS_DEPENDS ?= "" |
27 | 27 | ||
28 | fakeroot do_bootfs () { | 28 | fakeroot do_bootfs () { |
29 | if [ -z "${BOOTFS_CONTENT}" ]; then | 29 | if [ -z "${BOOTFS_CONTENT}" ]; then |
30 | exit 0 | 30 | exit 0 |
31 | fi | 31 | fi |
32 | 32 | ||
33 | mkdir -p ${S}/bootfs | 33 | mkdir -p ${S}/bootfs |
34 | 34 | ||
35 | for item in ${BOOTFS_CONTENT}; do | 35 | for item in ${BOOTFS_CONTENT}; do |
36 | src=`echo $item | awk -F':' '{ print $1 }'` | 36 | src=`echo $item | awk -F':' '{ print $1 }'` |
37 | dst=`echo $item | awk -F':' '{ print $2 }'` | 37 | dst=`echo $item | awk -F':' '{ print $2 }'` |
38 | 38 | ||
39 | install -D -m 0755 ${DEPLOY_DIR_IMAGE}/$src ${S}/bootfs/$dst | 39 | install -D -m 0755 ${DEPLOY_DIR_IMAGE}/$src ${S}/bootfs/$dst |
40 | done | 40 | done |
41 | 41 | ||
42 | cd ${S}/bootfs | 42 | cd ${S}/bootfs |
43 | rm -f ${DEPLOY_DIR_IMAGE}/${BOOTFS_NAME}.tar.gz ${DEPLOY_DIR_IMAGE}/${BOOTFS_LINK_NAME}.tar.gz | 43 | rm -f ${DEPLOY_DIR_IMAGE}/${BOOTFS_NAME}.tar.gz ${DEPLOY_DIR_IMAGE}/${BOOTFS_LINK_NAME}.tar.gz |
44 | 44 | ||
45 | tar czvf ${DEPLOY_DIR_IMAGE}/${BOOTFS_NAME}.tar.gz . | 45 | tar czvf ${DEPLOY_DIR_IMAGE}/${BOOTFS_NAME}.tar.gz . |
46 | ln -s ${BOOTFS_NAME}.tar.gz ${DEPLOY_DIR_IMAGE}/${BOOTFS_LINK_NAME}.tar.gz | 46 | ln -s ${BOOTFS_NAME}.tar.gz ${DEPLOY_DIR_IMAGE}/${BOOTFS_LINK_NAME}.tar.gz |
47 | } | 47 | } |
48 | 48 | ||
49 | addtask bootfs before do_rootfs | 49 | addtask bootfs before do_rootfs |