Skip to content
Snippets Groups Projects
Verified Commit cf5d6eb5 authored by Casey's avatar Casey :recycle: Committed by Clayton Craft
Browse files

postmarketos-initramfs: remove support for /boot/.pmos_export_logs (MR 5636)


This was only added recently, is likely not used by anyone, and
introduces hard to resolve dependencies on /boot being mounted which we
may not want in the future.

Remove it to drop some complexity.

Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
parent f30cb0d7
No related branches found
No related tags found
No related merge requests found
......@@ -62,19 +62,6 @@ mount_boot_partition /boot
extract_initramfs_extra /boot/initramfs-extra
run_hooks /hooks-extra
# For testing the mass storage gadget log export function. We use a flag
# file on /boot so that we can test it on all devices as modifying the
# kernel cmdline is not always possible.
if [ -e /boot/.pmos_export_logs ]; then
echo "PMOS: Exporting logs via mass storage gadget"
show_splash "Exporting boot logs..."
# Delete the flag so we don't soft-brick the device by always booting
# to the log export mode.
mount -o remount,rw /boot
rm -f /boot/.pmos_export_logs
fail_halt_boot
fi
wait_root_partition
delete_old_install_partition
resize_root_partition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment