xuser-account_0.1.bb 697 B

123456789101112131415161718192021222324252627282930
  1. SUMMARY = "Creates an 'xuser' account used for running X11"
  2. LICENSE = "MIT"
  3. LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
  4. SRC_URI = "file://system-xuser.conf"
  5. inherit allarch useradd
  6. S = "${UNPACKDIR}"
  7. do_configure() {
  8. :
  9. }
  10. do_compile() {
  11. :
  12. }
  13. do_install() {
  14. install -D -m 0644 ${UNPACKDIR}/system-xuser.conf ${D}${sysconfdir}/dbus-1/system.d/system-xuser.conf
  15. }
  16. FILES:${PN} = "${sysconfdir}/dbus-1/system.d/system-xuser.conf"
  17. USERADD_PACKAGES = "${PN}"
  18. USERADD_PARAM:${PN} = "--create-home \
  19. --groups video,tty,audio,input,shutdown,disk \
  20. --user-group xuser"
  21. ALLOW_EMPTY:${PN} = "1"