Re: [Xen-devel] [OSSTEST RFC 04/16] TestSupport: In host_install_postboot, don't call update-rc.d on CentOS

2017-12-07 Thread Ian Jackson
Anthony PERARD writes ("[OSSTEST RFC 04/16] TestSupport: In 
host_install_postboot, don't call update-rc.d on CentOS"):
> Signed-off-by: Anthony PERARD 

At the very least, this needs an explanation of how, on CentOS, the
same effect is achieved.

Thanks,
Ian.

___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] [OSSTEST RFC 04/16] TestSupport: In host_install_postboot, don't call update-rc.d on CentOS

2017-12-06 Thread Anthony PERARD
Signed-off-by: Anthony PERARD 
---
 Osstest/TestSupport.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 13e4360..b0e21bf 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -2818,7 +2818,8 @@ sub guest_editconfig_nocd ($$) {
 sub host_install_postboot_complete ($) {
 my ($ho) = @_;
 target_core_dump_setup($ho);
-target_cmd_root($ho, "update-rc.d osstest-confirm-booted start 99 2 .");
+target_cmd_root($ho, "update-rc.d osstest-confirm-booted start 99 2 .")
+  unless $ho->{OS} eq "centos";
 target_https_mitm_proxy_setup($ho);
 }
 
-- 
Anthony PERARD


___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel