diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-04-08 00:15:19 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-09 07:51:10 +0100 |
commit | a3e4dc0d800fbae3674b1657c872f70589fc893e (patch) | |
tree | e0e653afd063eb788eca0a10fb3d68945b3901e5 | |
parent | 190b57a5f130f8a48d417ad472c0131c49302ee1 (diff) | |
download | openembedded-core-a3e4dc0d800fbae3674b1657c872f70589fc893e.tar.gz openembedded-core-a3e4dc0d800fbae3674b1657c872f70589fc893e.tar.bz2 openembedded-core-a3e4dc0d800fbae3674b1657c872f70589fc893e.zip |
image_types.bbclass: set nodesize for btrfs
The default value is 16K which is too big to create image for
core-image-minimal:
rootfs.btrfs is too small to make a usable filesystem
Minimum size for each btrfs device is 41943040.
Use 4K as ext2/3/4 to fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 3e98024cef..3f97ddd448 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -218,7 +218,7 @@ EXTRA_IMAGECMD_jffs2 ?= "--pad ${JFFS2_ENDIANNESS} --eraseblock=${JFFS2_ERASEBLO EXTRA_IMAGECMD_ext2 ?= "-i 4096" EXTRA_IMAGECMD_ext3 ?= "-i 4096" EXTRA_IMAGECMD_ext4 ?= "-i 4096" -EXTRA_IMAGECMD_btrfs ?= "" +EXTRA_IMAGECMD_btrfs ?= "-n 4096" EXTRA_IMAGECMD_elf ?= "" IMAGE_DEPENDS = "" |