summaryrefslogtreecommitdiffstats
path: root/recipes-extended/glusterfs/files/xlator-host-contamination-5.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/glusterfs/files/xlator-host-contamination-5.4.patch')
-rw-r--r--recipes-extended/glusterfs/files/xlator-host-contamination-5.4.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/recipes-extended/glusterfs/files/xlator-host-contamination-5.4.patch b/recipes-extended/glusterfs/files/xlator-host-contamination-5.4.patch
new file mode 100644
index 0000000..ed11ce5
--- /dev/null
+++ b/recipes-extended/glusterfs/files/xlator-host-contamination-5.4.patch
@@ -0,0 +1,65 @@
1From a18891a9807b209c7c0811e0e6ca08c4570809d0 Mon Sep 17 00:00:00 2001
2From: "Hongzhi.Song" <hongzhi.song@windriver.com>
3Date: Tue, 12 Mar 2019 22:00:46 -0700
4Subject: [PATCH] Add the glusterfs package
5
6Three of the translator makefiles in glusterfs add unnecessary
7-L$(xlatordir) link options. This option causes the linker to check
8the host's $(xlatordir) directory, resulting in contamination that gets
9flagged by Yocto's QA rules.
10
11Upstream-Status: Pending
12
13Signed-off-by: Donn Seeley <donn.seeley@windriver.com>
14[Xulin: minor adjust to apply the patch]
15Signed-off-by: Xuin Sun <xulin.sun@windriver.com>
16[Hongzhi: minor adjust to apply the patch]
17Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
18---
19 xlators/mgmt/glusterd/src/Makefile.am | 2 +-
20 xlators/nfs/server/src/Makefile.am | 2 --
21 xlators/system/posix-acl/src/Makefile.am | 2 --
22 3 files changed, 1 insertion(+), 5 deletions(-)
23
24diff --git a/xlators/mgmt/glusterd/src/Makefile.am b/xlators/mgmt/glusterd/src/Makefile.am
25index aa75344..834c4b5 100644
26--- a/xlators/mgmt/glusterd/src/Makefile.am
27+++ b/xlators/mgmt/glusterd/src/Makefile.am
28@@ -60,7 +60,7 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
29
30 AM_CFLAGS = -Wall $(GF_CFLAGS) $(URCU_CFLAGS) $(URCU_CDS_CFLAGS) $(XML_CFLAGS)
31
32-AM_LDFLAGS = -L$(xlatordir) $(URCU_LIBS) $(URCU_CDS_LIBS)
33+AM_LDFLAGS = -L$(URCU_LIBS) $(URCU_CDS_LIBS)
34
35 CLEANFILES =
36
37diff --git a/xlators/nfs/server/src/Makefile.am b/xlators/nfs/server/src/Makefile.am
38index 01071a7..297d3cb 100644
39--- a/xlators/nfs/server/src/Makefile.am
40+++ b/xlators/nfs/server/src/Makefile.am
41@@ -31,8 +31,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) \
42
43 AM_CFLAGS = -Wall $(GF_CFLAGS)
44
45-AM_LDFLAGS = -L$(xlatordir)
46-
47 CLEANFILES =
48
49 EXTRA_DIST = nfsserver.sym
50diff --git a/xlators/system/posix-acl/src/Makefile.am b/xlators/system/posix-acl/src/Makefile.am
51index f57070c..70080a6 100644
52--- a/xlators/system/posix-acl/src/Makefile.am
53+++ b/xlators/system/posix-acl/src/Makefile.am
54@@ -12,8 +12,6 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
55
56 AM_CFLAGS = -Wall $(GF_CFLAGS)
57
58-AM_LDFLAGS = -L$(xlatordir)
59-
60 CLEANFILES =
61
62 access-control-compat:
63--
642.17.1
65