From a4c97491b59fbcf9b8b514afc7bd616164f48cc8 Mon Sep 17 00:00:00 2001 From: Sten Spans Date: Sat, 19 Sep 2020 11:01:01 +0200 Subject: [PATCH] fixup compression flags --- stage3_homebridge/00-node-install/01-run.sh | 4 ++-- stage3_homebridge/01-homebridge/files/hb-config | 4 ++-- stage3_homebridge/01-homebridge/files/nodejs-update | 4 ++-- stage3_homebridge/05-ffmpeg/01-run.sh | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/stage3_homebridge/00-node-install/01-run.sh b/stage3_homebridge/00-node-install/01-run.sh index e494418..325b2f6 100755 --- a/stage3_homebridge/00-node-install/01-run.sh +++ b/stage3_homebridge/00-node-install/01-run.sh @@ -24,11 +24,11 @@ set -x case "$(dpkg-architecture -q DEB_TARGET_ARCH)" in arm64) curl -Lsf "https://nodejs.org/dist/$LTS/node-$LTS-linux-arm64.tar.xz" | \ - tar xf - -C /usr/local --strip-components=1 --no-same-owner + tar xJf - -C /usr/local --strip-components=1 --no-same-owner ;; armhf) curl -Lsf "https://unofficial-builds.nodejs.org/download/release/$LTS/node-$LTS-linux-armv6l.tar.gz" | \ - tar xf - -C /usr/local --strip-components=1 --no-same-owner + tar xzf - -C /usr/local --strip-components=1 --no-same-owner ;; esac diff --git a/stage3_homebridge/01-homebridge/files/hb-config b/stage3_homebridge/01-homebridge/files/hb-config index 4e7e903..881e8d6 100644 --- a/stage3_homebridge/01-homebridge/files/hb-config +++ b/stage3_homebridge/01-homebridge/files/hb-config @@ -206,11 +206,11 @@ do_nodejs_update() { case "$(dpkg-architecture -q DEB_TARGET_ARCH)" in arm64) curl -Lsf "https://nodejs.org/dist/$LTS/node-$LTS-linux-arm64.tar.xz" | \ - sudo tar xf - -C /usr/local --strip-components=1 --no-same-owner + sudo tar xJf - -C /usr/local --strip-components=1 --no-same-owner ;; armhf) curl -Lsf "https://unofficial-builds.nodejs.org/download/release/$LTS/node-$LTS-linux-armv6l.tar.gz" | \ - sudo tar xf - -C /usr/local --strip-components=1 --no-same-owner + sudo tar xzf - -C /usr/local --strip-components=1 --no-same-owner ;; esac diff --git a/stage3_homebridge/01-homebridge/files/nodejs-update b/stage3_homebridge/01-homebridge/files/nodejs-update index a04d1ba..7c5bae4 100644 --- a/stage3_homebridge/01-homebridge/files/nodejs-update +++ b/stage3_homebridge/01-homebridge/files/nodejs-update @@ -16,11 +16,11 @@ if [ $LTS != $CURRENT ]; then case "$(dpkg-architecture -q DEB_TARGET_ARCH)" in arm64) curl -Lsf "https://nodejs.org/dist/$LTS/node-$LTS-linux-arm64.tar.xz" | \ - sudo tar xf - -C ${PREFIX} --strip-components=1 --no-same-owner + sudo tar xJf - -C ${PREFIX} --strip-components=1 --no-same-owner ;; armhf) curl -Lsf "https://unofficial-builds.nodejs.org/download/release/$LTS/node-$LTS-linux-armv6l.tar.gz" | \ - sudo tar xf - -C ${PREFIX} --strip-components=1 --no-same-owner + sudo tar xzf - -C ${PREFIX} --strip-components=1 --no-same-owner ;; esac diff --git a/stage3_homebridge/05-ffmpeg/01-run.sh b/stage3_homebridge/05-ffmpeg/01-run.sh index 870d34d..951a615 100755 --- a/stage3_homebridge/05-ffmpeg/01-run.sh +++ b/stage3_homebridge/05-ffmpeg/01-run.sh @@ -14,11 +14,11 @@ set -x case "$(dpkg-architecture -q DEB_TARGET_ARCH)" in arm64) curl -Lsf "https://github.com/homebridge/ffmpeg-for-homebridge/releases/latest/download/ffmpeg-debian-aarch64.tar.gz" | \ - tar xf - -C / --no-same-owner + tar xzf - -C / --no-same-owner ;; armhf) curl -Lsf "https://github.com/homebridge/ffmpeg-for-homebridge/releases/latest/download/ffmpeg-raspbian-armv6l.tar.gz" | \ - tar xf - -C / --no-same-owner + tar xzf - -C / --no-same-owner ;; esac