Commit cf420b21 authored by Alexey Shabalin's avatar Alexey Shabalin Committed by Michael Shigorin

vm.mk: add vm/.bare-grub{,-efi}

Some images will now be better off with GRUB; rework ve/.bare while at that (splitting the image targets appropriately).
parent 11e1bf73
......@@ -2,10 +2,10 @@
ifeq (vm,$(IMAGE_CLASS))
# NB: interactivesystem pulls in network-config-subsystem anyways
vm/bare: vm/.bare +sysvinit
vm/bare: vm/.base-lilo +sysvinit
@$(call add,BASE_PACKAGES,apt)
vm/systemd: vm/.bare +systemd
vm/systemd: vm/.base-grub +systemd
@$(call add,BASE_PACKAGES,apt)
# handle ROOTPW (through deflogin)
......
......@@ -8,8 +8,20 @@ ifeq (vm,$(IMAGE_CLASS))
vm/.bare: profile/bare
@$(call add,BASE_PACKAGES,interactivesystem shadow-utils e2fsprogs)
ifeq (,$(filter-out i586 x86_64,$(ARCH))) # useless on anything else
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
vm/.base-lilo: vm/.bare
@$(call add,BASE_PACKAGES,lilo)
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
vm/.base-grub: vm/.bare
@$(call add,BASE_PACKAGES,grub2-pc)
endif
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
vm/.base-grub-efi: vm/.bare
@$(call add,BASE_PACKAGES,grub2-efi)
endif
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