mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Unfortunately zdev hook already exists in Ubuntu, from an unrelated project. ZFS uses zdev/zpool names, and ships a zdev hook to do ZFS specific initialisation. It is available on s390x and thus results in file-conflict upon installing both. Thus renaming this zdev hook to s390-tools-zdev. Closes: https://github.com/ibm-s390-tools/s390-tools/pull/41 Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com> Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
23 lines
746 B
Makefile
23 lines
746 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/s390-tools-zdev $(DESTDIR)/$(HOOKDIR)
|
|
$(INSTALL) -m 755 scripts/init-top/s390-tools-zdev $(DESTDIR)/$(INITTOP)
|
|
endif
|