summaryrefslogtreecommitdiffstats
path: root/source/ap/dmidecode/patches/0001-Add-no-sysfs-option-description-to-h-output.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/dmidecode/patches/0001-Add-no-sysfs-option-description-to-h-output.patch')
-rw-r--r--source/ap/dmidecode/patches/0001-Add-no-sysfs-option-description-to-h-output.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/source/ap/dmidecode/patches/0001-Add-no-sysfs-option-description-to-h-output.patch b/source/ap/dmidecode/patches/0001-Add-no-sysfs-option-description-to-h-output.patch
new file mode 100644
index 000000000..35b029742
--- /dev/null
+++ b/source/ap/dmidecode/patches/0001-Add-no-sysfs-option-description-to-h-output.patch
@@ -0,0 +1,39 @@
+From 33b5aafc6ee6b5de9f2526fb1cf4b14d1e16e4f0 Mon Sep 17 00:00:00 2001
+From: Roy Franz <roy.franz@linaro.org>
+Date: Thu, 1 Oct 2015 08:41:43 +0200
+Subject: [PATCH 1/9] Add "--no-sysfs" option description to -h output
+
+A description of --no-sysfs was not added to the output of "-h" when
+the feature was added, so add it now.
+---
+ CHANGELOG | 4 ++++
+ dmiopt.c | 1 +
+ 2 files changed, 5 insertions(+)
+
+diff --git a/CHANGELOG b/CHANGELOG
+index f0a51a4..42d815c 100644
+--- a/CHANGELOG
++++ b/CHANGELOG
+@@ -1,3 +1,7 @@
++2015-10-01 Roy Franz <roy.franz@linaro.org>
++
++ * dmiopt.c: Add "--no-sysfs" option description to -h output.
++
+ 2015-09-03 Jean Delvare <jdelvare@suse.de>
+
+ * version.h: Set version to 3.0.
+diff --git a/dmiopt.c b/dmiopt.c
+index 0d142d2..de607f4 100644
+--- a/dmiopt.c
++++ b/dmiopt.c
+@@ -314,6 +314,7 @@ void print_help(void)
+ " -u, --dump Do not decode the entries\n"
+ " --dump-bin FILE Dump the DMI data to a binary file\n"
+ " --from-dump FILE Read the DMI data from a binary file\n"
++ " --no-sysfs Do not attempt to read DMI data from sysfs files\n"
+ " -V, --version Display the version and exit\n";
+
+ printf("%s", help);
+--
+2.6.4
+