M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions
@@ -0,0 +1,27 @@
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 = "r0"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e"
SRC_URI = "file://builder_hob_start.sh"
S = "${WORKDIR}"
RDEPENDS_${PN} = "mini-x-session"
inherit useradd
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --create-home \
--groups video,tty,audio \
--user-group ${PN}"
do_install () {
install -d -m 755 ${D}/etc/mini_x/session.d
install -p -m 755 builder_hob_start.sh ${D}/etc/mini_x/session.d/
chown ${PN}.${PN} ${D}/etc/mini_x/session.d/builder_hob_start.sh
}
@@ -0,0 +1,11 @@
#!/bin/sh
#This script will be called via mini X session on behalf of file owner, after
#installed in /etc/mini_x/session.d/. Any auto start jobs including X apps can
#be put here
# start hob here
#cd /intel/poky/poky
#. ./oe-init-build-env
#../scripts/hob
matchbox-terminal&