summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-core
diff options
context:
space:
mode:
authorSaqib Khan <khansa@us.ibm.com>2017-08-30 17:19:34 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-09-05 09:47:34 +0000
commitbb25d8acdae9d745be245d5a4e52419d5c2952cc (patch)
tree9efcb5ef33d967d7642d14002ce7aa7926022a54 /meta-phosphor/common/recipes-core
parent243b1bd2ffabb16e35722b5fa1925bb48d5674d7 (diff)
downloadtalos-openbmc-bb25d8acdae9d745be245d5a4e52419d5c2952cc.tar.gz
talos-openbmc-bb25d8acdae9d745be245d5a4e52419d5c2952cc.zip
Add dir "srv" to the root file system
systemd-tmpfiles-setup.service tries to create a temporary dir /srv but due to the read-only root file system it was failing. Resolves openbmc/openbmc#2231 Change-Id: I429b16a7736959583f24bf7fb4c6766cda24130a Signed-off-by: Saqib Khan <khansa@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-core')
-rw-r--r--meta-phosphor/common/recipes-core/base-files/base-files_%.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-core/base-files/base-files_%.bbappend b/meta-phosphor/common/recipes-core/base-files/base-files_%.bbappend
index d7e7a3bd3..f282cde90 100644
--- a/meta-phosphor/common/recipes-core/base-files/base-files_%.bbappend
+++ b/meta-phosphor/common/recipes-core/base-files/base-files_%.bbappend
@@ -3,3 +3,7 @@ inherit obmc-phosphor-utils
FILESEXTRAPATHS_prepend := "${@mf_enabled(d, 'obmc-ubi-fs', '${THISDIR}/${PN}:')}"
RDEPENDS_${PN}_append += "${@mf_enabled(d, 'obmc-ubi-fs', 'mount-overlay-help')}"
+
+do_install_append() {
+ install -d ${D}/srv
+}
OpenPOWER on IntegriCloud