summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-04-30 14:53:41 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-04-30 14:53:41 +0000
commitbf73d1bc2af4f65d28bfc41d1c92f6c10098200c (patch)
tree95ae6b18e34fee6f039c287e440132c85dce55f9 /meta/conf
parent7f3bb9d637d140eaae24dcc511543c6b7d7bcac6 (diff)
downloadopenembedded-core-bf73d1bc2af4f65d28bfc41d1c92f6c10098200c.tar.gz
openembedded-core-bf73d1bc2af4f65d28bfc41d1c92f6c10098200c.tar.bz2
openembedded-core-bf73d1bc2af4f65d28bfc41d1c92f6c10098200c.zip
bitbake.conf: add cpio support for images (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1585 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 20086180ac..804b7fd444 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -209,6 +209,8 @@ IMAGE_CMD_squashfs-lzma = "mksquashfs-lzma ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/$
IMAGE_CMD_tar = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ."
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_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio)"
+IMAGE_CMD_cpio.gz = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)"
EXTRA_IMAGECMD = ""
EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000"
EXTRA_IMAGECMD_squashfs = "-le -b 16384"