[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OSSTEST PATCH 08/12] target setup refactoring: Move target_kernkind_check


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Date: Tue, 25 Aug 2020 12:40:37 +0100
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Delivery-date: Tue, 25 Aug 2020 11:40:53 +0000
  • Ironport-sdr: b2YfxzFhg0jEXB75IrztMS+OLjzt8Z3KZPr3Oy4LpaIADProea7Z8l7JdymTFbba06vFfsJ5jl ERxkpWAZOTjOKUjr6t++ZENnZ9rU/KWetOZKb++JFkjJ5PrvKH2uTn2qysVAgC09YV1367koDw TtjcQBwm9tCHHFg0p5uNNey7M/XbcfQT3V8zjV65vlW2YWteqsDFYF+Jb73UPFxo7rzbayqwvL 5i2M4ngp3Vk8rrczwjsbce/SvRc1ztRmGf0n2cr+kKsu31D+tGgVPgT1hF23rHrIAWoEc+ois/ /Kg=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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@xxxxxxxxxxxxx>
---
 ts-debian-fixup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ts-debian-fixup b/ts-debian-fixup
index 528fb03b..34051137 100755
--- a/ts-debian-fixup
+++ b/ts-debian-fixup
@@ -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));
-- 
2.20.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.