Skip to content

Commit

Permalink
Add storage_perf and services.sh into install (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-ding authored and dutor committed Aug 22, 2019
1 parent 876a3ff commit 5596a7a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/nebula.spec
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Group: Applications/Databases
%files
%attr(0755,root,root) %{_datadir}/nebula.service
%attr(0755,root,root) %{_datadir}/utils.sh
%attr(0755,root,root) %{_datadir}/services.sh

# metad rpm include files
%files metad
Expand Down Expand Up @@ -118,9 +119,8 @@ fi


# storage_perf rpm
#%%files storage_perf
#%%defattr(-,root,root,-)
#%%{_bindir}/storage_perf
%files storage_perf
%attr(0755,root,root) %{_bindir}/storage_perf

%debug_package

Expand Down
1 change: 1 addition & 0 deletions scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ install(
nebula-storaged.service
nebula-metad.service
nebula.service
services.sh
PERMISSIONS
OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ
Expand Down
6 changes: 6 additions & 0 deletions src/tools/storage-perf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ nebula_add_executable(
gtest
)

install(
TARGETS
storage_perf
DESTINATION
bin
)

0 comments on commit 5596a7a

Please sign in to comment.