summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-11-14 14:21:02 -0800
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2012-11-29 12:00:34 +0100
commit5e5a66e80e326ceabef5702c317bc557b758a128 (patch)
tree72eb8b574ef6cffff38b6a1ba8b66521dc93e27e
parent58317f4db9d5c5cf77740e536c8a0b754e1d4f41 (diff)
downloadopenembedded-core-contrib-5e5a66e80e326ceabef5702c317bc557b758a128.tar.gz
openembedded-core-contrib-5e5a66e80e326ceabef5702c317bc557b758a128.tar.bz2
openembedded-core-contrib-5e5a66e80e326ceabef5702c317bc557b758a128.zip
builder: Add password for user
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 Default password is "builder" Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/builder/builder_0.1.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-graphics/builder/builder_0.1.bb b/meta/recipes-graphics/builder/builder_0.1.bb
index 5c12c14873..41871d6f1b 100644
--- a/meta/recipes-graphics/builder/builder_0.1.bb
+++ b/meta/recipes-graphics/builder/builder_0.1.bb
@@ -1,7 +1,7 @@
SUMMARY = "New user to do specific job"
DESCRIPTION = "This recipe create a new user named ${PN}, who is used for specific jobs like building. The task can be auto started via mini X"
SECTION = "x11"
-PR = "r4"
+PR = "r5"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e"
@@ -15,10 +15,13 @@ RDEPENDS_${PN} = "mini-x-session"
inherit useradd
+# builder user password is "builder"
+BUILDER_PASSWORD ?= ".gLibiNXn0P12"
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --create-home \
--groups video,tty,audio \
- --user-group ${PN}"
+ --user-group ${PN} \
+ --password ${BUILDER_PASSWORD}"
do_install () {
install -d -m 755 ${D}${sysconfdir}/mini_x/session.d