uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
17
pkgs/os-specific/linux/target-isns/install_prefix_path.patch
Normal file
17
pkgs/os-specific/linux/target-isns/install_prefix_path.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index f46144d..aeac3e4 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -14,10 +14,10 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
|
||||
option(SUPPORT_SYSTEMD "Support service control via systemd" OFF)
|
||||
|
||||
add_subdirectory(src)
|
||||
-install(FILES target-isns.conf DESTINATION /etc/)
|
||||
+install(FILES target-isns.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/)
|
||||
install(FILES target-isns.8 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man8/)
|
||||
if (SUPPORT_SYSTEMD)
|
||||
- install(FILES target-isns.service DESTINATION /usr/lib/systemd/system/)
|
||||
+ install(FILES target-isns.service DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/system/)
|
||||
endif (SUPPORT_SYSTEMD)
|
||||
|
||||
add_subdirectory(tests)
|
||||
Loading…
Add table
Add a link
Reference in a new issue