diff options
author | Philip Tricca <flihp@twobit.us> | 2013-12-04 02:20:34 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-12-17 21:05:40 -0500 |
commit | 9a69a0ffdc3697679a127b6f0a2644bbbc2ebe1d (patch) | |
tree | f8537a2f15caada407312972bf4b50b58090ddb4 | |
parent | dd7091ee305a99a8e8098582d9b6cfa87e2ebdd5 (diff) | |
download | meta-virtualization-9a69a0ffdc3697679a127b6f0a2644bbbc2ebe1d.tar.gz |
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 <flihp@twobit.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-extended/xen/xen.inc | 8 |
1 files changed, 7 insertions, 1 deletions
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 = "\ | |||
53 | RDEPENDS_${PN}-scripts-block = "\ | 53 | RDEPENDS_${PN}-scripts-block = "\ |
54 | ${PN}-scripts-common \ | 54 | ${PN}-scripts-common \ |
55 | ${PN}-udev \ | 55 | ${PN}-udev \ |
56 | ${PN}-volatiles \ | ||
56 | " | 57 | " |
57 | 58 | ||
58 | RDEPENDS_${PN}-scripts-network = "\ | 59 | RDEPENDS_${PN}-scripts-network = "\ |
59 | bridge-utils \ | 60 | bridge-utils \ |
60 | ${PN}-scripts-common \ | 61 | ${PN}-scripts-common \ |
61 | ${PN}-udev \ | 62 | ${PN}-udev \ |
63 | ${PN}-volatiles \ | ||
62 | " | 64 | " |
63 | 65 | ||
64 | PACKAGES = "\ | 66 | PACKAGES = "\ |
@@ -106,6 +108,7 @@ PACKAGES = "\ | |||
106 | ${PN}-scripts-network \ | 108 | ${PN}-scripts-network \ |
107 | ${PN}-staticdev \ | 109 | ${PN}-staticdev \ |
108 | ${PN}-udev \ | 110 | ${PN}-udev \ |
111 | ${PN}-volatiles \ | ||
109 | ${PN}-xcutils \ | 112 | ${PN}-xcutils \ |
110 | ${PN}-xencommons \ | 113 | ${PN}-xencommons \ |
111 | ${PN}-xend \ | 114 | ${PN}-xend \ |
@@ -210,7 +213,6 @@ FILES_${PN}-hypervisor = "\ | |||
210 | " | 213 | " |
211 | 214 | ||
212 | FILES_${PN}-base = "\ | 215 | FILES_${PN}-base = "\ |
213 | ${sysconfdir}/default/volatiles/99_xen \ | ||
214 | ${sysconfdir}/default/xencommons \ | 216 | ${sysconfdir}/default/xencommons \ |
215 | ${sysconfdir}/default/xendomains \ | 217 | ${sysconfdir}/default/xendomains \ |
216 | ${sysconfdir}/xen/auto \ | 218 | ${sysconfdir}/xen/auto \ |
@@ -425,6 +427,10 @@ FILES_${PN}-udev = "\ | |||
425 | ${sysconfdir}/udev/rules.d/xend.rules \ | 427 | ${sysconfdir}/udev/rules.d/xend.rules \ |
426 | " | 428 | " |
427 | 429 | ||
430 | FILES_${PN}-volatiles = "\ | ||
431 | ${sysconfdir}/default/volatiles/99_xen \ | ||
432 | " | ||
433 | |||
428 | FILES_${PN}-xcutils = "\ | 434 | FILES_${PN}-xcutils = "\ |
429 | ${libdir}/xen/bin/lsevtchn \ | 435 | ${libdir}/xen/bin/lsevtchn \ |
430 | ${libdir}/xen/bin/readnotes \ | 436 | ${libdir}/xen/bin/readnotes \ |