lib/ve.mk: split package management and networking

Some images (i.e. docker and systemd-bare) require apt
but do not require etcnet.
This commit is contained in:
Mikhail Gordeev 2019-03-19 19:34:16 +03:00 committed by Michael Shigorin
parent ea1b8832ec
commit e1cc0863de

View File

@ -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