mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-12-15 22:55:21 +01:00
libvirt: move libvirt-guests.sh to /etc/init.d
The script does not seem to meet the definition of what should go into /usr/libexec and is a superset of a normal "service" script, so we move it to /etc/init.d. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
334ef83d43
commit
7c1e073e8c
|
|
@ -3,7 +3,7 @@ HOMEPAGE = "http://libvirt.org"
|
||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPLv2+"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
|
||||||
SECTION = "console/tools"
|
SECTION = "console/tools"
|
||||||
PR = "r4"
|
PR = "r5"
|
||||||
|
|
||||||
DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
|
DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
|
||||||
iptables ebtables dnsmasq readline"
|
iptables ebtables dnsmasq readline"
|
||||||
|
|
@ -146,4 +146,8 @@ do_install_append() {
|
||||||
|
|
||||||
install -m 0755 ${WORKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd
|
install -m 0755 ${WORKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd
|
||||||
install -m 0644 ${WORKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf
|
install -m 0644 ${WORKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf
|
||||||
|
|
||||||
|
# This will wind up in the libvirtd package, but will NOT be invoked by default.
|
||||||
|
#
|
||||||
|
mv ${D}/usr/libexec/libvirt-guests.sh ${D}/${sysconfdir}/init.d
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user