COIN: Enable setting Debian target distro with env variable
Pick-to: 6.7 Change-Id: I8cc0e9127ee7dd1e810812688ad32e759510cbe9 Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
parent
4725bbb3ee
commit
d4568bcfdb
@ -104,7 +104,7 @@ instructions:
|
||||
- type: ExecuteCommand
|
||||
command: ["sbuild",
|
||||
"--build-dep-resolver=apt",
|
||||
"-sAd", "tqtc-focal",
|
||||
"-sAd", "{{.Env.COIN_TARGET_DIST}}",
|
||||
"-c", "{{.Env.COIN_SBUILD_CHROOT}}",
|
||||
"--build-dir", "output/debian_packages",
|
||||
"--extra-repository={{.Env.COIN_EXTRA_DEBIAN_REPO}}",
|
||||
|
@ -4,6 +4,13 @@ enable_if:
|
||||
property: features
|
||||
contains_value: DebianPackaging
|
||||
instructions:
|
||||
- type: EnvironmentVariable
|
||||
variableName: COIN_TARGET_DIST
|
||||
variableValue: "tqtc-focal"
|
||||
enable_if:
|
||||
condition: runtime
|
||||
env_var: COIN_TARGET_DIST
|
||||
equals_value: null
|
||||
- type: EnvironmentVariable
|
||||
variableName: COIN_SBUILD_CHROOT
|
||||
variableValue: "stable-arm64-sbuild"
|
||||
|
Loading…
x
Reference in New Issue
Block a user