Files
meta-kineintercom/recipes-apps/kine-users/kine-users.bb
T
2022-12-17 12:57:03 +01:00

24 lines
878 B
BlitzBasic

# Copyright (C) 2022 Vincent BENOIT <vincent.benoit@benserv.fr>
# Release under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "KineIntercom Users"
MAINTAINER = "Vincent BENOIT <vincent.benoit@benserv.fr>"
LICENSE = "CLOSED"
DEPENDS_${PN} = "base-files"
S = "${WORKDIR}"
inherit useradd
USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM:${PN} = "--system sudo; --system adm; --system crontab; --system gpio; --system dialout;"
# To change the password use something like this : "mkpasswd -m sha-512 p@ssw0rd -s 'seed'"
# mkpasswd from 'whois' debian package
USERADD_PARAM:${PN} = "--home-dir /home/pi --groups 'sudo,adm,gpio,dialout' --shell /bin/bash --password '\$6\$kineintercom\$GG8czkna4jULxnX/UcaaAekfnn1wJry7M/7O0zO89jDZ7lwE7Thv2UEGgBX4z8A6gIaARFyzESmQaFB3lLKns/' pi;"
# Specify whether to produce an output package even if it is empty
ALLOW_EMPTY:${PN} = "1"