move libusb from /usr/lib to /lib

Bastien Nocera bnocera at redhat.com
Thu Jun 24 13:21:19 UTC 2010


On Tue, 2010-06-22 at 19:14 +0200, Jan Vcelak wrote:
> Hi,
> 
> I would like to move libusb library from /usr/lib to /lib.
> 
> Some services might require the library when /usr is not mounted. e.g. nut 
> (UPS management daemon, bz #453704) needs it at shutdown time.
> 
> If course, I would like to refrain from any trouble it can bring. If you 
> think, that moving the library is a bad idea, or that it will break your 
> package, please, let me know.
> 
> I'm going to move libusb and libusb1 as well. And I will create symlinks in 
> /usr/lib for them.

Why do you need to move both libusb and libusb1? You should really kill
the dependencies on libusb-0.x and port your apps to libusb1 (possibly
using the async stuff if it's useful), and move just libusb1.

> The bug is already filed for this, #519716.

Cheers



More information about the devel mailing list