export DEBCONF
define DEBCONF :=
+
keyboard-configuration keyboard-configuration/model select Generic 105-key (Intl) PC
keyboard-configuration keyboard-configuration/variant select English (US) - English (Macintosh)
-
endef
.PHONY: _debconf_selections
endif
define DEBCONF +=
+
nodm nodm/enabled boolean true
endef
ifdef nodm_user
_config: _nodm_user _nodm_cfg
define DEBCONF +=
+
nodm nodm/user string ${nodm_user}
endef
endif
PACKAGES += chromium
endif
define DEBCONF +=
+
nodm nodm/xsession string /usr/bin/chromium --app=${webui}
endef
endif
.PHONY: _nodm_user _nodm_cfg
_nodm_cfg: ${CFGROOT}
- #printf '%s\n' "$${DEBCONF}" |chroot "$${CFGROOT}" debconf-set-selections
rm "$${CFGROOT}/etc/default/nodm"
chroot "$${CFGROOT}" dpkg-reconfigure --default-priority -u nodm