summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/volatile-binds
diff options
context:
space:
mode:
authorSinan Kaya <okaya@kernel.org>2020-11-18 22:54:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-24 10:27:45 +0000
commit4ac1260f4c0963bdcb1267124c298c198750ef9d (patch)
tree27a61baa1821a863560533e85eefba17908e6c1a /meta/recipes-core/volatile-binds
parent0fa07d1811fa9612e3f643a4d6bf711b281ca7fd (diff)
downloadpoky-4ac1260f4c0963bdcb1267124c298c198750ef9d.tar.gz
volatile-binds: add /srv to mount and install
We are installing a service to volatile mount /srv directory but we are not creating it on the target. (From OE-Core rev: 0fd0b5cc27e3ef72bc00f593b0730b7fca5d0450) Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/volatile-binds')
-rw-r--r--meta/recipes-core/volatile-binds/volatile-binds.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb b/meta/recipes-core/volatile-binds/volatile-binds.bb
index b273293e9a..3c8b18291e 100644
--- a/meta/recipes-core/volatile-binds/volatile-binds.bb
+++ b/meta/recipes-core/volatile-binds/volatile-binds.bb
@@ -35,7 +35,7 @@ def volatile_systemd_services(d):
35 35
36SYSTEMD_SERVICE_${PN} = "${@volatile_systemd_services(d)}" 36SYSTEMD_SERVICE_${PN} = "${@volatile_systemd_services(d)}"
37 37
38FILES_${PN} += "${systemd_unitdir}/system/*.service" 38FILES_${PN} += "${systemd_unitdir}/system/*.service ${servicedir}"
39 39
40do_compile () { 40do_compile () {
41 while read spec mountpoint; do 41 while read spec mountpoint; do
@@ -64,6 +64,7 @@ do_compile[dirs] = "${WORKDIR}"
64 64
65do_install () { 65do_install () {
66 install -d ${D}${base_sbindir} 66 install -d ${D}${base_sbindir}
67 install -d ${D}${servicedir}
67 install -m 0755 mount-copybind ${D}${base_sbindir}/ 68 install -m 0755 mount-copybind ${D}${base_sbindir}/
68 69
69 install -d ${D}${systemd_unitdir}/system 70 install -d ${D}${systemd_unitdir}/system