All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xen: A few minor fixups.
@ 2014-02-10  1:45 Philip Tricca
  2014-02-10  1:45 ` [PATCH 1/2] xen: Replace python-setuptools-native with python-distutils-native to keep pace with upstream Philip Tricca
  2014-02-10  1:45 ` [PATCH 2/2] xen: Add RDEPENDS block for xendomains script Philip Tricca
  0 siblings, 2 replies; 14+ messages in thread
From: Philip Tricca @ 2014-02-10  1:45 UTC (permalink / raw)
  To: meta-virtualization

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(-)

-- 
1.7.10.4



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 1/2] xen: Replace python-setuptools-native with python-distutils-native to keep pace with upstream.
  2014-02-10  1:45 [PATCH 0/2] xen: A few minor fixups Philip Tricca
@ 2014-02-10  1:45 ` Philip Tricca
  2014-02-10  2:59   ` Chris Patterson
  2014-02-10  1:45 ` [PATCH 2/2] xen: Add RDEPENDS block for xendomains script Philip Tricca
  1 sibling, 1 reply; 14+ messages in thread
From: Philip Tricca @ 2014-02-10  1:45 UTC (permalink / raw)
  To: meta-virtualization

python-native RPROVIDES python-distutils-native so this changes the
dependency around a bit.

Signed-off-by: Philip Tricca <flihp@twobit.us>

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



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 2/2] xen: Add RDEPENDS block for xendomains script.
  2014-02-10  1:45 [PATCH 0/2] xen: A few minor fixups Philip Tricca
  2014-02-10  1:45 ` [PATCH 1/2] xen: Replace python-setuptools-native with python-distutils-native to keep pace with upstream Philip Tricca
@ 2014-02-10  1:45 ` Philip Tricca
  2014-02-10  2:57   ` Chris Patterson
  1 sibling, 1 reply; 14+ messages in thread
From: Philip Tricca @ 2014-02-10  1:45 UTC (permalink / raw)
  To: meta-virtualization

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 <flihp@twobit.us>

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



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [PATCH 2/2] xen: Add RDEPENDS block for xendomains script.
  2014-02-10  1:45 ` [PATCH 2/2] xen: Add RDEPENDS block for xendomains script Philip Tricca
@ 2014-02-10  2:57   ` Chris Patterson
  2014-02-10 16:43     ` Philip Tricca
  0 siblings, 1 reply; 14+ messages in thread
From: Chris Patterson @ 2014-02-10  2:57 UTC (permalink / raw)
  To: Philip Tricca; +Cc: meta-virtualization@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

Perhaps something to do with udev rules (which may invoke the block
scripts)?


On Sun, Feb 9, 2014 at 8:45 PM, Philip Tricca <flihp@twobit.us> 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 <flihp@twobit.us>
>
> 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
>
>

[-- Attachment #2: Type: text/html, Size: 1405 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 1/2] xen: Replace python-setuptools-native with python-distutils-native to keep pace with upstream.
  2014-02-10  1:45 ` [PATCH 1/2] xen: Replace python-setuptools-native with python-distutils-native to keep pace with upstream Philip Tricca
@ 2014-02-10  2:59   ` Chris Patterson
  2014-02-10 14:08     ` Philip Tricca
                       ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Chris Patterson @ 2014-02-10  2:59 UTC (permalink / raw)
  To: Philip Tricca; +Cc: meta-virtualization@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1407 bytes --]

Hey Phil, why does xen need to RDEPENDS python-distutils-native?

Cheers,
-Chris


On Sun, Feb 9, 2014 at 8:45 PM, Philip Tricca <flihp@twobit.us> wrote:

> python-native RPROVIDES python-distutils-native so this changes the
> dependency around a bit.
>
> Signed-off-by: Philip Tricca <flihp@twobit.us>
>
> 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
>
>

