Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
32
sources/poky/meta/recipes-graphics/builder/builder_0.1.bb
Normal file
32
sources/poky/meta/recipes-graphics/builder/builder_0.1.bb
Normal file
@@ -0,0 +1,32 @@
|
||||
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"
|
||||
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
|
||||
}
|
||||
|
||||
# do not report CVEs for other builder apps
|
||||
CVE_PRODUCT = "yoctoproject:builder"
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/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
|
||||
export PSEUDO_PREFIX=/usr
|
||||
export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo
|
||||
export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64
|
||||
export GIT_PROXY_COMMAND=/home/builder/poky/scripts/oe-git-proxy
|
||||
|
||||
#start pcmanfm in daemon mode to allow asynchronous launch
|
||||
pcmanfm -d&
|
||||
|
||||
#register handlers for some file types
|
||||
if [ ! -d /home/builder/.local/share/applications ]; then
|
||||
mkdir -p /home/builder/.local/share/applications/
|
||||
#register folders to open with PCManFM filemanager
|
||||
xdg-mime default pcmanfm.desktop inode/directory
|
||||
|
||||
#register html links and files with epiphany
|
||||
xdg-mime default epiphany.desktop x-scheme-handler/http
|
||||
xdg-mime default epiphany.desktop x-scheme-handler/https
|
||||
xdg-mime default epiphany.desktop text/html
|
||||
|
||||
#register text files with l3afpad text editor
|
||||
xdg-mime default l3afpad.desktop text/plain
|
||||
fi
|
||||
|
||||
cd /home/builder/poky
|
||||
. ./oe-init-build-env
|
||||
|
||||
matchbox-terminal&
|
||||
Reference in New Issue
Block a user