From 1c468c742a7c9a7c7f39713bf76ed646bae00c1c Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Fri, 26 Apr 2024 17:33:28 +0200 Subject: [PATCH] change intall dir --- build_chroot.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build_chroot.sh b/build_chroot.sh index 807e962..65c0cfd 100644 --- a/build_chroot.sh +++ b/build_chroot.sh @@ -11,9 +11,11 @@ sudo ./configure sudo make sudo mkdir -p /opt/sunxi sudo make install DESTDIR=/opt/sunxi -VERSION="0.2-$(date +'%m/%d/%Y')" +VERSION="0.3-$(date +'%m/%d/%Y')" VERSION=$(echo "$VERSION" | sed 's/\//-/g') -mv /opt/sunxi/usr/local/lib /opt/sunxi/usr/lib +mkdir -p /opt/sunxi/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/ +mv /opt/sunxi/usr/local/lib/gstreamer-1.0/* /opt/sunxi/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/ +rm -Rf /opt/sunxi/usr/local/ fpm -a armhf -s dir -t deb -n encode-sunxi -v "$VERSION" -C /opt/sunxi -p encode-sunxi_VERSION_ARCH.deb echo "push to cloudsmith" git describe --exact-match HEAD >/dev/null 2>&1