summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/builder
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/builder')
-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 @@
1SUMMARY = "New user to do specific job" 1SUMMARY = "New user to do specific job"
2DESCRIPTION = "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" 2DESCRIPTION = "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"
3SECTION = "x11" 3SECTION = "x11"
4PR = "r4" 4PR = "r5"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e" 6LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e"
7 7
@@ -15,10 +15,13 @@ RDEPENDS_${PN} = "mini-x-session"
15 15
16inherit useradd 16inherit useradd
17 17
18# builder user password is "builder"
19BUILDER_PASSWORD ?= ".gLibiNXn0P12"
18USERADD_PACKAGES = "${PN}" 20USERADD_PACKAGES = "${PN}"
19USERADD_PARAM_${PN} = "--system --create-home \ 21USERADD_PARAM_${PN} = "--system --create-home \
20 --groups video,tty,audio \ 22 --groups video,tty,audio \
21 --user-group ${PN}" 23 --user-group ${PN} \
24 --password ${BUILDER_PASSWORD}"
22 25
23do_install () { 26do_install () {
24 install -d -m 755 ${D}${sysconfdir}/mini_x/session.d 27 install -d -m 755 ${D}${sysconfdir}/mini_x/session.d