[-- Attachment #2: Type: text/html, Size: 1941 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 1/2] xen: Replace python-setuptools-native with python-distutils-native to keep pace with upstream.
  2014-02-10  2:59   ` Chris Patterson
@ 2014-02-10 14:08     ` Philip Tricca
  2014-02-10 16:32     ` [PATCH] xen: Add RDEPENDS block for xendomains script Philip Tricca
  2014-02-10 16:36     ` [PATCH] xen: Replace python-setuptools-native dependency with python-distribute-native Philip Tricca
  2 siblings, 0 replies; 14+ messages in thread
From: Philip Tricca @ 2014-02-10 14:08 UTC (permalink / raw)
  To: Chris Patterson; +Cc: meta-virtualization@yoctoproject.org

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

On 02/09/2014 09:59 PM, Chris Patterson wrote:
> Hey Phil, why does xen need to RDEPENDS python-distutils-native?
> 
> Cheers,
> -Chris
> 
> 
> On Sun, Feb 9, 2014 at 8:45 PM, Philip Tricca <flihp@twobit.us
> <mailto:flihp@twobit.us>> wrote:
> 
>     python-native RPROVIDES python-distutils-native so this changes the
>     dependency around a bit.
> 
>     Signed-off-by: Philip Tricca <flihp@twobit.us <mailto:flihp@twobit.us>>
> 
>     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
> 
> 



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH] xen: Add RDEPENDS block for xendomains script.
  2014-02-10  2:59   ` Chris Patterson
  2014-02-10 14:08     ` Philip Tricca
@ 2014-02-10 16:32     ` Philip Tricca
  2014-02-10 16:36       ` Philip Tricca
  2014-02-10 16:36     ` [PATCH] xen: Replace python-setuptools-native dependency with python-distribute-native Philip Tricca
  2 siblings, 1 reply; 14+ messages in thread
From: Philip Tricca @ 2014-02-10 16:32 UTC (permalink / raw)
  To: cjp256; +Cc: meta-virtualization

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 <flihp@twobit.us>
---
 recipes-extended/xen/xen.inc |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index d671d0f..7f7df47 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



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH] xen: Replace python-setuptools-native dependency with python-distribute-native.
  2014-02-10  2:59   ` Chris Patterson
  2014-02-10 14:08     ` Philip Tricca
  2014-02-10 16:32     ` [PATCH] xen: Add RDEPENDS block for xendomains script Philip Tricca
@ 2014-02-10 16:36     ` Philip Tricca
  2014-02-11  1:28       ` Chris Patterson
  2 siblings, 1 reply; 14+ messages in thread
From: Philip Tricca @ 2014-02-10 16:36 UTC (permalink / raw)
  To: cjp256; +Cc: meta-virtualization

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 <flihp@twobit.us>
---
 recipes-extended/xen/xen.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index e0d01a5..d671d0f 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -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



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [PATCH] xen: Add RDEPENDS block for xendomains script.
  2014-02-10 16:32     ` [PATCH] xen: Add RDEPENDS block for xendomains script Philip Tricca
@ 2014-02-10 16:36       ` Philip Tricca
  0 siblings, 0 replies; 14+ messages in thread
From: Philip Tricca @ 2014-02-10 16:36 UTC (permalink / raw)
  To: cjp256; +Cc: meta-virtualization

Wrong git range. Please disregards.

Philip

On 02/10/2014 11:32 AM, Philip Tricca 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 <flihp@twobit.us>
> ---
>  recipes-extended/xen/xen.inc |    7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
> index d671d0f..7f7df47 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 = "\
> 



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 2/2] xen: Add RDEPENDS block for xendomains script.
  2014-02-10  2:57   ` Chris Patterson
@ 2014-02-10 16:43     ` Philip Tricca
  2014-02-11 20:47       ` Bruce Ashfield
  0 siblings, 1 reply; 14+ messages in thread
From: Philip Tricca @ 2014-02-10 16:43 UTC (permalink / raw)
  To: Chris Patterson; +Cc: meta-virtualization@yoctoproject.org

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

On 02/09/2014 09:57 PM, Chris Patterson wrote:
> Perhaps something to do with udev rules (which may invoke the block
> scripts)?
> 
> 
> On Sun, Feb 9, 2014 at 8:45 PM, Philip Tricca <flihp@twobit.us
> <mailto:flihp@twobit.us>> 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 <flihp@twobit.us <mailto:flihp@twobit.us>>
> 
>     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
> 
> 



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] xen: Replace python-setuptools-native dependency with python-distribute-native.
  2014-02-10 16:36     ` [PATCH] xen: Replace python-setuptools-native dependency with python-distribute-native Philip Tricca
@ 2014-02-11  1:28       ` Chris Patterson
  2014-02-11 12:14         ` [PATCH] xen: Remove dependency on python-setuptools-native Philip Tricca
  0 siblings, 1 reply; 14+ messages in thread
