mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
tracker-miners: upgrade 3.0.5 -> 3.1.1
Refresh the following patch: 0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch Enable seccomp if distro feature is on Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+2
-2
@@ -23,8 +23,8 @@ diff --git a/meson.build b/meson.build
|
|||||||
index 71a9df4..1eaa1a0 100644
|
index 71a9df4..1eaa1a0 100644
|
||||||
--- a/meson.build
|
--- a/meson.build
|
||||||
+++ b/meson.build
|
+++ b/meson.build
|
||||||
@@ -279,7 +279,7 @@ cpu_supports_seccomp = not unsupported_cpus.contains(host_cpu)
|
@@ 299,7 +299,7 @@ cpu_supports_seccomp = not unsupported_cpus.contains(host_cpu)
|
||||||
seccomp_required = system_supports_seccomp and cpu_supports_seccomp
|
seccomp_required = system_supports_seccomp and cpu_supports_seccomp and get_option('seccomp') and get_option('extract')
|
||||||
|
|
||||||
if not libseccomp.found() and seccomp_required
|
if not libseccomp.found() and seccomp_required
|
||||||
- error('Libseccomp is mandatory for sandboxed metadata extraction')
|
- error('Libseccomp is mandatory for sandboxed metadata extraction')
|
||||||
|
|||||||
+3
-2
@@ -15,7 +15,7 @@ GNOMEBASEBUILDCLASS = "meson"
|
|||||||
|
|
||||||
inherit gnomebase gsettings gobject-introspection vala bash-completion features_check
|
inherit gnomebase gsettings gobject-introspection vala bash-completion features_check
|
||||||
|
|
||||||
SRC_URI[archive.sha256sum] = "c9be14871b1398e6e656a354a8f8f59e69e93169017f2b28308ef439324fd12b"
|
SRC_URI[archive.sha256sum] = "e4d361351b156f2862a524415fbebf0539c781cd87c6629662f0265b4803b8b8"
|
||||||
SRC_URI += "file://0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch"
|
SRC_URI += "file://0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch"
|
||||||
|
|
||||||
# gobject-introspection is mandatory and cannot be configured
|
# gobject-introspection is mandatory and cannot be configured
|
||||||
@@ -34,6 +34,7 @@ PACKAGECONFIG ??= " \
|
|||||||
png \
|
png \
|
||||||
tiff \
|
tiff \
|
||||||
xml \
|
xml \
|
||||||
|
${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \
|
||||||
"
|
"
|
||||||
|
|
||||||
PACKAGECONFIG[battery] = "-Dbattery_detection=upower,-Dbattery_detection=none,upower"
|
PACKAGECONFIG[battery] = "-Dbattery_detection=upower,-Dbattery_detection=none,upower"
|
||||||
@@ -54,7 +55,7 @@ PACKAGECONFIG[networkmanager] = "-Dnetwork_manager=enabled,-Dnetwork_manager=dis
|
|||||||
|
|
||||||
# For security reasons it is strongly recommended to set add meta-security in
|
# For security reasons it is strongly recommended to set add meta-security in
|
||||||
# your layers and 'libseccomp' to PACKAGECONFIG".
|
# your layers and 'libseccomp' to PACKAGECONFIG".
|
||||||
PACKAGECONFIG[libseccomp] = ",,libseccomp"
|
PACKAGECONFIG[seccomp] = "-Dseccomp=true,-Dseccomp=false,libseccomp"
|
||||||
# not yet in meta-gnome
|
# not yet in meta-gnome
|
||||||
PACKAGECONFIG[rss] = "-Dminer_rss=true,-Dminer_rss=false,libgrss"
|
PACKAGECONFIG[rss] = "-Dminer_rss=true,-Dminer_rss=false,libgrss"
|
||||||
|
|
||||||
Reference in New Issue
Block a user