diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-10-28 22:05:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-30 13:22:48 +0000 |
commit | 52a31bd5ba90713af82822047c3813afc31421f8 (patch) | |
tree | d4388109c02509e1059280079bbea8dcfda028c4 /meta/recipes-devtools/file/file_5.39.bb | |
parent | 4b495d5bd9cc530b88df34b2f1954e28a3617e01 (diff) | |
download | poky-52a31bd5ba90713af82822047c3813afc31421f8.tar.gz |
file: enable all built-in compression checkers
This allows re-enabling parallel file classification in rpm
in particular, as otherwise libmagic calls out to external
executables, which isn't implemented in a thread-safe way.
(From OE-Core rev: 0515567a846adc5302384cb0a6bfcdb6dd1d8431)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/file/file_5.39.bb')
-rw-r--r-- | meta/recipes-devtools/file/file_5.39.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/file/file_5.39.bb b/meta/recipes-devtools/file/file_5.39.bb index 0dcc90548a..abaa8149a3 100644 --- a/meta/recipes-devtools/file/file_5.39.bb +++ b/meta/recipes-devtools/file/file_5.39.bb | |||
@@ -11,14 +11,15 @@ LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=0251eaec1188b20d9a72c502ecfdd | |||
11 | DEPENDS = "file-replacement-native" | 11 | DEPENDS = "file-replacement-native" |
12 | DEPENDS_class-native = "bzip2-replacement-native" | 12 | DEPENDS_class-native = "bzip2-replacement-native" |
13 | 13 | ||
14 | SRC_URI = "git://github.com/file/file.git" | 14 | SRC_URI = "git://github.com/file/file.git \ |
15 | file://0001-src-compress.c-correct-header-define-for-xz-lzma.patch" | ||
15 | 16 | ||
16 | SRCREV = "87731415de945660b00f02207d8e9d986ef9b82e" | 17 | SRCREV = "87731415de945660b00f02207d8e9d986ef9b82e" |
17 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
18 | 19 | ||
19 | inherit autotools update-alternatives | 20 | inherit autotools update-alternatives |
20 | 21 | ||
21 | PACKAGECONFIG ??= "zlib" | 22 | PACKAGECONFIG ??= "bz2 lzma zlib" |
22 | PACKAGECONFIG[bz2] = "--enable-bzlib, --disable-bzlib, bzip2" | 23 | PACKAGECONFIG[bz2] = "--enable-bzlib, --disable-bzlib, bzip2" |
23 | PACKAGECONFIG[lzma] = "--enable-xzlib, --disable-xzlib, xz" | 24 | PACKAGECONFIG[lzma] = "--enable-xzlib, --disable-xzlib, xz" |
24 | PACKAGECONFIG[zlib] = "--enable-zlib, --disable-zlib, zlib" | 25 | PACKAGECONFIG[zlib] = "--enable-zlib, --disable-zlib, zlib" |