diff mbox series

[3/3] meta-poky: add fragments for poky/poky-altcfg/poky-tiny distros

Message ID 20250225120635.171931-3-alex.kanavin@gmail.com (mailing list archive)
State New
Headers show
Series [1/3] meta-poky/conf/templates/default/bblayers.conf.sample: do not assume integrated poky repo | expand

Commit Message

Alexander Kanavin Feb. 25, 2025, 12:06 p.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

This is a building block for bitbake-setup official yocto configurations.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta-poky/conf/fragments/distros/poky-altcfg.conf |  9 +++++++++
 meta-poky/conf/fragments/distros/poky-tiny.conf   | 10 ++++++++++
 meta-poky/conf/fragments/distros/poky.conf        |  5 +++++
 3 files changed, 24 insertions(+)
 create mode 100644 meta-poky/conf/fragments/distros/poky-altcfg.conf
 create mode 100644 meta-poky/conf/fragments/distros/poky-tiny.conf
 create mode 100644 meta-poky/conf/fragments/distros/poky.conf
diff mbox series

Patch

diff --git a/meta-poky/conf/fragments/distros/poky-altcfg.conf b/meta-poky/conf/fragments/distros/poky-altcfg.conf
new file mode 100644
index 00000000000..f89decb8b75
--- /dev/null
+++ b/meta-poky/conf/fragments/distros/poky-altcfg.conf
@@ -0,0 +1,9 @@ 
+BB_CONF_FRAGMENT_SUMMARY = "Use Yocto project's reference and testing distribution 'poky', with alternative configuration."
+BB_CONF_FRAGMENT_DESCRIPTION = "Poky is a distribution defined by Yocto project for reference and testing purposes. It can be used as a starting point for product development work \
+but it is recommended to create a separate distribution for shipping products. \
+\
+This selects 'poky-altcfg', an alternative configuration that is mostly same as poky, but makes a number of changes: \
+such as systemd as init manager, and an older LTS kernel (when available). Check meta-poky/conf/distro/poky-altcfg.conf for details. \
+"
+
+DISTRO ?= "poky-altcfg"
diff --git a/meta-poky/conf/fragments/distros/poky-tiny.conf b/meta-poky/conf/fragments/distros/poky-tiny.conf
new file mode 100644
index 00000000000..fae7621fe77
--- /dev/null
+++ b/meta-poky/conf/fragments/distros/poky-tiny.conf
@@ -0,0 +1,10 @@ 
+BB_CONF_FRAGMENT_SUMMARY = "Use Yocto project's reference and testing distribution 'poky', with tiny systems configuration."
+BB_CONF_FRAGMENT_DESCRIPTION = "Poky is a distribution defined by Yocto project for reference and testing purposes. It can be used as a starting point for product development work \
+but it is recommended to create a separate distribution for shipping products. \
+\
+This selects 'poky-tiny', an alternative configuration that is intended to define a tiny Linux system comprised the kernel and busybox. \
+Poky-tiny sets basic distribution policy to ensure a usable system while still \
+keeping the rootfs and kernel image as small as possible. \
+"
+
+DISTRO ?= "poky-tiny"
diff --git a/meta-poky/conf/fragments/distros/poky.conf b/meta-poky/conf/fragments/distros/poky.conf
new file mode 100644
index 00000000000..8b9d7226a2f
--- /dev/null
+++ b/meta-poky/conf/fragments/distros/poky.conf
@@ -0,0 +1,5 @@ 
+BB_CONF_FRAGMENT_SUMMARY = "Use Yocto project's reference and testing distribution 'poky'."
+BB_CONF_FRAGMENT_DESCRIPTION = "Poky is a distribution defined by Yocto project for reference and testing purposes. It can be used as a starting point for product development work \
+but it is recommended to create a separate distribution for shipping products."
+
+DISTRO ?= "poky"