diff options
author | 2013-11-15 13:37:27 -0800 | |
---|---|---|
committer | 2013-11-20 14:03:04 +0000 | |
commit | 836396a3450e7bf151956e87bd92f70c5050c995 (patch) | |
tree | 8014a5caf1c3b0f3a42ad1c93bc52cd830b801d4 /meta/classes | |
parent | 27539e9db24dad26c6f0e952458c68f778ed97a5 (diff) | |
download | openembedded-core-contrib-836396a3450e7bf151956e87bd92f70c5050c995.tar.gz |
image_types: newer btrfs.mkfs needs an empty file to build the disk in
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image_types.bbclass | 1 |
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 } |