diff options
author | Sinan Kaya <okaya@kernel.org> | 2020-11-18 22:54:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-24 10:27:45 +0000 |
commit | 4ac1260f4c0963bdcb1267124c298c198750ef9d (patch) | |
tree | 27a61baa1821a863560533e85eefba17908e6c1a | |
parent | 0fa07d1811fa9612e3f643a4d6bf711b281ca7fd (diff) | |
download | poky-4ac1260f4c0963bdcb1267124c298c198750ef9d.tar.gz poky-4ac1260f4c0963bdcb1267124c298c198750ef9d.tar.bz2 poky-4ac1260f4c0963bdcb1267124c298c198750ef9d.zip |
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>
-rw-r--r-- | meta/recipes-core/volatile-binds/volatile-binds.bb | 3 |
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): 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 |