summaryrefslogtreecommitdiffstats
path: root/scripts/ci/docker/setup_kvm.sh
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-10-21 12:10:37 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2019-10-21 12:10:37 +0200
commit87c9a19817c0b20b7c45a047cfc5c5a9a577dfd0 (patch)
treee686aa283c67ab4983e860f3769be941d09caefa /scripts/ci/docker/setup_kvm.sh
parent4d2ff5c6c3e6edf286bacfe92cd5c63685865621 (diff)
downloadmeta-updater-87c9a19817c0b20b7c45a047cfc5c5a9a577dfd0.tar.gz
CI scripts: remove everything that only belongs in master.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Diffstat (limited to 'scripts/ci/docker/setup_kvm.sh')
-rwxr-xr-xscripts/ci/docker/setup_kvm.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/ci/docker/setup_kvm.sh b/scripts/ci/docker/setup_kvm.sh
deleted file mode 100755
index 1ffbbf5..0000000
--- a/scripts/ci/docker/setup_kvm.sh
+++ /dev/null
@@ -1,14 +0,0 @@
1#!/usr/bin/env bash
2
3# This script makes the gid of the 'kvm' group to match the group
4# owner of '/dev/kvm'
5#
6# These two are not guaranteed to match when a docker image starts
7# with access to '/dev/kvm' that comes from the host
8
9set -euo pipefail
10
11kvm_gid=$(stat -c "%g" /dev/kvm)
12groupmod -g "$kvm_gid" kvm
13usermod -a -G kvm bitbake
14ln -s /bin/true /usr/bin/kvm-ok