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 18, 2024
1 parent 2139c5b commit 861710d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build_chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ sudo apt install -y git automake ruby-dev curl make cmake gcc g++ wget libdrm-de
gem install fpm
sudo ./configure
sudo make
sudo make install
exit 1

VERSION="1.1-$(date +'%m/%d/%Y')"
mkdir -p sunxi
sudo make install DESTDIR=sunxi
VERSION="0.1-$(date +'%m/%d/%Y')"
VERSION=$(echo "$VERSION" | sed 's/\//-/g')
fpm -a arm64 -s dir -t deb -n mpp-rk3566 -v "$VERSION" -C mpp-package -p mpp-rk3566_VERSION_ARCH.deb
fpm -a arm64 -s dir -t deb -n encode-sunxi -v "$VERSION" -C sunxi -p encode-sunxi_VERSION_ARCH.deb
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 861710d

Please sign in to comment.