Skip to content

Commit

Permalink
[nrf noup] Fix release tools workflow
Browse files Browse the repository at this point in the history
Bumped chip-build version that became obsolete and leads
to bootstrap crash due to too old python version.

Replace missing lsb_release.

Signed-off-by: Kamil Kasperczyk <[email protected]>
Co-authored-by: Adrian Gielniewski <[email protected]>
  • Loading branch information
kkasperczyk-no and adigie committed Dec 19, 2024
1 parent d218a95 commit 4f80181
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release_tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive

container:
image: ghcr.io/project-chip/chip-build:41
image: ghcr.io/project-chip/chip-build:81
volumes:
- "/tmp/log_output:/tmp/test_logs"
- "/tmp/output_binaries:/tmp/output_binaries"
Expand All @@ -54,8 +54,9 @@ jobs:
- name: Install CHIP Tool dependencies
timeout-minutes: 10
run: |
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports $(lsb_release -sc) main restricted" > /etc/apt/sources.list.d/arm64.list
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports $(lsb_release -sc)-updates main restricted" >> /etc/apt/sources.list.d/arm64.list
export CODENAME=$(cat /etc/os-release | grep UBUNTU_CODENAME | cut -d= -f2)
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports ${CODENAME} main restricted" > /etc/apt/sources.list.d/arm64.list
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports ${CODENAME}-updates main restricted" >> /etc/apt/sources.list.d/arm64.list
apt update
apt install -y --no-install-recommends -o APT::Immediate-Configure=false g++-aarch64-linux-gnu libgirepository1.0-dev
dpkg --add-architecture arm64
Expand Down

0 comments on commit 4f80181

Please sign in to comment.