summaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-config/agl-users/agl-users_1.0.bb
blob: eda477f7a3790b28bffa3d5c65aa67fca1bb2895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SUMMARY = "AGL Users"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

inherit allarch useradd

USERADD_PACKAGES = "${PN}"
USERADDEXTENSION = "useradd-staticids"

GROUPADD_PARAM:${PN} = "\
    --system video ; \
    --system pipewire ; \
    -g 1001 agl-driver ; \
"

USERADD_PARAM:${PN} = "\
    -g 1001 -u 1001 -G video,pipewire -o -d /home/agl-driver -m -K PASS_MAX_DAYS=-1 agl-driver ; \
"

ALLOW_EMPTY:${PN} = "1"