summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-man-clarify-dkms-add-arguments.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0002-man-clarify-dkms-add-arguments.patch')
-rw-r--r--debian/patches/0002-man-clarify-dkms-add-arguments.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/debian/patches/0002-man-clarify-dkms-add-arguments.patch b/debian/patches/0002-man-clarify-dkms-add-arguments.patch
new file mode 100644
index 0000000..16a1693
--- /dev/null
+++ b/debian/patches/0002-man-clarify-dkms-add-arguments.patch
@@ -0,0 +1,55 @@
+From 93461d6737f79bf53be3ce2e2b3b613fe1795aff Mon Sep 17 00:00:00 2001
+From: Andreas Beckmann <anbe@debian.org>
+Date: Thu, 30 Mar 2023 18:48:01 +0200
+Subject: [PATCH] man: clarify 'dkms add' arguments
+
+---
+ dkms.8.in | 15 +++++++++------
+ 1 file changed, 9 insertions(+), 6 deletions(-)
+
+diff --git a/dkms.8.in b/dkms.8.in
+index a3af903..47655e6 100644
+--- a/dkms.8.in
++++ b/dkms.8.in
+@@ -55,13 +55,16 @@ is a framework which allows kernel modules to be dynamically built
+ for each kernel on your system in a simplified and organized fashion.
+ .SH ACTIONS
+ .SY add
+-.OP module/module\-version
+-.OP /path/to/source\-tree
+-.OP /path/to/tarball.tar
++.OP "module/module\-version | /path/to/source\-tree | /path/to/tarball.tar"
+ .YS
+ .IP "" 4
+ Adds a module/module\-version combination to the tree for builds and installs.
+-If module/module\-version, \-m module/module\-version, or \-m module\ \-v version are passed as options, this command
++If
++.IR module/module\-version ,
++.IR "\-m module/module\-version" ,
++or
++.I \-m module\ \-v module\-version
++are passed as options, this command
+ requires source in
+ .I /usr/src/<module>\-<module\-version>/
+ as well as a properly
+@@ -74,7 +77,7 @@ is passed as an option, and source-tree contains a
+ file, it will copy
+ .I /path/to/source\-tree
+ to
+-.I /usr/src/module\-module\-version.
++.IR /usr/src/module\-module\-version .
+ If
+ .I /path/to/tarball.tar
+ is passed, this command behaves like the
+@@ -755,7 +758,7 @@ Used by the common postinst for DKMS modules. It controls if the build should be
+ line equivalent.
+ .TP
+ .B $sign_file
+-This is the path of the
++This is the path of the
+ .I sign-file
+ kernel binary that is used to sign the kernel modules. The variable
+ .B $kernelver
+--
+2.20.1
+