diff options
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.patch | 65 |
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 @@ | |||
| 1 | From a18891a9807b209c7c0811e0e6ca08c4570809d0 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "Hongzhi.Song" <hongzhi.song@windriver.com> | ||
| 3 | Date: Tue, 12 Mar 2019 22:00:46 -0700 | ||
| 4 | Subject: [PATCH] Add the glusterfs package | ||
| 5 | |||
| 6 | Three of the translator makefiles in glusterfs add unnecessary | ||
| 7 | -L$(xlatordir) link options. This option causes the linker to check | ||
| 8 | the host's $(xlatordir) directory, resulting in contamination that gets | ||
| 9 | flagged by Yocto's QA rules. | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | |||
| 13 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | ||
| 14 | [Xulin: minor adjust to apply the patch] | ||
| 15 | Signed-off-by: Xuin Sun <xulin.sun@windriver.com> | ||
| 16 | [Hongzhi: minor adjust to apply the patch] | ||
| 17 | Signed-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 | |||
| 24 | diff --git a/xlators/mgmt/glusterd/src/Makefile.am b/xlators/mgmt/glusterd/src/Makefile.am | ||
| 25 | index 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 | |||
| 37 | diff --git a/xlators/nfs/server/src/Makefile.am b/xlators/nfs/server/src/Makefile.am | ||
| 38 | index 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 | ||
| 50 | diff --git a/xlators/system/posix-acl/src/Makefile.am b/xlators/system/posix-acl/src/Makefile.am | ||
| 51 | index 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 | -- | ||
| 64 | 2.17.1 | ||
| 65 | |||
