-
- Downloads
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.
parent
854b37b9
Branches
No related tags found
Showing
- .ci/shellcheck.sh 0 additions, 1 deletion.ci/shellcheck.sh
- main/postmarketos-initramfs/init_functions.sh 52 additions, 26 deletionsmain/postmarketos-initramfs/init_functions.sh
- main/postmarketos-mkinitfs-hook-debug-shell/20-debug-shell.files 0 additions, 1 deletion...stmarketos-mkinitfs-hook-debug-shell/20-debug-shell.files
- main/postmarketos-mkinitfs-hook-debug-shell/APKBUILD 3 additions, 6 deletionsmain/postmarketos-mkinitfs-hook-debug-shell/APKBUILD
- main/postmarketos-mkinitfs-hook-debug-shell/setup_usb_storage.sh 0 additions, 65 deletions...stmarketos-mkinitfs-hook-debug-shell/setup_usb_storage.sh
Please register or sign in to comment