From patchwork Tue Jun 3 11:35:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 64159 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C728C5AE59 for ; Tue, 3 Jun 2025 11:35:48 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web10.8952.1748950541486186679 for ; Tue, 03 Jun 2025 04:35:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EnWvkLs7; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-451e2f0d9c2so8534985e9.1 for ; Tue, 03 Jun 2025 04:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748950540; x=1749555340; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8QNBIDnclFvNxGMkYB6a0eo16szXR4WBVSWq5h9LayA=; b=EnWvkLs75eq5+gY2y3hN7yi3aRDaLQARxks9lm8Ek0T7YSW5YiUMXsBJbehGexlBma Hbq/xkyAczmBKJ4ciHZ53i6w8ieBDzkVVjGpNtib/qCfkwnOBobKalIxJa0wU8R6uQBJ a0427enwt8FT76n3nYw0fGVXNhCyaRkkXRfKVtt6pK3hkES6OhmQjpx455/+113/4UlF 6JZg4ZSNWf4aDwkpWLNYfl8JiOISzuPm8wjsZPuflgAnumAEBtiQqWUNA01qdOXL9a3u Djupj/0lXtfL0EetXhgZZPzOwkf1APHQm4uDEBHH2i/E+5lhng2xF9lXl6M82FcitY76 QobQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748950540; x=1749555340; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8QNBIDnclFvNxGMkYB6a0eo16szXR4WBVSWq5h9LayA=; b=vB4w8YP5gA7om46tJjg01Hn9wD//faJdGgCWe4HyEQHHfqheyIbEEVN/A6dGHcLafH DLxOW9Khsl204KJYB3ocgpilFHgz0uVyfZcesAjNDEeDZaZpJ8JkNuBbePY7CEFA7L7+ iFbt2Zf6vq/c/u82AvzNJwDOYYfJiic7yHM+PXTeCDFAl2fU6c++vetifGLYl+UlGmjN mJ9m/HroFJP/Ee2w9yTLgKrerOkM5LZpkifkVSs3ePFvC96l3D+oPGxfGi+/K42Rrkzc gH8RV6w+JwfU9YkE08HUbEh4P8fMrX7dTNuf32M8qa2O5WN7EV0ZX2fHHYwWunjrhDJ9 JG7g== X-Gm-Message-State: AOJu0YyslgQ2kybqPNDoySPaFWyJXuiHEsJZts8fumcYwssilUbSoy19 49xJzeXxPUCtW7LAVB0/u2YyuDclCbfOt54paPKkpl5+BbaP0sfD2EarN4wxWw== X-Gm-Gg: ASbGncsLs68IcsGl/i1QhX2fOSiM/kOkaLwX53BtiAsr1xGmm7hN5FnOsOPUBSi6Dc/ Eyk8VRs6lcayrwH3BdlqDVdyXWrG4bkRpNdwMZhVicwtmZE99HSeSNPkg+5etdcl5uNFkemN54/ /NZHoV7mneWsQ2tMvQypMH29OffGc8iDQDsJjkUh+2RZoxjVFiF0GYw5l2dhqY8evcNyFI3VCa4 W7Inqq9kaoEexEIKDKkYYhDuotADKuFa3THo3R0sT/puHmBI36jn6Nw6PqtR6o8zqQi/IzSiZKD STRhxUGAXMTCC7yksle6zTkVtg+xa8W4Ncka9RwUKfd4EGpSLKteQLPWfAVbFb8XsJLFc0zATqJ ze4A2HGj8u3bM X-Google-Smtp-Source: AGHT+IHZe/hTDRAeD0QRKSCQq130xV/5bXi2ybXNMpueMsuuqy7L62ycxP3AK6gI54dWNtsqNaBeyg== X-Received: by 2002:a05:600c:1e0d:b0:451:e260:353d with SMTP id 5b1f17b1804b1-451e65ab8d5mr21367275e9.8.1748950539425; Tue, 03 Jun 2025 04:35:39 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-450d8000e3esm157818315e9.22.2025.06.03.04.35.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jun 2025 04:35:39 -0700 (PDT) From: Alexander Kanavin To: poky@lists.yoctoproject.org Cc: Alexander Kanavin Subject: [PATCH 1/3] meta-poky/conf/templates/default/bblayers.conf.sample: do not assume integrated poky repo Date: Tue, 3 Jun 2025 13:35:32 +0200 Message-Id: <20250603113534.3103020-1-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Jun 2025 11:35:48 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/poky/message/13631 From: Alexander Kanavin The list of layers was written assuming the template is used with the 'integrated' poky checkout, where content of meta-yocto is 'overlaid' on content of openembedded-core, and the layers are all in the same top level poky repository directory. This doesn't work when oe-core and meta-yocto are cloned separately, where relative path that starts from oe-core would have to go one level above oe-core and then go into meta-yocto, assuming the separate repo clones are in the same top level directory. This requires a custom tweak to bblayers.conf when it makes its way from meta-yocto into poky that would strip the ../meta-yocto/ part in BBLAYERS. As there are already numerous other tweaks of similar nature, I think this is feasible. This was prompted by https://lists.openembedded.org/g/openembedded-architecture/topic/layer_layout_poky_vs/111010762 Signed-off-by: Alexander Kanavin --- meta-poky/conf/templates/default/bblayers.conf.sample | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-poky/conf/templates/default/bblayers.conf.sample b/meta-poky/conf/templates/default/bblayers.conf.sample index 8b1cbdfc5c4..d34b552cb71 100644 --- a/meta-poky/conf/templates/default/bblayers.conf.sample +++ b/meta-poky/conf/templates/default/bblayers.conf.sample @@ -7,6 +7,6 @@ BBFILES ?= "" BBLAYERS ?= " \ ##OEROOT##/meta \ - ##OEROOT##/meta-poky \ - ##OEROOT##/meta-yocto-bsp \ + ##OEROOT##/../meta-yocto/meta-poky \ + ##OEROOT##/../meta-yocto/meta-yocto-bsp \ " From patchwork Tue Jun 3 11:35:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 64160 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D79BC5B555 for ; Tue, 3 Jun 2025 11:35:48 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.web10.8954.1748950542765416701 for ; Tue, 03 Jun 2025 04:35:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LFTf1q5f; spf=pass (domain: gmail.com, ip: 209.85.221.46, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-3a510432236so1186071f8f.0 for ; Tue, 03 Jun 2025 04:35:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748950541; x=1749555341; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PhqiKetVoub6/ZWkLroD9f6MHBI+j90NGh52XHCgz/s=; b=LFTf1q5fkSEwnW5tHbP1CRLH7oRMVO1pgs4MWerwCzoG1MFw2IEUX741ECLFIY8eaV YlMg8wDwyeKWH2mRjov9W4a4Y/2FuKPaDQ45HhGdnm8Aeu+xkwNokxEZN30GHvIDAE2Q sKjJPDihnWfGP5WrYyuGNq4tco5VlxtKkaXwhsAeI6RcU+2ppHQBMc38gMUHau0U+SQl 9rcYWgHJ5ZbCIu8qPFoY8v7JHfMcnrYL+N8/TgTEnKYQrE2xDDuSQYKVXeN6gY8wLaH+ asfWj0+lrlGksecUhrWCYhfj2dUGpRghOSR2B3g4tcrssHg1JmWIE5D6Xn4WFy3BbsjG R9RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748950541; x=1749555341; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PhqiKetVoub6/ZWkLroD9f6MHBI+j90NGh52XHCgz/s=; b=jM71/54o47+WRFdW6g44kdZQV0xdZwrv0wGXcssvTcF6krjcaITvBpFTdFmWUIfJ+m oxfXUl0TB8twVs9agUE8XfebdDWZItc80IS7Jcn0fyQ74B/IoNRrY1UY0lOWXG+yE26L tMmBx3v6qF9zlijxfjhIhcfXheORpTSPdu86E5CkV4jwhWfMGGQBld5bvDc8X7yuglC1 i1IBGN/8eF+YqnffosQiwM0QgMQc2a8GdSZDRbCBRzOlAmpk2ybET2DoBkCEfSdTOLG8 RtrGqqyy5O8cmvi7BU36eHVT/szC9b+MzAPC2o9RhDIiIGrqfWTPyXx5aIURd4+oyB2R 6JqQ== X-Gm-Message-State: AOJu0YxuLwrvb6ZfoAHaiq1RxsqMZVQILlXBwZri7JSlphAGANLbouu4 nlnQQ0qP/wnNWOKQet3piMgMiJQW7f8HEj02W+MrANF0a4P2l0n2b2kweoitEQ== X-Gm-Gg: ASbGnctIKnFbcD0KtOnoPr6VuSKeVdlcmL5pFPtogXAoV70I7vidzFEbNxGpvqbJyJo BVWmqbQOP/I8Mymtak0Jteyq3LYqAvHBEEq7y1l2LGrP4JQctjsWJYtA+SnSbZX4blq4QXzSRdp lkIqdPIXShqY7RrOq1mSQjqo2LYlHzuBxx+tV5KsftuHeoXMUVKk1z50l41p7mLtahgAiyVucdf FyRhd7Tf9tJInqdmKjvuBSyHIs5zAsheteooXwqtVNu+Gf7G83lrH0TAsPbfWQxmUICAqNGHM6O IPWpecn9jQXTARMfo4CpYtkTXAEhh3iQE3enl0FssWw0nIyXkWAm4yG/8UDXROtfpBsQFy7qtev sKob28kyggB10SOW+lAplh3k= X-Google-Smtp-Source: AGHT+IEwYZL0ltfbJcaJMYeNSW+0w0ph/5Q/X4r/l4nsp3m+YhXmtA4+3Bz7zT3PrXgBEfhc+bOmPQ== X-Received: by 2002:a05:6000:4023:b0:3a0:b1f7:c1da with SMTP id ffacd0b85a97d-3a4fe3989b2mr9081398f8f.46.1748950540939; Tue, 03 Jun 2025 04:35:40 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-450d8000e3esm157818315e9.22.2025.06.03.04.35.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jun 2025 04:35:40 -0700 (PDT) From: Alexander Kanavin To: poky@lists.yoctoproject.org Cc: Alexander Kanavin Subject: [PATCH 2/3] meta-poky/conf/templates: add a blank template Date: Tue, 3 Jun 2025 13:35:33 +0200 Message-Id: <20250603113534.3103020-2-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250603113534.3103020-1-alex.kanavin@gmail.com> References: <20250603113534.3103020-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Jun 2025 11:35:48 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/poky/message/13632 From: Alexander Kanavin The default oe-core/poky templates have a number of settings (such as distro and machine) and are thus unsuitable for building up configurations from fragments. This adds a template with an empty local.conf, so that it can be used as the starting point for fragment-driven configuration. There will also be a blank template in oe-core; the difference is that this one includes poky layers and the oe-core one does not. Signed-off-by: Alexander Kanavin --- .../conf/templates/blank/bblayers.conf.sample | 12 ++++++++++++ meta-poky/conf/templates/blank/conf-notes.txt | 19 +++++++++++++++++++ .../conf/templates/blank/conf-summary.txt | 1 + .../conf/templates/blank/local.conf.sample | 10 ++++++++++ 4 files changed, 42 insertions(+) create mode 100644 meta-poky/conf/templates/blank/bblayers.conf.sample create mode 100644 meta-poky/conf/templates/blank/conf-notes.txt create mode 100644 meta-poky/conf/templates/blank/conf-summary.txt create mode 100644 meta-poky/conf/templates/blank/local.conf.sample diff --git a/meta-poky/conf/templates/blank/bblayers.conf.sample b/meta-poky/conf/templates/blank/bblayers.conf.sample new file mode 100644 index 00000000000..d34b552cb71 --- /dev/null +++ b/meta-poky/conf/templates/blank/bblayers.conf.sample @@ -0,0 +1,12 @@ +# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +POKY_BBLAYERS_CONF_VERSION = "2" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +BBLAYERS ?= " \ + ##OEROOT##/meta \ + ##OEROOT##/../meta-yocto/meta-poky \ + ##OEROOT##/../meta-yocto/meta-yocto-bsp \ + " diff --git a/meta-poky/conf/templates/blank/conf-notes.txt b/meta-poky/conf/templates/blank/conf-notes.txt new file mode 100644 index 00000000000..cfd1f1977bf --- /dev/null +++ b/meta-poky/conf/templates/blank/conf-notes.txt @@ -0,0 +1,19 @@ + +### Shell environment set up for builds. ### + +You can now run 'bitbake ' + +Common targets are: + core-image-minimal + core-image-full-cmdline + core-image-sato + core-image-weston + meta-toolchain + meta-ide-support + +You can also run generated qemu images with a command like 'runqemu qemux86-64'. + +Other commonly useful commands are: + - 'devtool' and 'recipetool' handle common recipe tasks + - 'bitbake-layers' handles common layer tasks + - 'oe-pkgdata-util' handles common target package tasks diff --git a/meta-poky/conf/templates/blank/conf-summary.txt b/meta-poky/conf/templates/blank/conf-summary.txt new file mode 100644 index 00000000000..7528c297947 --- /dev/null +++ b/meta-poky/conf/templates/blank/conf-summary.txt @@ -0,0 +1 @@ +This configuration is empty and is intended as a starting point for adding configuration fragments. diff --git a/meta-poky/conf/templates/blank/local.conf.sample b/meta-poky/conf/templates/blank/local.conf.sample new file mode 100644 index 00000000000..41eea8506df --- /dev/null +++ b/meta-poky/conf/templates/blank/local.conf.sample @@ -0,0 +1,10 @@ +# +# This file is intended for local configuration tweaks. It is intentionally +# set up empty, so that configuration can be constructed from fragments +# using bitbake-config-build tool and by setting MACHINE and DISTRO here. +# +# If you would like to publish this file (for example as a bitbake +# configuration template), it is recommended to create fragments +# from changes made here; the only settings that can remain are +# MACHINE and DISTRO. +# From patchwork Tue Jun 3 11:35:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 64161 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50CF3C5AD49 for ; Tue, 3 Jun 2025 11:35:48 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.web11.9047.1748950544121040364 for ; Tue, 03 Jun 2025 04:35:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gbTDaiE4; spf=pass (domain: gmail.com, ip: 209.85.128.47, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-450cd6b511cso33361555e9.2 for ; Tue, 03 Jun 2025 04:35:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748950542; x=1749555342; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hpca4nPeorJFfYVK3un01I+3kusD0S9xCz3ZzXrg9C8=; b=gbTDaiE4zhHC8biliGEviMPNRM9CzgV4mbXxw3Y7uyAd84FsIXkUjtT5kq+NK9BxNL xfBqqhikkB2pO7cwVleYc3eu3qjoHnrUZS7nLa9O2Klm0qzz753nXxjOouufGHnJjRrT 2yvmPHffmfUpOb9+ZPS4IAVfQg7Nu6dcpoix8wQK942XyUensEtZ8qMmbqFdctFjM7ri p/q7aYnuZTPDPFtQmlbiVnRbw9C36DT2fpDZ4RstfDbF+WKJc9Nj5j9KKLB4vU3U8a6c mthOoW8ZJAQNYpYfLdML71II5u1uN5KeTu8CtZQMTzgC089076N4AGku18TSE+XGcaLd 6TDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748950542; x=1749555342; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hpca4nPeorJFfYVK3un01I+3kusD0S9xCz3ZzXrg9C8=; b=hlGKHdP9CWgyyObwYgV5XeayHcHCH/UAW4FKBWclH+EUw+vRCaorSEh8xnbkwsD4od bNHX2I/7Ob6oDokvmm9uTjAnttualW9S9Ol0facvHJZsu7yWvE0NjnbilQOb+sFSK1sf 2OJn9wpR24J7jrs9xPAQLfoRlvd+MsPj7WkfL9HJ5mTkVwE3sL+Rnw76N9RychTbm4fk 13asU6d1OlomLfeg3NRmpY0uecjfNRnHQ2LTO0hvtHfEnyCVO/F314BCEGSmE79EoyWS xTQAGPHtsiMtCbAuY179FMrl34DFOOurSwy9xjDIWo86MfVQozDO0bB8ONmjl5vVzlOi n13A== X-Gm-Message-State: AOJu0Yyc/il5myBb4Qm2LEiKPxbFMgUbAqZfSygM2EicNqO1TccuxIt7 1SMXe5Y3F2ynfgzOL4AtkmRxwFKk6Zy0hZrOBWB5j1Mdo7EPDH8qi2YIe2yGqw== X-Gm-Gg: ASbGncs98qMfmAvIUYxjM0gp0qn87FUibYEGTGHaW7GF+2lPkBYyf2103XOojYFXpV+ V/+X03IelqyvMU92TlyOXoCOH9S0Yx2sqhkwUDtKpX5od70EYMYfQE3BDBX1z9Hsm6y4xcshrie QrqYEwbSC+7NV4WUiBUrsKlquPesU8NQoWYVOeC1g9FJg9p++Ks9qNM6UF629X95Pml+e5fNXvX K/mCoBSGpCFvldExKVTzaMQpYZCHBun/td9B195KqSiRDC7Vh/hqzWK747r62pyilYAP2OQRIin 6Jsnt2ja+CDZb1WLNDwtQZllDhPAYeD8W2s6R9rcd0AA45cmCY+j24oAFtjPXh3oF0AwcijVq60 qa0+AJJgn/v7p X-Google-Smtp-Source: AGHT+IHDaDrkNo3BaI9G3uIBO6vdAGt9qystcocfQ+1uPgp9DHqYqdT/+5FZI1ov70GnFsFMxjDQzQ== X-Received: by 2002:a05:600c:8119:b0:450:cc79:676 with SMTP id 5b1f17b1804b1-450d6544787mr138163895e9.20.1748950542228; Tue, 03 Jun 2025 04:35:42 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-450d8000e3esm157818315e9.22.2025.06.03.04.35.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jun 2025 04:35:41 -0700 (PDT) From: Alexander Kanavin To: poky@lists.yoctoproject.org Cc: Alexander Kanavin Subject: [PATCH 3/3] meta-poky: add fragments for poky/poky-altcfg/poky-tiny distros Date: Tue, 3 Jun 2025 13:35:34 +0200 Message-Id: <20250603113534.3103020-3-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250603113534.3103020-1-alex.kanavin@gmail.com> References: <20250603113534.3103020-1-alex.kanavin@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Jun 2025 11:35:48 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/poky/message/13633 From: Alexander Kanavin This is a building block for bitbake-setup official yocto configurations. Signed-off-by: Alexander Kanavin --- 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"