]> xenbits.xensource.com Git - osstest.git/commitdiff
target setup refactoring: Move target_kernkind_check
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 25 Aug 2020 10:49:08 +0000 (11:49 +0100)
committerIan Jackson <iwj@xenproject.org>
Fri, 2 Oct 2020 15:49:13 +0000 (16:49 +0100)
This is OK because nothing in access() looks at the rootdev or console
runvars, which are what target_kernkind_check sets.

No functional change other than perhaps to log output.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-debian-fixup

index 528fb03b44d60da16f6533196328fb90cac9bee0..340511376bfaff84b35dfc6596a8e2c18981f84a 100755 (executable)
@@ -209,8 +209,8 @@ sub writecfg () {
 
 savecfg();
 ether();
-target_kernkind_check($gho);
 access();
+target_kernkind_check($gho);
 
 debian_overlays($ho, \&overlay);
 target_cmd_root($ho, <<END.debian_overlays_fixup_cmd($ho, $mountpoint));