Skip to content

Commit

Permalink
rm MANIFEST - deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Apaczer committed Dec 10, 2023
1 parent ebeee33 commit db17c94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
7 changes: 0 additions & 7 deletions board/miyoo/boot/configs/manifest

This file was deleted.

21 changes: 2 additions & 19 deletions board/miyoo/boot/firstboot
Original file line number Diff line number Diff line change
Expand Up @@ -568,28 +568,11 @@ mv "${MOUNTDIR}/firstboot" "${MOUNTDIR}/firstboot.done" | tee -a ${LOG}
# copy over the config files
echo "Copying default configuration files into place..." | tee -a ${LOG}
if $BITTBOY_CONFIG; then
cp "${HOME}/gmenu2x/input_bittboy.conf" "${MOUNTDIR}/configs/input.conf"
cp "${HOME}/gmenu2x/input_bittboy.conf" "${HOME}/gmenu2x/input.conf"
elif $MIYOO_CONFIG; then
cp "${HOME}/gmenu2x/input_miyoo.conf" "${MOUNTDIR}/configs/input.conf"
cp "${HOME}/gmenu2x/input_miyoo.conf" "${HOME}/gmenu2x/input.conf"
fi
mount -o remount,ro "${MOUNTDIR}" | tee -a ${LOG}
if test -r "${BASEDIR}/configs/manifest"; then
cat "${BASEDIR}/configs/manifest" | while read -r LINE; do
if test "${LINE}" == "${LINE#!}" -a "${LINE}" != "" ; then
set -- ${LINE}
# 1 2
# source_filename target_filename/inside main/
if test -r "${BASEDIR}/configs/$1"; then
TO="$2"
if test "${TO}" == ""; then
TO="$1"
fi
echo "Copying $1 to ${HOME}/$TO..." | tee -a ${LOG}
cp -f "${BASEDIR}/configs/$1" "${HOME}/$TO" | tee -a ${LOG}
fi
fi
done
fi

echo

Expand Down

0 comments on commit db17c94

Please sign in to comment.