Skip to contentSkip to conversation

recipes-extended/xen/xen.inc: Add RDEPENDS_${PN}-pygrub

PATCH In review Norbert Kaminski 3 participants 3 messages Nov 14, 2019 – Nov 18, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipes-extended/xen/xen.inc: Add RDEPENDS_${PN}-pygrub

From ea86f97c347f6637d85a6fdbf36943d43adfa18e Mon Sep 17 00:00:00 2001
From: Norbert Kaminski <[email protected]>
Date: Tue, 12 Nov 2019 11:25:29 +0100
Subject: [PATCH] recipes-extended/xen/xen.inc: Add RDEPENDS_${PN}-pygrub

The patch fixes a problem with importing the package xen.lowlevel.xc. RDEPENDS add the xen-python tool, which contains the package.

---
 recipes-extended/xen/xen.inc | 2 ++

 1 file changed, 2 insertions(+)
recipes-extended/xen/xen.inc +0 -0
index 628e52b..ba00d2a 100644
@@ -151,6 +151,8 @@ RDEPENDS_${PN}-xentrace = "python"
 

 RDEPENDS_${PN}-xen-watchdog = "bash"

+RDEPENDS_${PN}-pygrub = "${PN}-python"
+
 PACKAGES = "\
     ${PN}-base \
     ${PN}-blktap \

Signature · 1 line
2.17.1
#1 lore raw
Quoted 5 lines · Norbert Kaminski

From ea86f97c347f6637d85a6fdbf36943d43adfa18e Mon Sep 17 00:00:00 2001
From: Norbert Kaminski <[email protected]>
Date: Tue, 12 Nov 2019 11:25:29 +0100
Subject: [PATCH] recipes-extended/xen/xen.inc: Add RDEPENDS_${PN}-pygrub

Maybe: "xen: fix pygrub runtime by adding xen-python to xen-pygrub RDEPENDS" as the shortlog ?

Quoted 3 lines

The patch fixes a problem with importing the package xen.lowlevel.xc. RDEPENDS add the xen-python tool, which contains the package.

Can we expand on this message a bit ?

I assume that something from xen.lowlevel.xc is pulling in pygrub, and that in turn requires xen-python? What is the actual on-target or boot issue this then triggers ?

I'm not currently able to do Xen runtime tests (and hence can't see this for myself), so I'm trying to understand the issue just from the commit message (and failing at the moment).

Cheers,

Bruce

Quoted 27 lines
---
  recipes-extended/xen/xen.inc | 2 ++
  1 file changed, 2 insertions(+)
recipes-extended/xen/xen.inc +2 -1
index 628e52b..ba00d2a 100644
@@ -151,6 +151,8 @@ RDEPENDS_${PN}-xentrace = "python"
 
  RDEPENDS_${PN}-xen-watchdog = "bash"
 
+RDEPENDS_${PN}-pygrub = "${PN}-python"
+
  PACKAGES = "\
      ${PN}-base \
      ${PN}-blktap \
--

2.17.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#2 lore raw
Quoted 18 lines · Bruce Ashfield
Quoted 5 lines · Norbert Kaminski

From ea86f97c347f6637d85a6fdbf36943d43adfa18e Mon Sep 17 00:00:00 2001
From: Norbert Kaminski <[email protected]>
Date: Tue, 12 Nov 2019 11:25:29 +0100
Subject: [PATCH] recipes-extended/xen/xen.inc: Add RDEPENDS_${PN}-pygrub

Maybe: "xen: fix pygrub runtime by adding xen-python to xen-pygrub RDEPENDS" as the shortlog ?

Quoted 3 lines

The patch fixes a problem with importing the package xen.lowlevel.xc. RDEPENDS add the xen-python tool, which contains the package.

Can we expand on this message a bit ?

Quoted 7 lines

I assume that something from xen.lowlevel.xc is pulling in pygrub, and that in turn requires xen-python? What is the actual on-target or boot issue this then triggers ?

I'm not currently able to do Xen runtime tests (and hence can't see this for myself), so I'm trying to understand the issue just from the commit message (and failing at the moment).

One issue that Norbert's patch fixes is: when xen-pygrub is added to an image, it doesn't pull in the xen-python package that it needs which contains the support
library xen.lowlevel.xc .

I've build-tested a similar patch in a related environment and I think the patch should also have this too:

+RDEPENDS_${PN}-python = " \
+ python \
+ "

Christopher

Quoted 44 lines

Cheers,

Bruce

Quoted 22 lines
---
  recipes-extended/xen/xen.inc | 2 ++
  1 file changed, 2 insertions(+)
recipes-extended/xen/xen.inc +2 -1
index 628e52b..ba00d2a 100644
@@ -151,6 +151,8 @@ RDEPENDS_${PN}-xentrace = "python"
 
  RDEPENDS_${PN}-xen-watchdog = "bash"
 
+RDEPENDS_${PN}-pygrub = "${PN}-python"
+
  PACKAGES = "\
      ${PN}-base \
      ${PN}-blktap \
--

2.17.1

Quoted 5 lines

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
--
_______________________________________________
meta-virtualization mailing list [email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization