Blame 0001-dmidecode-Add-system-family-direct-string-option.patch

Anton Arapov c36297
From aad65d8a53a00d5426990fc8b5af9d749fc879b9 Mon Sep 17 00:00:00 2001
Anton Arapov c36297
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Anton Arapov c36297
Date: Thu, 1 Jun 2017 14:21:38 +0300
Anton Arapov c36297
Subject: [PATCH] dmidecode: Add system-family direct string option
Anton Arapov c36297
Anton Arapov c36297
This allows users to print system-family using '-s' option.
Anton Arapov c36297
Anton Arapov c36297
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Anton Arapov c36297
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Anton Arapov c36297
---
Anton Arapov c36297
 dmiopt.c        | 1 +
Anton Arapov c36297
 man/dmidecode.8 | 2 +-
Anton Arapov c36297
 2 files changed, 2 insertions(+), 1 deletion(-)
Anton Arapov c36297
Anton Arapov c36297
diff --git a/dmiopt.c b/dmiopt.c
Anton Arapov c36297
index da42546..a36cf16 100644
Anton Arapov c36297
--- a/dmiopt.c
Anton Arapov c36297
+++ b/dmiopt.c
Anton Arapov c36297
@@ -156,6 +156,7 @@ static const struct string_keyword opt_string_keyword[] = {
Anton Arapov c36297
 	{ "system-version", 1, 0x06 },
Anton Arapov c36297
 	{ "system-serial-number", 1, 0x07 },
Anton Arapov c36297
 	{ "system-uuid", 1, 0x08 },             /* dmi_system_uuid() */
Anton Arapov c36297
+	{ "system-family", 1, 0x1a },
Anton Arapov c36297
 	{ "baseboard-manufacturer", 2, 0x04 },
Anton Arapov c36297
 	{ "baseboard-product-name", 2, 0x05 },
Anton Arapov c36297
 	{ "baseboard-version", 2, 0x06 },
Anton Arapov c36297
diff --git a/man/dmidecode.8 b/man/dmidecode.8
Anton Arapov c36297
index bef204e..e3b6b2a 100644
Anton Arapov c36297
--- a/man/dmidecode.8
Anton Arapov c36297
+++ b/man/dmidecode.8
Anton Arapov c36297
@@ -74,7 +74,7 @@ Only display the value of the \s-1DMI\s0 string identified by \fBKEYWORD\fR.
Anton Arapov c36297
 \fBbios-version\fR, \fBbios-release-date\fR,
Anton Arapov c36297
 \fBsystem-manufacturer\fR, \fBsystem-product-name\fR,
Anton Arapov c36297
 \fBsystem-version\fR, \fBsystem-serial-number\fR,
Anton Arapov c36297
-\fBsystem-uuid\fR,
Anton Arapov c36297
+\fBsystem-uuid\fR, \fBsystem-family\fR,
Anton Arapov c36297
 \fBbaseboard-manufacturer\fR, \fBbaseboard-product-name\fR,
Anton Arapov c36297
 \fBbaseboard-version\fR, \fBbaseboard-serial-number\fR,
Anton Arapov c36297
 \fBbaseboard-asset-tag\fR, \fBchassis-manufacturer\fR,
Anton Arapov c36297
-- 
Anton Arapov c36297
2.9.4
Anton Arapov c36297