Commit 501e74b4 authored by Michael Shigorin's avatar Michael Shigorin Committed by Anton Midyukov

ve.mk: refactor those ve/lxc-* dups

Part of mkimage-profiles' design is to make it easier to figure out the common parts and describe these as such; even if something's hastily implemented through copypaste, it's worth it to have a look (amending the debugged commit to make it pretty as well, fixing up the newcomers at the merge time, or at least spotting crap and taking care afterwards -- the latter having more potential for "free" merge conflicts, doing this sort of cleanup rather earlier than later rather pays off albeit premature optimization can take place here either when too many "layers of beforehand indirection" are introduced; ve/.lxc-bare in this very commit is bordering just that, so use your common sense and experience or ask in devel-distro@ when in doubt). Fixes: 37e088da
parent 51ae114e
......@@ -55,16 +55,15 @@ ve/systemd-etcnet: ve/systemd-bare use/net/etcnet
@$(call add,BASE_PACKAGES,systemd-settings-disable-kill-user-processes)
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata bash-completion iptables curl)
ve/lxc-sysvinit-etcnet: ve/sysvinit-etcnet use/net-eth use/lxc-guest
@$(call add,BASE_PACKAGES,vim-console)
ve/.lxc-bare: use/lxc-guest
@$(call add,NET_ETH,eth0:dhcp)
ve/lxc-systemd-networkd: ve/systemd-networkd use/net-eth/networkd use/lxc-guest
ve/.lxc-base: ve/.lxc-bare
@$(call add,BASE_PACKAGES,vim-console)
@$(call add,NET_ETH,eth0:dhcp)
ve/lxc-systemd-etcnet: ve/systemd-etcnet use/net-eth use/lxc-guest
@$(call add,BASE_PACKAGES,vim-console)
@$(call add,NET_ETH,eth0:dhcp)
ve/lxc-sysvinit-etcnet: ve/.lxc-base ve/sysvinit-etcnet use/net-eth; @:
ve/lxc-systemd-etcnet: ve/.lxc-base ve/systemd-etcnet use/net-eth; @:
ve/lxc-systemd-networkd: ve/.lxc-base \
ve/systemd-networkd use/net-eth/networkd; @:
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