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

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