summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/local.mk3
-rw-r--r--man/prokit-mkinitramfs.8in43
2 files changed, 45 insertions, 1 deletions
diff --git a/man/local.mk b/man/local.mk
index 73e5828..f557941 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -8,4 +8,5 @@ man8_sources = \
man/prokit-shell.8in \
man/prokit-opkg.8in \
man/prokit-build.8in \
- man/prokit-installer-pc.8in
+ man/prokit-installer-pc.8in \
+ man/prokit-mkinitramfs.8in
diff --git a/man/prokit-mkinitramfs.8in b/man/prokit-mkinitramfs.8in
new file mode 100644
index 0000000..3f3b1f2
--- /dev/null
+++ b/man/prokit-mkinitramfs.8in
@@ -0,0 +1,43 @@
+.TH prokit-mkinitramfs 8 \
+"2016-01-15" "@PACKAGE_NAME@ @PACKAGE_VERSION@" "@MANUAL@"
+
+.SH NAME
+prokit-mkinitramfs \- Generate an initramfs containing an installed system
+
+.SH SYNOPSIS
+\fBprokit mkinitramfs\fP \fB-l\fP \fIlinux-output\fP
+\fB-i\fP \fIinitramfs-output\fP \fIroot\fP
+
+.SH DESCRIPTION
+\fBprokit mkinitramfs\fP generates an initial RAM-based file system image
+containing an installed system found at \fIroot\fP.
+
+.SH OPTIONS
+.TP
+.BI \-l \ linux-output
+Copy a Linux image from the system at \fIroot\fP to \fIlinux-output\fP.
+.TP
+.BI \-i \ initramfs-output
+Write the initial RAM-based file system image to \fIinitramfs-output\fP.
+
+.SH EXAMPLES
+
+.IP \[bu]
+# prokit mkinitramfs -l vmlinuz -i initrd.img $root
+
+.SH COPYRIGHT
+Copyright (C) 2016 Patrick "P. J." McDermott
+.P
+The ProteanOS Development Kit is free software: you can redistribute
+it and/or modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
+.P
+The ProteanOS Development Kit is distributed in the hope that it
+will be useful, but WITHOUT ANY WARRANTY; without even the implied
+warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+See the GNU General Public License for more details.
+.P
+You should have received a copy of the GNU General Public License
+along with the ProteanOS Development Kit. If not, see
+<http://www.gnu.org/licenses/>.