mirror of
https://git.yoctoproject.org/poky
synced 2026-02-16 05:33:03 +01:00
hob has been removed so don't try and autostart it with the mini-x session in the build appliance. Remove the please_wait_dialog program which informed the user to wait for Hob to start. Rename the mini-x autostart file to reflect the removal of hob, we now just start a matchbox-terminal with the environment configured. (From OE-Core rev: cd43436def38a0a87f0cd330fa487ad5fc0748d0) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
969 B
BlitzBasic
32 lines
969 B
BlitzBasic
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 = "r6"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://builder_session.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e"
|
|
|
|
SRC_URI = "file://builder_session.sh \
|
|
"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
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 \
|
|
--password ${BUILDER_PASSWORD} \
|
|
--user-group builder"
|
|
|
|
do_install () {
|
|
install -d -m 755 ${D}${sysconfdir}/mini_x/session.d
|
|
install -p -m 755 builder_session.sh ${D}${sysconfdir}/mini_x/session.d/
|
|
|
|
chown builder.builder ${D}${sysconfdir}/mini_x/session.d/builder_session.sh
|
|
}
|
|
|