Commit a05f52c9 authored by Arseniy Romenskiy's avatar Arseniy Romenskiy Committed by Anton Midyukov

oem: add use/oem/wayland feature

Add support for running in Wayland. Add OEM_ON_WAYLAND parameter to enable Wayland.
parent 39a0e8d7
......@@ -11,11 +11,16 @@ use/oem: use/services use/branding use/deflogin/root use/l10n
@$(call xport,OEM_NO_CLEANUP)
@$(call xport,OEM_STEPS)
@$(call xport,OEM_INSTALL)
@$(call xport,OEM_ON_WAYLAND)
use/oem/vnc: use/oem
@$(call add,BASE_PACKAGES,alterator-vnc)
@$(call add,BASE_PACKAGES,x11vnc x11vnc-service xorg-drv-dummy)
use/oem/wayland: use/oem
@$(call add,BASE_PACKAGES,alterator-setup-wayland)
@$(call set,OEM_ON_WAYLAND,yes)
use/oem/no-cleanup: use/oem
@$(call set,OEM_NO_CLEANUP,yes)
......
......@@ -4,6 +4,12 @@
[ ! "$GLOBAL_OEM_NO_CLEANUP" = yes ] ||
sed -i 's/^REMOVE_SELF=.*/REMOVE_SELF=0/' /etc/alterator-setup/config
# Enable wayland compositor
if [ "$GLOBAL_OEM_ON_WAYLAND" = yes ]; then
sed -i 's/^ALTERATOR_SETUP_WAYLAND=.*/ALTERATOR_SETUP_WAYLAND=1/' \
/etc/alterator-setup/config
fi
# Set alterator-setup steps
if [ -n "$GLOBAL_OEM_STEPS" ]; then
rm -f /etc/alterator-setup/steps
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment