Skip to content

Commit 40ef7c4

Browse files
authored
fix(debian platform): Remove conf-files directive for cargo-deb (vectordotdev#18455)
Apparently `cargo-deb` is including an extra newline in the generated `conffiles` file which causes a bug when used with Uyuni/SUSE Manager (vectordotdev#18439). I opened an issue upstream, kornelski/cargo-deb#110, but observed that we only have conffiles in `/etc` and so don't actually need to include a `conffiles` control file. Per the Debian docs: > dh_installdeb(1) automatically flags any files under the /etc directory as conffiles, so if your program only has conffiles there you do not need to specify them in this file. For most package types, the only place conffiles should ever be is under /etc, and so this file doesn't need to exist. Closes: vectordotdev#18439 Signed-off-by: Jesse Szwedko <[email protected]>
1 parent 4e4ece6 commit 40ef7c4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ debug = true
4848
name = "vector"
4949
section = "admin"
5050
maintainer-scripts = "distribution/debian/scripts/"
51-
conf-files = ["/etc/vector/vector.toml", "/etc/default/vector"]
5251
assets = [
5352
["target/release/vector", "/usr/bin/", "755"],
5453
["config/vector.toml", "/etc/vector/vector.toml", "644"],

0 commit comments

Comments
 (0)