From patchwork Tue Feb 25 12:06: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: 57791 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 18D53C021BB for ; Tue, 25 Feb 2025 12:08:11 +0000 (UTC) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mx.groups.io with SMTP id smtpd.web11.6585.1740485289616349049 for ; Tue, 25 Feb 2025 04:08:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Q9SQYDB/; spf=pass (domain: gmail.com, ip: 209.85.221.52, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-38f6287649eso4326576f8f.3 for ; Tue, 25 Feb 2025 04:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740485288; x=1741090088; 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=Q9SQYDB/q5pN9pWtFyTdbFYVdvrA1en2OQJWiFiRuca13HgUobHtDSUWqDfsaChe5K /w3jlvc6d+E+BUIhF2/9RR2EEJLPSdfJeeOR7FH3/vgIqgYzmzKM6CtVpWVxilxuJuqT Tj+WEkv4cPVhIZm1ofgvS3ZnMfKT6Bee1VO/JBHJkjfcc1hb3iiju5emSiqEUdofeGQK MnBouunlkxNSzCIWgbjPucjjGwT67bI4COELhkXet/AifY3++luQj67ovAe6Mp9Cv70c aBivVk42cCLVsv581LMS9lnkJawZRvtNLYisEWuKEfrdcz5sx92nN5LA09XhSpaIK1Pv 0/Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740485288; x=1741090088; 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=niEYIviYYjQ+Uho137B2AruxI1bq/b4hzfITfFryNs5Z3fwVM7xt4l3azEUq9U3wXf I7TirU4oSG7QSsW2veTqyurKcqKWuHxa/fRLDYA9e7PCyOOewIPzXpnckhYrNIM0CPuJ iTRK94oYQQpcGifnXOXyOK7sC8d/GCUN/EjqFJiWOlTteb720eEu+t9MZBT5ueqrjbuW Uyw6lGOIh0xYQCNeb4euIrjB5Ye+4IRaQ3rVq3/3IaC5wjfYse6SniaqjpQH2GPU2UuQ nJfVJcUNk0li3Di5vsdQfz5nuctTETP2NrCgrT5h0agxJacFftqEvdWqaGwVkcpmStVr pQ1w== X-Gm-Message-State: AOJu0YyVVGKE/V+kOr0k9DvaSUap/QcG8rPTFb7vz5BJJaxB9EUa9hwp aanVmqNd3lbImyYecRwkpnOSoaU3MFM3mImcTq9FvE5OJIgVm8mMjLhx0g== X-Gm-Gg: ASbGncvWMKz2PTjzWugpC1mLiYTUJTjghkPSBM/1qNS2GUVvfe4dojozWzhOFT8x5S+ MBbGaP1blPNA4uGEFxwqbdkYIAAusn+wr+/tMr9/OnzMkC+qdaw2XwxSa75UieC6+gGohK0EbUo tTaCJuEh4PlGHdPW7LwH+/b4WdLYlnBzvTf3oU4OCUcgTADiZWYmvx7UMNQqFuhfSiXhNdvBKjg m5P6RQUru0LHXFumtAwbqVhtpEEd/VakkAR/khmYfvWAMy0Fg4n5Aj+uJ+xuTTE6zN/UywIMIvJ LN+SM43c+zjFVGnnAvt05H4C65HDFKF+7CHMnrXiaQHNstVOE/nLdzJUI5y/rsM= X-Google-Smtp-Source: AGHT+IFYFbnZ8R2SMZivUN5KXGA51ju9CnlmG/LrlvYpkIqo8/uoFD3GFKogKC5BVuFGBo/XS9+TFw== X-Received: by 2002:a05:6000:1847:b0:388:c61d:43e0 with SMTP id ffacd0b85a97d-38f70855a84mr14583116f8f.48.1740485287639; Tue, 25 Feb 2025 04:08:07 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-390cd86ca9csm2068089f8f.22.2025.02.25.04.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2025 04:08:07 -0800 (PST) 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, 25 Feb 2025 13:06:33 +0100 Message-Id: <20250225120635.171931-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, 25 Feb 2025 12:08:11 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/poky/message/13540 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 Feb 25 12:06: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: 57792 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 18923C021B2 for ; Tue, 25 Feb 2025 12:08:11 +0000 (UTC) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.web11.6586.1740485290080824052 for ; Tue, 25 Feb 2025 04:08:10 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PhKq+Xt/; spf=pass (domain: gmail.com, ip: 209.85.221.53, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-38f29a1a93bso4351099f8f.1 for ; Tue, 25 Feb 2025 04:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740485288; x=1741090088; 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=PhKq+Xt/xgCDe6gOptwgYwTO7AOy6m/Kjexo3ULOj8e6T9MIJksz4iWm/HcfowM7u1 aJU86tTT4X86Dhck7lB8M0/WAsdxDQoLdvNwUi+vfnVCLRS0SSesw4svdtexzptSerFh th+kNNXf1FJu49q5oD3SlO4flhM8HeQOk/7KAGUR0R3YjGU/tPcwAsNS3xhvIWmAi3p+ Ij/yMI3DKCsutaB108F/e4pdK+VIvmC+DaTs3rbE3R9S1Jfekj4+9wIurg80QBbGz+T8 X38ZAG0sS/hxkHV1T80Gge0mikUqBtmRPIkepe5waJJKRrz1WpX0d2ovhi/Y3PR+q14R dJew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740485288; x=1741090088; 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=WZknB7WfP+WjQQS72bfiSC/O+ORT4NiZ/J8AZSYnGUISUen9m24a/4Xg60uR+oqkuo JJ+HsnRmm4ZDI7Oj/23/fePfIiBn3eu5AyUpC3E7vXgzCfGBfYAkPSYOSKyZA4s0+bIO Og188yNDbgteh99vivtf2PBndBgWtWXC1tOukz5/R903QJkS4o6bCfnALVAOV5DtI/IL 34KPFUpvZD3zp31P0aARSen6GupRVH3cp23zAHkdavqN7xYjT4C8idC26SdrLhyNcPIf 04pnBCrgm4To1dZWgbnt+y6wbODk0RcWS1ibZa5DGAp1tcge8lymGDn5E5pI3nM7zEtH ZPxQ== X-Gm-Message-State: AOJu0Yzg1ph8ZGKYJ0J2iyzjPypqtBxAIafIrEPnw2zT6189xJgAPjKu LL8tZ3kNyFwoZmNC4QeCcGosCf4iH2/Z1G/lA3w+pyd3VNVjk4FfBAQkyg== X-Gm-Gg: ASbGnctfUdHb/Me4fWXzH8FTVh7vetUnEjAMnXvdq7Z/dG5UQUNs9auZ5q0XetY/oDy dFejm4I4PJ5uzTWAVS08rkfs3Zt3PmcDI8GsiSH6Dol6F2w1ZXL1W49QCt7aW+EaY+ZLQbMm4zq snwyL9J0aoU/F+9U9j/V/0rG+NZj3uXya++XicTvCUBKNecKidr9W9qFv4NfuNYqryZe8WmRmYd 2OKU4n6b6dnFSnL8XV07CZqFqGlur3Dv3FcoEvaU817hvTIiD9Tpxp9UO5DjTadrmUYlRKbyc1G gtine56Rb+IYpe5juUce1+fXl76w5i4U5wglAK9YXAsZKnRLAK8zlULpGxBKRE8= X-Google-Smtp-Source: AGHT+IE0yxBcrCFT/w4PU1NAR6U5XtNk4KyjoB9ZhzsvVJXSzyNjaNqO8ZxwMPAF7z99f+mG143/xg== X-Received: by 2002:adf:ea50:0:b0:38f:37f3:5c9a with SMTP id ffacd0b85a97d-38f6f04eedamr12224530f8f.31.1740485288251; Tue, 25 Feb 2025 04:08:08 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-390cd86ca9csm2068089f8f.22.2025.02.25.04.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2025 04:08:07 -0800 (PST) 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, 25 Feb 2025 13:06:34 +0100 Message-Id: <20250225120635.171931-2-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250225120635.171931-1-alex.kanavin@gmail.com> References: <20250225120635.171931-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, 25 Feb 2025 12:08:11 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/poky/message/13541 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 Feb 25 12:06:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 57793 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 10C25C021B2 for ; Tue, 25 Feb 2025 12:08:21 +0000 (UTC) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mx.groups.io with SMTP id smtpd.web11.6587.1740485291131883632 for ; Tue, 25 Feb 2025 04:08:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=azNnbwtu; spf=pass (domain: gmail.com, ip: 209.85.128.53, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-439a331d981so47833945e9.3 for ; Tue, 25 Feb 2025 04:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740485289; x=1741090089; 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=azNnbwtu7yyAWeNKkmgzu/Sk3naYzDkAnOv3DFp6duGkAMEe1HECqBbNm7nkwjYZVM d0uF+MHC1wwvfcvTx9iG2DOpxcWwXxwNqr6mhij9Lj9vd4Ie6xB6nmhEinjU1bPlPICZ RFtnpz1HYyGfU9ODu5w6XFUTNpqa56Mk5TVtYdf4qNmZ3z1/THavOT4+wOymC//dE1uI EE9TKa7442/0UtkBpnVaBtJVekM59JYc8UeC1ScVLQniW2VfKSrbmd6U65pATlyCve4T mbWpl9mFVoryT1dxF1dkK2ybQxMnpC0LttRkXgg2Rvz6sfR1zOqnyvCHrE8ygcY4/E/j JHAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740485289; x=1741090089; 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=Z+jt0D1lpb+ivGumFVcDnI9bhHEqgydm3Ox2ZtJaKUBXHT/696IcCoA6alQLcjHPxv ZoWV68iDwa2WGlVPmbIhpnKPJ+iFyPXZ6wrzmk58pdFsptKlp2mbcizgHHZnt2pkBcyK FAFZXNUGyEWFHedQmGYpf0hFf2fsySunIdAx8DTZUi30hfQN2cpX5XOrMQzGjSSI4W4I Ew6bM9YnCuK1RdfezmpAaOBDDRNguU0+g4hn2wCbrx3h485cXEQ3zub+vBqcyM4WiAK4 26tw8j+TT5m7AefVhK/zKi1L4VXVG+o4Z3b75VfGC8hmGEFUZe2z7vBLYRrshiUFOWke TVCg== X-Gm-Message-State: AOJu0YwvFwNExuI0PZKYaFBk0W9UJrEsNoHfesfLtOddBJB+WaTPoT9u Hgf+7jkK4jCfr31u5r9itK4wzKD0oU6NEiCSa5LwsynGM4TOtCd186N3Ew== X-Gm-Gg: ASbGncssEKYedqWtw/G24RuxGGEFrwjeG7dDjPjxeX1mVZ/pzHsm9ZlZvKPRWGc1Yuc W0nyM+DlYKcDLzoCGME0A+1wsWFRTOeMUb7LTqkPzifSRADVIHhrOyVrBXTA7RQmUstwH1fWIbP torelt05+QkK7jB089CejMEmzCOag2y9sLNtZxeWqKzWdJeePEtZ4CSCTdebDYtolyIawnlfsc6 oZAdvlJ+8vzvTkeomrxs4dBeiOs4BGlGVykegg6gQAdQ4t0XJJtT34M4hVvCUfu4rWM0G+XS/sC Csv+yI8Z2udah1MwboK8uOaPzHggq27c6F0v3VYlo6ejkfmxPbJ2Rs8edeZxkXc= X-Google-Smtp-Source: AGHT+IEahzaIAiji3pxFTt0ZTwux7JznbnT7vOOI2nbTcQ5/6F3GATYNzqJJTWsn1tem8N9Tjd5J4Q== X-Received: by 2002:adf:f50f:0:b0:38f:4acd:9753 with SMTP id ffacd0b85a97d-38f6f0639a8mr8414560f8f.32.1740485288942; Tue, 25 Feb 2025 04:08:08 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-390cd86ca9csm2068089f8f.22.2025.02.25.04.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2025 04:08:08 -0800 (PST) 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, 25 Feb 2025 13:06:35 +0100 Message-Id: <20250225120635.171931-3-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250225120635.171931-1-alex.kanavin@gmail.com> References: <20250225120635.171931-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, 25 Feb 2025 12:08:21 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/poky/message/13542 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"