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.
This commit is contained in:
Michael Shigorin 2012-07-21 14:40:51 +03:00
parent ceffac4035
commit cb6a71d97f

View File

@ -6,17 +6,25 @@ endif
ifeq (ve,$(IMAGE_CLASS)) ifeq (ve,$(IMAGE_CLASS))
# no package management and networking
ve/.bare: profile/bare ve/.bare: profile/bare
@$(call add,BASE_PACKAGES,basesystem) @$(call add,BASE_PACKAGES,basesystem)
# no "vzctl enter"
ve/bare: ve/.bare 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 add,BASE_LISTS,openssh \
$(call tags,base && (server || network || security || pkg))) $(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)) @$(call add,BASE_LISTS,$(call tags,server openvpn))
endif endif