diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-04-04 16:07:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-06 01:12:47 +0100 |
commit | 0f497f3dcd4a38ebafcb0076e3c7d9b85199eb39 (patch) | |
tree | 5c62f1b367a8fb19c10869cb6a0bde45cc7d9b41 /meta/recipes-core/images | |
parent | 91983593f49ef8fdc42fb68370becded7f2135f7 (diff) | |
download | poky-0f497f3dcd4a38ebafcb0076e3c7d9b85199eb39.tar.gz |
self-hosted-image: decrease reserved space to 0.5%
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.
(From OE-Core rev: c62d6d119c107fc60894ba25e83c96536a1b423c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/images')
-rw-r--r-- | meta/recipes-core/images/self-hosted-image.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb index d8fd4a963c..8adb683744 100644 --- a/meta/recipes-core/images/self-hosted-image.bb +++ b/meta/recipes-core/images/self-hosted-image.bb | |||
@@ -5,7 +5,7 @@ LICENSE = "MIT" | |||
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ |
6 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 6 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
7 | 7 | ||
8 | PR = "r9" | 8 | PR = "r10" |
9 | 9 | ||
10 | IMAGE_FEATURES += "x11-mini package-management" | 10 | IMAGE_FEATURES += "x11-mini package-management" |
11 | 11 | ||
@@ -22,6 +22,11 @@ inherit core-image | |||
22 | SRCREV = "8691a588267472eb5a32b978a0eb9ddfd0c91733" | 22 | SRCREV = "8691a588267472eb5a32b978a0eb9ddfd0c91733" |
23 | SRC_URI = "git://git.yoctoproject.org/poky;protocol=git" | 23 | SRC_URI = "git://git.yoctoproject.org/poky;protocol=git" |
24 | 24 | ||
25 | IMAGE_CMD_ext3_append () { | ||
26 | # We don't need to reserve much space for root, 0.5% is more than enough | ||
27 | tune2fs -m 0.5 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 | ||
28 | } | ||
29 | |||
25 | fakeroot do_populate_poky_src () { | 30 | fakeroot do_populate_poky_src () { |
26 | # Because fetch2's git's unpack uses -s cloneflag, the unpacked git repo | 31 | # Because fetch2's git's unpack uses -s cloneflag, the unpacked git repo |
27 | # will become invalid in the target. | 32 | # will become invalid in the target. |