mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
BOARD: firstboot: create symlink to /roms at /mnt/ (#172)
This commit is contained in:
@@ -760,6 +760,7 @@ fi
|
|||||||
if ! $RESIZE_COMMENCED && test "${P5_FS_TYPE}" == "FAT32" ; then
|
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
|
sgdisk --typecode=5:0700 /dev/mmcblk0 2>&1 | tee -a ${LOG} # Microsoft basic data - partition type
|
||||||
partprobe 2>&1 | tee -a ${LOG}
|
partprobe 2>&1 | tee -a ${LOG}
|
||||||
|
echo "Executed partprobe to correct partition table." >> ${LOG}
|
||||||
fi
|
fi
|
||||||
# output FS table with type
|
# output FS table with type
|
||||||
df -Th >> ${LOG} 2>&1
|
df -Th >> ${LOG} 2>&1
|
||||||
@@ -780,6 +781,10 @@ if $BITTBOY_CONFIG; then
|
|||||||
elif $MIYOO_CONFIG; then
|
elif $MIYOO_CONFIG; then
|
||||||
cp "${HOME}/gmenu2x/input_miyoo.conf" "${HOME}/gmenu2x/input.conf"
|
cp "${HOME}/gmenu2x/input_miyoo.conf" "${HOME}/gmenu2x/input.conf"
|
||||||
fi
|
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}
|
echo -en "\nUsing following GMenu2X input configuration:\n" >> ${GMENU2X_LOGS}
|
||||||
cat "${HOME}/gmenu2x/input.conf" >> ${GMENU2X_LOGS}
|
cat "${HOME}/gmenu2x/input.conf" >> ${GMENU2X_LOGS}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user