mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Use similar `install` mode option in Makefile as in commit9b2fb1d4d2("zdev: add helper to convert from dasd_mod.dasd to zdev config"). Fixes:73c46a3056("zdev/dracut: fix kdump by only activating required devices") Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Steffen Maier <maier@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
# Common definitions
|
|
include ../../common.mak
|
|
|
|
ZDEVDIR := 95zdev
|
|
ZDEVKDUMPDIR := 95zdev-kdump
|
|
|
|
# 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)$(DRACUTMODDIR)/
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(DRACUTMODDIR)/$(ZDEVDIR)
|
|
$(INSTALL) -m 755 $(ZDEVDIR)/module-setup.sh \
|
|
$(ZDEVDIR)/parse-zdev.sh \
|
|
$(ZDEVDIR)/parse-zfcp.sh \
|
|
$(ZDEVDIR)/parse-dasd.sh \
|
|
$(ZDEVDIR)/retain-zdev.sh \
|
|
$(DESTDIR)$(DRACUTMODDIR)/$(ZDEVDIR)/
|
|
$(INSTALL) -m 644 $(ZDEVDIR)/zdev-lib.sh \
|
|
$(DESTDIR)$(DRACUTMODDIR)/$(ZDEVDIR)/
|
|
$(INSTALL) -m 755 -d $(DESTDIR)$(DRACUTMODDIR)/$(ZDEVKDUMPDIR)
|
|
$(INSTALL) -m 755 $(ZDEVKDUMPDIR)/module-setup.sh \
|
|
$(DESTDIR)$(DRACUTMODDIR)/$(ZDEVKDUMPDIR)/
|
|
endif
|