Commit 34c0426
Lessley Dennington
release: force xz compression for Debian package
The GCM Debian package currently fails to install on Debian with the
following error:
error: archive 'gcm-linux_amd64.2.0.886.deb' uses unknown compression for
member 'control.tar.zst', giving up
It appears that the version of dpkg that ships with Debian does not
support zstd compression [1]. Enforcing xz compression resolves the issue.
This also provides an opportunity to clean up some unused variables in
pack.sh and ensure we check the architecture is found before attempting to
use the ARCH variable.
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=8926641 parent 631bbed commit 34c0426
1 file changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
| |||
51 | 47 | | |
52 | 48 | | |
53 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
| |||
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
117 | | - | |
118 | | - | |
119 | 113 | | |
120 | 114 | | |
121 | 115 | | |
| |||
131 | 125 | | |
132 | 126 | | |
133 | 127 | | |
134 | | - | |
| 128 | + | |
135 | 129 | | |
136 | 130 | | |
0 commit comments