Skip to content

Commit

Permalink
COIN: Enable setting Debian target distro with env variable
Browse files Browse the repository at this point in the history
Pick-to: 6.7
Change-Id: I8cc0e9127ee7dd1e810812688ad32e759510cbe9
Reviewed-by: Toni Saario <[email protected]>
  • Loading branch information
faltsi committed Jan 31, 2024
1 parent 4725bbb commit d4568bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion coin/instructions/debian/debian_build_module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
7 changes: 7 additions & 0 deletions coin/instructions/debian/prepare_debian_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d4568bc

Please sign in to comment.