1From 6b698b7c1045d279fe24818d45c67d9884d5fd81 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 7 May 2021 15:10:04 +0800
4Subject: [PATCH] install netscsid to bin for nativesdk
5
6For Yocto, the nativesdk does not have sbin dir, use bin to relpace
7
8Upstream-Status: Inappropriate [oe specific]
9
10Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11---
12 netscsid/CMakeLists.txt | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/netscsid/CMakeLists.txt b/netscsid/CMakeLists.txt
16index f6bddf1..cf23312 100644
17--- a/netscsid/CMakeLists.txt
18+++ b/netscsid/CMakeLists.txt
19@@ -9,5 +9,5 @@ ADD_EXECUTABLE (netscsid netscsid.c)
20 #SET_SOURCE_FILES_PROPERTIES(netscsid.c )
21 TARGET_LINK_LIBRARIES(netscsid ${EXTRA_LIBS} )
22 #SET_TARGET_PROPERTIES(netscsid PROPERTIES  SKIP_BUILD_RPATH TRUE)
23-INSTALL(TARGETS netscsid DESTINATION sbin)
24+INSTALL(TARGETS netscsid DESTINATION bin)
25
26--
272.27.0
28
29