aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-07-27 22:46:23 -0700
committerRobert Yang <liezhi.yang@windriver.com>2015-07-28 21:46:01 -0700
commit9e40a8db6b8f5a4676095dffc05d69957660a620 (patch)
tree060c0062b29caca3eb74712334d42d15edacb613
parentaa05de93e6a3e525fa642bad6aa5d1acfcb35db4 (diff)
downloadopenembedded-core-contrib-rbt/useradd.tar.gz
openembedded-core-contrib-rbt/useradd.tar.bz2
openembedded-core-contrib-rbt/useradd.zip
builder: fix USERADD_PARAMrbt/useradd
When build lib32-builder, it would create the user lib32-builder which was incorrect. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/recipes-graphics/builder/builder_0.1.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/builder/builder_0.1.bb b/meta/recipes-graphics/builder/builder_0.1.bb
index 78d41e578d..bb729fce22 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
}