Skip to content

Commit dc6978b

Browse files
committed
build: p/UnifySDK: Add patch to remove some assets SiliconLabsSoftware#77
For the record, I have enabled github action in UnifySDK repo, It is actually runing in forks eg: https://github.com/rzr/UnifySDK/tree/review/main https://github.com/rzr/UnifySDK/actions/runs/13765559449/job/38491058218 Tests are passing: But it fail later on packaging: I suspect the cause it all the assets in tree, this has to be cleaned up. This change prevent this problem, further cleaning may be considered. Origin: SiliconLabsSoftware#47 Relate-to: SiliconLabsSoftware#77 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#10 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#11 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#7 Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
1 parent ee37adf commit dc6978b

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
From d3de9a6bc258eea42ee4b92566713f89e3110cf3 Mon Sep 17 00:00:00 2001
2+
From: Philippe Coval <philippe.coval@silabs.com>
3+
Date: Tue, 18 Mar 2025 14:04:40 +0100
4+
Subject: [PATCH] git: Remove .gitattributes
5+
6+
This change allow building UnifySDK on github.
7+
8+
Removing LFS objects is a good start to slim down UnifySDK repo
9+
10+
Observed issue:
11+
12+
(...)
13+
#11 538.0 100% tests passed, 0 tests failed out of 69
14+
#11 538.0 Total Test time (real) = 287.70 sec
15+
#11 538.0 cmake --build build --target package
16+
(...)
17+
#11 538.2 [2/3] Run CPack packaging tool...
18+
#11 538.2 CPack: Create package using DEB
19+
#11 538.2 CPack: Install projects
20+
#11 538.2 CPack: - Install project: uic []
21+
#11 538.2 CPack: - Install component: libunify-dev
22+
#11 538.7 CMake Error at /usr/local/opt/unifysdk/build/components/cmake_install.cmake:195 (file):
23+
#11 538.7 file INSTALL cannot copy file
24+
25+
Relate-to: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/11
26+
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
27+
---
28+
.gitattributes | 5 -----
29+
1 file changed, 5 deletions(-)
30+
delete mode 100644 .gitattributes
31+
32+
diff --git a/.gitattributes b/.gitattributes
33+
deleted file mode 100644
34+
index aa8de78071..0000000000
35+
--- a/.gitattributes
36+
+++ /dev/null
37+
@@ -1,5 +0,0 @@
38+
-"zap-2022.1.10.dmg" filter=lfs diff=lfs merge=lfs -text
39+
-"slc_cli_mac.zip" filter=lfs diff=lfs merge=lfs -text
40+
-"zap_apack_mac.zip" filter=lfs diff=lfs merge=lfs -text
41+
-"slc_cli_linux.zip" filter=lfs diff=lfs merge=lfs -text
42+
-"zap_apack_linux.zip" filter=lfs diff=lfs merge=lfs -text
43+
--
44+
2.39.5
45+

0 commit comments

Comments
 (0)