conf.d/vm.mk: fix portability

This commit is contained in:
Anton Midyukov 2019-09-02 22:01:11 +07:00 committed by Michael Shigorin
parent ee710017a2
commit 1dd9259b9a

View File

@ -2,10 +2,18 @@
ifeq (vm,$(IMAGE_CLASS))
# NB: interactivesystem pulls in network-config-subsystem anyways
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
vm/bare: vm/.base-lilo +sysvinit
else
vm/bare: vm/.bare +sysvinit
endif
@$(call add,BASE_PACKAGES,apt)
ifeq (,$(filter-out i586 x86_64 ppc64le,$(ARCH)))
vm/systemd: vm/.base-grub +systemd
else
vm/systemd: vm/.bare +systemd
endif
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata)
@$(call add,BASE_PACKAGES,apt)