prefix=/ or prefix=/usr ?

John (J5) Palmieri johnp at redhat.com
Thu Sep 7 13:48:19 PDT 2006


On Thu, 2006-09-07 at 11:16 +0100, Simon McVittie wrote:
> On Thu, 07 Sep 2006 at 11:40:09 +0200, frederic heem wrote:
> > What is the prefix that should be used ? configure --prefix=/usr 
> > or --prefix=/usr
> 
> I assume you meant "or --prefix=/"...
> 
> If you're setting the prefix to "/", that means you believe the program
> you're installing needs to work before /usr is mounted, so it must go in
> /bin, /sbin, /lib and occupy scarce root-filesystem space. Unless you
> know this to be the case, it most likely isn't!

We do this for D-Bus on Fedora/Red Hat because D-Bus is a system
component.  It is needed by the bluetooth tools during bootup and may be
needed by even more early processes in the future.  Includes and such
still get installed into /usr
 
-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list