arm-autonomy: add compatibility to dunfell
PATCH 1/1 arm-autonomy: add compatibility to dunfell
- Remove xen-base from image as it's included via xenguest-manager rdepends
- Use xen-tools in xenguest-manager rdepends for the required xen tools and use xen-base only for zeus as it was changed in meta-virtualization.
- Move xen bbappend as recipe was renamed in meta-virtualization.
Change-Id: I439bde0df2c0a16f529436b65f1a96af5a2981af
Issue-Id: SCM-833
---
meta-arm-autonomy/conf/layer.conf | 2 +-
.../recipes-core/images/arm-autonomy-host-image-minimal.bb | 1 -
.../xen/{xen_4.%.bbappend => xen_%.bbappend} | 0
.../recipes-extended/xenguest/xenguest-manager.bb | 5 ++++-
4 files changed, 5 insertions(+), 3 deletions(-)
rename meta-arm-autonomy/recipes-extended/xen/{xen_4.%.bbappend => xen_%.bbappend} (100%)meta-arm-autonomy/conf/layer.conf +1 -1
@@ -16,7 +16,7 @@ LAYERDEPENDS_meta-arm-autonomy = " \ openembedded-layer \ virtualization-layer \ " -LAYERSERIES_COMPAT_meta-arm-autonomy = "zeus" +LAYERSERIES_COMPAT_meta-arm-autonomy = "zeus dunfell" # We don't activate virtualization feature from meta-virtualization as it # brings in lots of stuff we don't need. We need to disable the sanity check
meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image-minimal.bb +0 -1
@@ -39,7 +39,6 @@ IMAGE_INSTALL += " \ packagegroup-core-boot \ packagegroup-core-ssh-openssh \ kernel-modules \ - xen-base \ qemu \ xenguest-manager \ xenguest-network-bridge \
meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend renamed from meta-arm-autonomy/recipes-extended/xen/xen_4.%.bbappend +0 -0
meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +4 -1
@@ -46,7 +46,10 @@ do_install() { } # Things that we need on the target -RDEPENDS_${PN} += "bash tar xenguest-mkimage lvm2 xen-xl parted e2fsprogs" +RDEPENDS_${PN} += "bash tar xenguest-mkimage lvm2 parted e2fsprogs" + +# Extend RDEPENDS based on the yocto version we are running against +RDEPENDS_${PN} += "${@bb.utils.contains('LAYERSERIES_CORENAMES', 'zeus', 'xen-base', 'xen-tools', d)}" FILES_${PN} += "${bindir}/xenguest-manager \ ${sysconfdir}/xenguest"
Signature · 1 line
2.17.1
Quoted 15 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Vineeth Raveendran via lists.yoctoproject.org
Sent: 24 April 2020 07:49
To: [email protected]
Cc: nd <[email protected]>
Subject: [meta-arm] [PATCH] arm-autonomy: add compatibility to dunfell- Remove xen-base from image as it's included via xenguest-manager rdepends
- Use xen-tools in xenguest-manager rdepends for the required xen tools and use xen-base only for zeus as it was changed in meta-virtualization.
- Move xen bbappend as recipe was renamed in meta-virtualization.
Quoted 3 lines
Change-Id: I439bde0df2c0a16f529436b65f1a96af5a2981af
Issue-Id: SCM-833Signed-off-by Vineeth Raveendran <[email protected]>
Quoted 69 lines
--- meta-arm-autonomy/conf/layer.conf | 2 +- .../recipes-core/images/arm-autonomy-host-image-minimal.bb | 1 - .../xen/{xen_4.%.bbappend => xen_%.bbappend} | 0 .../recipes-extended/xenguest/xenguest-manager.bb | 5 ++++- 4 files changed, 5 insertions(+), 3 deletions(-) rename meta-arm-autonomy/recipes-extended/xen/{xen_4.%.bbappend => xen_%.bbappend} (100%)
meta-arm- renamed from meta-arm-autonomy/conf/layer.conf +0
-0
autonomy/conf/layer.conf
index 19f24ad..de79bdf 100644meta-arm-autonomy/conf/layer.conf +1
-1@@ -16,7 +16,7 @@ LAYERDEPENDS_meta-arm-autonomy = " \ openembedded-layer \ virtualization-layer \ " -LAYERSERIES_COMPAT_meta-arm-autonomy = "zeus" +LAYERSERIES_COMPAT_meta-arm-autonomy = "zeus dunfell" # We don't activate virtualization feature from meta-virtualization as it #brings in lots of stuff we don't need. We need to disable the sanity check diff --git a/meta-arm-autonomy/recipes-core/images/arm-autonomy-host- image-minimal.bb b/meta-arm-autonomy/recipes-core/images/arm- autonomy-host-image-minimal.bb
index 978b58f..727abf2 100644
--- a/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image- minimal.bb
+++ b/meta-arm-autonomy/recipes-core/images/arm-autonomy-host- image-mini
+++ mal.bbmeta-arm-autonomy/conf/layer.conf +0
-1@@ -39,7 +39,6 @@ IMAGE_INSTALL += " \ packagegroup-core-boot \ packagegroup-core-ssh-openssh \ kernel-modules \ - xen-base \ qemu \ xenguest-manager \ xenguest-network-bridge \meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend renamed from meta-arm-autonomy/recipes- +0
-0extended/xen/xen_4.%.bbappend
rename to meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend(quoted diff) +0
-0manager.bb b/meta-arm-autonomy/recipes-extended/xenguest/xenguest- manager.bb
index 9affae9..2e040a8 100644meta-arm-autonomy/recipes-extended/xenguest/xenguest- renamed from meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +0
-0manager.bb
meta-arm-autonomy/recipes-extended/xenguest/xenguest- renamed from meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +0
-1@@ -46,7 +46,10 @@ do_install() { } # Things that we need on the target -RDEPENDS_${PN} += "bash tar xenguest-mkimage lvm2 xen-xl partede2fsprogs"
meta-arm-autonomy/recipes-extended/xenguest/xenguest- renamed from meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +4
-0+RDEPENDS_${PN} += "bash tar xenguest-mkimage lvm2 parted e2fsprogs" + +# Extend RDEPENDS based on the yocto version we are running against +RDEPENDS_${PN} += "${@bb.utils.contains('LAYERSERIES_CORENAMES','zeus', 'xen-base', 'xen-tools', d)}"
FILES_${PN} += "${bindir}/xenguest-manager \ ${sysconfdir}/xenguest"--
2.17.1
Bertrand Marquis
Reviewed-byQuoted 19 lines · Diego Sueiro via lists.yoctoproject.org
Quoted 16 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Vineeth Raveendran via lists.yoctoproject.org
Sent: 24 April 2020 07:49
To: [email protected]
Cc: nd <[email protected]>
Subject: [meta-arm] [PATCH] arm-autonomy: add compatibility to dunfell- Remove xen-base from image as it's included via xenguest-manager rdepends
- Use xen-tools in xenguest-manager rdepends for the required xen tools and use xen-base only for zeus as it was changed in meta-virtualization.
- Move xen bbappend as recipe was renamed in meta-virtualization.
Quoted 5 lines
Quoted 3 lines
Change-Id: I439bde0df2c0a16f529436b65f1a96af5a2981af
Issue-Id: SCM-833Signed-off-by Vineeth Raveendran <[email protected]>Reviewed-by Diego Sueiro <[email protected]>
Quoted 72 lines
Quoted 70 lines
---
meta-arm-autonomy/conf/layer.conf | 2 +- .../recipes-core/images/arm-autonomy-host-image-minimal.bb | 1 - .../xen/{xen_4.%.bbappend => xen_%.bbappend} | 0 .../recipes-extended/xenguest/xenguest-manager.bb | 5 ++++- 4 files changed, 5 insertions(+), 3 deletions(-) rename meta-arm-autonomy/recipes-extended/xen/{xen_4.%.bbappend => xen_%.bbappend} (100%)
meta-arm- renamed from meta-arm-autonomy/conf/layer.conf +0
-0
autonomy/conf/layer.conf
index 19f24ad..de79bdf 100644meta-arm-autonomy/conf/layer.conf +0
-0@@ -16,7 +16,7 @@ LAYERDEPENDS_meta-arm-autonomy = " \ openembedded-layer \ virtualization-layer \"
meta-arm-autonomy/conf/layer.conf +1
-1-LAYERSERIES_COMPAT_meta-arm-autonomy = "zeus" +LAYERSERIES_COMPAT_meta-arm-autonomy = "zeus dunfell"# We don't activate virtualization feature from meta-virtualization as it # brings in lots of stuff we don't need. We need to disable the sanity check diff --git a/meta-arm-autonomy/recipes-core/images/arm-autonomy-host- image-minimal.bb b/meta-arm-autonomy/recipes-core/images/arm- autonomy-host-image-minimal.bb
index 978b58f..727abf2 100644
--- a/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image- minimal.bb
+++ b/meta-arm-autonomy/recipes-core/images/arm-autonomy-host- image-mini
+++ mal.bbmeta-arm-autonomy/conf/layer.conf +0
-1@@ -39,7 +39,6 @@ IMAGE_INSTALL += " \ packagegroup-core-boot \ packagegroup-core-ssh-openssh \ kernel-modules \ - xen-base \ qemu \ xenguest-manager \ xenguest-network-bridge \meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend renamed from meta-arm-autonomy/recipes- +0
-0extended/xen/xen_4.%.bbappend
rename to meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend(quoted diff) +0
-0manager.bb b/meta-arm-autonomy/recipes-extended/xenguest/xenguest- manager.bb
index 9affae9..2e040a8 100644meta-arm-autonomy/recipes-extended/xenguest/xenguest- renamed from meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +0
-0manager.bb
meta-arm-autonomy/recipes-extended/xenguest/xenguest- renamed from meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +0
-1@@ -46,7 +46,10 @@ do_install() { } # Things that we need on the target -RDEPENDS_${PN} += "bash tar xenguest-mkimage lvm2 xen-xl partede2fsprogs"
meta-arm-autonomy/recipes-extended/xenguest/xenguest- renamed from meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +4
-0+RDEPENDS_${PN} += "bash tar xenguest-mkimage lvm2 parted e2fsprogs" + +# Extend RDEPENDS based on the yocto version we are running against +RDEPENDS_${PN} += "${@bb.utils.contains('LAYERSERIES_CORENAMES','zeus', 'xen-base', 'xen-tools', d)}"
FILES_${PN} += "${bindir}/xenguest-manager \ ${sysconfdir}/xenguest"--
2.17.1
Quoted 50 lines · Bertrand Marquis
Quoted 4 lines
On 24 Apr 2020, at 07:52, Diego Sueiro via lists.yoctoproject.org
Quoted 16 lines · <[email protected]> wrote:
Quoted 16 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Vineeth Raveendran via lists.yoctoproject.org
Sent: 24 April 2020 07:49
To: [email protected]
Cc: nd <[email protected]>
Subject: [meta-arm] [PATCH] arm-autonomy: add compatibility to dunfell- Remove xen-base from image as it's included via xenguest-manager rdepends
- Use xen-tools in xenguest-manager rdepends for the required xen tools and use xen-base only for zeus as it was changed in meta-virtualization.
- Move xen bbappend as recipe was renamed in meta-virtualization.Quoted 5 lines
Quoted 3 lines
Change-Id: I439bde0df2c0a16f529436b65f1a96af5a2981af
Issue-Id: SCM-833Signed-off-by Vineeth Raveendran <[email protected]>Reviewed-by Diego Sueiro <[email protected]>Reviewed-by Bertrand Marquis <[email protected]>Quoted 22 lines
Quoted 22 lines
---
meta-arm-autonomy/conf/layer.conf | 2 +- .../recipes-core/images/arm-autonomy-host-image-minimal.bb | 1 - .../xen/{xen_4.%.bbappend => xen_%.bbappend} | 0 .../recipes-extended/xenguest/xenguest-manager.bb | 5 ++++- 4 files changed, 5 insertions(+), 3 deletions(-) rename meta-arm-autonomy/recipes-extended/xen/{xen_4.%.bbappend => xen_%.bbappend} (100%)
meta-arm- renamed from meta-arm-autonomy/conf/layer.conf +0
-0
autonomy/conf/layer.conf
index 19f24ad..de79bdf 100644meta-arm-autonomy/conf/layer.conf +0
-0@@ -16,7 +16,7 @@ LAYERDEPENDS_meta-arm-autonomy = " \ openembedded-layer \ virtualization-layer \"
meta-arm-autonomy/conf/layer.conf +1
-1-LAYERSERIES_COMPAT_meta-arm-autonomy = "zeus" +LAYERSERIES_COMPAT_meta-arm-autonomy = "zeus dunfell"
Quoted 54 lines
Quoted 1 line
Quoted 1 line
# We don't activate virtualization feature from meta-virtualization as it
#
Quoted 1 line
Quoted 1 line
brings in lots of stuff we don't need. We need to disable the sanity check
diff
Quoted 48 lines
Quoted 46 lines
--git a/meta-arm-autonomy/recipes-core/images/arm-autonomy-host- image-minimal.bb b/meta-arm-autonomy/recipes-core/images/arm- autonomy-host-image-minimal.bb
index 978b58f..727abf2 100644
--- a/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image- minimal.bb
+++ b/meta-arm-autonomy/recipes-core/images/arm-autonomy-host- image-mini
+++ mal.bbmeta-arm-autonomy/conf/layer.conf +0
-1@@ -39,7 +39,6 @@ IMAGE_INSTALL += " \ packagegroup-core-boot \ packagegroup-core-ssh-openssh \ kernel-modules \ - xen-base \ qemu \ xenguest-manager \ xenguest-network-bridge \meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend renamed from meta-arm-autonomy/recipes- +0
-0extended/xen/xen_4.%.bbappend
rename to meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend(quoted diff) +0
-0manager.bb b/meta-arm-autonomy/recipes-extended/xenguest/xenguest- manager.bb
index 9affae9..2e040a8 100644meta-arm-autonomy/recipes-extended/xenguest/xenguest- renamed from meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +0
-0manager.bb
meta-arm-autonomy/recipes-extended/xenguest/xenguest- renamed from meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +0
-1@@ -46,7 +46,10 @@ do_install() { } # Things that we need on the target -RDEPENDS_${PN} += "bash tar xenguest-mkimage lvm2 xen-xl partede2fsprogs"
meta-arm-autonomy/recipes-extended/xenguest/xenguest- renamed from meta-arm-autonomy/recipes-extended/xenguest/xenguest-manager.bb +4
-0+RDEPENDS_${PN} += "bash tar xenguest-mkimage lvm2 parted e2fsprogs" + +# Extend RDEPENDS based on the yocto version we are running against +RDEPENDS_${PN} += "${@bb.utils.contains('LAYERSERIES_CORENAMES','zeus', 'xen-base', 'xen-tools', d)}"
FILES_${PN} += "${bindir}/xenguest-manager \ ${sysconfdir}/xenguest"--
2.17.1
Abandoning patch to rework on the same.
Thanks,
Vineeth