Skip to content

Commit

Permalink
fix(debian platform): Remove conf-files directive for cargo-deb (v…
Browse files Browse the repository at this point in the history
…ectordotdev#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]>
  • Loading branch information
jszwedko authored Sep 1, 2023
1 parent 4e4ece6 commit 40ef7c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ debug = true
name = "vector"
section = "admin"
maintainer-scripts = "distribution/debian/scripts/"
conf-files = ["/etc/vector/vector.toml", "/etc/default/vector"]
assets = [
["target/release/vector", "/usr/bin/", "755"],
["config/vector.toml", "/etc/vector/vector.toml", "644"],
Expand Down

0 comments on commit 40ef7c4

Please sign in to comment.