started working on compsrv package
This commit is contained in:
parent
5b2b7e4ea4
commit
cc79faf13f
4 changed files with 31 additions and 0 deletions
17
server_v2/build_deb.sh
Executable file
17
server_v2/build_deb.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
fpm \
|
||||
-s dir -t deb \
|
||||
-m '"Joel Klimont" <joel.klimont@gmail.com>' \
|
||||
--license 'proprietary' \
|
||||
--description 'Library for robot used in the competition' \
|
||||
--deb-priority "optional" \
|
||||
--deb-systemd "compsrv.service" \
|
||||
--after-install postinstall.sh \
|
||||
--after-upgrade postinstall.sh \
|
||||
-p compsrv-1.0.0-0-any.deb \
|
||||
--name compsrv \
|
||||
--version 1.0.0-0 \
|
||||
--architecture all \
|
||||
./build/compsrv=/usr/bin/compsrv
|
||||
|
||||
# dpkg-deb -xv compsrv-1.0.0-0-any.deb test_bin
|
||||
# sudo rm -rf test_bin/usr test_bin/lib
|
Reference in a new issue