Bug 78 - rootfs bug
Summary: rootfs bug
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: All Multiple
: Low normal
Target Milestone: 1.1
Assignee: Kevin Tian
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2009-11-16 09:56 UTC by Readon Shaw
Modified: 2011-03-26 01:36 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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