Commit b91fe5a2 authored by Anton Midyukov's avatar Anton Midyukov

oem: Added use/oem/no-cleanup

This target disable cleanup install packages after finishing alterator-setup.
parent 81c21c7e
......@@ -7,9 +7,13 @@ use/oem: use/services use/branding
@$(call try,OEM_TARGET,setup)
@$(call add,DEFAULT_SERVICES_ENABLE,$$(OEM_TARGET))
@$(call xport,OEM_TARGET)
@$(call xport,OEM_NO_CLEANUP)
use/oem/vnc: use/oem use/x11-vnc use/net-eth/dhcp
@$(call add,THE_PACKAGES,alterator-setup-x11vnc)
@$(call set,OEM_TARGET,setup-vnc)
@$(call set,NMCTL,no)
@$(call xport,NMCTL)
use/oem/no-cleanup: use/oem
@$(call set,OEM_NO_CLEANUP,yes)
......@@ -9,4 +9,9 @@ TARGET=/lib/systemd/system/$GLOBAL_OEM_TARGET.target
echo "LANG=en_US.utf-8" >> /etc/sysconfig/i18n
# Disable cleanup alterator-setup
[ ! "$GLOBAL_OEM_NO_CLEANUP" = yes ] ||
sed -i 's/^REMOVE_SELF=.*/REMOVE_SELF=0/' /etc/alterator-setup/config
cat /etc/alterator-setup/config
:
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