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:
parent
ceffac4035
commit
cb6a71d97f
14
lib/ve.mk
14
lib/ve.mk
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user