From a1cba2dc21d397e7a72106b1fc705a2b577622b3 Mon Sep 17 00:00:00 2001 From: Apaczer <94932128+Apaczer@users.noreply.github.com> Date: Tue, 27 May 2025 23:01:03 +0200 Subject: [PATCH] BOARD: firstboot: create symlink to /roms at /mnt/ (#172) --- board/miyoo/boot/firstboot | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/board/miyoo/boot/firstboot b/board/miyoo/boot/firstboot index 3c8d20e0..2369a7f0 100644 --- a/board/miyoo/boot/firstboot +++ b/board/miyoo/boot/firstboot @@ -760,6 +760,7 @@ fi if ! $RESIZE_COMMENCED && test "${P5_FS_TYPE}" == "FAT32" ; then sgdisk --typecode=5:0700 /dev/mmcblk0 2>&1 | tee -a ${LOG} # Microsoft basic data - partition type partprobe 2>&1 | tee -a ${LOG} + echo "Executed partprobe to correct partition table." >> ${LOG} fi # output FS table with type df -Th >> ${LOG} 2>&1 @@ -780,6 +781,10 @@ if $BITTBOY_CONFIG; then elif $MIYOO_CONFIG; then cp "${HOME}/gmenu2x/input_miyoo.conf" "${HOME}/gmenu2x/input.conf" fi + +# create symlink to ROMS part. at /mnt/ +ln -s "${ROMS}" "${HOME}" 2>&1 | tee -a ${LOG} + echo -en "\nUsing following GMenu2X input configuration:\n" >> ${GMENU2X_LOGS} cat "${HOME}/gmenu2x/input.conf" >> ${GMENU2X_LOGS}