mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
dropbear: remove unneeded systemd code / use ${systemd_unitdir}
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
committed by
Koen Kooi
parent
7a23c18646
commit
8998d3aae4
@@ -1,6 +1,6 @@
|
|||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
PRINC := "${@int(PRINC) + 2}"
|
||||||
|
|
||||||
# look for files in the layer first
|
# look for files in the layer first
|
||||||
FILESEXTRAPATHS := "${THISDIR}/${PN}"
|
FILESEXTRAPATHS := "${THISDIR}/${PN}"
|
||||||
@@ -13,14 +13,5 @@ SYSTEMD_PACKAGES = "${PN}-systemd"
|
|||||||
SYSTEMD_SERVICE_${PN}-systemd = "dropbear.socket"
|
SYSTEMD_SERVICE_${PN}-systemd = "dropbear.socket"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${base_libdir}/systemd/system
|
ln -sf /dev/null ${D}${systemd_unitdir}/system/dropbear.service
|
||||||
install -m 0644 ${WORKDIR}/dropbearkey.service ${D}${base_libdir}/systemd/system/
|
|
||||||
install -m 0644 ${WORKDIR}/dropbear@.service ${D}${base_libdir}/systemd/system/
|
|
||||||
install -m 0644 ${WORKDIR}/dropbear.socket ${D}${base_libdir}/systemd/system/
|
|
||||||
ln -sf /dev/null ${D}${base_libdir}/systemd/system/dropbear.service
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES += "${PN}-systemd"
|
|
||||||
|
|
||||||
RDEPENDS_${PN}-systemd += "dropbear"
|
|
||||||
FILES_${PN}-systemd = "${base_libdir}/systemd"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user