]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: Drop the prepare.sh script
authorErik Skultety <eskultet@redhat.com>
Wed, 10 Feb 2021 06:06:19 +0000 (07:06 +0100)
committerErik Skultety <eskultet@redhat.com>
Fri, 12 Feb 2021 16:01:41 +0000 (17:01 +0100)
The purpose of this script was to prepare a customized environment in
the container, but was actually never used and it required the usage of
sudo to switch the environment from root's context to a regular user's
one.
The thing is that once someone needs a custom script they would very
likely to debug something and would also benefit from root privileges
in general, so the usage of 'sudo' in such case was a bit cumbersome.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
ci/prepare.sh [deleted file]

diff --git a/ci/prepare.sh b/ci/prepare.sh
deleted file mode 100644 (file)
index da6fc9a..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-# This script is used to prepare the environment that will be used
-# to build libvirt inside the container.
-#
-# You can customize it to your liking, or alternatively use a
-# completely different script by passing
-#
-#  CI_PREPARE_SCRIPT=/path/to/your/prepare/script
-#
-# to make.
-#
-# Note that this script will have root privileges inside the
-# container, so it can be used for things like installing additional
-# packages.