Skip to contentSkip to conversation

recipes-core: images: Add tisdk-thinlinux-image

PATCH New Nishanth Menon 1 participant 1 message Mar 8, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 recipes-core: images: Add tisdk-thinlinux-image

Currently we have tisdk-tiny-image tisdk-base-image and tisdk-default-image which serve certain purpose for the users.

However, These are either too heavy or too pointed towards validation.

Hence, let us introduce a basic thinlinux image that has the basic system configured for out of box container usage without changing the meaning of existing image content definitions.

---

Changes since V1:
* Fixed mistake in the output image name

V1: https://lists.yoctoproject.org/g/meta-arago/message/13604

NOTE: we decided to drop the kernel.cfg application from yocto and should pick the patch up in the kernel. this will allow us to enable the kernel for more than a single distro.

 .../images/tisdk-thinlinux-image.bb           | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb
meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb new file +25 -0
new file mode 100644
index 00000000..aa732df6
@@ -0,0 +1,25 @@
+# Arago TI Thin Linux image
+# Minimal bootable image with container to start the next complex system up.
+
+require arago-image.inc
+
+SPLASH = "${@bb.utils.contains('MACHINE_FEATURES','gpu','psplash','',d)}"
+
+# Allow users to tack on additional packages as interesting.
+ARAGO_THIN_IMAGE_EXTRA_INSTALL ?= ""
+
+IMAGE_INSTALL += "\
+    packagegroup-arago-base \
+    packagegroup-arago-console \
+    packagegroup-arago-base-tisdk \
+    ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-graphics','',d)} \
+    docker \
+    ${ARAGO_THIN_IMAGE_EXTRA_INSTALL} \
+"
+
+export IMAGE_BASENAME = "tisdk-thinlinux-image"
+
+# Disable ubi/ubifs as the filesystem requires more space than is
+# available on the HW.
+IMAGE_FSTYPES_remove_keystone = "ubifs ubi"
+IMAGE_FSTYPES_remove_omapl138 = "ubifs ubi"
Signature · 1 line
2.17.1