add vm/cloud-systemd and vm/cloud-sysv profiles

(amended with a later fixup)
This commit is contained in:
Алексей Шабалин 2015-12-04 13:46:02 +03:00 committed by Michael Shigorin
parent 43b8835922
commit b7901e580d

View File

@ -5,11 +5,30 @@ ifeq (vm,$(IMAGE_CLASS))
vm/bare: vm/.bare +sysvinit vm/bare: vm/.bare +sysvinit
@$(call add,BASE_PACKAGES,apt) @$(call add,BASE_PACKAGES,apt)
vm/systemd: vm/.bare +systemd
@$(call add,BASE_PACKAGES,apt)
# handle ROOTPW (through deflogin) # handle ROOTPW (through deflogin)
vm/net: vm/bare use/net-eth/dhcp use/net-ssh \ vm/net: vm/bare use/net-eth/dhcp use/net-ssh \
use/repo use/control/sudo-su use/deflogin use/repo use/control/sudo-su use/deflogin
@$(call add,BASE_PACKAGES,su) @$(call add,BASE_PACKAGES,su)
vm/systemd-net: vm/systemd use/net-eth/dhcp use/net-ssh \
use/repo use/control/sudo-su use/deflogin use/net/networkd
@$(call add,BASE_PACKAGES,su)
# vm/net or vm/systemd-net
vm/cloud-systemd: vm/systemd-net use/vmguest/kvm
@$(call add,BASE_PACKAGES,cloud-init)
@$(call add,DEFAULT_SERVICES_ENABLE,cloud-config cloud-final cloud-init cloud-init-local)
@$(call add,DEFAULT_SERVICES_DISABLE,consolesaver)
@$(call set,KFLAVOURS,un-def)
@$(call add,THE_KMODULES,kdbus)
vm/cloud-sysv: vm/net use/vmguest/kvm use/power/acpi/button
@$(call add,BASE_PACKAGES,cloud-init)
@$(call add,DEFAULT_SERVICES_ENABLE,cloud-config cloud-final cloud-init cloud-init-local)
# NB: use/x11 employs some installer-feature packages # NB: use/x11 employs some installer-feature packages
vm/.desktop-bare: vm/net use/x11/xorg use/cleanup/installer use/repo; @: vm/.desktop-bare: vm/net use/x11/xorg use/cleanup/installer use/repo; @: