Re: configure --prefix=$HOME --with-init-script buglet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 17, 2011 at 10:26:54 -0600, Eric Blake wrote:
> Right now, on a Fedora system, if you configure libvirt to install into
> $HOME (because you don't have permissions to install into the default
> /usr/local or even into the system /usr), --with-init-script defaults to
> auto mode, detects that /etc/redhat-release exists, and tries to install
> the init script anyways.
> 
> configure.ac needs to be patched to also check that $sysconfdir is /etc
> before changing with-init-script=auto over to with-init-script=redhat,
> so that the init scripts are only installed during a system install
> (where they make sense), and not during a /usr/local or $HOME install.

Why? I've never seen a package that avoids installing some files according to
prefix. It certainly doesn't make any sense if with-init-script is explicitly
set to redhat. With with-init-script set to auto, I can see a bit of sense in
this but it still looks very weired that changing prefix has any impact on
detected features.

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]