|
|
|
@ -1309,3 +1309,12 @@ class fillVars(object, glob_attr):
|
|
|
|
|
def get_os_device_partition(self):
|
|
|
|
|
"""Get partition table list"""
|
|
|
|
|
return self.getAttributeFromHash('os_device_hash','table')
|
|
|
|
|
|
|
|
|
|
def get_os_install_fb_resolution(self):
|
|
|
|
|
"""Get current framebuffer resolution"""
|
|
|
|
|
textLines = self._runos("/sbin/fbres 2>&1")
|
|
|
|
|
resolution = ""
|
|
|
|
|
if textLines:
|
|
|
|
|
resolution = "%s-32"%textLines[0]
|
|
|
|
|
return resolution or "1024x768-32@60"
|
|
|
|
|
|
|
|
|
|