Commit Graph

322 Commits

Author SHA1 Message Date
Richard Purdie
3c9778fbc8 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: f5e9f8ebd65e5a814ec45122e4176bc5407ea946)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:30:01 +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
Richard Purdie
cb70fec913 README: Clarify/standardise contributions process
Now we have a contributor guide combining various wiki pages, point at
that and standarise our approach across layers.

(From meta-yocto rev: 000bc83cf581aeb47798a5a30299bb0d5c767984)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-02 07:46:40 +01:00
Peter Kjellerstedt
c7061c5bde poky.conf: Switch to post release name/version
(From meta-yocto rev: 803ef4a3f2304350484d2993fc0e811a6d8e1fa7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-24 21:30:28 +01:00
Bruce Ashfield
5fb7398b77 poky/poky-tiny: set preferred linux-yocto version to 6.4
Bumping poky and poky tiny to test the latest refernce kernel. We
leave poky-alt on 6.1 for LTS coverage.

(From meta-yocto rev: bb261e23b458b7631006ccd6ce38b91fa096b451)

(From meta-yocto rev: 11efa4cf80928cb1036c350a26e221d2de4817cc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-16 07:49:17 +01:00
Michael Opdenacker
5477cad9b9 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: dc5bd555e1910cdbba4252b896cc3021a8f1ec51)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-08 21:00:35 +01:00
Alex Kiernan
bed1597caf poky/poky-tiny: Explicitly exclude shadow
`login` from busybox has explicit heuristics to handle CONFIG_MULTIUSER
unset (i.e. a kernel without non-root users, groups or capabilities),
bringing in the shadow version of `login` causes obscure failures at
runtime ("setgid: Function not implemented"), instead exclude it here so
anyone who includes it (likely accidentally) will at least get a build
time failure.

(From meta-yocto rev: be22c2923a0cdf60ab60012668382e55a3618f2b)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-01 15:37:19 +01:00
Ross Burton
1cef9f2e14 poky: add Debian 12 to supported distribution list
The autobuilder now has a Debian 12 machine and it appears to be working
fine, so add Debian 12 to the supported list.

(From meta-yocto rev: c54fb08cc977e68295ba13942d6b3c2e82f9c86a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-12 15:05:52 +01:00
Peter Marko
01371175e9 gcsections: apply section removal also in C++, not only in C
Currently only CFLAGS contains sections optimizations.
This is used during C compilation.
C++ compilation uses CXXFLAGS instead.

I did not introduce CXXFLAGS_SECTION_REMOVAL because the options
are identical in C and C++, while adding it would add whole lot
of additional useless lines of code to maintain.

(From meta-yocto rev: 4962baf5d0baf3bf61a44020be96cb877f4e4979)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-07-12 10:36:52 +01:00
Ross Burton
dc03dac769 poky-altconfig: enable usrmerge DISTRO_FEATURE
The point of poky-altconfig is to exercise popular DISTRO_FEATURES which
are not enabled in nodistro or poky out of the box.

With the upcoming v254 release of systemd mandating usrmerge[1] this
will become mandatory for anyone using systemd, so get ahead of the
curve and enable it in poky-altconfig now to shake out any problems and
ensure it is continually tested.

[1] https://lists.freedesktop.org/archives/systemd-devel/2023-June/049173.html

(From meta-yocto rev: 060021abc795cebbbf003265c2fcb976505333a8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-15 08:01:08 +01:00
Richard Purdie
581edf2012 poky: Enable spdx manifests by default
We're now in a position to enable SPDX manifests by default, do this
for poky.

(From meta-yocto rev: 511f2f60cc2637ebc06049f58acb4f68562b2fce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:31 +01:00
Richard Purdie
76494f2b66 linux-yocto: Drop 5.15 support
5.15 doesn't work with gcc 13 and we'll be replacing 5.15 with a new kernel
version later in the release cycle. Drop 5.15 now so we can move forward
with gcc 13 and we'll add a new kernel version later.

(From meta-yocto rev: 084d840d7f655466d5d668ca309a8b09b83f23fb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 07:54:17 +01:00
Richard Purdie
5f3499c659 poky.conf: Bump version for 4.2 mickledore release
(From meta-yocto rev: 9294211a349523a07a81eebf6ce4edb126797d23)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:42:45 +01:00
Richard Purdie
c7ee2d0236 poky-bleeding: Update and rework
This distro setting has bitrotted quite badly but the idea remains
a good one. Try and improve things by:

* using a class and a list of recipes to make things more readable
* drop settings for recipes which no longer use git
* drop obsolete PREFERRED_VERSION settings
* add a provider switch to use linux-yocto-dev
* reword to avoid "package" confusion with recipe

The distro then builds and highlighted a number of matchbox
issues which other patches address and improve.

(From meta-yocto rev: 00e974484d771dd015af1f2c0c547135555d24d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:47:01 +00:00
Ross Burton
e53ed50b87 poky: set MAINTAINER clearly
The default Poky-specific MAINTAINER assignment makes it look like the
maintainer is a person called Poky.

Instead, use "Poky Maintainers" as the name.

(From meta-yocto rev: 8e17aeb3fd3246ae59119e3e1c693a4f9a3b3420)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 07:18:59 +00:00
Richard Purdie
7017752717 poky.conf: Update SANITY_TESTED_DISTROS to match autobuilder
The autobuilder workers change over time, update the sanity testing list
to match the current autobuilder workers OS list.

(From meta-yocto rev: e1b515ec9d5c6b1b21d27db1ec413088398d538b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:02:04 +00:00
Peter Kjellerstedt
72bcdc3755 poky.conf: Switch to post release name/version
(From meta-yocto rev: b586654a4f0cd782de833106aff96b613b70b62b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:55 +00:00
Bruce Ashfield
a5507f383c poky/poky-tiny: bump preferred version to 6.1
5.19 will be removed shortly, bumping the preferred versions for
poky/poky-tiny to 6.1. The -alt config remains on 5.15.

(From meta-yocto rev: 535ef93ef68af20b06effb0dd899895a192bb412)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:23:07 +00:00
Richard Purdie
316d66b4c4 poky: Set INIT_MANAGER by a separate variable
Currently INIT_MANAGER cannot be overridden from local.conf. This is
complicated by the use of overrides in the various poky distro configs.
That is necessary, so use a separate variable to indirectly set the value
meaning local.conf can still override the result.

(From meta-yocto rev: da23d0c3edad0f5ee4cc4916276e214e8d53aad0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 21:57:39 +00:00
Richard Purdie
2c6f0b9228 layer.conf: Mark master as compatible with mickledore
(From meta-yocto rev: d12c8f18f97935e3f5481a2324dcfdfaa9f1b944)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-03 16:04:39 +00:00
Richard Purdie
91befcd1f3 poky/poky-tiny: Drop largefile mentions
largefile was made the default and the distro feature is no longer needed.
Drop the leftovers in poky.

(From meta-yocto rev: c5da2d28ed517fff4a32e3bbad4511a1a4bf19b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-11 16:32:27 +00:00
Javier Tia
a5c985ee50 poky.conf: Add Fedora 36 as supported distro
Based on [1], Fedora 36 it's building in Poky.

[1] https://autobuilder.yoctoproject.org/typhoon/#/builders/86

Thanks to Michael Opdenacker for pointing out the Fedora 36 builds
and orientation to submit this patch.

(From meta-yocto rev: 27b5faebd9c1bf72848fdddaa5da27d3bd6e62b0)

(From meta-yocto rev: 5b0268f53f2f610321c731bef58b195bedc55283)

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-28 21:32:41 +00:00
Trevor Woerner
ecc93c24b2 local.conf.sample: update bbclass locations
Update comments indicating where to find various bbclass files.

fixes: f5c1280083 (classes: Update classes to match new bitbake class scope
functionality, 2022-08-10)

(From OE-Core rev: 31eca4926b5f7237915dafcd205a0e4aaf75163e)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 15:12:59 +00:00
Michael Opdenacker
9c8907cf88 poky.conf: remove Ubuntu 21.10
Ubuntu 21.10 is no longer updated by Canonical
and since 22.04 is available and supported, it's
no longer useful to test it and declare it as supported.

(From meta-yocto rev: 8f8bde4f5a9b37d3a93615c22b1896fd47973478)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-25 13:41:36 +01:00
Richard Purdie
0084c6704b poky: Update to match poky version numbers
(From meta-yocto rev: 913bd8ba4dd1d5d2a38261bde985b64a36e36281)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-29 21:54:34 +01:00
Richard Purdie
0e2698b0a8 poky: Update to 4.1 version
(From meta-yocto rev: 152d88fa34debb664c7a31b8e733b3de6fbb5561)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-29 21:54:34 +01:00
Alexander Kanavin
231a6b779a local.conf.sample: correct the location of public hashserv
(From meta-yocto rev: d1840499ff5b9551b3178cd2777ec9fe8666c96b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 21:30:05 +01:00
Alexander Kanavin
c472d9ba9e meta-poky/conf: move default templates to conf/templates/default/
This follows the changes in oe-core, where templates are expected
to be under conf/templates.

(From meta-yocto rev: 29608bd03e1bffa124353061617b1d71370a4e5f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-01 10:07:02 +01:00
Anuj Mittal
7786b09212 poky.conf: add ubuntu-22.04 to tested distros
(From meta-yocto rev: b058ef713f9d2e4bf8822c391a72ee64bdf5e43b)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-15 15:53:28 +01:00
Bruce Ashfield
db242b92f7 poky: change preferred kernel version to 5.15 in poky-alt
5.10 has been removed from oe-core, we change the alt distro to
the 5.15 kernel.

(From meta-yocto rev: 7077d849ef8588b65a7a3ae61b49292407ac13d7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-09 16:37:24 +01:00
Bruce Ashfield
2ab59bd032 poky: update preferred version to v5.19
(From meta-yocto rev: 73fbfa267bda268e6362d15439e67db63ae091fb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-09 16:37:24 +01:00
Alexander Kanavin
fcb754793d poky-floating-revisions.inc: remove xf86-input-keyboard entry
The recipe has been removed from core.

(From meta-yocto rev: ae07a50d067d554d1d62ba1c8a4c323907a2c559)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 21:52:21 +01:00
Richard Purdie
e1a2b1d1b3 poky: Enable debug-kernel for SPDX license manifests
In order to generate complete SPDX license manifests we need the kernel
DEBUG_INFO configure option to be set. Enable this within poky by
default as we want to be able to provide that information.

(From meta-yocto rev: 9ced869bb07f7ad9e11373be3a38ab25c2b6536b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-28 11:51:29 +01:00