Fix post-build script for the new system
This commit is contained in:
parent
7b0a01bcf7
commit
891bdd8abf
|
@ -29,17 +29,17 @@ BOARD_DIR="$(dirname $0)"
|
||||||
echo "DEPLOYMENT=${DEPLOYMENT}"
|
echo "DEPLOYMENT=${DEPLOYMENT}"
|
||||||
} > "${TARGET_DIR}/etc/machine-info"
|
} > "${TARGET_DIR}/etc/machine-info"
|
||||||
|
|
||||||
cp -f ../buildroot-external/board/raspberrypi/cmdline.txt ${BINARIES_DIR}/rpi-firmware/cmdline.txt
|
cp -f ../buildroot-external/board/ovos/raspberrypi/cmdline.txt ${BINARIES_DIR}/rpi-firmware/cmdline.txt
|
||||||
|
|
||||||
# Copy the right config.txt file
|
# Copy the right config.txt file
|
||||||
for arg in "$@"
|
for arg in "$@"
|
||||||
do
|
do
|
||||||
case "${arg}" in
|
case "${arg}" in
|
||||||
--rpi3)
|
--rpi3)
|
||||||
cp -f ../buildroot-external/board/raspberrypi/config_3_64bit.txt ${BINARIES_DIR}/rpi-firmware/config.txt
|
cp -f ../buildroot-external/board/ovos/raspberrypi/rpi3/config.txt ${BINARIES_DIR}/rpi-firmware/config.txt
|
||||||
;;
|
;;
|
||||||
--rpi4)
|
--rpi4)
|
||||||
cp -f ../buildroot-external/board/raspberrypi/config_4_64bit.txt ${BINARIES_DIR}/rpi-firmware/config.txt
|
cp -f ../buildroot-external/board/ovos/raspberrypi/rpi4/config.txt ${BINARIES_DIR}/rpi-firmware/config.txt
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue