summaryrefslogtreecommitdiff
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-05-23 23:15:30 -0700
committerSaul Wold <sgw@linux.intel.com>2011-05-25 01:36:31 -0700
commitd3f6e1e6106ab539e73c19037915b2e4a5f2efa9 (patch)
treec13bcae13c80a0f889d1f90523d8a50fb84dc1e4 /meta/recipes-core
parent05f017dc6878908cf55901f8a74c738f3bece077 (diff)
downloadopenembedded-core-d3f6e1e6106ab539e73c19037915b2e4a5f2efa9.tar.gz
openembedded-core-d3f6e1e6106ab539e73c19037915b2e4a5f2efa9.tar.bz2
openembedded-core-d3f6e1e6106ab539e73c19037915b2e4a5f2efa9.zip
IMAGE_ROOTFS_SIZE Cleanup
This basic cleanup removes the _ext2/3 overrides from places they no longer belong since they did not allow further overrides. In doing this the core-image-minimal* recipes can now set a reasonably small rootfs so that it's a realistic size for minimal. The new default for minimal is 8M and will be adujsted upward by the IMAGE_OVERHEAD_FACTOR (default of 1.3). This also fixes the ROOTFS_SIZE usage in the IMAGE_CMD_<fstype> code Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/images/core-image-minimal-initramfs.bb2
-rw-r--r--meta/recipes-core/images/core-image-minimal.bb2
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb b/meta/recipes-core/images/core-image-minimal-initramfs.bb
index 21aaa6c70e..3246d5ca6e 100644
--- a/meta/recipes-core/images/core-image-minimal-initramfs.bb
+++ b/meta/recipes-core/images/core-image-minimal-initramfs.bb
@@ -8,3 +8,5 @@ IMAGE_LINGUAS = ""
LICENSE = "MIT"
inherit core-image
+
+IMAGE_ROOTFS_SIZE = "8192"
diff --git a/meta/recipes-core/images/core-image-minimal.bb b/meta/recipes-core/images/core-image-minimal.bb
index aa00e67c1a..743e121b59 100644
--- a/meta/recipes-core/images/core-image-minimal.bb
+++ b/meta/recipes-core/images/core-image-minimal.bb
@@ -9,5 +9,7 @@ LICENSE = "MIT"
inherit core-image
+IMAGE_ROOTFS_SIZE = "8192"
+
# remove not needed ipkg informations
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "