osmith has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40321?usp=email )
Change subject: epdg: initial testenv.cfg
......................................................................
Set Ready For Review
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40321?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ide2873be7830cc43e7fa09f26b2d504d0563a3c2
Gerrit-Change-Number: 40321
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Mon, 19 May 2025 13:57:50 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/40329?usp=email )
Change subject: OBS: build_binpkg: fix building for ubuntu 24.04
......................................................................
OBS: build_binpkg: fix building for ubuntu 24.04
Delete the user with the given UID if it already exists, so the image
can be built for ubuntu 24.04 too with UID=1000:
> [3/6] RUN USERADD --uid=1000 -m user:
0.166 useradd: UID 1000 is not unique
Change-Id: I85acbf2de53f02a65ef72d4fed8c2918ec6fa317
---
M scripts/obs/data/build_binpkg.Dockerfile
1 file changed, 5 insertions(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
diff --git a/scripts/obs/data/build_binpkg.Dockerfile b/scripts/obs/data/build_binpkg.Dockerfile
index 0a96272..ba26a2d 100644
--- a/scripts/obs/data/build_binpkg.Dockerfile
+++ b/scripts/obs/data/build_binpkg.Dockerfile
@@ -6,7 +6,11 @@
COPY Release.key /usr/share/keyrings/osmocom.asc
-RUN useradd --uid=${UID} -m user
+RUN set -x && \
+ if id "${UID}" >/dev/null 2>&1; then \
+ userdel "$(getent passwd "${UID}" | cut -d: -f1)"; \
+ fi && \
+ useradd --uid=${UID} -m user
# Only install build-essential here, and what's needed to add the Osmocom
# repository. Everything else must be defined as dependency in the package
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/40329?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I85acbf2de53f02a65ef72d4fed8c2918ec6fa317
Gerrit-Change-Number: 40329
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Attention is currently required from: osmith.
fixeria has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ci/+/40329?usp=email )
Change subject: OBS: build_binpkg: fix building for ubuntu 24.04
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/40329?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I85acbf2de53f02a65ef72d4fed8c2918ec6fa317
Gerrit-Change-Number: 40329
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 19 May 2025 13:17:05 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes