summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-04-04 16:07:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-06 01:12:47 +0100
commit0f497f3dcd4a38ebafcb0076e3c7d9b85199eb39 (patch)
tree5c62f1b367a8fb19c10869cb6a0bde45cc7d9b41
parent91983593f49ef8fdc42fb68370becded7f2135f7 (diff)
downloadpoky-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>
-rw-r--r--meta/recipes-core/images/self-hosted-image.bb7
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"
5LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 5LIC_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
8PR = "r9" 8PR = "r10"
9 9
10IMAGE_FEATURES += "x11-mini package-management" 10IMAGE_FEATURES += "x11-mini package-management"
11 11
@@ -22,6 +22,11 @@ inherit core-image
22SRCREV = "8691a588267472eb5a32b978a0eb9ddfd0c91733" 22SRCREV = "8691a588267472eb5a32b978a0eb9ddfd0c91733"
23SRC_URI = "git://git.yoctoproject.org/poky;protocol=git" 23SRC_URI = "git://git.yoctoproject.org/poky;protocol=git"
24 24
25IMAGE_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
25fakeroot do_populate_poky_src () { 30fakeroot 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.