From b6f1f7b7b3528f4f4456c1ae0a10a09c003ead23 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Fri, 14 Apr 2023 10:59:01 +0100 Subject: [PATCH] Remove redundant creation of oem user --- .../ubuntu/hooks/099-ubuntu-image-customization.chroot | 5 ----- 1 file changed, 5 deletions(-) diff --git a/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot b/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot index 91449b61..82005f42 100644 --- a/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot +++ b/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot @@ -18,11 +18,6 @@ if [ "$IMAGEFORMAT" == "none" ]; then touch "/var/lib/oem-config/run" fi - /usr/sbin/useradd -d /home/oem -G adm,sudo -m -N -u 29999 oem - - /usr/sbin/oem-config-prepare --quiet - touch "/var/lib/oem-config/run" - # Update the fstab to include the "discard" option awk \ -v root_fs_label="writable" \