| Submitter | Paul Eggleton |
|---|---|
| Date | April 4, 2012, 3:32 p.m. |
| Message ID | <95c5864783433fb7a82a356c1e6132a9a56a1bf4.1333553396.git.paul.eggleton@linux.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/25161/ |
| State | New |
| Headers | show |
Comments
On Wed, Apr 4, 2012 at 12:32, Paul Eggleton <paul.eggleton@linux.intel.com> wrote: > The default amount of reserved space for ext2/3 is 5% - this amounts to > about 2GB of a 40GB filesystem that the builder user can't make use of. > We don't need this much reserved so peg it back to 0.5% which should be > more than enough. Please look at my comment about a possible alternative way of doing it, in a more generic one.
Patch
diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb index d2faa66..17ae9ce 100644 --- a/meta/recipes-core/images/self-hosted-image.bb +++ b/meta/recipes-core/images/self-hosted-image.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -PR = "r9" +PR = "r10" CORE_IMAGE_EXTRA_INSTALL = "\ task-self-hosted \ @@ -14,6 +14,8 @@ IMAGE_FEATURES += "x11-mini package-management" # Ensure there's enough space to do a core-image-sato build, with rm_work enabled IMAGE_ROOTFS_EXTRA_SPACE = "41943040" +# We don't need to reserve much space for root, 0.5% is more than enough +IMAGE_TUNE2FS_ext3 = "-m 0.5" # Do a quiet boot with limited console messages APPEND += "quiet"
The default amount of reserved space for ext2/3 is 5% - this amounts to about 2GB of a 40GB filesystem that the builder user can't make use of. We don't need this much reserved so peg it back to 0.5% which should be more than enough. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> --- meta/recipes-core/images/self-hosted-image.bb | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)