Files
s390-tools/zkey/dracut/Makefile
Ingo Franzki 14c977768e zkey/dracut: Add a dracut config file for zkey
Provide a dracut config file that ensures that the required drivers and
executables, as well as the zkey repository is included into the initramfs.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2025-06-11 12:38:45 +02:00

18 lines
509 B
Makefile

include ../../common.mak
# HAVE_DRACUT
#
# This install time parameter determines whether the pkey dracut module is
# installed (HAVE_DRACUT=1) or not (default). When installed, the module
# performs the following functions when dracut is run:
#
# - install a dracut config file to include zkey related utilities and
# zkey repository in the initramfs
#
ifeq ($(HAVE_DRACUT),1)
install:
$(INSTALL) -m 755 -d $(DESTDIR)$(DRACUTCONFDIR)/
$(INSTALL) -m 644 99-pkey.conf $(DESTDIR)$(DRACUTCONFDIR)/
endif