Commit f430dda1 authored by Anton Midyukov's avatar Anton Midyukov

grub: do not generate kernel selection menu if KFLAVOURS is not defined

parent 3bf51ea7
......@@ -27,9 +27,11 @@ ifdef LOCALE
GRUB_CFG := $(GRUB_CFG) lang
endif
ifdef KFLAVOURS
ifneq ($(words $(KFLAVOURS)),1)
GRUB_CFG := $(GRUB_CFG) kernel
endif
endif
ifeq (initrd-propagator,$(STAGE1_INITRD))
STAGE1_INITRD_BOOTARGS := changedisk automatic=method:cdrom
......
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