diff options
author | Karel Kočí <cynerd@email.cz> | 2015-04-28 13:05:26 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-04-28 13:05:26 +0200 |
commit | 9fd9afdfd59cf778e64da865361158278ebc6358 (patch) | |
tree | d4f12ebaa921289edbbd23355bbb659159a1a65d | |
parent | 5472b2adb1282ac056516744eeae97b6dba3be55 (diff) | |
download | linux-conf-perf-9fd9afdfd59cf778e64da865361158278ebc6358.tar.gz linux-conf-perf-9fd9afdfd59cf778e64da865361158278ebc6358.tar.bz2 linux-conf-perf-9fd9afdfd59cf778e64da865361158278ebc6358.zip |
Add boot phase
-rwxr-xr-x | scripts/loop.py | 8 | ||||
-rw-r--r-- | scripts/phase.py | 4 |
2 files changed, 11 insertions, 1 deletions
diff --git a/scripts/loop.py b/scripts/loop.py index 1911fc2..83633ff 100755 --- a/scripts/loop.py +++ b/scripts/loop.py @@ -12,6 +12,7 @@ import solution import kernel from exceptions import MissingFile import iteration +import boot def step(): phs = phase.get() @@ -58,6 +59,13 @@ def step(): phase.set(10) elif phs == 10: phase.message(10) + phase.set(11) + elif phs == 11: + phase.message(11) + boot.boot() + phase.set(12) + elif phs == 12: + phase.message(12) phase.set(2) class mainThread(Thread): diff --git a/scripts/phase.py b/scripts/phase.py index 390087f..30e61c2 100644 --- a/scripts/phase.py +++ b/scripts/phase.py @@ -14,7 +14,9 @@ phases = ("Not Initialized", #0 "Kernel configuration", #7 "Kernel configured", #8 "Kernel build", #9 - "Kernel built" #10 + "Kernel built", #10 + "System boot", #11 + "Benchmark successful" #12 ) def get(): |