chirpstack: disable auto requirement in rpm package.

This commit is contained in:
Orne Brocaar 2023-09-07 16:39:49 +01:00
parent f06f11334e
commit f39efa995f
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ dev-dependencies:
cargo install diesel_cli --version 2.1.0 --no-default-features --features postgres
cargo install cargo-deb --version 1.43.1
cargo install cargo-bitbake --version 0.3.16
cargo install cargo-generate-rpm --version 0.11.0
cargo install cargo-generate-rpm --version 0.12.1
# Set the versions
version:

View File

@ -190,6 +190,8 @@ maintainer-scripts = "debian/"
systemd-units = { enable = true }
[package.metadata.generate-rpm]
auto-req = "no"
pre_install_script = '''
id chirpstack &>/dev/null
if [[ $? -ne 0 ]]; then