summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-11-15 13:37:27 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-20 14:03:04 +0000
commit836396a3450e7bf151956e87bd92f70c5050c995 (patch)
tree8014a5caf1c3b0f3a42ad1c93bc52cd830b801d4
parent27539e9db24dad26c6f0e952458c68f778ed97a5 (diff)
downloadopenembedded-core-contrib-836396a3450e7bf151956e87bd92f70c5050c995.tar.gz
openembedded-core-contrib-836396a3450e7bf151956e87bd92f70c5050c995.tar.bz2
openembedded-core-contrib-836396a3450e7bf151956e87bd92f70c5050c995.zip
image_types: newer btrfs.mkfs needs an empty file to build the disk in
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/classes/image_types.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 505cd1cffc..54ecb15764 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -171,6 +171,7 @@ IMAGE_CMD_ext3 = "oe_mkext234fs ext3 ${EXTRA_IMAGECMD}"
IMAGE_CMD_ext4 = "oe_mkext234fs ext4 ${EXTRA_IMAGECMD}"
IMAGE_CMD_btrfs () {
+ touch ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.btrfs
mkfs.btrfs -b `expr ${ROOTFS_SIZE} \* 1024` ${EXTRA_IMAGECMD} -r ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.btrfs
}