aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2015-03-04 17:05:24 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-09 16:05:05 +0000
commitb75e23568d72aea3c508492c129c361bedd98eb4 (patch)
tree5314fc4acef8bbbc82022515dfcebde63685826f
parent73a045a1b52d8260d60517bbb5d4c74132d03b10 (diff)
downloadopenembedded-core-contrib-b75e23568d72aea3c508492c129c361bedd98eb4.tar.gz
openembedded-core-contrib-b75e23568d72aea3c508492c129c361bedd98eb4.tar.bz2
openembedded-core-contrib-b75e23568d72aea3c508492c129c361bedd98eb4.zip
image_types: Fix MIN_BTRFS_SIZE to be 1024 blocks to match ROOTFS_SIZE
[YOCTO #7392] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/image_types.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 4983e9834dc..98a08bf1077 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -58,7 +58,7 @@ IMAGE_CMD_ext2 = "oe_mkext234fs ext2 ${EXTRA_IMAGECMD}"
IMAGE_CMD_ext3 = "oe_mkext234fs ext3 ${EXTRA_IMAGECMD}"
IMAGE_CMD_ext4 = "oe_mkext234fs ext4 ${EXTRA_IMAGECMD}"
-MIN_BTRFS_SIZE ?= "16777216"
+MIN_BTRFS_SIZE ?= "16384"
IMAGE_CMD_btrfs () {
if [ ${ROOTFS_SIZE} -gt ${MIN_BTRFS_SIZE} ]; then
dd if=/dev/zero of=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.btrfs count=${ROOTFS_SIZE} bs=1024