Skip to content

Commit 32bada8

Browse files
Merge pull request #931 from Naresh-ibm/Gcov_grub_rebuild_fix
Adding the grub rebuild command after Gcov kernel Install
2 parents cde4ba1 + a221e4c commit 32bada8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testcases/GcovSetup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def build_and_boot(self, config_path):
199199
cmd = f"make -j modules_install && make install"
200200
if not self.cv_HOST.host_run_command(cmd):
201201
self.fail("module installation failed")
202+
self.cv_HOST.host_run_command("grub2-mkconfig -o /boot/grub2/grub.cfg")
202203
except Exception:
203204
self.fail("compile and build of gcov kernel failed")
204205

0 commit comments

Comments
 (0)