William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 1 | From 6b698b7c1045d279fe24818d45c67d9884d5fd81 Mon Sep 17 00:00:00 2001 |
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
| 3 | Date: Fri, 7 May 2021 15:10:04 +0800 |
| 4 | Subject: [PATCH] install netscsid to bin for nativesdk |
| 5 | |
| 6 | For Yocto, the nativesdk does not have sbin dir, use bin to relpace |
| 7 | |
| 8 | Upstream-Status: Inappropriate [oe specific] |
| 9 | |
| 10 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 11 | --- |
| 12 | netscsid/CMakeLists.txt | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/netscsid/CMakeLists.txt b/netscsid/CMakeLists.txt |
| 16 | index 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 | -- |
| 27 | 2.27.0 |
| 28 | |