]> xenbits.xensource.com Git - people/liuw/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)
committerWei Liu <wei.liu2@citrix.com>
Mon, 7 May 2018 12:51:11 +0000 (13:51 +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 b46d22260320084aa2ef07066afbc828a58068ff..b085564d9bf827884bd5d576540f4ad4660087b5 100644 (file)
@@ -828,7 +828,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