hal: fix load_sync_dbs zstd crash on live ISO

load_sync_dbs() always tried zstd decompression, but pacman stores
.db files in varying formats (gzip, zstd, or decompressed). Now
detects format by magic bytes:
  - \x28\xb5\x2f\xfd → zstd decompression
  - \x1f\x8b → gzip decompression
  - anything else → raw tar (already decompressed by hal sync)

Also bumped pkgrel 2→3 to trigger rebuild.
This commit is contained in:
2026-06-23 15:14:55 +02:00
parent b69065be03
commit 0be160ebb9
3 changed files with 14 additions and 5 deletions
Binary file not shown.