vm.mk 578 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
# step 2: build up virtual machine's configuration

ifndef MKIMAGE_PROFILES
$(error this makefile is designed to be included in toplevel one)
endif

ifeq (vm,$(IMAGE_CLASS))

vm/.bare: profile/bare
10
	@$(call add,BASE_PACKAGES,interactivesystem shadow-utils e2fsprogs)
11 12

ifeq (,$(filter-out i586 x86_64,$(ARCH)))
13
vm/.base-lilo: vm/.bare use/bootloader/lilo; @:
14
endif
15

16
ifeq (,$(filter-out i586 x86_64 ppc64le,$(ARCH)))
17
vm/.base-grub: vm/.bare use/bootloader/grub; @:
18 19 20
endif

ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
21
vm/.base-grub-efi: vm/.bare use/efi/grub; @:
22 23
endif

24
endif