aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-02-22 14:53:25 -0700
committerTom Rini <tom_rini@mentor.com>2011-02-22 14:53:25 -0700
commit1fca8dc50a821f4589fa5e339e6e279dd3c0dafe (patch)
tree9695fc61d6ecaca5eec8ee8e5c5260122e559781 /conf
parentc120ad4cab1da37344d06efeb15ddeb8cf388ecc (diff)
downloadopenembedded-1fca8dc50a821f4589fa5e339e6e279dd3c0dafe.tar.gz
openembedded-1fca8dc50a821f4589fa5e339e6e279dd3c0dafe.tar.bz2
openembedded-1fca8dc50a821f4589fa5e339e6e279dd3c0dafe.zip
bitbake.conf: Define tar.xz image types.
Make it depend on both tar-native and xz-native to make sure that we get a tar that groks --xz. Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/bitbake.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index ec20332d5d..34f77260d0 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -393,6 +393,7 @@ IMAGE_CMD_squashfs-lzma = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAG
IMAGE_CMD_tar = "cd ${IMAGE_ROOTFS} && tar -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar ."
IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.gz ."
IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ."
+IMAGE_CMD_tar.xz = "cd ${IMAGE_ROOTFS} && tar --xz -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.xz ."
IMAGE_CMD_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio) ${EXTRA_IMAGECMD}"
IMAGE_CMD_cpio.gz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}"
IMAGE_CMD_cpio.xz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | xz -c ${XZ_COMPRESSION_LEVEL} > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.xz) ${EXTRA_IMAGECMD}"
@@ -413,6 +414,7 @@ EXTRA_IMAGECMD_ubi = ""
EXTRA_IMAGECMD_ubifs = ""
IMAGE_DEPENDS = ""
+IMAGE_DEPENDS_tar.xz = "tar-native xz-native"
IMAGE_DEPENDS_jffs2 = "mtd-utils-native"
IMAGE_DEPENDS_yaffs2 = "yaffs2-utils-native"
IMAGE_DEPENDS_cramfs = "cramfs-native"