From e1cc0863deedd422423aad459ec3240b0afe785d Mon Sep 17 00:00:00 2001 From: Mikhail Gordeev Date: Tue, 19 Mar 2019 19:34:16 +0300 Subject: [PATCH] lib/ve.mk: split package management and networking Some images (i.e. docker and systemd-bare) require apt but do not require etcnet. --- lib/ve.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/ve.mk b/lib/ve.mk index d7f25ce5..002cfa2e 100644 --- a/lib/ve.mk +++ b/lib/ve.mk @@ -10,8 +10,12 @@ ifeq (ve,$(IMAGE_CLASS)) ve/.bare: profile/bare @$(call add,BASE_PACKAGES,basesystem) -# add those -ve/.base: ve/.bare - @$(call add,BASE_PACKAGES,etcnet apt) +# add package management +ve/.apt: ve/.bare + @$(call add,BASE_PACKAGES,apt) + +# also add networking +ve/.base: ve/.apt + @$(call add,BASE_PACKAGES,etcnet) endif