summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-02-20 08:40:28 +0200
committerLars Wirzenius <liw@liw.fi>2024-02-20 09:13:22 +0200
commit00c8f1a6f823f88a4c08e076d81f42a7128313d0 (patch)
tree57e67c548828f1446b593941e255c5f492f74245
parent29771bb445d54715e89264e308112bb6b43c882d (diff)
downloadambient-driver-00c8f1a6f823f88a4c08e076d81f42a7128313d0.tar.gz
build: binaries are statically linked with musl in the deb
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--debian/control4
-rw-r--r--debian/copyright1
-rw-r--r--debian/lintian-overrides1
-rwxr-xr-xdebian/rules2
4 files changed, 5 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index ac01dea..304399d 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Homepage: https://ambient.liw.fi/
Package: ambient-driver
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, qemu-system-x86
+Depends: ${misc:Depends}, qemu-system-x86
Description: local continuous integration engine
Ambient is a continuous integration system in development. This
- package contains a tool to run CI locally on projects. \ No newline at end of file
+ package contains a tool to run CI locally on projects.
diff --git a/debian/copyright b/debian/copyright
index dec732f..cf4f45c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -6,3 +6,4 @@ Source: https://codeberg.org/ambient
Files: *
Copyright: 2023-2024 Lars Wirzenius
License: GPL-3+
+ See /usr/share/common-licenses/GPL-3 for a copy.
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
index 8946f23..5fe15d0 100644
--- a/debian/lintian-overrides
+++ b/debian/lintian-overrides
@@ -1,2 +1,3 @@
ambient-driver binary: initial-upload-closes-no-bugs
ambient-driver binary: no-manual-page
+ambient-driver: shared-library-lacks-prerequisites
diff --git a/debian/rules b/debian/rules
index 7598c24..81fe8c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ override_dh_auto_build:
true
override_dh_auto_install:
- cargo install --offline --path=. --root=debian/ambient-driver
+ cargo install --offline --target x86_64-unknown-linux-musl --path=. --root=debian/ambient-driver
rm -f debian/*/.crates*.*
override_dh_auto_test: