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