Commit 4963816b authored by Elijah Grubb's avatar Elijah Grubb

Adding some debugging

parent d8ce8ee5
......@@ -4351,6 +4351,7 @@ sub analyzeImageWithBusyboxCommand($$$@)
$outputref = $buf;
}
}
TBDebugTimeStamp("outputref busybox contents:\n$outputref");
return 0;
}
......@@ -5065,7 +5066,9 @@ sub emulabizeImage($;$$$$$$$$$)
print $runitfile "export ";
my @retlines;
my $rc = analyzeImageWithBusyboxCommand($image,{},\@retlines,"env");
TBDebugTimeStamp("retlines busybox output:\n@retlines");
for my $line (@retlines) {
TBDebugTimeStamp("next line busybox:\n$line");
if (substr($line, 0, index($line, '=')) eq "HOME") {
print $runitfile $line;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment