1 inherit allarch useradd
3 SUMMARY = "AGL Users Seed"
4 DESCRIPTION = "This is a core framework component that\
5 defines how users are managed and who are the default users."
8 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
14 RDEPENDS_${PN}_append_smack = " smack-userspace"
15 DEPENDS_append_smack = " smack-userspace-native"
17 ALLOW_EMPTY_${PN} = "1"
19 USERADD_PACKAGES = "${PN}"
21 USERADD_PARAM_${PN} = "\
22 -g users -d /home/agl-driver -m -K PASS_MAX_DAYS=-1 agl-driver ; \
23 -g users -d /home/agl-passenger -m -K PASS_MAX_DAYS=-1 agl-passenger \
40 pkg_postinst_${PN}() {
43 # avoid to run on host
44 [ x"$D" != "x" ] && exit 1
48 passwd -d agl-passenger
51 pkg_postinst_${PN}_smack() {
54 # avoid to run on host
55 [ x"$D" != "x" ] && exit 1
57 # Actions to carry out on the device go here
58 for x in /etc/skel /home/*
60 chsmack -a User::Home $x
63 passwd -d agl-passenger