Skip to content

Commit

Permalink
Adding Delay after Upstream kernel compilation before reboot starts.
Browse files Browse the repository at this point in the history
The patch fixes the timing issue due to which compiled upstream kernel was not booting on to the LPAR.

Signed-off-by: Tasmiya Nalatwad <[email protected]>
  • Loading branch information
TasmiyaNalatwad committed Nov 7, 2023
1 parent 7818373 commit 6144d31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testcases/InstallUpstreamKernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import unittest
import os
import re
import time

try:
from urllib.parse import urlparse
Expand Down Expand Up @@ -124,6 +125,7 @@ def is_url(path):
log.debug("Compile and install linux kernel")
con.run_command("make -j %d -s && make modules_install && make install" %
onlinecpus, timeout=self.host_cmd_timeout)
time.sleep(10)
if not self.use_kexec:
# FIXME: Handle distributions which do not support grub
con.run_command(
Expand Down

0 comments on commit 6144d31

Please sign in to comment.