Age | Commit message (Collapse) | Author | Files | Lines |
|
Have dh_installinit use the new --skip-systemd-native parameter and
let dh_installsystemd always generate autoscript snippets for systemd
services.
This ensures that dh_installsystemd's snippet will be used for
starting the services and will among other ensure that services
are properly unmasked before started.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
Simplify and move to a function the code responsible to list all
installed units. It is much simpler to refer to unit files simply as
their file name without keeping track of their complete path as the
later can be readily computed because all unit files must be installed
into usr/lib/systemd/system.
This removes some confusion and highlight a bug where code blocks for
handling units installed at the wrong location would be emitted if
relative file paths were specified on the command line. Fix the tests
accordingly.
|
|
Extend the tests to verify that dh_installsystemd comand line
arguments handling works in the simplified form allowed by source
packages building only one binary package.
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Depends on e6870ceafb9d51800de86a7106cdfb4ce9c9dad8
Closes: Debian#885998, #885998
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
matching files
Closes: #870768
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
The dh_installsystemd is required to create directories it uses by
itself, so there is not point in having the test create them for it.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
These are based heavily on the tests written by Felipe Sateler for
dh_installsystemd.
Signed-off-by: Niels Thykier <niels@thykier.net>
|