1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
From 9660b76325c841a5f5c7d5b2fb439a1fd64105c9 Mon Sep 17 00:00:00 2001
From: Xiangyu Chen <xiangyu.chen@windriver.com>
Date: Thu, 19 Jan 2023 17:07:37 +0800
Subject: [PATCH] messon.build: remove build path information to avoid yocto QA
buildpath check warnings
libvirt debug trace contains source path, and some utils was located to
yocto sysroot folder, those full source path cause yocto QA buildpath check failed and report warnings as below:
WARNING: libvirt-8.1.0-r0 do_package_qa: QA Issue: File /usr/libexec/libvirt_lxc in package libvirt contains reference to TMPDIR
File /usr/lib64/libvirt.so.0.8001.0 in package libvirt contains reference to TMPDIR
File /usr/lib64/libvirt/lock-driver/lockd.so in package libvirt contains reference to TMPDIR
File /usr/lib64/libvirt/connection-driver/libvirt_driver_lxc.so in package libvirt contains reference to TMPDIR
File /usr/lib64/libvirt/connection-driver/libvirt_driver_storage.so in package libvirt contains reference to TMPDIR
File /usr/lib64/libvirt/connection-driver/libvirt_driver_network.so in package libvirt contains reference to TMPDIR
File /usr/lib64/libvirt/storage-backend/libvirt_storage_backend_fs.so in package libvirt contains reference to TMPDIR
File /usr/lib64/libvirt/storage-backend/libvirt_storage_backend_disk.so in package libvirt contains reference to TMPDIR
File /usr/bin/virt-ssh-helper in package libvirt contains reference to TMPDIR [buildpaths]
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
---
meson.build | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Index: libvirt-9.2.0/meson.build
===================================================================
--- libvirt-9.2.0.orig/meson.build
+++ libvirt-9.2.0/meson.build
@@ -26,8 +26,8 @@
conf = configuration_data()
conf.set('_GNU_SOURCE', 1)
-conf.set_quoted('abs_top_builddir', meson.project_build_root())
-conf.set_quoted('abs_top_srcdir', meson.project_source_root())
+conf.set_quoted('abs_top_builddir', ' ')
+conf.set_quoted('abs_top_srcdir', ' ')
conf.set_quoted('PACKAGE', meson.project_name())
conf.set_quoted('PACKAGE_NAME', meson.project_name())
conf.set_quoted('PACKAGE_VERSION', meson.project_version())
@@ -1770,9 +1770,9 @@
use_storage = true
conf.set('WITH_STORAGE_FS', 1)
- conf.set_quoted('MOUNT', mount_prog.full_path())
- conf.set_quoted('UMOUNT', umount_prog.full_path())
- conf.set_quoted('MKFS', mkfs_prog.full_path())
+ conf.set_quoted('MOUNT', '/usr/bin/mount')
+ conf.set_quoted('UMOUNT', '/usr/bin/umount')
+ conf.set_quoted('MKFS', '/usr/sbin/mkfs')
showmount_prog = find_program('showmount', required: false, dirs: libvirt_sbin_path)
showmount_path = ''
|