Hello, i am trying to generate a .deb installer of bareos from sources, i have followed the instructions in dev-doc but it seems confusing to me, the steps i have followed are:
cd bareos/core/src/droplet
git submodule update --init --recursive
cd
mkdir build
cd build
cmake -Dsqlite3=yes -Dtraymonitor=yes ../bareos
make -j8
cmake --build .
vi CPackConfig.cmake
SET(CPACK_BINARY_DEB "ON")
SET(CPACK_GENERATOR "DEB")
SET(CPACK_PACKAGE_NAME "bareos")
SET(CPACK_PACKAGE_VERSION "0.1")
SET(CPACK_PACKAGE_FILE_NAME "bareos-0.1")
SET(CPACK_INSTALL_CMAKE_PROJECTS "/root/build;bareos;ALL;/")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "/root/bareos/README.md")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "bareos")
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
SET(CPACK_PACKAGE_CONTACT "sys@xxxxxcom")
cpack
The package is generated but it seems to install all the bareos parts(sd-fd-director...), the init scripts are not installed, how can i package each service in diferent .deb files? is that the correct way to generate the bareos packages? is there any detailed guide explaining the steps?
Thank you for your time.