Skip to content

Commit

Permalink
Fix incorrect pexpect pattern list while booting
Browse files Browse the repository at this point in the history
This was causing errors while booting the Morello purecap kernel
  • Loading branch information
arichardson committed Jul 31, 2023
1 parent 7540361 commit 818ca72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycheribuild/boot_cheribsd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ def boot_and_login(child: CheriBSDSpawnMixin, *, starttime, kernel_init_only=Fal
else:
failure(f"Did not find expected kernel ABI message '{expected_kernel_abi_msg}',"
f" got '{child.match.group(0)}' instead.", exit=True)
i = child.expect(init_messages, timeout=10 * 60, timeout_msg="timeout before /sbin/init")
i = child.expect(boot_messages, timeout=10 * 60, timeout_msg="timeout mounting rootfs")

if i == boot_messages.index(TRYING_TO_MOUNT_ROOT):
success("===> mounting rootfs")
Expand Down

0 comments on commit 818ca72

Please sign in to comment.