[isar-cip-core][RFC 2/2] kas/opt/swupdate: Move the package installation to swupdate.inc


Quirin Gylstorff
 

From: Quirin Gylstorff <quirin.gylstorff@...>

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@...>
---
kas/opt/swupdate.yml | 4 ----
recipes-core/images/swupdate.inc | 3 +++
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/kas/opt/swupdate.yml b/kas/opt/swupdate.yml
index c2bd15c..8ba03c9 100644
--- a/kas/opt/swupdate.yml
+++ b/kas/opt/swupdate.yml
@@ -15,10 +15,6 @@ header:
version: 10

local_conf_header:
- swupdate: |
- IMAGE_INSTALL_append = " swupdate"
- IMAGE_INSTALL_append = " swupdate-handler-roundrobin"
-
image-option-swupdate: |
CIP_IMAGE_OPTIONS_append = " swupdate.inc"

diff --git a/recipes-core/images/swupdate.inc b/recipes-core/images/swupdate.inc
index e0252df..edc41a0 100644
--- a/recipes-core/images/swupdate.inc
+++ b/recipes-core/images/swupdate.inc
@@ -12,6 +12,9 @@
inherit swupdate
inherit read-only-rootfs

+IMAGE_INSTALL += " swupdate"
+IMAGE_INSTALL += " swupdate-handler-roundrobin"
+
ROOTFS_PARTITION_NAME = "${IMAGE_FULLNAME}.wic.p4.gz"

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
--
2.35.1