[OE-core] [PATCH] builder: Add password for user

Mark Hatle mark.hatle at windriver.com
Thu Nov 1 15:30:56 UTC 2012


On 11/1/12 2:32 AM, Saul Wold wrote:
> This is needed to allow openssh to work correctly for the Eclipse
> plugin to have access to the build appliance to view/modify recipes
> and lauch builds
>
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
>   meta/recipes-graphics/builder/builder_0.1.bb |    3 ++-
>   1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-graphics/builder/builder_0.1.bb b/meta/recipes-graphics/builder/builder_0.1.bb
> index 5c12c14..d46e960 100644
> --- a/meta/recipes-graphics/builder/builder_0.1.bb
> +++ b/meta/recipes-graphics/builder/builder_0.1.bb
> @@ -18,7 +18,8 @@ inherit useradd
>   USERADD_PACKAGES = "${PN}"
>   USERADD_PARAM_${PN} = "--system --create-home \
>                          --groups video,tty,audio \
> -                       --user-group ${PN}"
> +                       --user-group ${PN} \
> +                       --password ${PN}"

The above won't work.  The password passed to --password, must be in encrypted 
in crypt(3) format.

--Mark

>
>   do_install () {
>   	install -d -m 755 ${D}${sysconfdir}/mini_x/session.d
>





More information about the Openembedded-core mailing list