AppImage / AppImage/appimagetool

Bundled mksquashfs only supports zstd compression despite --comp parameter accepting other formats

Aperta
#119 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
426
Fork
55
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Issue: --comp parameter doesn't work with gzip/xz/lzo/lz4

Why other compression methods are not added?

### Problem
Using `--comp gzip` fails because the bundled mksquashfs only supports zstd:

```
mksquashfs: Compressor "gzip" is not supported!
mksquashfs: Compressors available:
zstd (default)
```

### Cause
In `ci/install-static-mksquashfs.sh`, mksquashfs is built with only zstd enabled:
```bash
GZIP_SUPPORT=0 XZ_SUPPORT=0 LZO_SUPPORT=0 LZ4_SUPPORT=0 ZSTD_SUPPORT=1
```

### Suggested Fix
Either:
- Enable all compression formats in the build script, OR
- Validate `--comp` parameter and reject unsupported formats with clear error message

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.