summaryrefslogtreecommitdiff
path: root/meta/recipes-core/images
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-08-15 15:02:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:34:16 +0100
commit3acec386b94a040cbda615c8819d2552dd0878a6 (patch)
tree5046cbae4b23f083288969ddab90d1833dd67d37 /meta/recipes-core/images
parent9701f9551940814623ed58ef13e4c5bb29934ed6 (diff)
downloadopenembedded-core-3acec386b94a040cbda615c8819d2552dd0878a6.tar.gz
openembedded-core-3acec386b94a040cbda615c8819d2552dd0878a6.tar.bz2
openembedded-core-3acec386b94a040cbda615c8819d2552dd0878a6.zip
core-image-minimal: Add 4M extra space when using systemd
qemu images fail to rebuild the hwdb due to no space letf on device systemd-hwdb-update.service - Rebuild Hardware Database Loaded: loaded (/lib/systemd/system/systemd-hwdb-update.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2015-08-15 21:39:28 UTC; 28s ago Docs: man:hwdb(7) man:systemd-hwdb(8) Process: 92 ExecStart=/bin/systemd-hwdb update (code=exited, status=1/FAILURE) Main PID: 92 (code=exited, status=1/FAILURE) Aug 15 21:39:28 qemux86 systemd-hwdb[92]: Failure writing database //etc/udev/hwdb.bin: No space left on device Aug 15 21:39:28 qemux86 systemd[1]: systemd-hwdb-update.service: Main process exited, code=exited, status=1/FAILURE Aug 15 21:39:28 qemux86 systemd[1]: Failed to start Rebuild Hardware Database. (From OE-Core rev: 4086c539d47bc837e775972016e1844a3676c8e7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/images')
-rw-r--r--meta/recipes-core/images/core-image-minimal.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/images/core-image-minimal.bb b/meta/recipes-core/images/core-image-minimal.bb
index 9716274c34..8dd77b3472 100644
--- a/meta/recipes-core/images/core-image-minimal.bb
+++ b/meta/recipes-core/images/core-image-minimal.bb
@@ -9,4 +9,4 @@ LICENSE = "MIT"
inherit core-image
IMAGE_ROOTFS_SIZE ?= "8192"
-
+IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)}"