Attached patch fixes the problem - and also the db_flatstore overlap.
I hope someone with better git knowledge than me can apply the patch.
regards
klaus
Klaus Darilion schrieb:
# install /etc/default/ser file
mkdir -p /home/darilion/software/sip-router-git-repo/debian/ser/etc/default
cp -f debian/ser.default
/home/darilion/software/sip-router-git-repo/debian/ser/etc/default/ser
# install the *.sql files for ser_mysql.sh script
cp -f scripts/mysql/*.sql
/home/darilion/software/sip-router-git-repo/debian/ser/usr/lib/ser/
# and fix path to the *.sql files in ser_mysql.sh script
sed -i 's#DEFAULT_SCRIPT_DIR=.*#DEFAULT_SCRIPT_DIR="/usr/lib/ser/"#' \
/home/darilion/software/sip-router-git-repo/debian/ser/usr/sbin/ser_mysql.sh
sed: can't read
/home/darilion/software/sip-router-git-repo/debian/ser/usr/sbin/ser_mysql.sh:
No such file or directory
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/darilion/software/sip-router-git-repo'
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit
status 2
cheers
klaus
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
diff --git a/Makefile b/Makefile
index e7b83d7..1853302 100644
--- a/Makefile
+++ b/Makefile
@@ -156,7 +156,7 @@ module_group_standard_dep=acc_db acc_radius auth_db auth_radius avp_db
\
presence_b2b rls speeddial uri_db xcap xmlrpc
# For db use (db modules, excluding drivers)
-module_group_db=acc_db auth_db avp_db db_ops db_flatstore db_text \
+module_group_db=acc_db auth_db avp_db db_ops db_text \
uri_db domain lcr msilo speeddial
#dbtext (s) not migrated yet to the new db interface
diff --git a/pkg/debian/rules b/pkg/debian/rules
index 289ec3e..3d708f3 100755
--- a/pkg/debian/rules
+++ b/pkg/debian/rules
@@ -179,10 +179,10 @@ install: build
mkdir -p $(CURDIR)/debian/ser/etc/default
cp -f debian/ser.default $(CURDIR)/debian/ser/etc/default/ser
# install the *.sql files for ser_mysql.sh script
- cp -f scripts/mysql/*.sql $(CURDIR)/debian/ser/usr/lib/ser/
+ cp -f scripts/mysql/*.sql $(CURDIR)/debian/ser-mysql-module/usr/lib/ser/
# and fix path to the *.sql files in ser_mysql.sh script
sed -i 's#DEFAULT_SCRIPT_DIR=.*#DEFAULT_SCRIPT_DIR="/usr/lib/ser/"#'
\
- $(CURDIR)/debian/ser/usr/sbin/ser_mysql.sh
+ $(CURDIR)/debian/ser-mysql-module/usr/sbin/ser_mysql.sh
# install advanced ser config file for ser-oob package
mkdir -p $(CURDIR)/debian/ser-oob/etc/ser
cp -f etc/sip-router-oob.cfg $(CURDIR)/debian/ser-oob/etc/ser/ser-oob.cfg