[PATCH 3/3] meta-poky: add fragments for poky/poky-altcfg/poky-tiny distros
Alexander Kanavin <[email protected]> Tue, 3 Jun 2025 13:35:34 +0200
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
From: Alexander Kanavin <[email protected]> This is a building block for bitbake-setup official yocto configurations. Signed-off-by: Alexander Kanavin <[email protected]> --- 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 --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" -- 2.39.5