]> 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, 10 Oct 2011 08:54:02 +0000 (09:54 +0100)
commit6b7f399d595ef58e759dab211f4ece155119a680
tree1448d3a5788bb29ab273a22ddba28a7465878c20
parent6e9e19b18597103d8fe09f258cfd9904bb5f1c27
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.

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