summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu
diff options
context:
space:
mode:
authorManuel Bentele2021-09-30 14:01:50 +0200
committerManuel Bentele2021-10-12 13:12:55 +0200
commit89fa7e5a9c9b24dcaafa2a3affde56f26945030e (patch)
tree404d9b5ead2145fb3d1986ce43588d8bd8a47a65 /core/modules/qemu
parent[libvirt-src] Add module for libvirt source build (diff)
downloadmltk-89fa7e5a9c9b24dcaafa2a3affde56f26945030e.tar.gz
mltk-89fa7e5a9c9b24dcaafa2a3affde56f26945030e.tar.xz
mltk-89fa7e5a9c9b24dcaafa2a3affde56f26945030e.zip
[qemu-src] Add module for QEMU source build
Diffstat (limited to 'core/modules/qemu')
-rw-r--r--core/modules/qemu/data/etc/systemd/system/qemu.service3
-rw-r--r--core/modules/qemu/module.build3
-rw-r--r--core/modules/qemu/module.conf1
-rw-r--r--core/modules/qemu/module.conf.ubuntu8
4 files changed, 4 insertions, 11 deletions
diff --git a/core/modules/qemu/data/etc/systemd/system/qemu.service b/core/modules/qemu/data/etc/systemd/system/qemu.service
index 4d0e7a19..1776d63c 100644
--- a/core/modules/qemu/data/etc/systemd/system/qemu.service
+++ b/core/modules/qemu/data/etc/systemd/system/qemu.service
@@ -11,3 +11,6 @@ After=qemu-kvm.service
Type=oneshot
RemainAfterExit=yes
ExecStart=/opt/openslx/scripts/systemd-qemu_env start
+
+[Install]
+WantedBy=graphical.target
diff --git a/core/modules/qemu/module.build b/core/modules/qemu/module.build
index 801d1d4b..cc7eaee0 100644
--- a/core/modules/qemu/module.build
+++ b/core/modules/qemu/module.build
@@ -25,7 +25,4 @@ post_copy() {
# change access rights of the qemu bridge helper config
chown root:kvm /etc/qemu/bridge.conf
chmod 0664 /etc/qemu/bridge.conf
-
- # set UID to avoid operation not permitted errors
- chmod u+s /usr/lib/qemu/qemu-bridge-helper
}
diff --git a/core/modules/qemu/module.conf b/core/modules/qemu/module.conf
index 1e272eb4..d4169c39 100644
--- a/core/modules/qemu/module.conf
+++ b/core/modules/qemu/module.conf
@@ -1,6 +1,7 @@
#!/bin/bash
REQUIRED_MODULES="
+ qemu-src
libvirt
openjdk-8-jre-headless
looking-glass-client
diff --git a/core/modules/qemu/module.conf.ubuntu b/core/modules/qemu/module.conf.ubuntu
index 8edc5df4..1853bdf8 100644
--- a/core/modules/qemu/module.conf.ubuntu
+++ b/core/modules/qemu/module.conf.ubuntu
@@ -6,13 +6,5 @@ REQUIRED_INSTALLED_PACKAGES="
"
REQUIRED_CONTENT_PACKAGES="
- qemu
- qemu-kvm
- qemu-system-common
- qemu-system-arm
- qemu-system-x86
- qemu-utils
- seabios
- ovmf
jq
"