|
|
|
@ -870,8 +870,8 @@ def getDistfilesVideo(prefix="/"):
|
|
|
|
|
"""Get video drivers from distfiles"""
|
|
|
|
|
distFiles = path.join(prefix,"usr/portage/distfiles")
|
|
|
|
|
return list(set(
|
|
|
|
|
map(lambda x:'fglrx' if x.startswith('ati-driver') else "nvidia",
|
|
|
|
|
filter(lambda x:x.startswith('ati-driver-installer') or
|
|
|
|
|
map(lambda x:'fglrx' if "amd" in x else "nvidia",
|
|
|
|
|
filter(lambda x:"amd" in x or
|
|
|
|
|
x.startswith('NVIDIA-Linux'),
|
|
|
|
|
listDirectory(distFiles)))))
|
|
|
|
|
|
|
|
|
|