mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
openssh: remove unneeded systemd code
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
committed by
Koen Kooi
parent
8998d3aae4
commit
54a836cb0f
@@ -1,6 +1,6 @@
|
|||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||||
|
|
||||||
PRINC := "${@int(PRINC) + 1}"
|
PRINC := "${@int(PRINC) + 2}"
|
||||||
|
|
||||||
SYSTEMD_PACKAGES = "openssh-sshd-systemd"
|
SYSTEMD_PACKAGES = "openssh-sshd-systemd"
|
||||||
SYSTEMD_SERVICE = "sshd.socket"
|
SYSTEMD_SERVICE = "sshd.socket"
|
||||||
@@ -8,15 +8,3 @@ SYSTEMD_SERVICE = "sshd.socket"
|
|||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
||||||
SRC_URI += "file://sshd.socket file://sshd@.service file://sshdgenkeys.service"
|
SRC_URI += "file://sshd.socket file://sshd@.service file://sshdgenkeys.service"
|
||||||
|
|
||||||
do_install_append() {
|
|
||||||
install -d ${D}${base_libdir}/systemd/system
|
|
||||||
install -m 644 ${WORKDIR}/sshd.socket ${D}${base_libdir}/systemd/system
|
|
||||||
install -m 644 ${WORKDIR}/sshd@.service ${D}${base_libdir}/systemd/system
|
|
||||||
install -m 644 ${WORKDIR}/sshdgenkeys.service ${D}${base_libdir}/systemd/system
|
|
||||||
}
|
|
||||||
|
|
||||||
PACKAGES =+ "openssh-sshd-systemd"
|
|
||||||
|
|
||||||
FILES_openssh-sshd-systemd += "${base_libdir}/systemd"
|
|
||||||
RDEPENDS_openssh-sshd-systemd += "openssh-sshd"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user