Skip to content

Commit

Permalink
fix deb metadata in different Cargo.toml
Browse files Browse the repository at this point in the history
Signed-off-by: gabrik <[email protected]>
  • Loading branch information
gabrik committed Sep 7, 2023
1 parent a910377 commit c25c2c0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
25 changes: 13 additions & 12 deletions zenoh-flow-daemon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,35 +59,35 @@ name = "zenoh-flow-daemon"
assets = [
# binary
[
"/usr/bin/zenoh-flow-daemon",
"755",
"target/release/zenoh-flow-daemon",
"/usr/bin/zenoh-flow-daemon",
"755"
],
# assets
[
"/etc/zenoh-flow/extensions.d/placeholder",
"644",
"etc/extensions.d/placeholder",
"/etc/zenoh-flow/extensions.d/placeholder",
"644"
],
[
"/etc/zenoh-flow/runtime.yaml",
"644",
"etc/runtime.yaml",
"/etc/zenoh-flow/runtime.yaml",
"644"
],
[
"/etc/zenoh-flow/zenoh-daemon.json",
"644",
"etc/zenoh-daemon.json",
"/etc/zenoh-flow/zenoh-daemon.json",
"644"
],
[
"etc/zenoh-zf-router.json",
"/etc/zenoh-flow/zenoh-zf-router.json",
"644",
"etc/zenoh-zf-router.json",
"644"
],
[
"/var/zenoh-flow",
"644",
"var/*",
"/var/zenoh-flow",
"644"
],
]
copyright = "2021 - 2023 ZettaScale Technology"
Expand All @@ -97,6 +97,7 @@ license-file = ["../LICENSE", "0"]
maintainer = "ZettaScale Zenoh Team, <[email protected]>"
priority = "optional"
section = "utils"
revision = ""

conf-files = ["/etc/zenoh-flow/runtime.yaml"]

Expand Down
7 changes: 4 additions & 3 deletions zenoh-flow-plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ rustc_version = "0.4"
assets = [
# binary
[
"/usr/lib/libzenoh_plugin_zenoh_flow.so",
"644",
"target/release/libzenoh_plugin_zenoh_flow.so",
"/usr/lib/libzenoh_plugin_zenoh_flow.so",
"644"
],
# assets
[
Expand All @@ -75,9 +75,9 @@ assets = [
"644",
],
[
"etc/zenoh-zf-plugin.json",
"/etc/zenoh-flow/zenoh-zf-plugin.json",
"644",
"etc/zenoh-zf-plugin.json",
],
]
copyright = "2021 - 2023 ZettaScale Technology Inc."
Expand All @@ -86,3 +86,4 @@ license-file = ["../LICENSE", "0"]
maintainer = "[email protected]"
name = "zenoh-plugin-zenoh-flow"
section = "net"
revision = ""
3 changes: 2 additions & 1 deletion zfctl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ zrpc-macros = { workspace = true }
[package.metadata.deb]
assets = [
# binary
["/usr/bin/zfctl", "755", "target/release/zfctl"],
["target/release/zfctl", "/usr/bin/zfctl", "755"],
# config
[".config/zfctl-zenoh.json", "/etc/zenoh-flow/zfctl-zenoh.json", "644"],
]
Expand All @@ -66,6 +66,7 @@ license-file = ["../LICENSE", "0"]
maintainer = "ZettaScale Zenoh Team, <[email protected]>"
priority = "optional"
section = "utils"
revision = ""

# RPM package configuration

Expand Down

0 comments on commit c25c2c0

Please sign in to comment.