diff options
author | Saul Wold <sgw@linux.intel.com> | 2015-03-04 17:05:24 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-10 10:47:47 +0000 |
commit | bd0ed7ce67a6e9d292468d15c9d0a7460edf6872 (patch) | |
tree | 2e3064ed6062c2adeb31c5c3f31b82439714f600 /meta/classes | |
parent | d6a2a54e5b20b219ed252dce30784289125e1f39 (diff) | |
download | poky-bd0ed7ce67a6e9d292468d15c9d0a7460edf6872.tar.gz |
image_types: Fix MIN_BTRFS_SIZE to be 1024 blocks to match ROOTFS_SIZE
[YOCTO #7392]
(From OE-Core rev: b75e23568d72aea3c508492c129c361bedd98eb4)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image_types.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 4983e9834d..98a08bf107 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}" | |||
58 | IMAGE_CMD_ext3 = "oe_mkext234fs ext3 ${EXTRA_IMAGECMD}" | 58 | IMAGE_CMD_ext3 = "oe_mkext234fs ext3 ${EXTRA_IMAGECMD}" |
59 | IMAGE_CMD_ext4 = "oe_mkext234fs ext4 ${EXTRA_IMAGECMD}" | 59 | IMAGE_CMD_ext4 = "oe_mkext234fs ext4 ${EXTRA_IMAGECMD}" |
60 | 60 | ||
61 | MIN_BTRFS_SIZE ?= "16777216" | 61 | MIN_BTRFS_SIZE ?= "16384" |
62 | IMAGE_CMD_btrfs () { | 62 | IMAGE_CMD_btrfs () { |
63 | if [ ${ROOTFS_SIZE} -gt ${MIN_BTRFS_SIZE} ]; then | 63 | if [ ${ROOTFS_SIZE} -gt ${MIN_BTRFS_SIZE} ]; then |
64 | dd if=/dev/zero of=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.btrfs count=${ROOTFS_SIZE} bs=1024 | 64 | dd if=/dev/zero of=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.btrfs count=${ROOTFS_SIZE} bs=1024 |