mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add a dracut hook that applies firmware-provided I/O configuration data as auto-configuration during boot. This way, all I/O devices configured by DPM are automatically brought online without further user interaction. This mechanism is active by default. It can be deactivated by specifying the following parameter on the kernel command line: rd.zdev=no-auto Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
25 lines
741 B
Makefile
25 lines
741 B
Makefile
# Common definitions
|
|
include ../../common.mak
|
|
|
|
MODDIR := /usr/lib/dracut/modules.d/
|
|
ZDEVDIR := 95zdev
|
|
|
|
# HAVE_DRACUT
|
|
#
|
|
# This install time parameter determines whether the zdev dracut module is
|
|
# installed (HAVE_DRACUT=1) or not (default). When installed, the module
|
|
# performs the following functions when dracut is run:
|
|
#
|
|
# - copy the persistent root device configuration to the initial ram disk
|
|
# - install a boot-time hook to apply firmware-provided configuration data
|
|
# to the system
|
|
#
|
|
ifeq ($(HAVE_DRACUT),1)
|
|
install:
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(MODDIR)
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(MODDIR)/$(ZDEVDIR)
|
|
$(INSTALL) -m 755 $(ZDEVDIR)/module-setup.sh \
|
|
$(ZDEVDIR)/parse-zdev.sh \
|
|
$(DESTDIR)$(MODDIR)/$(ZDEVDIR)/
|
|
endif
|