Re: [PATCH] meson: Add back prefix path for runstatedir

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

 



On Wed, Apr 02, 2025 at 15:58:28 +0800, Zhenzhong Duan wrote:
> Currently libvirt favors /run instead of /var/run, but for local build
> run test, a prefix path is still needed to avoid interoperating with OS
> vendor provided binaries.

Could you please elaborate?

> 
> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@xxxxxxxxx>
> ---
>  meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meson.build b/meson.build
> index bf4a245dd3..84c9796c2f 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -82,7 +82,7 @@ endif
>  
>  runstatedir = get_option('runstatedir')
>  if runstatedir == ''
> -  runstatedir = '/run'
> +  runstatedir = prefix / 'run'

If you need anything non-default you can always set it via
-Drunstatedir= when configuring the project.

>  endif
>  
>  initconfdir = get_option('initconfdir')
> -- 
> 2.34.1
> 



[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]

  Powered by Linux