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

Re: [Xen-devel] [PATCH] build: add --with-rundir option to configure



On 16/02/17 13:52, Boris Ostrovsky wrote:
>
>
> On 02/16/2017 02:47 AM, Juergen Gross wrote:
>> There have been reports that Fedora 25 uses /run instead of /var/run.
>>
>> Add a --with-rundir option ito configure to be able to specify that
>> directory. Default is still /var/run.
>
> As discussed on the other thread, why not make default be the location
> of directory on build system?

Because the build system is not the running system.  It doesn't even
have to be the same distro as the intended running system.  (If you are
getting adventurous, you can actually build RPMs on Windows 10, and
install them into a CentOS system...)

>
> Or even have it determined at boot time?

Where does this list stop?  Should we manually search for the
appropriate /lib, /lib64, /usr/lib, etc to find shared objects?

This is exactly the kind of issue autoconf is intended to solve.

It appears that newer versions of autoconf use --runstatedir for this. 
https://lists.gnu.org/archive/html/bug-autoconf/2013-09/msg00002.html 
It might be worth following that for forwards compatibility.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.