]> code.ossystems Code Review - openembedded-core.git/commit
Use useradd and update-rc.d classes in the OpenSSH recipe
authorJulian Pidancet <julian.pidancet@gmail.com>
Fri, 7 Oct 2011 00:13:41 +0000 (01:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:27:06 +0000 (16:27 +0000)
commit058116f528bff27ca5a0e56bbf8070e94f934f32
tree1cba7c07746e058b5a4d150d78ad3ec224cf8f8b
parent533d99f28fab73503ed3ebaee63aaaeb23ad2a1c
Use useradd and update-rc.d classes in the OpenSSH recipe

The current sshd postinst and postrm scripts in the OpenSSH make the
package dependant of the adduser/addgroup scripts which may not be
available on all systems.

This patch replaces the sshd postinst and postrm scripts with proper
usage of the useradd and update-rc.d classes.

This patch had been modified from the previous proposed version to
use useradd long options for more clarity.

(From OE-Core rev: 6b7f399d595ef58e759dab211f4ece155119a680)

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssh/openssh_5.8p2.bb