diff --git a/autopkgtest.py b/autopkgtest.py index 49546ad..75ce359 100644 --- a/autopkgtest.py +++ b/autopkgtest.py @@ -234,10 +234,10 @@ class AutoPackageTest(object): tests.append((rdep_src, rdep_src_info[VERSION])) reported_pkgs.add(rdep_src) - # Hardcode linux-meta → linux, lxc, glibc triggers until we get a more flexible + # Hardcode linux-meta → linux, lxc, glibc, systemd triggers until we get a more flexible # implementation: https://bugs.debian.org/779559 if src.startswith('linux-meta'): - for pkg in ['lxc', 'glibc', src.replace('linux-meta', 'linux')]: + for pkg in ['lxc', 'glibc', src.replace('linux-meta', 'linux'), 'systemd']: if pkg not in reported_pkgs: # does this have any image on this arch? for b in srcinfo[BINARIES]: diff --git a/tests/test_autopkgtest.py b/tests/test_autopkgtest.py index a574ccb..51aec0b 100755 --- a/tests/test_autopkgtest.py +++ b/tests/test_autopkgtest.py @@ -1436,6 +1436,8 @@ fancy 1 i386 linux-meta-lts-grumpy 1 testsuite='autopkgtest') self.data.add('lxc', False, {'Testsuite-Triggers': 'linux-generic'}, testsuite='autopkgtest') + self.data.add('systemd', False, {'Testsuite-Triggers': 'linux-generic'}, + testsuite='autopkgtest') self.data.add('linux-image-1', False, {'Source': 'linux'}, testsuite='autopkgtest') self.data.add('linux-libc-dev', False, {'Source': 'linux'}, testsuite='autopkgtest') self.data.add('linux-image', False, {'Source': 'linux-meta', 'Depends': 'linux-image-1'}) @@ -1449,6 +1451,7 @@ fancy 1 i386 linux-meta-lts-grumpy 1 {'linux-meta': (False, {'lxc 1': {'amd64': 'RUNNING', 'i386': 'RUNNING'}, 'glibc 1': {'amd64': 'RUNNING', 'i386': 'RUNNING'}, 'linux 2': {'amd64': 'RUNNING', 'i386': 'RUNNING'}, + 'systemd 1': {'amd64': 'RUNNING', 'i386': 'RUNNING'}, }), 'linux-meta-64only': (False, {'lxc 1': {'amd64': 'RUNNING'}}), 'linux': (False, {}),