Commit e5c14a0b authored by Anton Midyukov's avatar Anton Midyukov

Do not add menu items for SUBPROFILES

live can be used also as an installer or rescue. For altinst and rescue is nothing changes.
parent 9c9b9843
...@@ -18,7 +18,7 @@ ifeq (,$(GRUB_DIRECT)) ...@@ -18,7 +18,7 @@ ifeq (,$(GRUB_DIRECT))
# SUBPROFILES are considered GRUB_CFG too # SUBPROFILES are considered GRUB_CFG too
# (note these can appear like stage2@live); # (note these can appear like stage2@live);
# 01defaults.cfg is included indefinitely # 01defaults.cfg is included indefinitely
GRUB_CFG := $(GRUB_CFG) $(SUBPROFILE_DIRS) defaults fwsetup_efi GRUB_CFG := $(GRUB_CFG) defaults fwsetup_efi
endif endif
ifneq (,$(GRUB_UI)) ifneq (,$(GRUB_UI))
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
+installer: use/install2/full; @: +installer: use/install2/full; @:
use/install2: use/stage2 sub/stage2@install2 use/metadata \ use/install2: use/stage2 sub/stage2@install2 use/metadata \
use/cleanup/installer use/install2/autoinstall use/grub/install2.cfg use/cleanup/installer use/install2/autoinstall \
use/syslinux/install2.cfg use/grub/install2.cfg
@$(call add_feature) @$(call add_feature)
@$(call add,INSTALL2_PACKAGES,installer-common-stage2) @$(call add,INSTALL2_PACKAGES,installer-common-stage2)
@$(call try,INSTALLER,regular) # might be replaced later @$(call try,INSTALLER,regular) # might be replaced later
......
...@@ -29,7 +29,8 @@ use/live/no-cleanup: \ ...@@ -29,7 +29,8 @@ use/live/no-cleanup: \
use/cleanup/live-no-cleanupdb \ use/cleanup/live-no-cleanupdb \
use/cleanup/live-no-cleanup-docs; @: use/cleanup/live-no-cleanup-docs; @:
use/live/base: use/live/.base use/net use/deflogin/live use/grub/live.cfg use/live/base: use/live/.base use/net use/deflogin/live \
use/syslinux/live.cfg use/grub/live.cfg
@$(call add,LIVE_LISTS,$(call tags,base network)) @$(call add,LIVE_LISTS,$(call tags,base network))
use/live/rw: use/live use/syslinux/live_rw.cfg use/grub/live_rw.cfg; @: use/live/rw: use/live use/syslinux/live_rw.cfg use/grub/live_rw.cfg; @:
......
use/rescue/.base: use/stage2 sub/stage2@rescue use/rescue/.base: use/stage2 sub/stage2@rescue \
use/syslinux/rescue.cfg use/grub/rescue.cfg
@$(call add_feature) @$(call add_feature)
@$(call add,RESCUE_LISTS,sysvinit) @$(call add,RESCUE_LISTS,sysvinit)
@$(call add,RESCUE_PACKAGES,startup startup-rescue udev) @$(call add,RESCUE_PACKAGES,startup startup-rescue udev)
......
...@@ -24,7 +24,7 @@ ifeq (,$(SYSLINUX_DIRECT)) ...@@ -24,7 +24,7 @@ ifeq (,$(SYSLINUX_DIRECT))
# SUBPROFILES are considered SYSLINUX_CFG too # SUBPROFILES are considered SYSLINUX_CFG too
# (note these can appear like stage2@live); # (note these can appear like stage2@live);
# 01defaults.cfg is included indefinitely # 01defaults.cfg is included indefinitely
SYSLINUX_CFG := $(SYSLINUX_CFG) $(SUBPROFILE_DIRS) defaults SYSLINUX_CFG := $(SYSLINUX_CFG) defaults
endif endif
DSTDIR := $(BUILDDIR)/stage1/files/syslinux/.in DSTDIR := $(BUILDDIR)/stage1/files/syslinux/.in
......
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