mkimage-profiles/lib/ve.mk
Michael Shigorin cb6a71d97f lib/ve.mk: whoops, ve/bare misses /sbin/init
Actually the templates pretending to be usable missed the whole
interactivesystem (sysvinit would get pulled in by services as well).

Fixed somewhat but time and practice will tell.
2012-07-21 19:15:24 +03:00

31 lines
743 B
Makefile

# 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