From: Robert Yang <liezhi.yang@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 3/3] builder: fix USERADD_PARAM
Date: Wed, 29 Jul 2015 12:48:21 +0800 [thread overview]
Message-ID: <55B85B15.4090801@windriver.com> (raw)
In-Reply-To: <5f7249878baba13ed53de7fd5cc5a160a690d505.1438074152.git.liezhi.yang@windriver.com>
Hello,
I updated this patch a little, we also need update the chown command:
git://git.openembedded.org/openembedded-core-contrib rbt/useradd
diff --git a/meta/recipes-graphics/builder/builder_0.1.bb
b/meta/recipes-graphics/builder/builder_0.1.bb
index 78d41e5..bb729fc 100644
--- a/meta/recipes-graphics/builder/builder_0.1.bb
+++ b/meta/recipes-graphics/builder/builder_0.1.bb
@@ -21,13 +21,13 @@ USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --create-home \
--groups video,tty,audio \
--password ${BUILDER_PASSWORD} \
- --user-group ${PN}"
+ --user-group builder"
do_install () {
install -d -m 755 ${D}${sysconfdir}/mini_x/session.d
install -p -m 755 builder_hob_start.sh ${D}${sysconfdir}/mini_x/session.d/
- chown ${PN}.${PN} ${D}${sysconfdir}/mini_x/session.d/builder_hob_start.sh
+ chown builder.builder
${D}${sysconfdir}/mini_x/session.d/builder_hob_start.sh
install -p -m 755 please_wait_dialog.py ${D}${sysconfdir}/mini_x
}
// Robert
On 07/28/2015 05:03 PM, Robert Yang wrote:
> When build lib32-builder, it would create the user lib32-builder which
> was incorrect.
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
> meta/recipes-graphics/builder/builder_0.1.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/builder/builder_0.1.bb b/meta/recipes-graphics/builder/builder_0.1.bb
> index 78d41e5..d87d0e9 100644
> --- a/meta/recipes-graphics/builder/builder_0.1.bb
> +++ b/meta/recipes-graphics/builder/builder_0.1.bb
> @@ -21,7 +21,7 @@ USERADD_PACKAGES = "${PN}"
> USERADD_PARAM_${PN} = "--system --create-home \
> --groups video,tty,audio \
> --password ${BUILDER_PASSWORD} \
> - --user-group ${PN}"
> + --user-group builder"
>
> do_install () {
> install -d -m 755 ${D}${sysconfdir}/mini_x/session.d
>
next prev parent reply other threads:[~2015-07-29 4:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 9:03 [PATCH 0/3] fixes for useradd Robert Yang
2015-07-28 9:03 ` [PATCH 1/3] useradd_base.bbclass: print PN when bbnote/bbwarn/bbfatal Robert Yang
2015-07-28 9:03 ` [PATCH 2/3] useradd_base.bbclass: do not warn when the user exists Robert Yang
2015-07-28 9:03 ` [PATCH 3/3] builder: fix USERADD_PARAM Robert Yang
2015-07-29 4:48 ` Robert Yang [this message]
2015-08-09 0:54 ` Khem Raj
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=55B85B15.4090801@windriver.com \
--to=liezhi.yang@windriver.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