From 0fd0b5cc27e3ef72bc00f593b0730b7fca5d0450 Mon Sep 17 00:00:00 2001 From: Sinan Kaya Date: Wed, 18 Nov 2020 22:54:50 +0000 Subject: 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. Signed-off-by: Sinan Kaya Signed-off-by: Richard Purdie --- meta/recipes-core/volatile-binds/volatile-binds.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): SYSTEMD_SERVICE_${PN} = "${@volatile_systemd_services(d)}" -FILES_${PN} += "${systemd_unitdir}/system/*.service" +FILES_${PN} += "${systemd_unitdir}/system/*.service ${servicedir}" do_compile () { while read spec mountpoint; do @@ -64,6 +64,7 @@ do_compile[dirs] = "${WORKDIR}" do_install () { install -d ${D}${base_sbindir} + install -d ${D}${servicedir} install -m 0755 mount-copybind ${D}${base_sbindir}/ install -d ${D}${systemd_unitdir}/system -- cgit 1.2.3-korg