mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
ctdb-build: Create database directories during installation
Create and package. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
c83dad5b12
commit
31747da5ff
@ -215,6 +215,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man7/ctdb-statistics.7.gz
|
||||
%{_mandir}/man7/ctdb-tunables.7.gz
|
||||
%attr(0700,root,root) %dir %{_localstatedir}/lib/ctdb
|
||||
%attr(0700,root,root) %dir %{_localstatedir}/lib/ctdb/*
|
||||
%attr(0700,root,root) %dir %{_localstatedir}/run/ctdb
|
||||
|
||||
|
||||
|
@ -752,6 +752,9 @@ def build(bld):
|
||||
bld.install_dir(bld.env.CTDB_RUNDIR)
|
||||
bld.install_dir(bld.env.CTDB_VARDIR)
|
||||
|
||||
for d in ['volatile', 'persistent', 'state']:
|
||||
bld.install_dir(os.path.join(bld.env.CTDB_VARDIR, d))
|
||||
|
||||
# Unit tests
|
||||
ctdb_unit_tests = [
|
||||
'db_hash_test',
|
||||
|
Loading…
Reference in New Issue
Block a user