mkimage-profiles/features.in/rescue/config.mk

28 lines
895 B
Makefile
Raw Normal View History

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_LISTS,\
$(call tags,base && (rescue || network || security || archive)))
use/rescue: use/rescue/.base use/syslinux/sdab.cfg \
use/firmware/full +wireless
@$(call add,RESCUE_PACKAGES,grub2-pc lilo syslinux)
ifneq (,$(EFI_BOOTLOADER))
@$(call add,RESCUE_PACKAGES,grub2-efi)
endif
@$(call add,RESCUE_LISTS,\
$(call tags,(base || extra || server || backup || misc || fs) \
&& (rescue || comm || network || security || archive)))
# rw slice, see also use/live/rw (don't use simultaneously)
ifeq (,$(EFI_BOOTLOADER))
use/rescue/rw: use/rescue use/syslinux
@$(call add,SYSLINUX_CFG,rescue_rw)
else
use/rescue/rw: use/rescue; @:
endif