aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/swupd-client/swupd-client-2.87/Fix-build-failure-on-Yocto.patch
blob: e7dada8a95fa478ea9ad191892bb34250b9322a0 (plain)
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
From ccce73a2d703e6789ded87ca5aa9f3b7c506892a Mon Sep 17 00:00:00 2001
From: Amarnath Valluri <amarnath.valluri@intel.com>
Date: Thu, 7 Jan 2016 16:19:34 +0200
Subject: [PATCH] Fix build failure on Yocto

On install phase certificate files are being installed twice as included in
_DATA twice. We can use EXTRA_DIST than dist_.

Upstream-Status: Backport [v3.0.0+]

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1e65d3d..4d15c55 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -111,11 +111,11 @@ SWUPD_CERTS = certs/157753a5.0 \
 	certs/d6325660.0 \
 	certs/d6325660.1
 swupdcerts_DATA = $(SWUPD_CERTS)
-dist_swupdcerts_DATA = $(SWUPD_CERTS)

 EXTRA_DIST += \
 	data/check-update.service \
-	data/check-update.timer
+	data/check-update.timer \
+	$(SWUPD_CERTS)

 DISTCHECK_CONFIGURE_FLAGS = \
         --with-systemdsystemunitdir=$$dc_install_base/$(systemdunitdir)
--
2.1.4