mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
0fa07d1811
commit
4ac1260f4c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user