diff options
author | Manuel Bentele | 2021-09-30 13:59:29 +0200 |
---|---|---|
committer | Manuel Bentele | 2021-10-12 13:12:55 +0200 |
commit | 88308bbee7027c5b840a30f9d91b188ad803de1f (patch) | |
tree | 488d96387d4833f5f1d9e2770678a8627e39b574 /core/modules/libvirt | |
parent | [kernel-vanilla] Add dwarves, required for CONFIG_DEBUG_INFO_BTF (diff) | |
download | mltk-88308bbee7027c5b840a30f9d91b188ad803de1f.tar.gz mltk-88308bbee7027c5b840a30f9d91b188ad803de1f.tar.xz mltk-88308bbee7027c5b840a30f9d91b188ad803de1f.zip |
[libvirt-src] Add module for libvirt source build
Diffstat (limited to 'core/modules/libvirt')
-rw-r--r-- | core/modules/libvirt/module.build | 14 | ||||
-rw-r--r-- | core/modules/libvirt/module.conf | 4 | ||||
-rw-r--r-- | core/modules/libvirt/module.conf.debian | 6 |
3 files changed, 5 insertions, 19 deletions
diff --git a/core/modules/libvirt/module.build b/core/modules/libvirt/module.build index 2b661f30..61fd9a57 100644 --- a/core/modules/libvirt/module.build +++ b/core/modules/libvirt/module.build @@ -1,13 +1,5 @@ #!/bin/bash -module_init() { - groupadd --system "kvm" - groupadd --system "libvirt-qemu" - groupadd --system "libvirt-passthrough" - useradd --gid "kvm" --groups "libvirt-qemu,libvirt-passthrough" --system \ - --no-create-home --home-dir "/var/lib/libvirt" "libvirt-qemu" -} - fetch_source() { : } @@ -17,9 +9,5 @@ build() { } post_copy() { - # remove default network configuration - # TODO: Some REQUIRED_DELETIONS var that handles this? This would not - # do the right thing in MiniLinux mode. - rm "/etc/libvirt/qemu/networks/default.xml" - rm "/etc/libvirt/qemu/networks/autostart/default.xml" + : } diff --git a/core/modules/libvirt/module.conf b/core/modules/libvirt/module.conf index 668ddf88..11090887 100644 --- a/core/modules/libvirt/module.conf +++ b/core/modules/libvirt/module.conf @@ -1,5 +1,9 @@ #!/bin/bash +REQUIRED_MODULES=" + libvirt-src +" + REQUIRED_BINARIES="" REQUIRED_LIBRARIES="" REQUIRED_DIRECTORIES="" diff --git a/core/modules/libvirt/module.conf.debian b/core/modules/libvirt/module.conf.debian index bd1671ea..38968ac6 100644 --- a/core/modules/libvirt/module.conf.debian +++ b/core/modules/libvirt/module.conf.debian @@ -1,8 +1,5 @@ #!/bin/bash REQUIRED_INSTALLED_PACKAGES=" - libvirt-daemon-system - libvirt-daemon - libvirt-clients ebtables dnsmasq mdevctl @@ -10,9 +7,6 @@ REQUIRED_INSTALLED_PACKAGES=" " REQUIRED_CONTENT_PACKAGES=" - libvirt-daemon-system - libvirt-daemon - libvirt-clients ebtables dnsmasq mdevctl |