Commit Graph

308 Commits

Author SHA1 Message Date
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
Armin Kuster
d08e473127 poky.conf: remove EOL and Centos7 hosts
Centos7 is no longer in the AB
Centos8 has been EOL'd - replaced by Alma8
Debian9 has been EOL'd  - June, 2022
Ubuntu 16.04 has been EOL'd - April 20th, 2021

(From meta-yocto rev: 09f17b1b744077da9c4efb9f4ac388ef2f4fa24d)

Signed-off-by: Armin Kuster <akuste808r@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-28 11:51:29 +01:00
Alexander Kanavin
7e6fed6af7 conf/local.conf.sample: mention site.conf.sample as well
(From meta-yocto rev: 0376002951907018b7be76ec7e34322157f8c313)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 07:40:48 +01:00
Richard Purdie
a2d8217488 local.conf.sample: Mention other MACHINE options may exist
Mention other MACHINE options exist and where to look for them. Based
on an idea from Robert P. J. Day but adjusted not to use urls but to
refer to the local metadata.

(From meta-yocto rev: 0533e3f988e603d0a6ed25f17b650dbccbf2dc31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-15 17:40:13 +01:00
Richard Purdie
cf7d889454 local.conf.sample: Update sstate url to new 'all' path
(From meta-yocto rev: bfd62a1b09c46919ec4e3bc804d6f5634773cdda)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-15 17:12:32 +01:00
Ross Burton
d9dc50ccff distro/poky-tiny: don't put translations into images
IMAGE_LINGUAS has a default value, "en-us en-gb" in
default-distrovars.inc and "de-de fr-fr en-gb" in image.bbclass. However,
poky-tiny sets USE_NLS=no so IMAGE_LINGUAS can't really be used in a tiny
context, and previously musl hasn't supported locales so this hasn't
been a problem.

However, now that musl-locales exists, poky-tiny images will try to pull
in translations.  As we've disabled NLS these simply take up disk space
and cannot be used, and currently musl-locales fails to build if
USE_NLS=no.

Set IMAGE_LINGUAS to "" in poky-tiny.conf so that images don't have
locales added.

(From meta-yocto rev: 50bb58035f0158e388019e731126e630307b69dc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-30 07:34:20 +01:00
Ross Burton
3168b02b08 poky.conf: set PACKAGE_CLASSES explicitly to package_rpm
Currently, defaultsetup.conf defaults PACKAGE_CLASSES to ipkg, and Poky's
local.conf.template defaults it to rpm.  So in theory Poky uses RPM, but
only if you actually use the local.conf.template: use Poky but write
your own minimal local.conf and you get ipkg being used.

Resolve this by explicitly setting PACKAGE_CLASSES in poky.conf, and
commentting out the assignment in local.conf.sample.  Users with
existing local.conf files won't notice a change of behaviour, and users
who write their own minimal local.conf will get the behaviour that is
expected, that is RPMs.

(From meta-yocto rev: 0615305e26f7e643cdf91e17902ebaa8e7f8faf8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 13:35:35 +01:00
Michael Opdenacker
c2f2e2e633 meta-poky: update conf-notes.txt
Now suggesting to run 'runqemu qemux86-64',
aligning with conf-notes.txt in openembedded-core

'runqemu qemux86' doesn't work any more.
The "Quick Build" documentation has already been updated
but not this message that we get when sourcing "oe-init-build-env"

(From meta-yocto rev: d0d39a9057b3da3de339b8fa81545be9800478e8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 22:23:02 +01:00
Richard Purdie
07c627645d poky/meta-yocto-bsp: Post release version/codename updates
(From meta-yocto rev: e6f4a7f76b8a60f365a111e0b38d6d5090a0b003)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 08:27:21 +01:00
Richard Purdie
a6ebbe3a10 poky: Use INIT_MANAGER in main distro config
Just to keep things standard and clear, use the new INIT_MANAGER variable
in the main distro config. This matches the default config with the addition
of some DISTRO_FEATURES tweaks.

(From meta-yocto rev: 07556802447a157bfdae842354c064e50ae09d42)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:15:09 +01:00
Jon Mason
ebb14f9530 poky-tiny: add a distro description
(From meta-yocto rev: a2d3b25b2900560bd724731c3d3124a33e608b8c)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:15:09 +01:00
Richard Purdie
3b2edd473e local.conf.sample: Update for 4.0 in sstate url
(From meta-yocto rev: fa0884372892d43e76c4d3b4486f1851e39edac3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 21:22:52 +01:00
Richard Purdie
5fe3689f4f poky: Drop PREMIRRORS entries for scms
The reasons for this are lost in the mists of time. These are already
in OE-Core as MIRRORS and we should be falling back to the project as
a backup, not a default. Update accordingly.

(From meta-yocto rev: 1b71a3b9418fd928fb72bd23898cffe70c43d9d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 17:17:41 +01:00
Richard Purdie
c2416fd91c poky: Bump to 4.0 in preparation for release
(From meta-yocto rev: d6a3e8092408715693e3713575b8271bea4e9dbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 17:51:14 +00:00
Michael Opdenacker
8827a3ed80 local.conf.sample: https and no newline for SSTATE_MIRRORS
Both http and https work, but we will get fewer user questions with https

Remove no longer necessary \n character in the sample definition

(From meta-yocto rev: 2e707748b372dac4c007342cc80e65f2b0afc542)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:51:27 +00:00