mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add initramfs-tools scripts that apply 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>
23 lines
724 B
Makefile
23 lines
724 B
Makefile
# Common definitions
|
|
include ../../common.mak
|
|
|
|
INITRAMFSDIR := /usr/share/initramfs-tools
|
|
HOOKDIR := $(INITRAMFSDIR)/hooks
|
|
INITTOP := $(INITRAMFSDIR)/scripts/init-top
|
|
|
|
# HAVE_INITRAMFS
|
|
#
|
|
# This install time parameter determines whether the zdev initramfs support is
|
|
# installed (HAVE_INITRAMFS=1) or not (default). When installed, the module
|
|
# performs the following functions when mkinitramfs is run:
|
|
#
|
|
# - install a boot-time hook to apply firmware-provided configuration data
|
|
# to the system
|
|
#
|
|
ifeq ($(HAVE_INITRAMFS),1)
|
|
install:
|
|
$(INSTALL) -m 755 -d $(DESTDIR)/$(HOOKDIR) $(DESTDIR)/$(INITTOP)
|
|
$(INSTALL) -m 755 hooks/zdev $(DESTDIR)/$(HOOKDIR)
|
|
$(INSTALL) -m 755 scripts/init-top/zdev $(DESTDIR)/$(INITTOP)
|
|
endif
|