Commit cb6a71d9 authored by Michael Shigorin's avatar Michael Shigorin

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.
parent ceffac40
......@@ -6,17 +6,25 @@ 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,apt)
@$(call add,BASE_PACKAGES,sysvinit etcnet apt)
ve/generic: ve/.bare
# /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)))
ve/openvpn: ve/.bare
# example of service-specific template
ve/openvpn: ve/bare
@$(call add,BASE_LISTS,$(call tags,server openvpn))
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment