[PATCH 08/11] Add missing constant DMI_CHASSIS_VENDOR.
David Lehman
dlehman at redhat.com
Mon Feb 4 23:32:34 UTC 2013
---
blivet/arch.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/blivet/arch.py b/blivet/arch.py
index 7fc39e7..d4ffc7b 100644
--- a/blivet/arch.py
+++ b/blivet/arch.py
@@ -30,6 +30,9 @@ import os
from .flags import flags
+# DMI information paths
+DMI_CHASSIS_VENDOR = "/sys/class/dmi/id/chassis_vendor"
+
## Get the SPARC machine variety type.
# @return The SPARC machine type, or 0 if not SPARC.
def getSparcMachine():
--
1.8.1
More information about the anaconda-patches
mailing list