New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(packaging): create deb packaging #249 #313
Conversation
|
I haven't been able to get the systemd script to work so far |
|
Can you please paste here the systemd file contents? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not as scary as I thought.
a few questions and comments below.
Packing.cmake
Outdated
| set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR}) | ||
| set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH}) | ||
|
|
||
| set(CPACK_PACKAGE_CONTACT "[email protected]") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you pls change it to [email protected] ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
CMakeLists.txt
Outdated
| @@ -24,3 +24,5 @@ include_directories(helio) | |||
|
|
|||
| add_subdirectory(helio) | |||
| add_subdirectory(src) | |||
|
|
|||
| include(Packing.cmake) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mind moving it under /cmake dir (needs to be created as well).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved
Packing.cmake
Outdated
| set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH}) | ||
|
|
||
| set(CPACK_PACKAGE_CONTACT "[email protected]") | ||
| set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Roman Gershman") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DragonflyDB maintainers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
The systemd file I was trying to add was a very simple one It would be placed under /etc/systemd/system, and once placed there it could be enabled with |
|
Thanks Acheev! You might want to look at to see examples on how to add a service file. |
feat(packaging): create deb packaging #249
This allows creation of .deb package file after creating the dragonfly binary with
ninja dragonfly, usingcpack -G DEBfrom./build-optsDragonfly is installed to
/usr/bin/dragonfly