Skip to content

Commit

Permalink
Add Ubuntu 22.04 support
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Salvador <[email protected]>
  • Loading branch information
otavio committed Apr 28, 2023
1 parent 95c02a9 commit 91dfeb2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
version:
- 18.04
- 20.04
- 22.04

runs-on: ubuntu-20.04

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
version:
- 18.04
- 20.04
- 22.04

runs-on: ubuntu-20.04

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ENV DEBIAN_FRONTEND=noninteractive
# `coreutils` package.
RUN apt-get update && \
apt-get install -y --no-install-recommends realpath || true && \
apt-get install -y --no-install-recommends python python-dev || true && \
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
Expand All @@ -31,8 +32,8 @@ RUN apt-get update && \
locales \
openssh-client \
openssl \
python \
python3 \
python3-dev \
socat \
sudo \
texinfo \
Expand Down Expand Up @@ -61,7 +62,6 @@ RUN apt-get update && \
flex \
libssl-dev \
lzop \
python-dev \
swig \
\
g++-arm-linux-gnueabihf \
Expand Down
6 changes: 3 additions & 3 deletions yocto-env
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ USAGE:
OPTIONS
version Environment version to use. This maps to Ubuntu releases
and currently it provides the 14.04, 16.04, 18.04 and
20.04.
and currently it provides the 14.04, 16.04, 18.04,
20.04 and 22.04.
EOF
exit 1
}

case "$1" in
14.04*|16.04*|18.04*|20.04*)
14.04*|16.04*|18.04*|20.04*|22.04*)
version=$1
;;
*)
Expand Down

0 comments on commit 91dfeb2

Please sign in to comment.