Skip to content

Commit

Permalink
Update build_chroot.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Feb 8, 2024
1 parent f95c239 commit 76827de
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build_chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 76827de

Please sign in to comment.