From 9a69a0ffdc3697679a127b6f0a2644bbbc2ebe1d Mon Sep 17 00:00:00 2001 From: Philip Tricca Date: Wed, 4 Dec 2013 02:20:34 +0000 Subject: xen: Break volatiles out into separate package. The Xen scripts for handling block and vif udev events depend on directories created by the Xen volatile directories. In a situation where the 'base' Xen package isn't installed (NDVM etc) these scripts fail silently. The most simple approach I could come up with is just breaking the Xen volatiles config out into it's own package and setting up the logical dependencies. Creating a new package for just a single file seems like overkill to me but it's the most straightforward thing I could come up with. Regards, Philip Signed-off-by: Philip Tricca Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 9d438144..e31e9961 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc @@ -53,12 +53,14 @@ RDEPENDS_${PN}-base = "\ RDEPENDS_${PN}-scripts-block = "\ ${PN}-scripts-common \ ${PN}-udev \ + ${PN}-volatiles \ " RDEPENDS_${PN}-scripts-network = "\ bridge-utils \ ${PN}-scripts-common \ ${PN}-udev \ + ${PN}-volatiles \ " PACKAGES = "\ @@ -106,6 +108,7 @@ PACKAGES = "\ ${PN}-scripts-network \ ${PN}-staticdev \ ${PN}-udev \ + ${PN}-volatiles \ ${PN}-xcutils \ ${PN}-xencommons \ ${PN}-xend \ @@ -210,7 +213,6 @@ FILES_${PN}-hypervisor = "\ " FILES_${PN}-base = "\ - ${sysconfdir}/default/volatiles/99_xen \ ${sysconfdir}/default/xencommons \ ${sysconfdir}/default/xendomains \ ${sysconfdir}/xen/auto \ @@ -425,6 +427,10 @@ FILES_${PN}-udev = "\ ${sysconfdir}/udev/rules.d/xend.rules \ " +FILES_${PN}-volatiles = "\ + ${sysconfdir}/default/volatiles/99_xen \ + " + FILES_${PN}-xcutils = "\ ${libdir}/xen/bin/lsevtchn \ ${libdir}/xen/bin/readnotes \ -- cgit v1.2.3-54-g00ecf