diff options
author | Saqib Khan <khansa@us.ibm.com> | 2017-08-31 01:19:34 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-09-05 12:47:34 +0300 |
commit | bb25d8acdae9d745be245d5a4e52419d5c2952cc (patch) | |
tree | 9efcb5ef33d967d7642d14002ce7aa7926022a54 /meta-phosphor/common/recipes-core | |
parent | 243b1bd2ffabb16e35722b5fa1925bb48d5674d7 (diff) | |
download | openbmc-bb25d8acdae9d745be245d5a4e52419d5c2952cc.tar.xz |
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_%.bbappend | 4 |
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 +} |