]> xenbits.xensource.com Git - osstest.git/commitdiff
Debian.pm: use sysvinit-core instead of systemd
authorWei Liu <wei.liu2@citrix.com>
Thu, 27 Jul 2017 18:16:07 +0000 (19:16 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 10 Apr 2019 14:02:41 +0000 (15:02 +0100)
Install that packages for suites >wheezy, because they use systemd as
the default init.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest/Debian.pm

index 59c60d408dffa7e932aed548bbd89049c2aeec87..82b5fb40d19bb2b022b846e180bb76ef38ab5841 100644 (file)
@@ -812,7 +812,7 @@ sub preseed_base ($$$;@) {
 
     # Systemd doesn't honor osstest-confirm-booted service, which
     # breaks ts-leak-check.  Fall back to SysV init for now.
-    if ( $suite =~ /jessie/ ) {
+    if ( $suite !~ /squeeze|wheezy/ ) {
        preseed_hook_command($ho, 'late_command', $sfx, <<END)
 in-target apt-get install -y sysvinit-core
 END