Koha/debian
Eric Vantillard 7ed705ea45 Bug 18564: Improve koha-common.cnf parsing to pick the mysql host
my koha-common.cnf is using this form:

[client]
host=db
user=root
password="move_rootpwd_to_dotenv"

this file is working has expected with mysql tools.

but koha-create parsing will not find the db host resulting in
koha-conf.xml containing no values in hostname element.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-10-20 15:58:21 -03:00
..
docs Bug 9409: (QA followup) Add --dbhost help to koha-create man page 2017-08-15 12:17:44 -03:00
scripts Bug 18564: Improve koha-common.cnf parsing to pick the mysql host 2017-10-20 15:58:21 -03:00
source
templates Bug 18571: Add default ES configuration to koha-conf-site.xml.in 2017-05-10 16:26:35 +00:00
bd-to-depends
build-git-snapshot
changelog
compat
control Bug 17084 - Automatic debian/control updates (unstable) 2016-11-02 10:59:28 +00:00
control.in Bug 17618: perl-modules Debian package name change 2017-05-09 21:29:51 +00:00
copyright
koha-common.bash-completion
koha-common.config
koha-common.cron.d
koha-common.cron.daily Bug 17669: Add new switch to crontab example and debian daily cron file 2017-04-21 13:55:25 -04:00
koha-common.cron.hourly
koha-common.cron.monthly
koha-common.default
koha-common.dirs
koha-common.docs
koha-common.init Bug 16822: Make koha-common call koha-plack without --quiet 2016-09-09 09:27:45 +00:00
koha-common.install
koha-common.logrotate
koha-common.postinst
koha-common.preinst
koha-common.README.Debian
koha-common.templates
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install
koha.postinst
koha.postrm
koha.prerm
koha.README.Debian
list-deps Bug 17618: perl-modules Debian package name change 2017-05-09 21:29:51 +00:00
README.build
rules
unavailable.html
update-control

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.