pmaports/.ci
Caleb Connolly dd28314ba2
postmarketos-initramfs: debug-shell 3.0 (MR 5000)
This incorprates the debug-shell functionality directly into the
initramfs, so it's no longer necessary to build and boot a custom
initramfs in order to debug your device.

Additionally, the behaviour of the debug-shell is entirely reworked, It
now creates an ACM serial gadget which can be accessed via any normal
terminal emulator (picocom, minicom, etc; or PuTTY on windows). Rather
than just invoking sh, the debug-shell now creates a respawning getty on
both the new virtual console and the active console (this will either be
the UART console or tty0/1).

It is necessary to spawn these shells via getty since the logging rework
means we can no longer assume that stdin/out/err reference a TTY.

In addition to the above, it is now possible to trigger a log dump by
holding volume up during boot. This can be useful for helping users
debug their devices if the issue doesn't result in a failure that can be
detected in the initramfs.

With these changes, the console-shell and debug-shell hook packages are
reduced to only adding the additional tools/features. console-shell is
still required for fbkeyboard, and debug-shell for the setup_usb_storage
tool.

Co-Developed-by: Clayton Craft <craftyguy@postmarketos.org>
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:35:05 -07:00
..
lib CI: clarify which commit to put [ci:ignore-count] in (MR 5126) 2024-05-13 16:16:18 +02:00
testcases CI: test installing of postmarketos-installkernel (MR 4681) 2024-06-07 11:11:58 +02:00
apkbuild-lint.sh CI: adjust scripts to pass shellcheck (MR 3960) 2023-03-20 09:30:55 +01:00
build-aarch64.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-armhf.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-armv7.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-riscv64.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-x86.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
build-x86_64.sh CI: adjust .ci/common.py users to pmbootstrap ci (MR 3608) 2022-11-17 19:10:56 +01:00
codeowners.sh CI: add CODEOWNERS file sanity check (MR 4662) 2023-12-29 15:02:10 +01:00
commits.sh CI: bump copyright to 2023 2023-01-26 08:40:40 +01:00
ec.sh CI scripts: fix typo in URL (MR 3655) 2022-11-20 16:50:42 +01:00
grep.sh CI: check for "before wpa_supplicant" in OpenRC service files (MR 4769) 2024-02-21 21:19:12 +01:00
kconfig.sh CI: kconfig: don't print unrelated warnings (MR 3961) 2023-03-22 09:40:39 -07:00
pytest.sh CI: adjust scripts to pass shellcheck (MR 3960) 2023-03-20 09:30:55 +01:00
ruff.sh CI: fix deprecation warning (MR 5126) 2024-05-13 16:19:06 +02:00
shellcheck.sh postmarketos-initramfs: debug-shell 3.0 (MR 5000) 2024-06-18 12:35:05 -07:00
wiki.sh CI scripts: fix typo in URL (MR 3655) 2022-11-20 16:50:42 +01:00