Merge two file stanzas for Sipwise copyright, and use the one with the
canonical Sipwise copyright entity.
Change-Id: Iae16419b8d7d6af0555968e109a777b7951c121c
systemctl(1) (provided by systemd) isn't necessarily available in the
environment yet, e.g. as identified by piuparts tests.
Instead of relying on systemctl(1) let's use service(8) from
init-system-helpers (which is an essential package), and while at it
report the exit code of the app_lua reload.
Fixes:
| /var/lib/dpkg/info/lua-ngcp-kamailio.postinst: 7: /var/lib/dpkg/info/lua-ngcp-kamailio.postinst: systemctl: not found
Change-Id: I52cf30d6421f58c77ce1983d95c141d3a331e939
When systemd detects that it's running inside a chroot (like in our
installation environment), then it doesn't output something like
"active" on stdout, but only string "Running in chroot, ignoring
request." on stderr.
Since stdout is empty, comparing nothing against string "active"
(so `[ = "active"`) will fail test(1) execution.
Fixes:
| Setting up lua-ngcp-kamailio (6.5.3.1+0~mr6.5.3.1) ...
| Running in chroot, ignoring request: is-active
| /var/lib/dpkg/info/lua-ngcp-kamailio.postinst: 7: [: =: unexpected operator
Change-Id: I11a6b9356b76cd686e0046275a6306431db64105
- Bump Standards-Version to 3.9.8.
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Canonicalize Homepage URL.
- Remove redundant Section fields.
- Change from Section libs to interpreters.
- New debian/.gitignore file.
Change-Id: I6ee03dcc3588cffb56ab48cd3003a17dfabad171
Git daemon which provided Sipwise anonymous access to
internal Git repository is deprecated. Also it is
useless to point public GitHub repository to the internal git server.
Change-Id: I61e8380e4559afe0371ffdd993e3444a5330e951
Since we invoke the ngcp-sercmd command only in the postinst
script and not in preinst it's ought to be enough to depend
on the ngcp-system-tools-* package, quoting Debian Policy,
section 7.2:
| Pre-Depends are also required if the preinst script depends
| on the named package. It is best to avoid this situation if possible.
As piuparts doesn't support resolving Pre-Dependencies yet
this also solves our failing piuparts runs.
Change-Id: Ife43bfb7547c3331d541723782d8b374894e30b5