FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CRUX > CRUX

 
 
LinkBack Thread Tools
 
Old 08-17-2010, 10:50 AM
Martin Sivak
 
Default Fix the provides we look for when installing DUD (#618862)

---
constants.py | 2 +-
yuminstall.py | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/constants.py b/constants.py
index 1ed9b55..e033966 100644
--- a/constants.py
+++ b/constants.py
@@ -86,7 +86,7 @@ else:

# DriverDisc Paths
DD_ALL = "/tmp/DD"
-DD_EXTRACTED = re.compile("/lib/modules/[^/]+/updates/DD/(?P<modulename>.+)")
+DD_EXTRACTED = re.compile("/lib/modules/[^/]+/updates/DD/(?P<moduledir>.*/)?(?P<modulename>[^/.]+).ko.*")
DD_FIRMWARE = "/tmp/DD/lib/firmware"
DD_RPMS = "/tmp/DD-*"

diff --git a/yuminstall.py b/yuminstall.py
index 5d784cd..fbb8a8d 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1398,9 +1398,11 @@ debuglevel=10

#We need to install the packages which contain modules from DriverDiscs
for modPath in isys.modulesWithPaths():
+ log.debug("Checking for DUD module "+modPath)
match = DD_EXTRACTED.match(modPath)
if match:
- moduleProvides.append(match.group("modulename"))
+ log.info("Requesting install of kmod-%s" % (match.group("modulename")))
+ moduleProvides.append("kmod-"+match.group("modulename"))
else:
continue

--
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 08-17-2010, 12:17 PM
Ales Kozumplik
 
Default Fix the provides we look for when installing DUD (#618862)

On 08/17/2010 12:50 PM, Martin Sivak wrote:

---
constants.py | 2 +-
yuminstall.py | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/constants.py b/constants.py
index 1ed9b55..e033966 100644
--- a/constants.py
+++ b/constants.py
@@ -86,7 +86,7 @@ else:

# DriverDisc Paths
DD_ALL = "/tmp/DD"
-DD_EXTRACTED = re.compile("/lib/modules/[^/]+/updates/DD/(?P<modulename>.+)")
+DD_EXTRACTED = re.compile("/lib/modules/[^/]+/updates/DD/(?P<moduledir>.*/)?(?P<modulename>[^/.]+).ko.*")
DD_FIRMWARE = "/tmp/DD/lib/firmware"
DD_RPMS = "/tmp/DD-*"

diff --git a/yuminstall.py b/yuminstall.py
index 5d784cd..fbb8a8d 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -1398,9 +1398,11 @@ debuglevel=10

#We need to install the packages which contain modules from DriverDiscs
for modPath in isys.modulesWithPaths():
+ log.debug("Checking for DUD module "+modPath)
match = DD_EXTRACTED.match(modPath)
if match:
- moduleProvides.append(match.group("modulename"))
+ log.info("Requesting install of kmod-%s" % (match.group("modulename")))
+ moduleProvides.append("kmod-"+match.group("modulename"))
else:
continue



Ack.

Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org