diff --git a/internal/ota_push.sh b/internal/ota_push.sh index 10dcd671..1add886b 100755 --- a/internal/ota_push.sh +++ b/internal/ota_push.sh @@ -39,13 +39,11 @@ process_file() { local NAME=$1 local HASH_RAW=$(cat $OTA_JSON | jq -r ".[] | select(.name == \"$NAME\") | .hash_raw") upload_file "$NAME-$HASH_RAW.img.xz" - upload_file "$NAME-$HASH_RAW.img.gz" local ALT_URL=$(cat $OTA_JSON | jq -r ".[] | select(.name == \"$NAME\") | .alt.url") if [ "$ALT_URL" != "null" ]; then local ALT_FILE_NAME=$(basename $ALT_URL) upload_file $ALT_FILE_NAME - upload_file ${ALT_FILE_NAME%.xz}.gz fi # if [ "$NAME" == "system" ]; then diff --git a/internal/package_ota.py b/internal/package_ota.py index 8592ca4e..0c1bc24c 100755 --- a/internal/package_ota.py +++ b/internal/package_ota.py @@ -21,7 +21,6 @@ def checksum(fn): def compress(fin, fout) -> None: subprocess.check_call(f"xz -T4 -vc {fin} > {fout}", shell=True) - subprocess.check_call(f"gzip -vc {fin} > {fout.with_suffix('.gz')}", shell=True) def process_file(fn, name, sparse=False, full_check=True, has_ab=True, alt=None):