[oe-commits] [openembedded-core] 04/09: image_types.bbclass: set nodesize for btrfs

git at git.openembedded.org git at git.openembedded.org
Sat Apr 9 07:00:56 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit a3e4dc0d800fbae3674b1657c872f70589fc893e
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Fri Apr 8 00:15:19 2016 -0700

    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 at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/image_types.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 3e98024..3f97ddd 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 = ""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list