Skip to contentSkip to conversation

s390-tools: Add install script for zfcpdump

PATCH New Philipp Rudo 1 participant 1 message Aug 7, 2018 s390

lore
Share & tools
lore
#0 lore raw

v2 cover s390-tools: Add install script for zfcpdump

Hi everybody

here is v2 of the series.

changes v1 -> v2:

- In description of patch 5 mention that zipl expects to find the zfcpdump kernel at ZFCPDUMP_IMAGE.

- Add Reviewed-Bys

When there are no more comments I will push the commits at the end of the week.

Thanks
Philipp

----

Hi everybody

currently every distro handles the zfcpdump kernel differently. However, with systemd (>= 203) there is a general script (kernel-install) available for kernel installs. This script allows the execution of drop-in scripts to deal with specific aspects of the kernel installation. Add such a drop-in script to s390-tools to allow unifying zfcpdump kernel handling among the distros and simplifying the interaction between zipl and zfcpdump.

At the moment the script is only generated but not installed to allow distros to decide if/where they want to install it.

Before the script is added some minor cleanups are made regarding zfcpdump related macros. The goal here is to reduce unnecessary macro definitions and to unify the naming in zfcpdump and zipl.

Thanks
Philipp

Philipp Rudo (5):
zfcpdump: Remove unused macros
zipl: Rename FSDUMP_PART_* macros
Makefile: Rename ZFCPDUMP_PART_* macros
zipl: Move macro definition to Makefile
zfcpdump: Add install script for zfcpdump

 .gitignore                      |   3 +-
 common.mak                      |   7 +--
 zfcpdump/10-zfcpdump.install.in | 114 ++++++++++++++++++++++++++++++++++++++++
 zfcpdump/Makefile               |  22 +++++---
 zipl/include/zipl.h             |   7 ---
 zipl/src/Makefile               |   7 +--
 zipl/src/job.c                  |  10 ++--
 7 files changed, 143 insertions(+), 27 deletions(-)
 create mode 100755 zfcpdump/10-zfcpdump.install.in
Signature · 1 line
2.16.4