mkimage-profiles/features.in/rescue/config.mk
Anton Midyukov ae69a2d563 rescue: Added rescue_rw.cfg for grub-efi
No problem with EFI support.
2021-01-25 19:42:32 +07:00

35 lines
1.1 KiB
Makefile

use/rescue/.base: use/stage2 sub/stage2@rescue
@$(call add_feature)
@$(call add,RESCUE_LISTS,sysvinit)
@$(call add,RESCUE_PACKAGES,startup startup-rescue udev)
@$(call add,RESCUE_LISTS,openssh)
use/rescue/base: use/rescue/.base
@$(call add,RESCUE_PACKAGES,pciutils nfs-utils os-prober)
@$(call add,RESCUE_LISTS,\
$(call tags,base && (rescue || network || security || archive)))
use/rescue: use/rescue/.base use/syslinux/sdab.cfg \
use/services use/firmware/full +wireless
@$(call add,DEFAULT_SERVICES_DISABLE,rpcbind)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,RESCUE_PACKAGES,grub2-pc lilo syslinux)
endif
ifeq (,$(filter-out ppc64le,$(ARCH)))
@$(call add,RESCUE_PACKAGES,grub-ieee1275)
endif
ifneq (,$(EFI_BOOTLOADER))
@$(call add,RESCUE_PACKAGES,grub2-efi)
endif
@$(call add,RESCUE_LISTS,\
$(call tags,(base || extra || server || backup || misc || fs) \
&& !x11 && (rescue || comm || network || security || archive)))
use/rescue/rw: use/rescue use/syslinux/rescue_rw.cfg use/grub/rescue_rw.cfg; @:
test/rescue:
@$(call xport,TEST_RESCUE)
test/rescue/no-x11: test/rescue
@$(call add,TEST_RESCUE,no-x11)