From 76827de0adf0eafd7e12c04da2e3a88874d949af Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Thu, 8 Feb 2024 23:39:28 +0100 Subject: [PATCH] Update build_chroot.sh --- build_chroot.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build_chroot.sh b/build_chroot.sh index f37da6c40..74a2103fb 100644 --- a/build_chroot.sh +++ b/build_chroot.sh @@ -20,12 +20,14 @@ mkdir -p aarch64-linux-gnu cd lib mv * ../aarch64-linux-gnu/ mv ../aarch64-linux-gnu ../lib/aarch64-linux-gnu -mkdir -p ../../etc/system/systemd -mv /opt/additionalFiles/h264_decode.service ../../etc/system/systemd/ -mv /opt/additionalFiles/Header.h264 ../usr/local/bin +mkdir -p /opt/additionalFiles/build/linux/aarch64/mpp-package/etc/system/systemd +mv /opt/additionalFiles/h264_decode.service opt/additionalFiles/build/linux/aarch64/mpp-package/etc/system/systemd/ +mkdir -p /opt/additionalFiles/build/linux/aarch64/mpp-package/usr/local/bin +mv /opt/additionalFiles/Header.h264 /opt/additionalFiles/build/linux/aarch64/mpp-package/usr/local/bin/ cd ../../../ +ls VERSION="1.1-$(date +'%m/%d/%Y')" -fpm -a arm64 -s dir -t deb -n mpp-rk3566 -v "$VERSION" -C mpp-package -p mpp-rk3566_VERSION_ARCH.debecho "copied deb file" +fpm -a arm64 -s dir -t deb -n mpp-rk3566 -v "$VERSION" -C /opt/additionalFiles/build/linux/aarch64/mpp-package -p mpp-rk3566_VERSION_ARCH.debecho "copied deb file" echo "push to cloudsmith" git describe --exact-match HEAD >/dev/null 2>&1 echo "Pushing the package to OpenHD 2.3 repository"