(MINOR) changed package architecture to aarch64 (arm64)

This commit is contained in:
Joel Klimont 2022-10-08 17:31:38 +02:00
parent a84183375b
commit d7a62cfbf5

View file

@ -21,6 +21,7 @@ fpm -s python --python-bin python3 --python-package-name-prefix python3 \
--after-install postinstall.sh \ --after-install postinstall.sh \
--after-upgrade postinstall.sh \ --after-upgrade postinstall.sh \
--deb-priority "optional" \ --deb-priority "optional" \
--architecture "aarch64" \
-d "python3-pip" \ -d "python3-pip" \
-d "nginx" \ -d "nginx" \
-d "libnginx-mod-rtmp" \ -d "libnginx-mod-rtmp" \
@ -31,14 +32,14 @@ fpm -s python --python-bin python3 --python-package-name-prefix python3 \
-v $VERSION -t deb setup.py -v $VERSION -t deb setup.py
if [ "$EXTRACT_PKG" == "1" ]; then if [ "$EXTRACT_PKG" == "1" ]; then
echo "Exracting deb package" echo "Extracting deb package"
mkdir build_extract mkdir build_extract
mv python3-complib_"$VERSION"_all.deb build_extract mv python3-complib_"$VERSION"_arm64.deb build_extract
cd build_extract cd build_extract
ar -xv python3-complib_"$VERSION"_all.deb ar -xv python3-complib_"$VERSION"_arm64.deb
fi fi
export DEB=python3-complib_"$VERSION"_all.deb export DEB=python3-complib_"$VERSION"_arm64.deb
echo "Created: $DEB" echo "Created: $DEB"
# --deb-changelog changelog \ # --deb-changelog changelog \