Commit accfdc64 authored by Anton Midyukov's avatar Anton Midyukov

sub.in/stage1: remove empty lines from kernel modules list

Empty lines in this file will cause initrd generation. As a result of the failure, all modules are added to the initrd. See also commit 62cd397fdd4c6dd08773bf198a5a51ac533153a1
parent 957ef651
......@@ -54,7 +54,8 @@ GLOBAL_SQUASHFS := $(SQUASHFS)
prepare-modules:
@echo $(foreach V,$(STAGE1_MODLISTS),$(wildcard modules.d/??-$(V))) \
| xargs -r -- cat >> $(LIST_MODULES)
| xargs -r -- cat >> $(LIST_MODULES); \
sed -i '/^$$/d' $(LIST_MODULES)
# scripts prepare bootloader configuration, too
# NB: we pass tested squashfs options for sub.in/stage2/Makefile to include
......
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