Skip to content

Commit 8247089

Browse files
authored
Merge pull request #25 from bordeux/fix/fix-building-debian-package
fix: fix ARM64 DEB package build in cross-compilation
2 parents bf0519c + 5356105 commit 8247089

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
- name: Build DEB package (aarch64)
183183
if: matrix.deb_arch == 'arm64'
184184
run: |
185-
cargo deb --no-build --target ${{ matrix.target }}
185+
cargo deb --no-build --no-strip --target ${{ matrix.target }}
186186
cp target/${{ matrix.target }}/debian/*.deb tmpltool_${{ needs.semantic-release.outputs.new_release_version }}_${{ matrix.deb_arch }}.deb
187187
188188
- name: Upload artifact (Linux/macOS)

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ hash generation (MD5, SHA1, SHA256, SHA512), filesystem operations, \
5151
data parsing (JSON, YAML, TOML), validation functions, and more."""
5252
section = "utils"
5353
priority = "optional"
54+
depends = "libc6"
5455
assets = [
5556
["target/release/tmpltool", "usr/bin/", "755"],
5657
["README.md", "usr/share/doc/tmpltool/README.md", "644"],

0 commit comments

Comments
 (0)