home: hub: mkinitfs

Download patch

ref: 5e5bf3da68151a33f4972b476f857ae8dea4980a
parent: d1b64b994ac6302cf1ab90c3e92f5d4c0ccc84b6
author: omni <omni@omni.omni>
date: Thu Jan 14 18:05:17 CST 2021

various documentation fixes

- add zstd to mkinitfs usage output
- add flags -C and -s to man page
- update bugtracker URL
- proofreading

--- a/mkinitfs.1.in
+++ b/mkinitfs.1.in
@@ -14,6 +14,9 @@
 \fB\-c\fR \fICONFIGFILE\fR
 Use configfile instead of \fI@sysconfdir@/mkinitfs.conf\fR.
 .TP
+\fB\-C\fR \fIALGORITHM\fR
+Compress initramfs using gzip (default), xz or zstd.
+.TP
 \fB\-f\fR \fIFSTAB\fR
 Use fstab instead of \fI@datadir@/fstab\fR.
 .TP
@@ -30,7 +33,7 @@
 Do not clean up temporary files.
 .TP
 \fB\-K\fR
-Also copy also host apk keys to initramfs.
+Also copy host apk keys to initramfs.
 .TP
 \fB\-l\fR
 Do a dry run and only list files that would have been used.
@@ -51,6 +54,9 @@
 \fB\-q\fR
 Quiet mode.
 .TP
+\fB\-s\fR
+Include modloop signature.
+.TP
 \fB\-t \fITMPDIR\fR
 Use tempdir when creating initramfs image.
 .SH FILES
@@ -65,7 +71,7 @@
 filesystem paths, relative to \fI/lib/modules/KERNELVERSION/\fR.
 .TP
 \fI@sysconfdir@/features.d/FEATURE.files\fR
-Contains an list of absolute file names which will be included into the
+Contains a list of absolute file names which will be included into the
 generated initramfs if the feature is enabled.
 .TP
 \fI@datadir@/initramfs-init\fR
@@ -75,6 +81,6 @@
 .PP
 Written by Natanael Copa <ncopa@alpinelinux.org>, Timo Teräs <timo.teras@iki.fi> and others.
 .SH "REPORTING BUGS"
-Alpine Linux Bugtracker: <https://bugs.alpinelinux.org/projects/alpine/issues>
+Alpine Linux Bugtracker: <https://gitlab.alpinelinux.org/alpine/mkinitfs/-/issues>
 .SH "SEE ALSO"
 mkinitfs-bootparam(7)
--- a/mkinitfs.in
+++ b/mkinitfs.in
@@ -187,7 +187,7 @@
 options:
 	-b  prefix files and kernel modules with basedir
 	-c  use configfile instead of $config
-	-C  initramfs compression (gzip|xz defaults to $initfscomp)
+	-C  initramfs compression (gzip|xz|zstd defaults to $initfscomp)
 	-f  use fstab instead of $fstab
 	-F  use specified features
 	-h  print this help