Bug 78

Summary: rootfs bug
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Readon Shaw <xydarcher>
Component: meta-yoctoAssignee: Kevin Tian <kevin.tian>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Low CC: jessica.zhang, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 1.1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Readon Shaw 2009-11-16 09:56:20 UTC
when i add below in machine conf file.

# image size of ext2 rootfs
IMAGE_ROOTFS_SIZE_ext2 = "24576"
IMAGE_EXTRA_SPACE_ext2 = "1024"


the image generated is as large as 65536KB.

but when 
# image size of ext2 rootfs
IMAGE_ROOTFS_SIZE = "24576"
IMAGE_EXTRA_SPACE = "1024"

is added the file should be about 24576KB.

IMAGE_FSTYPES ?= "ext2"
this was included.

i think it would be a bug.
but i test 
EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x4000 --pad -n"
that would work perfectly.
Comment 1 Kevin Tian 2010-08-25 19:41:23 UTC
The reason is when IMAGE_ROOTFS_SIZE is referenced IMAGE_FSTYPES is not set in overrides (get_imagecmds and do_rootfs). Since this is a low priority bug, I may bake a fix later