aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2016-11-16 14:49:13 +0100
committerPatrick Ohly <patrick.ohly@intel.com>2016-12-08 14:12:56 +0100
commit1fe0843ba98c4033226e4936488daf999f963f9b (patch)
tree235416e7caa40a9198a6e877dfb7977cef315529
parent048b6b7aaa75eeac706073e300584b081fd42dc9 (diff)
downloadmeta-swupd-1fe0843ba98c4033226e4936488daf999f963f9b.tar.gz
meta-swupd-1fe0843ba98c4033226e4936488daf999f963f9b.tar.bz2
meta-swupd-1fe0843ba98c4033226e4936488daf999f963f9b.zip
swupd-server: fix build issue with libmagic
libmagic is provided by file-native and required by swupd-server-native, but because file-native is usually assumed to be provided, it won't get compiled unless we depend on the special file-replacement-native. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
-rw-r--r--recipes-core/swupd-server/swupd-server_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-core/swupd-server/swupd-server_git.bb b/recipes-core/swupd-server/swupd-server_git.bb
index 2c00843..5f93034 100644
--- a/recipes-core/swupd-server/swupd-server_git.bb
+++ b/recipes-core/swupd-server/swupd-server_git.bb
@@ -4,7 +4,9 @@ LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=f8d90fb802930e30e49c39c8126a959e"
DEPENDS = "file glib-2.0 rsync openssl libarchive bsdiff bzip2"
-DEPENDS_append_class-native = " bzip2-replacement-native"
+# Need the special "-replacement" variant because bzip2 and file
+# are assumed to be provided and would not get built.
+DEPENDS_append_class-native = " file-replacement-native bzip2-replacement-native"
PV = "3.2.5+git${SRCPV}"
SRC_URI = "git://github.com/clearlinux/swupd-server.git;protocol=https \