Commit Graph

353 Commits

Author SHA1 Message Date
Robert P. J. Day
fef1dcbd15 local.conf.sample: drop MIPS, PPC entries; add 64-bit RISC-V
1) Drop MIPS and PPC lines since we should refer to only those arches
   tested by the autobuilder.
2) Add entry for 64-bit RISC-V.

[RP: Tweak ordering]
(From meta-yocto rev: ec2b74877d3732b6ea927cb9ea8c726e0568d65e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-29 07:58:02 +01:00
Alexander Kanavin
6ae605e343 selftest: move pokybleeding selftest from meta to meta-poky
meta/ is 'owned' by oe-core and meta-yocto repo should not be
putting files in it.

(From meta-yocto rev: 83be7b1c70a7f90f611ad33284d0b8f963552eae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:03:12 +01:00
Richard Purdie
5049bc18a8 poky: Update version/codename post release to whinlatter
(From meta-yocto rev: 69a795323a5edf42bcc8f002eb33666d78165d33)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-21 15:09:53 +01:00
Richard Purdie
448af7ef00 layer.conf: Update to whinlatter release series
Since there are currently multiple breaking changes, update to a new
release series for the next release so layers can show compatibility
correctly.

(From meta-yocto rev: a67bb58ee119d68c4b72bf954b4eb613612a8cc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 13:07:15 +01:00
Alexander Kanavin
842ef50329 meta-poky: set S from UNPACKDIR in recipes that use only local files
There is no need to have two assignments; also setting S from
UNPACKDIR (and not vice versa) is more logical as unpack
task comes first, and tasks that come after unpack use S to access
unpack results.

(From meta-yocto rev: 9fb052b0f19bdd4e1b1625865c41ab8a35d7b669)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:29:47 +01:00
Alexander Kanavin
d91c6dca44 templates/default: do not separately enable sdl in qemu-system-native
The recipe now does it directly.

(From meta-yocto rev: b12adb95ac7eceb7e5c5a111fb7a9450626d63ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Richard Purdie
9475cba9dd local.conf.sample: Switch to new CDN
The project is switching the way handle our CDN provision of sstate objects,
update the URL accordingly.

(From meta-yocto rev: e5b8e76ba8232860943406e1c53e71b3d2790f17)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 17:28:54 +01:00
Richard Purdie
2aec5513da poky-bleeding: Drop debug code
Drop some debug code which shouldn't have been merged.

(From meta-yocto rev: 18926b88f44e870e64efa7b3cd7e1dc56ce6cbb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:07:15 +01:00
Mikko Rapeli
1cd8d4e892 poky-bleeding.bbclass: support recipes with multiple scm SRCREVs
Recipes with multiple repositories in SRC_URI use SRCREV with
repo postfix. Set them to AUTOREV too.

(From meta-yocto rev: e495ebd7039ff7b0dd9452343f8153698b5f6575)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:59 +01:00
Richard Purdie
e3ca5193b5 poky-tiny: Fix whitespace in variable assignment
(From meta-yocto rev: b5d94e54156ed6c4188035e5925073bfd2a90eb1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-02 10:58:27 +01:00
Richard Purdie
52b5f6a95d poky.conf: Bump version for 5.2 walnascar release
(From meta-yocto rev: cc5255e3f67566b6e1804097780d49e0c0352480)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:37:12 +00:00
Richard Purdie
382bf579ad poky-tiny: Drop obsolete/broken comment
The comment is obsolete and contains old override syntax, drop it.

(From meta-yocto rev: f6aee8290359404d9d782313ffb213b5f6c28a55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-29 15:35:52 +00:00
Enrico Jörns
6edb7e77f1 poky: fix remove/append override syntax in comment
The examples for changing WARN_QA and ERROR_QA still use the old
('_'-style) override syntax.

(From meta-yocto rev: 303e49733300e7e440ee4e8d9cd6eec67143aa91)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-24 10:58:36 +00:00
Richard Purdie
a23edf70b4 poky: Remove Fedora38 from SANITY_TESTED_DISTROS
Now the obsolete config is removed from the autobuilder, we should remove
this distro from the tested list too.

(From meta-yocto rev: 59567ab18a6819ea845c9be824b203d030eb09c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 09:30:57 +00:00
Richard Purdie
1670970f8f poky: Update SANITY_TESTED_DISTROS
Update the distros list to match what the autobuilder has available as configured
and tested workers.

(From meta-yocto rev: b3641515b44dcde4ee37e82428699d92b0785f2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-05 09:12:39 +00:00
Bruce Ashfield
bf6fae9619 poky-alt: switch preferred kernel to 6.12
6.6 is being removed from the upcoming LTS release, so we
adjust the alt config to use the 6.12 reference.

(From meta-yocto rev: 9502859f2d0c36d23cc23d3a91f1513eb748f0d3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-11 11:44:20 +00:00
Bruce Ashfield
67fb8af188 poky/poky-tiny: update default to v6.12
The 6.12 kernel is a LTS and our next reference kernel, so
we bump our default to it.

(From meta-yocto rev: ba8e2f42a29f3f312879eb2ca2988592ccfa0b4c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-12 12:32:44 +00:00
Ross Burton
626031da74 local.conf.sample: update IMAGE_FEATURES comments to remove debug-tweaks
Remove debug-tweaks and add the features that it included.

(From meta-yocto rev: ab1da39e6f3859f581b410a2c49196293eb881a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-07 22:18:07 +00:00
Ross Burton
7545dc3af8 local.conf.sample: use explicit IMAGE_FEATURES instead of debug-tweaks
debug-tweaks is vague and doesn't give any indication that the root user
can login over SSH without a password.  This behaviour is incredibly
dangerous if used unwittingly, so discourage it by using the underlying
features explicitly to spell out exactly what is being done.

This is not the complete set of features that debug-tweaks enables,
but I don't think we need to enable serial-autologin-root or
post-install-logging by default.

(From meta-yocto rev: 96d453fd54e10d02a603d40536f0ac22f5da6961)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-06 12:18:19 +00:00
Richard Purdie
5ac9869961 layer.conf: Update to new release series
Switch styhead -> walnascar post release.

(From meta-yocto rev: 405c62c2b13119aaea0d7c119868cf9bb27654d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-01 12:42:08 +01:00
Richard Purdie
7cc8bf7af7 poky.conf: Bump version for 5.1 styhead release
Also update sanity tested distros to list distros on the typhoon and
valkyrie clusters which are known to work.

(From meta-yocto rev: d2ff1a0780456681ca0747cdf7aa79d6002cf70a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:31:40 +01:00
Richard Purdie
f910324663 poky-tiny: Drop TCLIBCAPPEND
This is no longer needed/supported. That solves the FIXME I guess!

(From meta-yocto rev: 9ea01f67bb15c78cd7ba0efe1dfc8861f21f9825)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 08:18:44 +01:00
Richard Purdie
4186e83ffb layer.conf: Update to styhead
(From meta-yocto rev: 223cc7f13391fddb94e873ea71171e293370d609)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-06 18:39:44 +01:00
Richard Purdie
17ec4431c3 poky.conf: Drop TCLIBCAPPEND
OE-Core is removing TCLIBCAPPEND so we no longer need to clear this.

(From meta-yocto rev: 562828c74a1fa7ce51c55da829ca0e9ad2703bdd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:50:10 +01:00
Bruce Ashfield
6dea2e6332 poky/poky-tiny: bump preferred version to 6.10
Make 6.10 the preferred kernel for these two distro
configurations. We leave -altcfg on 6.6 for LTS kernel
coverage and testing.

(From meta-yocto rev: 05c15cea09dc398ab0f027e738cdb3efa932c137)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 15:48:08 +01:00
Richard Purdie
aca8acceb8 poky: Enable yocto-space-optimize.inc
Switch poky to use the recently added include file which reduces the build
disk footprint, sstate object size and speeds the build slightly.

(From meta-yocto rev: 72c660865c29bf749dd5d9f632b227c97c454dae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:22:22 +01:00
Richard Purdie
ae4ec59b3e poky-tiny: Update FULL_OPTIMIZATION to match core changes
DEBUG_FLAGS is no longer needed here (and changed to DEBUG_LEVELFLAG so would break).

(From meta-yocto rev: 74f68f1a91ebfa630909216ac5c25971e7b3841c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:29:37 +01:00
Peter Marko
c925c8d403 poky-sanity: remove True option to getVar calls
Layer cleanup similar to
https://git.openembedded.org/openembedded-core/commit/?id=26c74fd10614582e177437608908eb43688ab510

(From meta-yocto rev: 672a6bea17fb6e202ccbc1b7ce9a2ebdd6245779)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:53:45 +01:00
Richard Purdie
8fc598580e busybox: Disable CONFIG_TC for poky-tiny
It fails to build with 6.8 kernel headers onwards and is disabled in
our standard builds so match those.

(From meta-yocto rev: f1d9f4d8d6f6d0c1937f690ed184b4334ab7c1fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:57:42 +01:00
Richard Purdie
62c5172036 tiny-init: Stop using S == WORKDIR
(From meta-yocto rev: 48fbd32e201667de886b9d5c14807d3958152482)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:09:05 +01:00
Richard Purdie
632e317059 local.conf.sample: Fix hashequivalence server address
We switched to a new server for the scarthgap release but didn't update the
sample config. Fix this.

(From meta-yocto rev: e0558da30f72a205e0b2055d62690604ed9ff578)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:29:41 +01:00
Richard Purdie
28b5684938 poky.conf: Bump version/codename for post release of scarthgap
(From meta-yocto rev: 99f48efdf733e6722045c944ffef8117ca80116f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:12:27 +01:00
Richard Purdie
17723c6e34 poky.conf: Bump version for 5.0 scarthgap release
(From meta-yocto rev: 8f12ba9f7006d54e6f5259eb1c734e6116a2580b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 07:38:22 +01:00
Khem Raj
9a197e4f92 poky-bleeding.bbclass: Remove use of SRCPV
(From meta-yocto rev: a287fabcc55cbe46bc660ad45e03f94428824386)

(From meta-yocto rev: 705258d7ad70b4b69f4c5b5397101853ae7ba4d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-14 06:29:00 +01:00
Richard Purdie
e83129f4a3 poky-altcfg: Default to ipk packaging
poky itself defaults to rpm packaging. In support of the binary distro
testing, and for wider testing in general, default poky-altcfg to ipk.

Since we plan to have better "binary distro" testing on the autobuilder
and we plan to primarily use ipk for this, having ipk based images available
as part of our builds is desireable.

Since we want systemd based images with ipk, it makes sense to leave standard
poky using rpm images but switch poky-altcfg to use ipk.

Doing this now for scarthgap gives us a good platform to build off in
the long term too.

This matches https://git.yoctoproject.org/yocto-autobuilder-helper/commit/?id=a9b4f83c05136dd83e07c0f68ae2ad13507ed36a

(From meta-yocto rev: 6d89a66ad8a28d07425cf8886567038950ef65e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-20 18:21:06 +00:00
Richard Purdie
47c201da56 poky: Update to prepare for scarthgap release
(From meta-yocto rev: 4e53cc57c1e6c05098f3cfd467bd9cdbc86bd363)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-07 22:33:12 +00:00
Ross Burton
2f4f72fff2 Add genericarm64 MACHINE
This is a new 64-bit "generic" Arm machine, that expects the hardware to
be SystemReady IR compatible.

(From meta-yocto rev: 68de209f58917d8e7108caacfefc55bbe0e0c5a2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-05 12:26:21 +00:00
Ross Burton
a226865c86 base-files: add usage warning to motd
The Poky distro is explicitly a _reference_ distribution for _testing_
and _development_ purposes.  It enables most hardware and software
features so that they can be tested, but this also means that
from a security point of view the attack surface is very large.

We encourage anyone using OpenEmbedded for production use to create their
own distribution and not use Poky.  To encourage this behaviour further,
add a warning to /etc/motd when Poky is used so the developer will see it
when they log in.

(From meta-yocto rev: 2e0cec1e9d97f78ba015da8812fd1888c47debcb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-23 14:31:30 +00:00
Alexander Kanavin
fd600728ff meta-poky/conf/templates/default/conf-summary.txt: add a template summary
Existing conf-notes.txt is not adequate in situations where the user
needs to select a config template from several, or get an overview of them and
is interested only in a brief explanation of what the template is for,
but not extended multi-paragraph instructions for how to use it.

Such summaries can be provided via conf-summary.txt and
this patch adds such a summary for the poky default template.

Updates to the tools and a tool for selecting templates which
will make specific use of the summary will follow.

(From meta-yocto rev: 5f404da45021caa09c796dee015ff735d36fa4c0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-19 11:47:53 +00:00
Richard Purdie
76575e760a layer.conf: Update for the scarthgap release series
Prepare for the scarthgap release.

(From meta-yocto rev: 5be4f867a3fba39103a569eb4ecf10c39eca3742)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-09 14:00:03 +00:00
Richard Purdie
1df683df5c poky-altcfg: Update PREFERRED_VERSION for kerenl
Update to 6.6 since it is our only kernel version.

(From meta-yocto rev: 00b2de10d7665a60d32497cb141f40ba3e1143fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-22 13:45:33 +00:00
Bruce Ashfield
da7384a8e9 poky/poky-tiny: make 6.6 the default kernel
Bumping the reference distros to the latest -stable/lts
kernel.

(From meta-yocto rev: f148b0ddea099062b07abe6d8a8f6c67b8bc087f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-04 23:48:07 +00:00
Michael Opdenacker
baa6b64a94 poky.conf: update SANITY_TESTED_DISTROS to match autobuilder
>From the intersection of the list of allowed workers
on https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py
and the active workers on
https://autobuilder.yoctoproject.org/typhoon/#/workers

(From meta-yocto rev: 5859bb1be028d303ddc8729ff761bdde7f7dd5f1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20 23:36:00 +00:00
Ross Burton
832384fdc6 poky-tiny: fix PACKAGE_EXCLUDE
poky-tiny does a PACKAGE_EXCLUDE on shadow-base as the kernel doesn't
support multiple users.  However it does this by assigning to an
override, which makes it impossible for images or machines to extend
PACKAGE_EXCLUDE with their own exclusions.

(From meta-yocto rev: 5d86975934b46a64b36f60c097bce7a577c1b8b0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-08 11:00:09 +00:00
Michael Opdenacker
cdee2b22e1 local.conf.sample: remove mips edgerouter machine
No longer supported since
https://git.yoctoproject.org/poky/commit/?id=0c64d0e4317e3749f7f7ed9ecd5d08bbb0cedc9e

(From meta-yocto rev: e93ae2edfb3846ea696f45412b7aedcdd8d0b845)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-26 17:11:48 +01:00
Richard Purdie
751e61e45c poky.conf: Update to post release versioning
(From meta-yocto rev: 2c574e299d247f3db0dcea513dc9ea818c488e72)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 17:10:35 +01:00
Richard Purdie
dc262335f9 poky.conf: Bump version for 4.3 nanbield release
(From meta-yocto rev: c9f0946b6fd35ab7cb0197599a489560d129daf2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:57:59 +01:00
Richard Purdie
9dc27f922f local.conf.sample: Document new CDN mirror for sstate
We have a Content Delivery Network available for sstate, document
this in local.conf.sample.

(From meta-yocto rev: 2b2c68717e05f9e644930f576f5197d673b9cef5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-15 13:59:51 +01:00
Richard Purdie
1d33140e36 poky/poky-tiny: Switch to the 6.5 kernel
6.4 is EOL so switch to the 6.5 kernel.

(From meta-yocto rev: 2b6624b894c8a458be7d4b13b1691a89ead44120)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-10 09:53:48 +01:00
Richard Purdie
71faadedb9 layer.conf: Update to nanbield release series
(From meta-yocto rev: 1274324fedd63a60ac974b35b1d2b53928a42840)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-10 09:01:29 +01:00