Skip to content

Commit

Permalink
218 extensionsqemu add support for virt manager (#220)
Browse files Browse the repository at this point in the history
- extensions/qemu: added support for virt-manager
  • Loading branch information
itsManjeet authored Jul 29, 2024
1 parent 2b2ce53 commit f089ee0
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
7 changes: 2 additions & 5 deletions elements/components/libvirt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ configure: >-
-Dstorage_zfs=enabled
-Dstorage_rbd=disabled
post-script: |-
chmod 600 %{install-root}%{sysconfdir}/libvirt/nwfilter/*.xml \
%{install-root}%{sysconfdir}/libvirt/qemu/networks/default.xml
chmod 700 %{install-root}%{sysconfdir}/libvirt/secrets
depends:
- components/fuse.yml
- components/gnutls.yml
Expand All @@ -57,6 +52,8 @@ depends:
- components/iptables.yml
- components/gettext.yml
- components/lvm2.yml
- components/rpcsvc-proto.yml

build-depends:
- components/iproute2.yml
- components/libxslt.yml
Expand Down
4 changes: 2 additions & 2 deletions elements/components/phodav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ version: 3.0
about: WebDav server implementation using libsoup (RFC 4918)

pre-script: |-
sed -i 's|%{sysconfdir}/sysconfig/spice-webdavd|%{sysconfdir}/conf.d/spice-webdavd| \
sed -i 's|%{sysconfdir}/sysconfig/spice-webdavd|%{sysconfdir}/conf.d/spice-webdavd|
s|/usr/sbin/spice-webdavd|%{bindir}/spice-webdavd|' data/spice-webdavd.service
post-script: |-
install -dm755 "%{install-root}%{sysconfdir}/conf.d/"
echo 'SPICE_WEBDAVD_EXTRA_ARGS=""' > "%{install-root}%{sysconfdir}/conf.d/spice-webdavd"
depends:
- components/avahi.yml
- components/libsoup.yml
- components/libsoup3.yml
- components/systemd.yml
build-depends:
- components/gtk-doc.yml
Expand Down
22 changes: 22 additions & 0 deletions elements/components/virt-manager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
id: virt-manager
version: 4.1.0
about: Desktop user interface for managing virtual machines

pre-script: |-
pip install docutils
configure: >-
--default-hvs qemu,lxc
depends:
- components/gtk-vnc.yml
- components/gtksourceview4.yml
- components/libvirt-glib.yml
- components/py/py-cairo.yml
- components/spice-gtk.yml

build-depends:
- components/py/py-setuptools.yml

sources:
- https://releases.pagure.org/virt-manager/virt-manager-%{version}.tar.gz
1 change: 1 addition & 0 deletions elements/extensions/qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ about: RLXOS QEMU Virtualization Kit
include:
- components/qemu.yml
- components/bridge-utils.yml
- components/virt-manager.yml

merge: [elements/include/extension.inc]

0 comments on commit f089ee0

Please sign in to comment.