Signed-off-by: Jacob Stiffler <j-stiff...@ti.com>
---
 ...CMakeLists-do-not-install-git-directories.patch | 27 ++++++++++++++++++++++
 .../open62541/open62541_git.bb                     |  1 +
 2 files changed, 28 insertions(+)
 create mode 100644 
meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch

diff --git 
a/meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch
 
b/meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch
new file mode 100644
index 0000000..8423507
--- /dev/null
+++ 
b/meta-arago-extras/recipes-connectivity/open62541/open62541/0001-CMakeLists-do-not-install-git-directories.patch
@@ -0,0 +1,27 @@
+From a80cd1702055086e2197851047e2eb65323b7656 Mon Sep 17 00:00:00 2001
+From: Jacob Stiffler <j-stiff...@ti.com>
+Date: Thu, 19 Mar 2020 07:40:42 -0400
+Subject: [PATCH] CMakeLists: do not install git directories
+
+Signed-off-by: Jacob Stiffler <j-stiff...@ti.com>
+
+Upstream-status: Pending
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a7b15c6..264d484 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1350,6 +1350,7 @@ install(DIRECTORY ${UA_install_tools_dirs}
+     FILES_MATCHING
+     PATTERN "*"
+     PATTERN "*.pyc" EXCLUDE
++    PATTERN ".git" EXCLUDE
+     )
+ 
+ install(FILES ${UA_install_tools_files} DESTINATION 
${open62541_install_tools_dir})
+-- 
+2.7.4
+
diff --git a/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb 
b/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
index c9452c2..e28f96f 100644
--- a/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
+++ b/meta-arago-extras/recipes-connectivity/open62541/open62541_git.bb
@@ -8,6 +8,7 @@ SRC_URI = 
"git://github.com/open62541/open62541.git;protocol=https;branch=${BRAN
            
git://github.com/OPCFoundation/UA-Nodeset.git;protocol=https;branch=v1.04;destsuffix=git/deps/ua-nodeset;name=ua-nodeset
 \
            
git://github.com/Pro/mdnsd.git;protocol=https;branch=master;destsuffix=git/deps/mdnsd;name=mdnsd
 \
            file://0001-examples-client-allow-configurable-server.patch \
+           file://0001-CMakeLists-do-not-install-git-directories.patch \
 "
 
 BRANCH = "1.0"
-- 
2.7.4

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to