ve.mk 827 Bytes
Newer Older
1 2 3
ifeq (ve,$(IMAGE_CLASS))

# no "vzctl enter"
4
ve/bare: ve/.base use/init/sysv; @:
5 6 7 8 9

# /dev/pty and friends start here
ve/base: ve/bare
	@$(call add,BASE_PACKAGES,interactivesystem)

Michael Shigorin's avatar
Michael Shigorin committed
10 11 12 13 14 15 16
# a particular package list
ve/ldv: ve/bare
	@$(call add,BASE_PACKAGES,xz bzip2 glibc hostinfo less)
	@$(call add,BASE_PACKAGES,vim-console netlist rsync time)
	@$(call add,BASE_PACKAGES,openssh-blacklist openssh-server)
	@$(call add,BASE_PACKAGES,shadow-edit shadow-groups)

17 18
ve/docker: ve/.base use/repo; @:

19
# this should be more or less convenient
20
ve/generic: ve/base use/repo
21
	@$(call add,BASE_PACKAGES,vim-console etckeeper)
22 23 24 25 26 27 28 29
	@$(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