From: Nishanth Menon <[email protected]>

Lets split the common pieces for creating a tiny image into an include
file. This can then be used to incrementally build additional images
as well.

Signed-off-by: Nishanth Menon <[email protected]>
Signed-off-by: Ryan Eatmon <[email protected]>
Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 .../recipes-core/images/arago-tiny-image.inc          |  9 +++++++++
 .../recipes-core/images/tisdk-tiny-image.bb           | 11 ++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/images/arago-tiny-image.inc

diff --git a/meta-arago-distro/recipes-core/images/arago-tiny-image.inc 
b/meta-arago-distro/recipes-core/images/arago-tiny-image.inc
new file mode 100644
index 00000000..242e763c
--- /dev/null
+++ b/meta-arago-distro/recipes-core/images/arago-tiny-image.inc
@@ -0,0 +1,9 @@
+ARAGO_SYSVINIT = "1"
+
+require arago-image.inc
+
+IMAGE_FEATURES:remove = "splash"
+
+IMAGE_INSTALL = " \
+       packagegroup-arago-sysvinit-boot \
+"
diff --git a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb 
b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb
index 9ea91701..00e4e6ae 100644
--- a/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb
+++ b/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb
@@ -1,15 +1,12 @@
-ARAGO_SYSVINIT = "1"
+ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= ""
 
-require arago-image.inc
+require arago-tiny-image.inc
 
-IMAGE_FEATURES:remove = "package-management splash"
+IMAGE_FEATURES:remove = "package-management"
 
 IMAGE_FSTYPES += "cpio cpio.xz"
 
-ARAGO_TINY_IMAGE_EXTRA_INSTALL ?= ""
-
-IMAGE_INSTALL = " \
-       packagegroup-arago-sysvinit-boot \
+IMAGE_INSTALL += " \
        ${ARAGO_TINY_IMAGE_EXTRA_INSTALL} \
 "
 
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13994): 
https://lists.yoctoproject.org/g/meta-arago/message/13994
Mute This Topic: https://lists.yoctoproject.org/mt/93649095/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to