mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
meta-systemd: connman, openssh: move bbappends to oe-core dir
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
inherit systemd
|
||||
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
|
||||
EXTRA_OECONF += "--with-systemdunitdir=${systemd_unitdir}/system/"
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE_${PN}-systemd = "connman.service"
|
||||
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Conflicts=sshd.service
|
||||
|
||||
[Socket]
|
||||
ExecStartPre=/bin/mkdir -p /var/run/sshd
|
||||
ListenStream=22
|
||||
Accept=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=sshdgenkeys.service
|
||||
@@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=OpenSSH Per-Connection Daemon
|
||||
After=sshdgenkeys.service
|
||||
|
||||
[Service]
|
||||
ExecStart=-/usr/sbin/sshd -i
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
StandardInput=socket
|
||||
StandardError=syslog
|
||||
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=SSH Key Generation
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/ssh-keygen -A
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,10 +0,0 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 3}"
|
||||
|
||||
SYSTEMD_PACKAGES = "openssh-sshd-systemd"
|
||||
SYSTEMD_SERVICE = "sshd.socket"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://sshd.socket file://sshd@.service file://sshdgenkeys.service"
|
||||
Reference in New Issue
Block a user