From: Chris Patterson @ 2014-02-11  1:28 UTC (permalink / raw)
  To: Philip Tricca; +Cc: meta-virtualization@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1527 bytes --]

I believe the 'inherit setuptools' already adds the required
python-distribute-native depends there, so it shouldn't need to added :)


On Mon, Feb 10, 2014 at 11:36 AM, Philip Tricca <flihp@twobit.us> wrote:

> 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 <flihp@twobit.us>
> ---
>  recipes-extended/xen/xen.inc |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
> index e0d01a5..d671d0f 100644
> --- a/recipes-extended/xen/xen.inc
> +++ b/recipes-extended/xen/xen.inc
> @@ -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
>
>

[-- Attachment #2: Type: text/html, Size: 2165 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH] xen: Remove dependency on python-setuptools-native.
  2014-02-11  1:28       ` Chris Patterson
@ 2014-02-11 12:14         ` Philip Tricca
  2014-02-11 20:47           ` Bruce Ashfield
  0 siblings, 1 reply; 14+ messages in thread
From: Philip Tricca @ 2014-02-11 12:14 UTC (permalink / raw)
  To: cjp256; +Cc: meta-virtualization

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.

Signed-off-by: Philip Tricca <flihp@twobit.us>
---
 recipes-extended/xen/xen.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index e0d01a5..b238ddb 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -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



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [PATCH 2/2] xen: Add RDEPENDS block for xendomains script.
  2014-02-10 16:43     ` Philip Tricca
@ 2014-02-11 20:47       ` Bruce Ashfield
  0 siblings, 0 replies; 14+ messages in thread
From: Bruce Ashfield @ 2014-02-11 20:47 UTC (permalink / raw)
  To: Philip Tricca; +Cc: meta-virtualization@yoctoproject.org

On Mon, Feb 10, 2014 at 11:43 AM, Philip Tricca <flihp@twobit.us> wrote:
> 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

>
> Philip
>
> On 02/09/2014 09:57 PM, Chris Patterson wrote:
>> Perhaps something to do with udev rules (which may invoke the block
>> scripts)?
>>
>>
>> On Sun, Feb 9, 2014 at 8:45 PM, Philip Tricca <flihp@twobit.us
>> <mailto:flihp@twobit.us>> 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 <flihp@twobit.us <mailto:flihp@twobit.us>>
>>
>>     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
>>
>>
>
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH] xen: Remove dependency on python-setuptools-native.
  2014-02-11 12:14         ` [PATCH] xen: Remove dependency on python-setuptools-native Philip Tricca
@ 2014-02-11 20:47           ` Bruce Ashfield
  0 siblings, 0 replies; 14+ messages in thread
From: Bruce Ashfield @ 2014-02-11 20:47 UTC (permalink / raw)
  To: Philip Tricca; +Cc: meta-virtualization@yoctoproject.org

On Tue, Feb 11, 2014 at 7:14 AM, Philip Tricca <flihp@twobit.us> wrote:
> 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

>
> Signed-off-by: Philip Tricca <flihp@twobit.us>
> ---
>  recipes-extended/xen/xen.inc |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
> index e0d01a5..b238ddb 100644
> --- a/recipes-extended/xen/xen.inc
> +++ b/recipes-extended/xen/xen.inc
> @@ -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
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-02-11 20:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-10  1:45 [PATCH 0/2] xen: A few minor fixups Philip Tricca
2014-02-10  1:45 ` [PATCH 1/2] xen: Replace python-setuptools-native with python-distutils-native to keep pace with upstream Philip Tricca
2014-02-10  2:59   ` Chris Patterson
2014-02-10 14:08     ` Philip Tricca
2014-02-10 16:32     ` [PATCH] xen: Add RDEPENDS block for xendomains script Philip Tricca
2014-02-10 16:36       ` Philip Tricca
2014-02-10 16:36     ` [PATCH] xen: Replace python-setuptools-native dependency with python-distribute-native Philip Tricca
2014-02-11  1:28       ` Chris Patterson
2014-02-11 12:14         ` [PATCH] xen: Remove dependency on python-setuptools-native Philip Tricca
2014-02-11 20:47           ` Bruce Ashfield
2014-02-10  1:45 ` [PATCH 2/2] xen: Add RDEPENDS block for xendomains script Philip Tricca
2014-02-10  2:57   ` Chris Patterson
2014-02-10 16:43     ` Philip Tricca
2014-02-11 20:47       ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.