Skip to content

Commit

Permalink
pkgsrc: misc changes on packaging
Browse files Browse the repository at this point in the history
- update help handler with packaging option
- create zrpcd.init.log file for centos packaging

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
  • Loading branch information
pguibert6WIND committed Jul 12, 2018
1 parent 17eba5f commit 12f6476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkgsrc/dev_compile_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ OPTIONS:
of producing one with make dist.
-d/--install-deps, compile and install zrpcd's dependencies.
-v/--version, define the thrift API to use with: 1 = l3vpn, 2 = evpn, 4 = ipv6, 5 = dualstack
-p/ Do packaging
-h help, prints this help text
EOF
}
Expand Down
2 changes: 1 addition & 1 deletion pkgsrc/packaging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ PACKAGE_DEB="n"

zrpc_copy_bin_files () {
mkdir -p $INST_BIN_DIR/opt/quagga/var/log/quagga
if [ -f $INST_BIN_DIR/opt/quagga/var/log/quagga/zrpcd.init.log ]; then
if [ ! -f $INST_BIN_DIR/opt/quagga/var/log/quagga/zrpcd.init.log ]; then
touch $INST_BIN_DIR/opt/quagga/var/log/quagga/zrpcd.init.log
fi
touch $INST_BIN_DIR/opt/quagga/var/log/quagga/.dummyzrpc
Expand Down

0 comments on commit 12f6476

Please sign in to comment.