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 > ArchLinux > ArchLinux User Repository

 
 
LinkBack Thread Tools
 
Old 07-12-2012, 08:41 PM
Chris Lumens
 
Default libudev now has a version of .1

> libudev bumped the version number up to /usr/lib64/libudev.so.1
> Also, change the error message from None.

Do you have any idea if all our ctypes craziness in pyudev.py still
works with this latest version of libudev?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-13-2012, 08:23 AM
Vratislav Podzimek
 
Default libudev now has a version of .1

Please note that we are now sending patches for a review to the
anaconda-patches@lists.fedorahosted.org mailing list.

On Thu, 2012-07-12 at 14:50 -0500, Mark Hamzy wrote:
> libudev bumped the version number up to /usr/lib64/libudev.so.1
> Also, change the error message from None.
>
> ---
> pyanaconda/pyudev.py | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/pyanaconda/pyudev.py b/pyanaconda/pyudev.py
> index 4b5d586..705b93d 100644
> --- a/pyanaconda/pyudev.py
> +++ b/pyanaconda/pyudev.py
> @@ -31,10 +31,12 @@ def find_library(name, somajor=0):
> return None
>
> # find the udev library
> -libudev = find_library(name="udev", somajor=0)
> +name = "udev"
> +somajor = 1
> +libudev = find_library(name=name, somajor=somajor)
>
> if not libudev or not os.path.exists(libudev):
> - raise ImportError, "No library named %s" % libudev
> + raise ImportError, "No library named %s.%d" % (name, somajor)
>
> # load the udev library
> libudev = CDLL(libudev)

--
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 08-15-2012, 07:03 PM
Jesse Keating
 
Default libudev now has a version of .1

On 07/12/2012 12:50 PM, Mark Hamzy wrote:

libudev bumped the version number up to /usr/lib64/libudev.so.1
Also, change the error message from None.


I've applied your version of the patch as it is slightly better than
mine. Thanks!


--
Jesse Keating
Fedora -- Freedom˛ is a feature!

_______________________________________________
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 07:47 AM.

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