From 3437c9bb903cf93e8ef1309607cd914cd105e9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 28 Oct 2020 08:50:56 +0100 Subject: [PATCH] netboot/mk-s390image: add simple man page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://github.com/ibm-s390-tools/s390-tools/pull/94 Signed-off-by: Dan Horák Signed-off-by: Jan Höppner --- netboot/Makefile | 1 + netboot/mk-s390image.1 | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 netboot/mk-s390image.1 diff --git a/netboot/Makefile b/netboot/Makefile index 46c55a85..af7521b1 100644 --- a/netboot/Makefile +++ b/netboot/Makefile @@ -11,6 +11,7 @@ install: all $(INSTALL) -m 755 mk-s390image mk-pxelinux-ramfs \ $(DESTDIR)$(NETBOOT_SAMPLEDIR) $(INSTALL) -m 644 Dockerfile Makefile.pxelinux.0 README.md \ + mk-s390image.1 \ $(DESTDIR)$(NETBOOT_SAMPLEDIR) .PHONY: all install clean diff --git a/netboot/mk-s390image.1 b/netboot/mk-s390image.1 new file mode 100644 index 00000000..2ef438c0 --- /dev/null +++ b/netboot/mk-s390image.1 @@ -0,0 +1,17 @@ +.TH MK-S390IMAGE "1" "November 2020" "s390-tools" "User Commands" +.SH NAME +mk-s390image \- tool for creating bootable image +.SH SYNOPSIS +.B mk-s390image +\fI\,KERNEL BOOT_IMAGE \/\fR[\fI\,-r RAMDISK\/\fR] [\fI\,-p PARMFILE\/\fR] +.SH DESCRIPTION +Build an s390 image BOOT_IMAGE suitable for CD/tape/network boot or as a +KVM firmware image using a stripped Linux kernel file KERNEL. +.PP +.SH OPTIONS +.TP +\fB\-p\fR Use PARMFILE with kernel parameters in the image +.TP +\fB\-r\fR Include RAMDISK in the image +.TP +\fB\-h\fR Print usage message, then exit