Skip to content

Commit cbf4f19

Browse files
committed
ci: add buildroot dependencies to install list
This updates the environment to include all required Buildroot packages to prevent missing dependency errors during builds. Fixes: #3029 Signed-off-by: Ozan Durgut <ozan.durgut@analog.com>
1 parent 7d9eeda commit cbf4f19

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

1q

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
ci: add buildroot dependencies to install list
2+
3+
This updates the environment to include all required Buildroot
4+
packages to prevent missing dependency errors during builds.
5+
6+
Fixes: #3029
7+
Signed-off-by: Ozan Durgut <ozan.durgut@analog.com>
8+
9+
# Please enter the commit message for your changes. Lines starting
10+
# with '#' will be ignored, and an empty message aborts the commit.
11+
#
12+
# Date: Wed Nov 26 11:42:35 2025 +0100
13+
#
14+
# On branch add-buildroot-deps
15+
# Changes to be committed:
16+
# modified: container/Containerfile
17+
# new file: container/install-buildroot.sh
18+
#

container/Containerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ COPY install-compilers.sh .
2626
RUN chmod +x install-compilers.sh ; ./install-compilers.sh
2727
COPY install-extra.sh .
2828
RUN chmod +x install-extra.sh ; ./install-extra.sh
29+
COPY install-buildroot.sh .
30+
RUN chmod +x install-buildroot.sh ; ./install-buildroot.sh
2931

3032
RUN mkdir -p /usr/local/bin
3133
WORKDIR /usr/local/bin

container/install-buildroot.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
# for: build-doc-*
3+
4+
set -e
5+
6+
# Install packages required by Buildroot:
7+
# https://buildroot.org/downloads/manual/manual.html#requirement-mandatory
8+
zypper install -y --no-recommends \
9+
gcc gcc-c++ make \
10+
glibc-devel libstdc++-devel binutils ccache \
11+
git wget rsync bc unzip cpio file \
12+
which sed diffutils bash patch gzip bzip2 perl tar \
13+
findutils gawk \

0 commit comments

Comments
 (0)