From 891bdd8abff5bc592ba7af9671ed231e4059d2c8 Mon Sep 17 00:00:00 2001
From: j1nx
Date: Tue, 11 Apr 2023 11:16:39 +0200
Subject: [PATCH] Fix post-build script for the new system
---
buildroot-external/board/ovos/raspberrypi/post-build.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/buildroot-external/board/ovos/raspberrypi/post-build.sh b/buildroot-external/board/ovos/raspberrypi/post-build.sh
index e63359f5..ca027e71 100755
--- a/buildroot-external/board/ovos/raspberrypi/post-build.sh
+++ b/buildroot-external/board/ovos/raspberrypi/post-build.sh
@@ -29,17 +29,17 @@ BOARD_DIR="$(dirname $0)"
echo "DEPLOYMENT=${DEPLOYMENT}"
} > "${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
for arg in "$@"
do
case "${arg}" in
--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)
- 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
done