2 PACKAGES += nodm xserver-xorg-input-evdev libgl1-mesa-dri
4 PACKAGES += nodm xserver-xorg-video-all xserver-xorg-input-all libgl1-mesa-dri
9 nodm nodm/enabled boolean true
13 _config: _nodm_user _nodm_cfg
16 nodm nodm/user string ${nodm_user}
23 nodm_browser := chromium-browser
24 PACKAGES += chromium-browser
26 nodm_browser := chromium
31 nodm nodm/xsession string "/usr/bin/${nodm_browser} --app=${webui}"
35 .PHONY: _nodm_user _nodm_cfg
38 sed -Ei 's;^TimeoutStopSec=.*$$;TimeoutStopSec=1;' "$${CFGROOT}/lib/systemd/system/nodm.service"
39 rm "$${CFGROOT}/etc/default/nodm"
40 chroot "$${CFGROOT}" dpkg-reconfigure --default-priority -u nodm
46 _nodm_user: ${CFGROOT}
47 chroot "${CFGROOT}" adduser "${nodm_user}" video
48 chroot "${CFGROOT}" adduser "${nodm_user}" input