From e5d67f9c626c1618d23dd9693bbcc7a0007ad8e9 Mon Sep 17 00:00:00 2001 From: Jonathan Crockett Date: Tue, 26 Aug 2025 09:13:15 -0700 Subject: [PATCH] ubuntu-24.04: drop ubuntu user Ubuntu 24.04 upstream base image now has a user "ubuntu" assigned uid/gid 1000. This conflicts with other CROPS images. It is currently preventing creation of "pokyuser" in poky-container, so remove this new user in our ubuntu-24.04 base to prevent the conflict. Signed-off-by: Jonathan Crockett --- dockerfiles/ubuntu/ubuntu-24.04/ubuntu-24.04-base/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/dockerfiles/ubuntu/ubuntu-24.04/ubuntu-24.04-base/Dockerfile b/dockerfiles/ubuntu/ubuntu-24.04/ubuntu-24.04-base/Dockerfile index 02646d9..fb4b34e 100644 --- a/dockerfiles/ubuntu/ubuntu-24.04/ubuntu-24.04-base/Dockerfile +++ b/dockerfiles/ubuntu/ubuntu-24.04/ubuntu-24.04-base/Dockerfile @@ -55,6 +55,7 @@ RUN apt-get update && \ mkdir /etc/vncskel/.vnc && \ echo "" | vncpasswd -f > /etc/vncskel/.vnc/passwd && \ chmod 0600 /etc/vncskel/.vnc/passwd && \ + userdel -r ubuntu && \ useradd -U -m yoctouser && \ /usr/sbin/locale-gen en_US.UTF-8 && \ echo 'dash dash/sh boolean false' | debconf-set-selections && \