# 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)) # no package management and networking ve/.bare: profile/bare @$(call add,BASE_PACKAGES,basesystem) # no "vzctl enter" ve/bare: ve/.bare @$(call add,BASE_PACKAGES,sysvinit etcnet apt) # /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 @$(call add,BASE_LISTS,openssh \ $(call tags,base && (server || network || security || pkg))) # example of service-specific template ve/openvpn: ve/bare @$(call add,BASE_LISTS,$(call tags,server openvpn)) endif