From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [OSSTEST PATCH 7/9] Host install: Break out host_install_postboot_complete Date: Fri, 25 Sep 2015 12:37:06 +0100 Message-ID: <1443181028-22705-8-git-send-email-ian.jackson@eu.citrix.com> References: <1443181028-22705-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZfRJX-0007hg-Vd for xen-devel@lists.xenproject.org; Fri, 25 Sep 2015 11:37:20 +0000 In-Reply-To: <1443181028-22705-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Robert Ho , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org From: Robert Ho We are going to want to do this for nested HVM L1s too. No functional change. Signed-off-by: Robert Ho Signed-off-by: Ian Jackson --- v14: Squashed two patches into this one. --- Osstest/TestSupport.pm | 6 ++++++ ts-host-install | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index d966fe1..a3a9982 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -115,6 +115,7 @@ BEGIN { iso_gen_flags_basic iso_copy_content_from_image guest_editconfig_nocd + host_install_postboot_complete ); %EXPORT_TAGS = ( ); @@ -2395,4 +2396,9 @@ sub guest_editconfig_nocd ($$) { }); } +sub host_install_postboot_complete ($) { + my ($ho) = @_; + target_cmd_root($ho, "update-rc.d osstest-confirm-booted start 99 2 ."); +} + 1; diff --git a/ts-host-install b/ts-host-install index f734a9c..3f7f060 100755 --- a/ts-host-install +++ b/ts-host-install @@ -165,7 +165,7 @@ END target_putfilecontents_root_stash($ho,10,$coredumps_conf, '/etc/security/limits.d/coredumps.conf'); - target_cmd_root($ho, "update-rc.d osstest-confirm-booted start 99 2 ."); + host_install_postboot_complete($ho); logm('OK: install completed'); } -- 1.7.10.4