diff options
Diffstat (limited to 't/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian')
3 files changed, 50 insertions, 0 deletions
diff --git a/t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/control.in b/t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/control.in new file mode 100644 index 0000000..ecbbc46 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/control.in @@ -0,0 +1,30 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %]-with +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Pre-Depends: init-system-helpers (>= 1.54~) +Description: [% $description %] (with) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This package has the dependency. + +Package: [% $source %]-without +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] (without) + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. + . + This package is missing the dependency. diff --git a/t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/scripts-skip-systemd-native-with.postinst b/t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/scripts-skip-systemd-native-with.postinst new file mode 100644 index 0000000..732f9fc --- /dev/null +++ b/t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/scripts-skip-systemd-native-with.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +invoke-rc.d +invoke-rc.d --skip-systemd-native + +exit 0 diff --git a/t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/scripts-skip-systemd-native-without.postinst b/t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/scripts-skip-systemd-native-without.postinst new file mode 100644 index 0000000..732f9fc --- /dev/null +++ b/t/recipes/checks/scripts/scripts-skip-systemd-native/build-spec/debian/scripts-skip-systemd-native-without.postinst @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +invoke-rc.d +invoke-rc.d --skip-systemd-native + +exit 0 |