diff options
author | Manuel Bentele | 2021-06-25 12:16:33 +0200 |
---|---|---|
committer | Manuel Bentele | 2021-06-25 12:16:33 +0200 |
commit | d25c4cabcf687115c0580ccc5eb52d3ca632af9d (patch) | |
tree | 6279e9d325b67323507c3e676f6c4bf5777e59fb | |
parent | [qemu] Remove build support for MiniLinux (diff) | |
download | mltk-d25c4cabcf687115c0580ccc5eb52d3ca632af9d.tar.gz mltk-d25c4cabcf687115c0580ccc5eb52d3ca632af9d.tar.xz mltk-d25c4cabcf687115c0580ccc5eb52d3ca632af9d.zip |
[libvirt] Remove build support for MiniLinux
-rwxr-xr-x | core/modules/libvirt/data/addon-init | 3 | ||||
-rw-r--r-- | core/modules/libvirt/data/etc/libvirt/qemu/networks/br0.xml | 1 | ||||
-rw-r--r-- | core/modules/libvirt/data/etc/libvirt/qemu/networks/nat1.xml | 1 | ||||
-rw-r--r-- | core/modules/libvirt/data/etc/libvirt/qemu/networks/vsw2.xml | 1 | ||||
-rw-r--r-- | core/modules/libvirt/module.build | 7 | ||||
-rw-r--r-- | core/modules/libvirt/module.conf | 58 | ||||
-rw-r--r-- | core/modules/libvirt/module.conf.debian | 2 | ||||
-rw-r--r-- | core/modules/libvirt/module.conf.ubuntu (renamed from core/modules/libvirt/module.conf.ubuntu.20.04) | 2 | ||||
-rw-r--r-- | core/modules/libvirt/module.conf.ubuntu.18.04 | 8 |
9 files changed, 13 insertions, 70 deletions
diff --git a/core/modules/libvirt/data/addon-init b/core/modules/libvirt/data/addon-init index 034eb22a..49c9b7b0 100755 --- a/core/modules/libvirt/data/addon-init +++ b/core/modules/libvirt/data/addon-init @@ -76,7 +76,8 @@ if ! getent passwd libvirt-dnsmasq >/dev/null; then fi # -# register and start libvirt service +# register and start libvirt services # systemctl daemon-reload systemctl start libvirtd.service +systemctl start libvirt-guests.service diff --git a/core/modules/libvirt/data/etc/libvirt/qemu/networks/br0.xml b/core/modules/libvirt/data/etc/libvirt/qemu/networks/br0.xml index cf0876dc..14acd6ec 100644 --- a/core/modules/libvirt/data/etc/libvirt/qemu/networks/br0.xml +++ b/core/modules/libvirt/data/etc/libvirt/qemu/networks/br0.xml @@ -2,4 +2,5 @@ <name>br0</name> <forward mode='bridge'/> <bridge name='br0'/> + <dns enable="no"/> </network> diff --git a/core/modules/libvirt/data/etc/libvirt/qemu/networks/nat1.xml b/core/modules/libvirt/data/etc/libvirt/qemu/networks/nat1.xml index 3411fbbb..689b3640 100644 --- a/core/modules/libvirt/data/etc/libvirt/qemu/networks/nat1.xml +++ b/core/modules/libvirt/data/etc/libvirt/qemu/networks/nat1.xml @@ -2,4 +2,5 @@ <name>nat1</name> <forward mode='bridge'/> <bridge name='nat1'/> + <dns enable="no"/> </network> diff --git a/core/modules/libvirt/data/etc/libvirt/qemu/networks/vsw2.xml b/core/modules/libvirt/data/etc/libvirt/qemu/networks/vsw2.xml index cc40a0c3..a2c43fea 100644 --- a/core/modules/libvirt/data/etc/libvirt/qemu/networks/vsw2.xml +++ b/core/modules/libvirt/data/etc/libvirt/qemu/networks/vsw2.xml @@ -2,4 +2,5 @@ <name>vsw2</name> <forward mode='bridge'/> <bridge name='vsw2'/> + <dns enable="no"/> </network> diff --git a/core/modules/libvirt/module.build b/core/modules/libvirt/module.build index 141e076e..dd868159 100644 --- a/core/modules/libvirt/module.build +++ b/core/modules/libvirt/module.build @@ -4,16 +4,11 @@ fetch_source() { } build() { - COPYLIST="list_dpkg_output" - [ -e "${COPYLIST}" ] && rm "${COPYLIST}" - list_packet_files >> "${COPYLIST}" - tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}" + : } post_copy() { - # # remove default network configuration - # rm "${MODULE_BUILD_DIR}/etc/libvirt/qemu/networks/default.xml" rm "${MODULE_BUILD_DIR}/etc/libvirt/qemu/networks/autostart/default.xml" } diff --git a/core/modules/libvirt/module.conf b/core/modules/libvirt/module.conf index bcc4b9f4..668ddf88 100644 --- a/core/modules/libvirt/module.conf +++ b/core/modules/libvirt/module.conf @@ -1,57 +1,5 @@ #!/bin/bash -REQUIRED_BINARIES=" - libvirtd - virtlockd - virtlogd - virt-sanlock-cleanup - remote-viewer - virsh - virt-admin - virt-host-validate - virt-login-shell - virt-pki-validate - virt-viewer - virt-xml-validate - libvirt-guests.sh - libvirt_iohelper - libvirt_leaseshelper - libvirt_lxc - libvirt_parthelper - libvirt_sanlock_helper - virt-aa-helper - virt-login-shell-helper -" -REQUIRED_FILES=" - /usr/lib/x86_64-linux-gnu/libvirt/connection-driver/libvirt_driver_interface.so - /usr/lib/x86_64-linux-gnu/libvirt/connection-driver/libvirt_driver_network.so - /usr/lib/x86_64-linux-gnu/libvirt/connection-driver/libvirt_driver_nodedev.so - /usr/lib/x86_64-linux-gnu/libvirt/connection-driver/libvirt_driver_nwfilter.so - /usr/lib/x86_64-linux-gnu/libvirt/connection-driver/libvirt_driver_secret.so - /usr/lib/x86_64-linux-gnu/libvirt/connection-driver/libvirt_driver_storage.so - /usr/lib/x86_64-linux-gnu/libvirt/lock-driver/lockd.so - /usr/lib/x86_64-linux-gnu/libvirt/storage-backend/libvirt_storage_backend_disk.so - /usr/lib/x86_64-linux-gnu/libvirt/storage-backend/libvirt_storage_backend_fs.so - /usr/lib/x86_64-linux-gnu/libvirt/storage-backend/libvirt_storage_backend_iscsi.so - /usr/lib/x86_64-linux-gnu/libvirt/storage-backend/libvirt_storage_backend_logical.so - /usr/lib/x86_64-linux-gnu/libvirt/storage-backend/libvirt_storage_backend_mpath.so - /usr/lib/x86_64-linux-gnu/libvirt/storage-backend/libvirt_storage_backend_scsi.so - /usr/lib/x86_64-linux-gnu/libvirt/storage-file/libvirt_storage_file_fs.so -" -REQUIRED_DIRECTORIES=" - /etc - /usr/lib/libvirt - /usr/lib/systemd - /usr/share/mime - /usr/share/icons - /usr/share/systemtap - /usr/share/apport - /usr/share/augeas - /usr/share/bash-completion - /usr/share/polkit-1 - /usr/share/appdata - /usr/share/bug - /usr/share/locale - /usr/share/applications - /var -" +REQUIRED_BINARIES="" +REQUIRED_LIBRARIES="" +REQUIRED_DIRECTORIES="" diff --git a/core/modules/libvirt/module.conf.debian b/core/modules/libvirt/module.conf.debian index 9248faf4..84be983c 100644 --- a/core/modules/libvirt/module.conf.debian +++ b/core/modules/libvirt/module.conf.debian @@ -3,10 +3,12 @@ REQUIRED_INSTALLED_PACKAGES=" libvirt-daemon-system libvirt-daemon libvirt-clients + ebtables " REQUIRED_CONTENT_PACKAGES=" libvirt-daemon-system libvirt-daemon libvirt-clients + ebtables " diff --git a/core/modules/libvirt/module.conf.ubuntu.20.04 b/core/modules/libvirt/module.conf.ubuntu index 9248faf4..84be983c 100644 --- a/core/modules/libvirt/module.conf.ubuntu.20.04 +++ b/core/modules/libvirt/module.conf.ubuntu @@ -3,10 +3,12 @@ REQUIRED_INSTALLED_PACKAGES=" libvirt-daemon-system libvirt-daemon libvirt-clients + ebtables " REQUIRED_CONTENT_PACKAGES=" libvirt-daemon-system libvirt-daemon libvirt-clients + ebtables " diff --git a/core/modules/libvirt/module.conf.ubuntu.18.04 b/core/modules/libvirt/module.conf.ubuntu.18.04 deleted file mode 100644 index 7838878b..00000000 --- a/core/modules/libvirt/module.conf.ubuntu.18.04 +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -REQUIRED_INSTALLED_PACKAGES=" - libvirt-bin -" - -REQUIRED_CONTENT_PACKAGES=" - libvirt-bin -" |