AppImage / AppImage/appimagetool

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

Đang mở
#119 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
426
Fork
55
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.