Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
cloud-init.3244
cloud-init-no-dmidecode-on-ppc64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cloud-init-no-dmidecode-on-ppc64.patch of Package cloud-init.3244
--- cloudinit/util.py.orig +++ cloudinit/util.py @@ -2337,7 +2337,7 @@ def read_dmi_data(key): # running dmidecode can be problematic on some arches (LP: #1243287) uname_arch = os.uname()[4] - if uname_arch.startswith("arm") or uname_arch == "aarch64": + if uname_arch.startswith("arm") or uname_arch.startswith("ppc"): LOG.debug("dmidata is not supported on %s", uname_arch) return None --- tests/unittests/test_util.py.orig +++ tests/unittests/test_util.py @@ -384,7 +384,7 @@ class TestReadDMIData(helpers.Filesystem dmi_name = 'use-dmidecode' self._configure_dmidecode_return(dmi_name, dmi_val) - expected = {'armel': None, 'aarch64': None, 'x86_64': dmi_val} + expected = {'armel': None, 'aarch64': dmi_val, 'x86_64': dmi_val} found = {} # we do not run the 'dmi-decode' binary on some arches # verify that anything requested that is not in the sysfs dir
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor