diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-03-23 15:02:54 -0400 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2020-03-23 15:02:54 -0400 |
| commit | 9c378866e4bcc26315c3618cd7d91c96f90630d5 (patch) | |
| tree | d0ebf064c907397da6d2418395882d776b198e61 /deployment/build.debian.armhf | |
| parent | 163cf223aa1b0b89c159b4d23c9ee9d888b96416 (diff) | |
Add arm64 and armhf builds
Diffstat (limited to 'deployment/build.debian.armhf')
| -rwxr-xr-x | deployment/build.debian.armhf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/deployment/build.debian.armhf b/deployment/build.debian.armhf new file mode 100755 index 0000000000..45730eebef --- /dev/null +++ b/deployment/build.debian.armhf @@ -0,0 +1,27 @@ +#!/bin/bash + +#= Debian 9+ arm64 .deb + +set -o errexit +set -o xtrace + +# Move to source directory +pushd ${SOURCE_DIR} + +if [[ ${IS_DOCKER} == YES ]]; then + # Remove build-dep for dotnet-sdk-3.1, since it's installed manually + sed -i '/dotnet-sdk-3.1,/d' debian/control +fi + +# Build DEB +export CONFIG_SITE=/etc/dpkg-cross/cross-config.${ARCH} +dpkg-buildpackage -us -uc -a armhf --pre-clean --post-clean + +mkdir -p ${ARTIFACT_DIR}/ +mv ../jellyfin[-_]* ${ARTIFACT_DIR}/ + +if [[ ${IS_DOCKER} == YES ]]; then + chown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR} +fi + +popd |
