xen: A few minor fixups.
cover xen: A few minor fixups.
Two quick patches to fixup some dependencies in the xen recipe.
Philip Tricca (2):
xen: Replace python-setuptools-native with python-distutils-native to
keep pace with upstream.
xen: Add RDEPENDS block for xendomains script.
recipes-extended/xen/xen.inc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.10.4
PATCH 1/2 xen: Replace python-setuptools-native with python-distutils-native to keep pace with upstream.
python-native RPROVIDES python-distutils-native so this changes the dependency around a bit.
recipes-extended/xen/xen.inc +2 -2
@@ -17,10 +17,10 @@ PACKAGECONFIG ??= " \ PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl," PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native," -DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native glib-2.0" +DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python xz xz-native glib-2.0" # inherit setuptools adds python to RDEPENDS, override it -RDEPENDS_${PN} = "" +RDEPENDS_${PN} = "python-distutils-native" RDEPENDS_${PN}-base = "\ libgcc udev bash perl xz \
Signature · 1 line
1.7.10.4
Re: [PATCH 1/2] xen: Replace python-setuptools-native with python-distutils-native to keep pace with upstream.
Hey Phil, why does xen need to RDEPENDS python-distutils-native?
Cheers,
-Chris
Quoted 32 lines · Philip Tricca
python-native RPROVIDES python-distutils-native so this changes the dependency around a bit.
Signed-off-by Philip Tricca <[email protected]>recipes-extended/xen/xen.inc +0
-0@@ -17,10 +17,10 @@ PACKAGECONFIG ??= " \ PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl," PACKAGECONFIG[xsm] ="--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
-DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native glib-2.0"
+DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python xz xz-native glib-2.0"# inherit setuptools adds python to RDEPENDS, override itrecipes-extended/xen/xen.inc +1
-2-RDEPENDS_${PN} = "" +RDEPENDS_${PN} = "python-distutils-native" RDEPENDS_${PN}-base = "\ libgcc udev bash perl xz \ --1.7.10.4
Re: [PATCH 1/2] xen: Replace python-setuptools-native with python-distutils-native to keep pace with upstream.
Because I screwed this up. Should DEPEND on python-distribute-native instead of RDEPEND on python-distutils-native:
http://patchwork.openembedded.org/patch/66085/
I'll fix this up and send it out.
Regards,
Philip
Quoted 42 lines · Chris Patterson
Hey Phil, why does xen need to RDEPENDS python-distutils-native?
Cheers,
-ChrisOn Sun, Feb 9, 2014 at 8:45 PM, Philip Tricca <[email protected] <mailto:[email protected]>> wrote:
python-native RPROVIDES python-distutils-native so this changes the dependency around a bit.
Signed-off-by Philip Tricca <[email protected] <mailto:[email protected]>>diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index e0d01a5..bd2fc74 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -17,10 +17,10 @@ PACKAGECONFIG ??= " \
PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl," PACKAGECONFIG[xsm] =
"--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"-DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native glib-2.0" +DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python xz xz-native glib-2.0"
# inherit setuptools adds python to RDEPENDS, override it
-RDEPENDS_${PN} = ""
+RDEPENDS_${PN} = "python-distutils-native"RDEPENDS_${PN}-base = "\
libgcc udev bash perl xz \
--
1.7.10.4
PATCH 1/1 xen: Add RDEPENDS block for xendomains script.
In reply to Chris PattersonI can't explain the dependency on xen-scripts-block as the xendomains script doesn't invoke any of these scripts directly. Still xendomains hangs indefinitely without them.
--- recipes-extended/xen/xen.inc | 7 +++++++ 1 file changed, 7 insertions(+)
recipes-extended/xen/xen.inc +7 -0
@@ -70,6 +70,13 @@ RDEPENDS_${PN}-xencommons = "\ ${PN}-scripts-common \ " +RDEPENDS_${PN}-xendomains = "\ + ${PN}-console \ + ${PN}-scripts-block \ + ${PN}-scripts-common \ + ${PN}-xenstored \ + " + RDEPENDS_${PN}-xl = "libgcc" PACKAGES = "\
Signature · 1 line
1.7.10.4
Re: [PATCH] xen: Add RDEPENDS block for xendomains script.
Wrong git range. Please disregards.
Philip
Quoted 28 lines · Philip Tricca
I can't explain the dependency on xen-scripts-block as the xendomains script doesn't invoke any of these scripts directly. Still xendomains hangs indefinitely without them.
Signed-off-by Philip Tricca <[email protected]>--- recipes-extended/xen/xen.inc | 7 +++++++ 1 file changed, 7 insertions(+)recipes-extended/xen/xen.inc +7
-0@@ -70,6 +70,13 @@ RDEPENDS_${PN}-xencommons = "\ ${PN}-scripts-common \ " +RDEPENDS_${PN}-xendomains = "\ + ${PN}-console \ + ${PN}-scripts-block \ + ${PN}-scripts-common \ + ${PN}-xenstored \ + " + RDEPENDS_${PN}-xl = "libgcc" PACKAGES = "\
PATCH 1/1 xen: Replace python-setuptools-native dependency with python-distribute-native.
In reply to Chris Pattersonoe-core fixed some overlap between the python-setuptools and python-distribute recently. See:
http://patchwork.openembedded.org/patch/66085/.
--- recipes-extended/xen/xen.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xen.inc +1 -1
@@ -17,7 +17,7 @@ PACKAGECONFIG ??= " \ PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl," PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native," -DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native glib-2.0" +DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-distribute-native xz xz-native glib-2.0" # inherit setuptools adds python to RDEPENDS, override it RDEPENDS_${PN} = ""
Signature · 1 line
1.7.10.4
Re: [PATCH] xen: Replace python-setuptools-native dependency with python-distribute-native.
I believe the 'inherit setuptools' already adds the required python-distribute-native depends there, so it shouldn't need to added :)
Quoted 34 lines · Philip Tricca
oe-core fixed some overlap between the python-setuptools and python-distribute recently. See:
http://patchwork.openembedded.org/patch/66085/.
Signed-off-by Philip Tricca <[email protected]>--- recipes-extended/xen/xen.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/xen/xen.inc +0
-0@@ -17,7 +17,7 @@ PACKAGECONFIG ??= " \ PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl," PACKAGECONFIG[xsm] ="--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
-DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native glib-2.0"
+DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-distribute-native xz xz-native glib-2.0"# inherit setuptools adds python to RDEPENDS, override it RDEPENDS_${PN} = "" -- 1.7.10.4
PATCH 1/1 xen: Remove dependency on python-setuptools-native.
oe-core fixed some overlap between the python-setuptools-native and python-distribute-native recently. This made python-setuptools obsolite. See: http://patchwork.openembedded.org/patch/66085/
The Xen recipe already DEPENDS on python-distribute-native by inheriting setuptools so we only need to remove the dependency on python-setuptools-native.
--- recipes-extended/xen/xen.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xen.inc +1 -1
@@ -17,7 +17,7 @@ PACKAGECONFIG ??= " \ PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl," PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native," -DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native glib-2.0" +DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python xz xz-native glib-2.0" # inherit setuptools adds python to RDEPENDS, override it RDEPENDS_${PN} = ""
Signature · 1 line
1.7.10.4
Re: [PATCH] xen: Remove dependency on python-setuptools-native.
Quoted 6 lines · Philip Tricca
oe-core fixed some overlap between the python-setuptools-native and python-distribute-native recently. This made python-setuptools obsolite. See: http://patchwork.openembedded.org/patch/66085/
The Xen recipe already DEPENDS on python-distribute-native by inheriting setuptools so we only need to remove the dependency on python-setuptools-native.
merged
Bruce
Quoted 26 lines
Signed-off-by Philip Tricca <[email protected]>--- recipes-extended/xen/xen.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/xen/xen.inc +1
-2@@ -17,7 +17,7 @@ PACKAGECONFIG ??= " \ PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl," PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native," -DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python python-setuptools-native xz xz-native glib-2.0" +DEPENDS = "util-linux util-linux-native file-native zlib ncurses openssl bison-native flex-native gettext dev86-native iasl-native pciutils bridge-utils iproute2 procps yajl pixman python xz xz-native glib-2.0" # inherit setuptools adds python to RDEPENDS, override it RDEPENDS_${PN} = "" --1.7.10.4
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
PATCH 2/2 xen: Add RDEPENDS block for xendomains script.
In reply to Philip TriccaI can't explain the dependency on xen-scripts-block as the xendomains script doesn't invoke any of these scripts directly. Still xendomains hangs indefinitely without them.
recipes-extended/xen/xen.inc +7 -0
@@ -70,6 +70,13 @@ RDEPENDS_${PN}-xencommons = "\ ${PN}-scripts-common \ " +RDEPENDS_${PN}-xendomains = "\ + ${PN}-console \ + ${PN}-scripts-block \ + ${PN}-scripts-common \ + ${PN}-xenstored \ + " + RDEPENDS_${PN}-xl = "libgcc" PACKAGES = "\
Signature · 1 line
1.7.10.4
Re: [PATCH 2/2] xen: Add RDEPENDS block for xendomains script.
Perhaps something to do with udev rules (which may invoke the block scripts)?
Quoted 28 lines · Philip Tricca
I can't explain the dependency on xen-scripts-block as the xendomains script doesn't invoke any of these scripts directly. Still xendomains hangs indefinitely without them.
Signed-off-by Philip Tricca <[email protected]>recipes-extended/xen/xen.inc +7
-1@@ -70,6 +70,13 @@ RDEPENDS_${PN}-xencommons = "\ ${PN}-scripts-common \ " +RDEPENDS_${PN}-xendomains = "\ + ${PN}-console \ + ${PN}-scripts-block \ + ${PN}-scripts-common \ + ${PN}-xenstored \ + " + RDEPENDS_${PN}-xl = "libgcc" PACKAGES = "\ --1.7.10.4
Re: [PATCH 2/2] xen: Add RDEPENDS block for xendomains script.
Your guess is as good as mine. I've not had to dive into xl code. I'm just going on observed behavior right now. I spent a bunch of time just tracking down the 'dependency' as it seems to be quite unrelated.
The hang only seems to be triggered when invoking 'xl create' in a subshell from the xendomains script. Just breaking this call out of the subshell gets everything back on track. I'm satisfied to write this off as a mystery for the time being. It moves the recipe forward with some better granularity in the runtime dependencies which was my main goal.
Incremental progress is good right? :P
Philip
Quoted 35 lines · Chris Patterson
Perhaps something to do with udev rules (which may invoke the block scripts)?
On Sun, Feb 9, 2014 at 8:45 PM, Philip Tricca <[email protected] <mailto:[email protected]>> wrote:
I can't explain the dependency on xen-scripts-block as the xendomains script doesn't invoke any of these scripts directly. Still xendomains hangs indefinitely without them. Signed-off-by: Philip Tricca <[email protected] <mailto:[email protected]>> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index bd2fc74..4c27497 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc @@ -70,6 +70,13 @@ RDEPENDS_${PN}-xencommons = "\ ${PN}-scripts-common \ " +RDEPENDS_${PN}-xendomains = "\ + ${PN}-console \ + ${PN}-scripts-block \ + ${PN}-scripts-common \ + ${PN}-xenstored \ + " + RDEPENDS_${PN}-xl = "libgcc" PACKAGES = "\ -- 1.7.10.4
Re: [PATCH 2/2] xen: Add RDEPENDS block for xendomains script.
Quoted 11 lines · Philip Tricca
Your guess is as good as mine. I've not had to dive into xl code. I'm just going on observed behavior right now. I spent a bunch of time just tracking down the 'dependency' as it seems to be quite unrelated.
The hang only seems to be triggered when invoking 'xl create' in a subshell from the xendomains script. Just breaking this call out of the subshell gets everything back on track. I'm satisfied to write this off as a mystery for the time being. It moves the recipe forward with some better granularity in the runtime dependencies which was my main goal.
Incremental progress is good right? :P
I'd agree with this .. and I took this discussion as not being an objection, so went ahead and merged the patch.
Bruce
Quoted 44 lines
Philip
Quoted 25 lines · Chris Patterson
Perhaps something to do with udev rules (which may invoke the block scripts)?
On Sun, Feb 9, 2014 at 8:45 PM, Philip Tricca <[email protected] <mailto:[email protected]>> wrote:
I can't explain the dependency on xen-scripts-block as the xendomains script doesn't invoke any of these scripts directly. Still xendomains hangs indefinitely without them. Signed-off-by: Philip Tricca <[email protected] <mailto:[email protected]>> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index bd2fc74..4c27497 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc @@ -70,6 +70,13 @@ RDEPENDS_${PN}-xencommons = "\ ${PN}-scripts-common \ " +RDEPENDS_${PN}-xendomains = "\ + ${PN}-console \ + ${PN}-scripts-block \ + ${PN}-scripts-common \Quoted 10 lines
+ ${PN}-xenstored \ + " + RDEPENDS_${PN}-xl = "libgcc" PACKAGES = "\ -- 1.7.10.4_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"