ve.mk 743 Bytes
Newer Older
1 2 3 4 5 6 7 8
# step 2: build up virtual environment's configuration

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

ifeq (ve,$(IMAGE_CLASS))

9
# no package management and networking
10 11 12
ve/.bare: profile/bare
	@$(call add,BASE_PACKAGES,basesystem)

13
# no "vzctl enter"
14
ve/bare: ve/.bare
15
	@$(call add,BASE_PACKAGES,sysvinit etcnet apt)
16

17 18 19 20 21 22
# /dev/pty and friends start here
ve/base: ve/bare
	@$(call add,BASE_PACKAGES,interactivesystem)

# this should be more or less deployable
ve/generic: ve/base
23
	@$(call add,BASE_LISTS,openssh \
24 25
		$(call tags,base && (server || network || security || pkg)))

26 27
# example of service-specific template
ve/openvpn: ve/bare
28 29 30
	@$(call add,BASE_LISTS,$(call tags,server openvpn))

endif