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 23:00:45 +0100 |
commit | 513ea496573f2dae4905551807e93f6730408f97 (patch) | |
tree | 8bf8f82f68e7012621df3f221c8119a85046e27c | |
parent | bad434be9314ad18fafd6800e27bc94ff3e95e49 (diff) | |
download | poky-513ea496573f2dae4905551807e93f6730408f97.tar.gz |
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.
(From OE-Core rev: a3e4dc0d800fbae3674b1657c872f70589fc893e)
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 | |||
218 | EXTRA_IMAGECMD_ext2 ?= "-i 4096" | 218 | EXTRA_IMAGECMD_ext2 ?= "-i 4096" |
219 | EXTRA_IMAGECMD_ext3 ?= "-i 4096" | 219 | EXTRA_IMAGECMD_ext3 ?= "-i 4096" |
220 | EXTRA_IMAGECMD_ext4 ?= "-i 4096" | 220 | EXTRA_IMAGECMD_ext4 ?= "-i 4096" |
221 | EXTRA_IMAGECMD_btrfs ?= "" | 221 | EXTRA_IMAGECMD_btrfs ?= "-n 4096" |
222 | EXTRA_IMAGECMD_elf ?= "" | 222 | EXTRA_IMAGECMD_elf ?= "" |
223 | 223 | ||
224 | IMAGE_DEPENDS = "" | 224 | IMAGE_DEPENDS = "" |