From 34a33467f731b31d6273640a0a36bb5764af3355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 21 Jul 2023 00:44:18 +0200 Subject: [PATCH] ci: Don't install fake pkexec in toolbox image The mutter image already replaces `pkexec` with a symlink to `sudo`, which does the same job as the `su` wrapper. Part-of: --- .gitlab-ci/build-toolbox-image.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.gitlab-ci/build-toolbox-image.sh b/.gitlab-ci/build-toolbox-image.sh index 2e07cb131..8e6b85370 100755 --- a/.gitlab-ci/build-toolbox-image.sh +++ b/.gitlab-ci/build-toolbox-image.sh @@ -40,14 +40,6 @@ build_container() { buildah run $build_cntr dnf clean all buildah run $build_cntr rm -rf /var/lib/cache/dnf - # work around non-working pkexec - local fake_pkexec=$(mktemp) - cat > $fake_pkexec <<-'EOF' - #!/bin/sh - exec su -c "$*" - EOF - buildah copy --chmod 755 $build_cntr $fake_pkexec /usr/bin/pkexec - # disable gnome-keyring activation: # it either asks for unlocking the login keyring on startup, or it detects # the running host daemon and doesn't export the object on the bus, which