From d3f6e1e6106ab539e73c19037915b2e4a5f2efa9 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Mon, 23 May 2011 23:15:30 -0700 Subject: 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_ code Signed-off-by: Saul Wold --- meta/recipes-core/images/core-image-minimal-initramfs.bb | 2 ++ meta/recipes-core/images/core-image-minimal.bb | 2 ++ 2 files changed, 4 insertions(+) (limited to 'meta/recipes-core/images') diff --git a/meta/recipes-core/images/core-image-minimal-initramfs.bb b/meta/recipes-core/images/core-image-minimal-initramfs.bb index 21aaa6c70..3246d5ca6 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 aa00e67c1..743e121b5 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 ; " -- cgit v1.2.3