mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +00:00 
			
		
		
		
	Let linux-meta trigger systemd
This commit is contained in:
		
							parent
							
								
									02c4e76c64
								
							
						
					
					
						commit
						1a4a37cb02
					
				@ -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]:
 | 
			
		||||
 | 
			
		||||
@ -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, {}),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user