public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Hendrik Brueckner <brueckner@linux.ibm.com>
To: linux-s390@vger.kernel.org
Subject: Re: [PATCH 5/5] zfcpdump: Add install script for zfcpdump
Date: Thu, 02 Aug 2018 10:00:24 +0000	[thread overview]
Message-ID: <20180802100024.GE5361@linux.ibm.com> (raw)
In-Reply-To: <fd6898dc-3016-fd1e-1e4c-31cec7b21a7c@redhat.com>

On Wed, Jul 25, 2018 at 01:36:15PM +0200, Philipp Rudo wrote:
> Since version 198 (Feb 2013) systemd contains kernel-install, a script
> managing kernel installs. This script allows execution of drop-in scripts
> for customization. Add such a drop-in script to s390-tools to handle the
> installation of zfcpdump kernels and simplify interactions between zfcpdump
> and zipl.
> 
> The script supports two installation modes. One recommended by the
> BootLoaderSpecs [1] to /boot/<machine-id>/<kernel-version> directories and
> one directly to /boot. In the second case files are renamed during
> installation to <original-name>-<kernel-version> to guarantee unique names.
> 
> Because the zfcpdump kernel is so special make the script stand-alone and
> prevent any other script from being executed (exit 77) when a zfcpdump is
> installed. Especially avoid functionality like creating an initrd (already
> provided by s390-tools) or creating a boot entry (the zfcpdump kernel
> should not be used for any other purpose than dumping).
> 
> The script requires systemd >= 203.
> 
> [1] https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/
> 
> Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
> ---
>  .gitignore                      |   1 +
>  common.mak                      |   3 +-
>  zfcpdump/10-zfcpdump.install.in | 114 ++++++++++++++++++++++++++++++++++++++++
>  zfcpdump/Makefile               |  16 ++++--
>  4 files changed, 130 insertions(+), 4 deletions(-)
>  create mode 100755 zfcpdump/10-zfcpdump.install.in

Looks good to me :)

Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>

       reply	other threads:[~2018-08-02 10:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fd6898dc-3016-fd1e-1e4c-31cec7b21a7c@redhat.com>
2018-08-02 10:00 ` Hendrik Brueckner [this message]
2018-07-25 11:36 [PATCH 5/5] zfcpdump: Add install script for zfcpdump Philipp Rudo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180802100024.GE5361@linux.ibm.com \
    --to=brueckner@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox