Browse Source

Drop libvirt wrapper script, no longer needed

configure-hook
James Page 3 years ago
parent
commit
15afd972ab
  1. 3
      snap-wrappers/libvirtd/launch-libvirtd
  2. 17
      snapcraft.yaml

3
snap-wrappers/libvirtd/launch-libvirtd

@ -1,3 +0,0 @@
#!/bin/sh -e
exec "$SNAP/sbin/libvirtd"

17
snapcraft.yaml

@ -213,18 +213,13 @@ apps:
- network
# Libvirt/Qemu
libvirt-bin:
command: launch-libvirtd
libvirtd:
command: libvirtd
daemon: simple
environment:
LD_LIBRARY_PATH: $SNAP/lib:$SNAP/lib/$SNAPCRAFT_ARCH_TRIPLET:$SNAP/usr/lib:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio
PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH
LC_ALL: C
virsh:
command: virsh
environment:
PATH: $SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH
LC_ALL: C
# MySQL
# MySQL
@ -692,14 +687,6 @@ parts:
# * is not used to avoid directory merge conflicts
snap/microstack/current/: ./
libvirtd-wrapper:
source: ./snap-wrappers/libvirtd
plugin: dump
after:
- libvirt
organize:
launch-libvirtd: bin/launch-libvirtd
# MySQL
mysql-server:
plugin: dump

Loading…
Cancel
Save