]> xenbits.xensource.com Git - osstest.git/commitdiff
Host install: Move target_core_dump_setup call
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 25 Sep 2015 11:16:14 +0000 (12:16 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 25 Sep 2015 11:26:57 +0000 (12:26 +0100)
Move this into host_install_postboot_complete.  All hosts subject to
host_install_postboot_complete should have the coredump settings too.

No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
v14: New patch.
     Dropped patch which adds core_dump_setup call to ts-nested-setup

Osstest/TestSupport.pm
ts-host-install

index fb24a1e8715a11c9656ce3a0fbc743770b0533b0..168aa9c80eb781ddf807723ac40fb4827fedf587 100644 (file)
@@ -2399,6 +2399,7 @@ 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 .");
 }
 
index 5bbc0a78c7d6466bc84c1ae63f692b3ca821162f..9a46454982159773205a18097fae9555f0f0ea51 100755 (executable)
@@ -150,8 +150,6 @@ END
        });
     }
 
-    target_core_dump_setup($ho);
-
     host_install_postboot_complete($ho);
 
     logm('OK: install completed');