From: Ian Campbell Subject: [PATCH OSSTEST] Debian: Move sysvinit-core install from preseed_create to preseed_base Date: Wed, 25 Nov 2015 09:39:39 +0000 Message-ID: <1448444379-18466-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org preseed_create is used only for physical host installs, but we want this workaround to apply to at least ts-debian-hvm-install'd guests which are going to be used for nested testing. I can't see any harm in doing this globally for all Debian HVM guests, as well as PV guests installed using Debian Installer. Signed-off-by: Ian Campbell --- Osstest/Debian.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index cee0d88..464f190 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -799,6 +799,14 @@ sub preseed_base ($$$$;@) { $xopts{ExtraPreseed} ||= ''; + # Systemd doesn't honor osstest-confirm-booted service, which + # breaks ts-leak-check. Fall back to SysV init for now. + if ( $suite =~ /jessie/ ) { + preseed_hook_command($ho, 'late_command', $sfx, <{Suite} =~ /jessie/ ) { - preseed_hook_command($ho, 'late_command', $sfx, <{Flags}{'need-uboot-bootscr'}; -- 2.6.1