diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-03-23 20:01:32 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-03-23 20:10:28 -0700 |
commit | 37ef4d73a24f3e55b95ad77538bdbffcc59042c0 (patch) | |
tree | b0a17297b571fa262a62a5eaa79d7d8e3ad1e81c /meta-gnome | |
parent | 5e7ee914a6566425983949626f21f1b3a7678fc6 (diff) | |
download | meta-openembedded-37ef4d73a24f3e55b95ad77538bdbffcc59042c0.tar.gz |
tracker-miners: Disable seccomp support on musl
seccomp support piece needs APIs e.g. tgkill which are
unimplimented in musl [1]
Secondly, remove libseccomp from unconditional dependencies
it will be only added when packageconfig is selected.
[1] https://www.openwall.com/lists/musl/2019/08/02/1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r-- | meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb b/meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb index 333bb6267..4f058cf90 100644 --- a/meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb +++ b/meta-gnome/recipes-gnome/tracker/tracker-miners_3.7.0.bb | |||
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = " \ | |||
7 | 7 | ||
8 | DEPENDS = " \ | 8 | DEPENDS = " \ |
9 | intltool-native \ | 9 | intltool-native \ |
10 | libseccomp \ | ||
11 | tracker \ | 10 | tracker \ |
12 | zlib \ | 11 | zlib \ |
13 | " | 12 | " |
@@ -43,6 +42,9 @@ PACKAGECONFIG ??= " \ | |||
43 | battery \ | 42 | battery \ |
44 | networkmanager \ | 43 | networkmanager \ |
45 | " | 44 | " |
45 | # Needs tgkill API which musl does not support | ||
46 | # see https://www.openwall.com/lists/musl/2019/08/02/1 | ||
47 | PACKAGECONFIG:remove:libc-musl = "seccomp" | ||
46 | 48 | ||
47 | PACKAGECONFIG[battery] = "-Dbattery_detection=upower,-Dbattery_detection=none,upower" | 49 | PACKAGECONFIG[battery] = "-Dbattery_detection=upower,-Dbattery_detection=none,upower" |
48 | PACKAGECONFIG[cue] = "-Dcue=enabled,-Dcue=disabled,libcue" | 50 | PACKAGECONFIG[cue] = "-Dcue=enabled,-Dcue=disabled,libcue" |