hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
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
From 6b698b7c1045d279fe24818d45c67d9884d5fd81 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 7 May 2021 15:10:04 +0800
Subject: [PATCH] install netscsid to bin for nativesdk
 
For Yocto, the nativesdk does not have sbin dir, use bin to relpace
 
Upstream-Status: Inappropriate [oe specific]
 
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 netscsid/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 
diff --git a/netscsid/CMakeLists.txt b/netscsid/CMakeLists.txt
index f6bddf1..cf23312 100644
--- a/netscsid/CMakeLists.txt
+++ b/netscsid/CMakeLists.txt
@@ -9,5 +9,5 @@ ADD_EXECUTABLE (netscsid netscsid.c)
 #SET_SOURCE_FILES_PROPERTIES(netscsid.c )
 TARGET_LINK_LIBRARIES(netscsid ${EXTRA_LIBS} )
 #SET_TARGET_PROPERTIES(netscsid PROPERTIES  SKIP_BUILD_RPATH TRUE)
-INSTALL(TARGETS netscsid DESTINATION sbin)
+INSTALL(TARGETS netscsid DESTINATION bin)
 
-- 
2.27.0