1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-12 16:19:48 +03:00
pmaports/main/postmarketos-mkinitfs-hook-debug-shell
Stephan Gerhold ce05d2d8ff
main/postmarketos-initramfs: unify setup_usb_storage (MR 5912)
Right now we have two similar implementations of setting up a USB mass
storage gadget, in init_functions.sh and as separate script for the
debug-shell. Given that init_functions.sh is available in debug-shell
anyway, unify both in a common setup_usb_storage_configfs() function.

Having this included in the initramfs debug-shell by default (without
installing postmarketos-mkinitfs-hook-debug-shell) also simplifies
recovery, since you can set up the USB storage for repairing the flashed
postmarketOS installation in case of boot failures. The size overhead is
minimal, since this has no extra dependencies.
2024-12-17 23:24:15 +03:00
..
20-debug-shell.files main/postmarketos-initramfs: unify setup_usb_storage (MR 5912) 2024-12-17 23:24:15 +03:00
APKBUILD main/postmarketos-initramfs: unify setup_usb_storage (MR 5912) 2024-12-17 23:24:15 +03:00