mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 00:37:24 +00:00
make: Move comment about dracut --no-kernel
The current placement is confusing IMO, let's move it close to the code it's describing Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
48540146b6
commit
6daec98aaf
4
Makefile
4
Makefile
@ -43,10 +43,10 @@ ifeq (dracut,$(BUILD_METHOD))
|
||||
DRACUT_OPTIONS := --no-compress --conf /dev/null --confdir $(DRACUT_CONF_DIR)
|
||||
|
||||
ifneq (,$(DRACUT_KVERSION))
|
||||
# If a kernel version is not specified, do not make systemd load modules
|
||||
# at startup
|
||||
DRACUT_KMODULES := $(shell grep "^drivers=" $(DRACUT_CONF_DIR)/10-drivers.conf | sed -E "s,^drivers=\"(.*)\"$$,\1,")
|
||||
else
|
||||
# If a kernel version is not specified, do not make systemd load modules
|
||||
# at startup
|
||||
DRACUT_OPTIONS += --no-kernel
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user