Skip to contentSkip to conversation

xen-hypervisor: Check for the right image in uncompressed deploy

PATCH In review Jeremy Puhlman 3 participants 3 messages Apr 20, 2020 – Apr 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen-hypervisor: Check for the right image in uncompressed deploy

From: Corey Minyard <[email protected]>

The deploy for the uncompressed image was checking if a .gz file exists, it should instead check for a straight xen file.

---
 recipes-extended/xen/xen-hypervisor.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xen-hypervisor.inc +1 -1
index 21d9c7f..c386917 100644
@@ -47,7 +47,7 @@ do_install() {
 do_deploy() {
     install -d ${DEPLOYDIR}
 
-    if [ -f ${B}/xen/xen.gz ]; then
+    if [ -f ${B}/xen/xen ]; then
         install -m 0644 ${B}/xen/xen ${DEPLOYDIR}/xen-${MACHINE}
     fi
 
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Jeremy Puhlman

From: Corey Minyard <[email protected]>

The deploy for the uncompressed image was checking if a .gz file exists, it should instead check for a straight xen file.

Thanks, this looks like a valid correction.

Quoted 3 lines

Christopher

Quoted 21 lines
---
 recipes-extended/xen/xen-hypervisor.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xen-hypervisor.inc +1 -2
index 21d9c7f..c386917 100644
@@ -47,7 +47,7 @@ do_install() {
 do_deploy() {
     install -d ${DEPLOYDIR}
 
-    if [ -f ${B}/xen/xen.gz ]; then
+    if [ -f ${B}/xen/xen ]; then
         install -m 0644 ${B}/xen/xen ${DEPLOYDIR}/xen-${MACHINE}
     fi
 
--

2.20.1

#2 lore raw
In reply to Jeremy Puhlman

merged.

Bruce

In message: [meta-virtualization][master,dunfell][PATCH] xen-hypervisor: Check for the right image in uncompressed deploy

Quoted 29 lines · on 20/04/2020 Jeremy Puhlman wrote:

From: Corey Minyard <[email protected]>

The deploy for the uncompressed image was checking if a .gz file exists, it should instead check for a straight xen file.

---
 recipes-extended/xen/xen-hypervisor.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/xen/xen-hypervisor.inc +1 -1
index 21d9c7f..c386917 100644
@@ -47,7 +47,7 @@ do_install() {
 do_deploy() {
     install -d ${DEPLOYDIR}
 
-    if [ -f ${B}/xen/xen.gz ]; then
+    if [ -f ${B}/xen/xen ]; then
         install -m 0644 ${B}/xen/xen ${DEPLOYDIR}/xen-${MACHINE}
     fi
 
Signature · 1 line
2.20.1