Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Laurentiu Palcu <laurentiu.palcu@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2 2/5] xuser-account: create separate recipe for xuser creation
Date: Thu, 4 Jul 2013 13:46:42 +0200	[thread overview]
Message-ID: <20130704114642.GB3259@jama> (raw)
In-Reply-To: <4e815a29c0d069823211ba33645f3b08ae968bfd.1372933905.git.laurentiu.palcu@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1546 bytes --]

On Thu, Jul 04, 2013 at 01:58:01PM +0300, Laurentiu Palcu wrote:
> Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> ---
>  .../user-creation/xuser-account_0.1.bb             |   27 ++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 meta/recipes-support/user-creation/xuser-account_0.1.bb
> 
> diff --git a/meta/recipes-support/user-creation/xuser-account_0.1.bb b/meta/recipes-support/user-creation/xuser-account_0.1.bb
> new file mode 100644
> index 0000000..7430d2a
> --- /dev/null
> +++ b/meta/recipes-support/user-creation/xuser-account_0.1.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "Creates an 'xuser' account"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> +

can we inherit allarch in it?

> +SRC_URI = ""
> +
> +inherit useradd
> +
> +do_configure() {
> +    :
> +}
> +
> +do_compile() {
> +    :
> +}
> +
> +do_install() {
> +    :
> +}
> +
> +USERADD_PACKAGES = "${PN}"
> +GROUPADD_PARAM_${PN} = "--system shutdown"
> +USERADD_PARAM_${PN} = "--create-home \
> +                       --groups video,tty,audio,input,shutdown \
> +                       --user-group xuser"
> +
> +ALLOW_EMPTY_${PN} = "1"
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  parent reply	other threads:[~2013-07-04 11:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-04 10:56 [PATCH v2 0/5] Allow xuser to shutdown Laurentiu Palcu
2013-07-04 10:58 ` [PATCH v2 1/5] sysvinit: allow users in shutdown group to perform halt/reboot Laurentiu Palcu
2013-07-04 10:58 ` [PATCH v2 2/5] xuser-account: create separate recipe for xuser creation Laurentiu Palcu
2013-07-04 11:29   ` Burton, Ross
2013-07-04 11:58     ` Tomas Frydrych
2013-07-04 11:46   ` Martin Jansa [this message]
2013-07-04 10:58 ` [PATCH v2 3/5] connman: remove xuser creation, RDEPEND on xuser-account Laurentiu Palcu
2013-07-04 10:58 ` [PATCH v2 4/5] xserver-nodm-init: " Laurentiu Palcu
2013-07-04 10:58 ` [PATCH v2 5/5] shutdown-desktop: give entire path in Exec field Laurentiu Palcu
2013-07-04 14:58   ` Burton, Ross
2013-07-04 15:39     ` Laurentiu Palcu
2013-07-04 15:54       ` Burton, Ross
2013-07-04 15:56       ` Tomas Frydrych
2013-07-04 18:09         ` Laurentiu Palcu
2013-07-05  7:22 ` [PATCH v3 0/5] Allow xuser to shutdown (cover letter only) Laurentiu Palcu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130704114642.GB3259@jama \
    --to=martin.jansa@gmail.com \
    --cc=laurentiu.palcu@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox