{lib,conf.d}/{ve,vm}.mk: shift the real targets
lib/*.mk aren't going to be parsed for build targets in the near future; and the early placement of those targets was superseded by a dedicated configuration snippet directory so just move these bits there.
This commit is contained in:
parent
d160d6100e
commit
a18295f223
20
conf.d/ve.mk
Normal file
20
conf.d/ve.mk
Normal file
@ -0,0 +1,20 @@
|
||||
ifeq (ve,$(IMAGE_CLASS))
|
||||
|
||||
# no "vzctl enter"
|
||||
ve/bare: ve/.base
|
||||
@$(call add,BASE_PACKAGES,sysvinit)
|
||||
|
||||
# /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
|
@ -1,6 +1,9 @@
|
||||
# virtual machines
|
||||
ifeq (vm,$(IMAGE_CLASS))
|
||||
|
||||
vm/bare: vm/.bare
|
||||
@$(call add,BASE_PACKAGES,apt)
|
||||
|
||||
vm/net: vm/bare use/vm-net/dhcp use/vm-ssh; @:
|
||||
|
||||
# NB: use/x11 employs some installer-feature packages
|
||||
|
17
lib/ve.mk
17
lib/ve.mk
@ -14,21 +14,4 @@ ve/.bare: profile/bare
|
||||
ve/.base: ve/.bare
|
||||
@$(call add,BASE_PACKAGES,etcnet apt)
|
||||
|
||||
# no "vzctl enter"
|
||||
ve/bare: ve/.base
|
||||
@$(call add,BASE_PACKAGES,sysvinit)
|
||||
|
||||
# /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
|
||||
|
Loading…
Reference in New Issue
Block a user