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).
This commit is contained in:
parent
11e1bf73db
commit
cf420b2174
@ -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)
|
||||
|
14
lib/vm.mk
14
lib/vm.mk
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user