diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-06-25 12:46:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-27 22:42:53 +0100 |
commit | 2eb1794fa0f3e680e4f409471a4da17f78708c44 (patch) | |
tree | 9ec07f8120af04b23a4a4f55cfc7aa54b6dd97e6 /meta/classes | |
parent | a62cb8a77d826ce8aefcbca1a89c3b2352681bb2 (diff) | |
download | poky-2eb1794fa0f3e680e4f409471a4da17f78708c44.tar.gz |
populate_sdk_base.bbclass: use pbzip2 to compress SDK tarfiles
(From OE-Core rev: 670f5cda06070ae888d17cca7a07aa74d751c2f7)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 781b279f2c..a4a0193fee 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -40,7 +40,7 @@ TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= "" | |||
40 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}" | 40 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${SDK_VERSION}" |
41 | 41 | ||
42 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" | 42 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" |
43 | SDK_DEPENDS = "virtual/fakeroot-native" | 43 | SDK_DEPENDS = "virtual/fakeroot-native pbzip2-native" |
44 | 44 | ||
45 | # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it | 45 | # We want the MULTIARCH_TARGET_SYS to point to the TUNE_PKGARCH, not PACKAGE_ARCH as it |
46 | # could be set to the MACHINE_ARCH | 46 | # could be set to the MACHINE_ARCH |
@@ -121,13 +121,13 @@ fakeroot create_sdk_files() { | |||
121 | sed -i -e "s:##DEFAULT_INSTALL_DIR##:$escaped_sdkpath:" ${SDK_OUTPUT}/${SDKPATH}/relocate_sdk.py | 121 | sed -i -e "s:##DEFAULT_INSTALL_DIR##:$escaped_sdkpath:" ${SDK_OUTPUT}/${SDKPATH}/relocate_sdk.py |
122 | } | 122 | } |
123 | 123 | ||
124 | SDKTAROPTS = "--owner=root --group=root -j" | 124 | SDKTAROPTS = "--owner=root --group=root" |
125 | 125 | ||
126 | fakeroot tar_sdk() { | 126 | fakeroot tar_sdk() { |
127 | # Package it up | 127 | # Package it up |
128 | mkdir -p ${SDK_DEPLOY} | 128 | mkdir -p ${SDK_DEPLOY} |
129 | cd ${SDK_OUTPUT}/${SDKPATH} | 129 | cd ${SDK_OUTPUT}/${SDKPATH} |
130 | tar ${SDKTAROPTS} -c --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . | 130 | tar ${SDKTAROPTS} -cf - . | pbzip2 > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 |
131 | } | 131 | } |
132 | 132 | ||
133 | fakeroot create_shar() { | 133 | fakeroot create_shar() { |