mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
We've been removing PR values from recipes at upgrade time for a while. In general anyone maintaining a binary distro would end up having to curate these themselves so the values in OE-Core aren't really that useful anymore. In many ways it makes sense to clear out the remaining ones (which are mostly for 'config' recipes that are unlikely to increase in PV) and leave a clean slate for anyone implementing a binary distro config. References are left in meta-selftest since the tests there do involve them and their removal upon upgrade. (From OE-Core rev: d4c346e8ab8f3cae25d1b01c7331ed9f6d4f96ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
1.0 KiB
BlitzBasic
32 lines
1.0 KiB
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"
|
|
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
|
|
}
|
|
|
|
CVE_STATUS[CVE-2008-4178] = "cpe-incorrect: This CVE is for an unrelated builder"
|