52 lines
1.6 KiB
Makefile
52 lines
1.6 KiB
Makefile
# virtual machines
|
|
ifeq (vm,$(IMAGE_CLASS))
|
|
|
|
# NB: interactivesystem pulls in network-config-subsystem anyways
|
|
vm/bare: vm/.bare +sysvinit
|
|
@$(call add,BASE_PACKAGES,apt)
|
|
|
|
vm/systemd: vm/.bare +systemd
|
|
@$(call add,BASE_PACKAGES,apt)
|
|
|
|
# handle ROOTPW (through deflogin)
|
|
vm/net: vm/bare use/net-eth/dhcp use/net-ssh \
|
|
use/repo use/control/sudo-su use/deflogin
|
|
@$(call add,BASE_PACKAGES,su)
|
|
|
|
vm/systemd-net: vm/systemd use/net-eth/networkd-dhcp use/net-ssh \
|
|
use/repo use/control/sudo-su use/deflogin
|
|
@$(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
|
|
vm/.desktop-bare: vm/net use/x11/xorg use/cleanup/installer use/repo; @:
|
|
|
|
vm/.desktop-base: vm/.desktop-bare \
|
|
use/deflogin/altlinuxroot use/x11-autologin; @:
|
|
|
|
mixin/icewm: use/x11/lightdm/gtk +icewm; @:
|
|
|
|
vm/icewm: vm/.desktop-base mixin/icewm; @:
|
|
|
|
vm/icewm-setup: vm/.desktop-bare mixin/icewm use/oem use/x11-autostart
|
|
@$(call set,BRANDING,simply-linux)
|
|
@$(call add,THE_BRANDING,graphics)
|
|
@$(call add,THE_LISTS,$(call tags,base l10n))
|
|
|
|
# some arbitrary gigabyte
|
|
vm/vagrant-base: vm/net use/vagrant
|
|
@$(call set,VM_SIZE,10737418240)
|
|
|
|
endif
|