Commit Graph

336 Commits

Author SHA1 Message Date
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
Michael Opdenacker
79168e8c19 local.conf.sample: fix reference to extended configuration sample
The file name is local.conf.sample.extended, not local.conf.extended

(From meta-yocto rev: dfff8de96dcbb6ea35f638a07c34cf5578e8d043)

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
Lee Chee Yang
1d98b3aaae poky.conf: update tested distro
drop opensuseleap-15.2 and fedora-33

add fedora-35, opensuseleap-15.3 and almalinux-8.5

(From meta-yocto rev: a1b752d31603bdbf9b9ee4eb09b2fd6ad4ad5d21)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:51:21 +00:00
Saul Wold
0b78f36432 Rename LICENSE_FLAGS variable
(From meta-yocto rev: e937a42996c046baca7ce502c6ce0ee3c7ed38e3)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Ross Burton
29dadf807a poky-tiny: set QB_DEFAULT_FSTYPE correctly
QB_DEFAULT_FSTYPE is used literally as the image extension in the testimage
code, so this shouldn't be set as IMAGE_FSTYPES because that variable is a
list of image types, so if IMAGE_FSTYPES is extended and testimage ran it
will try to look for an image called e.g. "core-image-minimal-cpio.gz ext4".

Instead, set QB_DEFAULT_FSTYPE explicitly to cpio.gz.

(From meta-yocto rev: 78d2ca75839aac47007522d4b6f790a4bd32b950)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Ross Burton
dec75f203a poky-tiny: don't skip core-image-base and core-image-full-cmdline
Building a "tiny" core-image-full-cmdline may not make a lot of sense, but it
build, so don't skip these images.

(From meta-yocto rev: a03d9df579cfdfdaa0e0967f04cbd7c62cd40055)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Scott Murray
8cc8380074 meta-poky: Update BB_DISKMON_DIRS use
Update the example BB_DISKMON_DIRS definitions in the sample
local.conf files for the rename of the "ABORT" action to "HALT".

(From meta-yocto rev: f7dc69745e3dbd5cf0d4950c44169b26c30b1902)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
d58ab95484 layer.conf: Update to kirkstone namespace
(From meta-yocto rev: a9224d845854f0f213b53648c4b01b0785c749c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
35b01e301b poky-tiny: Use renamed SKIP_RECIPES varFlag
This is a more descriptive variable name updated in base.bbclass

(From meta-yocto rev: 4e9e91dbd2d9aa14a9424b615484290fc863481c)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Christian Eggers
b9824a048f gcsections: add nativesdk-cairo to exclude list
configure fails with the following error if gcsections is active during
build of nativesdk-cairo:

| checking whether float word ordering is bigendian... unknown
| configure: error:
|
| Unknown float word ordering. You need to manually preset
| ax_cv_c_float_words_bigendian=no (or yes) according to your system.

(From meta-yocto rev: 45f97f55ae181b3fe5436276b36f5ed48d7437de)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 18:42:35 +00:00
Peter Kjellerstedt
6279cc02b0 local.conf.sample: Remove unnecessary \n from the SSTATE_MIRRORS example
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in SSTATE_MIRRORS
with "\n".

(From meta-yocto rev: 3709d06d5ad9421831d275bf1ed938e8de660906)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 18:42:35 +00:00
Peter Kjellerstedt
fc5cdce9b9 poky.conf: Remove unnecessary \n from PREMIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".

(From meta-yocto rev: 458a809b5ad780fabd3ca18806f831606bfbdfd4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 18:42:35 +00:00
Alejandro Hernandez Samaniego
74a8a74a55 busybox: Add shell arithmetic to work with poky-tiny
Fix error when trying to boot core-image-tiny-initramfs:

/init: line 144: syntax error: support for $((arith)) is disabled
Kernel panic - not syncing: Attempted to kill init!

[YOCTO #14702]

(From meta-yocto rev: 50ac1fcadb07fdbeb4169cdd7a0c4a805a0f8588)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:32:08 +00:00
Bruce Ashfield
6a2dfdf27a poky: set default kernel to 5.15
5.14 is no longer actively maintained, so we bump our default
to the 5.15 LTS.

(From meta-yocto rev: 70b3acd078ee2b09a541fc6c4e295b5c2ab386a6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Richard Purdie
cc186ac962 poky.conf: Post release version bump
(From meta-yocto rev: 146ee1738e7742215b360d58fb1c97bc523cc5e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 14:03:45 +01:00
Richard Purdie
9d12605d7e poky: Reproducible builds are now the default
(From meta-yocto rev: 829e48e3cd3c3dd90855750ef469cb65f93f0d20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
fafe050714 poky.conf: Bump version for 3.4 honister release
(From meta-yocto rev: fc8c4b3b6bb0798edd4ac32c3c19a553a15b5749)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:03:45 +01:00
Richard Purdie
966f805ff0 poky.conf: Update tested distros list with recent changes
(From meta-yocto rev: 4b923df6cb2858864c351fa1fd862547d5ad00c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:23:39 +01:00
Jon Mason
fd232ab906 yocto-bsp/poky: replace http with https for URLs
https has been the preferred way to access websites for many years now.
Change all of the URLs with a _working_ https server/certificate to use
that URL.

(From meta-yocto rev: 89de71da1c1e46d42a5c786bcac76462aa9c31e0)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:38 +01:00
Bruce Ashfield
414c5f1103 poky: set default kernel to 5.14
both -rt and -standard have been updated to 5.14, so we switch out
defaults.

(From meta-yocto rev: 952a771f5707d9e84beee6195b7a3cfb3a930702)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:29 +01:00
Richard Purdie
bf47addb34 local.conf.sample: Update sstate mirror entry with new hash equivalence setting
(From meta-yocto rev: 1d98182eb9fa059444c935967d1dc075535289db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-12 12:27:09 +01:00
Peter Kjellerstedt
705b1d757f local.conf.sample: Use the new override syntax for a commented variable
(From meta-yocto rev: 69e1d8c7a95081a243f36fc911ff9be3ce8cae44)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 21:16:39 +01:00
Peter Kjellerstedt
3480d0224b poky-floating-revisions.inc: Use new override syntax for commented vars
(From meta-yocto rev: ab8cec2cc136f03747995565c3f5ae923883a55c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 21:16:39 +01:00
Ross Burton
cae167c5ba local.conf.sample.extended: fix commented-out override syntax
(From meta-yocto rev: af596adf3eb5275656cda94b2ad41ca2deef3eab)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 13:14:02 +01:00
Bruce Ashfield
f3e7063e6a poky-alt: switch default kernel to 5.10
5.4 has been dropped from oe-core release/development, so we switch
the alt-config to use 5.10.

(From meta-yocto rev: 979b52c5f1d649791bfe312d79585a4cd346ce26)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Bruce Ashfield
3dc322bfc3 poky: set default kernel to 5.13
both -rt and -standard have been updated to 5.13, so we switch out
defaults.

(From meta-yocto rev: 20dfac37b818b652274aba88ad0b40c56b0ea8a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Bruce Ashfield
b2db5bf57f poky/poky-tiny: set default kernel to 5.13
(From meta-yocto rev: 795579ee2097d5a263d833b54d949bba5305c163)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Alexander Kanavin
b205abd2ae local.conf.sample: disable prelink
Recent tests have shown that prelinking works only when PIE is not
enabled [0], and as PIE is both a desirable security feature, and the only
configuration provided and tested by Yocto, there is simply no sense
in continuing to enable prelink.

There's also a concern that no one is maintaining the code, and there
are open bugs (including serious ones such as [1]). Given that prelink
does intricate address arithmetic and rewriting of binaries the best
option is to disable the feature.

[0]
https://rlbl.me/prelink-1
https://rlbl.me/prelink-2

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14429

(From meta-yocto rev: f712b495ce6362d50db3c5c565245535429d6419)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:54:18 +01:00
Denys Dmytriyenko
7171392132 poky-tiny: drop uclibc override
Since uclibc is no longer supported, corresponding override was left
un-converted to the new syntax. Simply drop it.

(From meta-yocto rev: 8f31ca308b03c0ee6c2680c4ed5510e448692ecd)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:48:28 +01:00
Richard Purdie
23df84524f local.conf.sample: Fix missed override conversion
(From meta-yocto rev: 1e7a636bee31afb508be20345962e0deb3126fdf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 19:30:23 +01:00
Richard Purdie
0247220336 poky: Use SDKPATHINSTALL instead of SDKPATH
SDKPATHINSTALL is the default installation path used for the SDK but is not
the path encoded into every SDK binary as the default path. This change
allows it to contain things like dates without requiring every nativesdk
recipe to rebuild.

Partially fixes [YOCTO #14100]

(From meta-yocto rev: a62175ee581bd05661717f0fb89dad2a297b4034)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:29 +01:00
Richard Purdie
b0fd19e5d2 local.conf.sample: Bump version so users update their config
It has been a while since we've done this but with the new syntax, users
need to update their local.conf if based off the template. Update the
versions to trigger this.

(From meta-yocto rev: 3c2de959f45b7fdff5db32a9a2c3822dbb1fbd27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:29 +01:00
Richard Purdie
a4b9bf3a1e layer.conf: Update to honister
This marks the layers as compatible with honister now they use the new override
syntax.

(From meta-yocto rev: ea637ebd5a79e5d023bbf347d633568bcb7506a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:38:21 +01:00
Richard Purdie
9826f87cb4 meta-poky/meta-yocto-bsp: Convert to new override syntax
This converts the two layers to the new override syntax. This was done using

<oe-core>/scripts/contrib/convert-overrides.py <this-layer>

with no manual fixes.

(From meta-yocto rev: 387eab70f343966267c2a68746aea1bbb8525191)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:38:21 +01:00
Richard Purdie
773f5bbde7 README.poky: Formatting and content cleanup
The README is rather out of date, update the content with the new content
properly in markdown format.

(From meta-yocto rev: d72000219ad03bb8e08c1cc84f6dbf44931155bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Richard Purdie
0764538eb7 README: Move to using markdown as the format
(From meta-yocto rev: d397ed754c04b8ef02b01ae4b439610ede12d9d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-16 16:33:18 +01:00
Ross Burton
8bcbec073f meta-poky: remove clutter references
(From meta-yocto rev: 4c507b7bd9453abce9faf9e764756c01f303d01d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Alexander Kanavin
3160736075 local.conf: Drop support for mklibs
This is not enabled or tested by default, and has never been
ported to python 3 upstream[1], which means it doesn't work at all
with plain poky. If you need it, please put it in a separate layer
and/or modernize to work with py3.

https://salsa.debian.org/installer-team/mklibs/-/blob/master/src/mklibs

(From meta-yocto rev: c8c8f284eb2abe7e1352850a885454487cc01986)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:53:47 +01:00
Ulrich Ölmann
64ba8fc55b local.conf.sample: fix typo
(From meta-yocto rev: 8d872236e713a4b26059039fb32e93e7b602bb6c)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:34 +01:00
Richard Purdie
6f7bc9e4af poky.conf: Post release version bump
(From meta-yocto rev: 63b7374d9053f4f585d7e30fc2347fafa4381528)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Richard Purdie
42514ade8b poky.conf: Bump version for 3.3 hardknott release
(From meta-yocto rev: 32a30ba2b445e5a8440b35f44f0937c1f1190a71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:43:23 +01:00
Richard Purdie
4ae1fce626 layer.conf: Update for hardknott release series
(From meta-yocto rev: f07f28224c9d3d1af5e7a63151da8ad4731fd1c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:57:03 +00:00
Kai Kang
79ae401957 local.conf.sample.extended: sample value for SDK_PS1
Provides a sample default value for SDK_PS1 in
local.conf.sample.extended. It will look like:

poky-glibc-x86_64--cortexa57-qemuarm64-pokysdk:$

(From meta-yocto rev: ce0405745dc302efdb336870b591ed86d73eb304)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 15:24:13 +00:00
Vivien Didelot
d9dba95943 poky: don't use space with +=
Bitbake variables are usually appended with one of:

    FOO_append = " bar"
    FOO += "bar"

While the space is mandatory in the "_append" variant, it doesn't
hurt in the "+=" variant, but it can be misleading.

Remove the space to avoid confusion.

(From meta-yocto rev: 66525f278143b7fe6082c8f5956cdff64b16ff58)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Vivien Didelot
2d3bbfcfba poky: fix typos
Fix fromw -> from typo in poky-world-exclude.inc,
and confiruration -> configuration in poky-tiny.conf.

(From meta-yocto rev: 70f767e9440452bf65dc5c295ae5e336d5622597)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Ulrich Ölmann
89661b6a22 local.conf.sample: fix typo
(From meta-yocto rev: 63323bc90e1fff9e2c94188db5d9fc4bb92e2649)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Richard Purdie
9671321b67 local.conf.sample.extended: Bring back into sync with OE-Core
(From meta-yocto rev: ea6e777cac72f22b56b2c8be0ba05ba164efe5de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:33:44 +00:00
Vivien Didelot
240f7c3018 local.conf.sample.extended: prefer INIT_MANAGER
Since the INIT_MANAGER variable has been introduced, there is no need
to append the distro features and set the init manager manually.

Replace the busybox/mdev and systemd examples with the 4 values
currently supported for the INIT_MANAGER variable.

(From meta-yocto rev: 2433a0f78a7fdb8450ef9ec64fa044274ac7a9e1)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:33:44 +00:00
Vivien Didelot
9cd171b77b local.conf.sample.extended: fix double 'of' typo
Remove the redundant 'of' word in the INITRAMFS_IMAGE comment.

(From meta-yocto rev: 200b05182c74f3f4f778907d5ee92831adb3d77e)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 19:00:51 +00:00
Bruce Ashfield
4c577733f1 poky-alt: don't use conditional assignment for preferred kernel version
The include of poky.conf already sets a preferred kernel version, so the
one in the alt-config won't have any impact.

This normally isn't a problem, but when we are introducing a new kernel
that doesn't yet have compatibility with all machines, it throws warnings.

 WARNING: preferred version 5.10% of linux-yocto not available (for item kernel-module-x-tables)
 WARNING: versions of linux-yocto available: 5.4.69+gitAUTOINC+1c358e1969_cfcdd63145 5.8.13+gitAUTOINC+b976de4f41_5981001bf0

(From meta-yocto rev: a7b41f311eb79a2a112a75160b6d557029ca9904)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
dd4297f586 poky/poky-tiny: set preferred kernel to 5.10
(From meta-yocto rev: c368e39620afd92e0066bc4f5ea1eba6b8f00fd6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Ross Burton
14245dad40 local.conf: add aarch64 to the SDKMACHINE example values
(From meta-yocto rev: 05922833d04205b8b5288b6ccd5f8e32cf1b3bb0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Sinan Kaya
9aae620b95 gcsections: add more suppressions for SDK builds
More suppression is needed for glibc, perl and mingw.

(From meta-yocto rev: 0e0f03888f876f7025aec292689a14925217619d)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:34 +00:00
Richard Purdie
89ae28983c poky: Set SDK_VERSION explicitly
After the change from DATE in DISTRO_VERSION, we need to adjust SDK_VERSION.
Remove the unneeded vardepexclude. Ensure the value of SDK_VERSION only
causes rebuilds when the value changes.

(From meta-yocto rev: dc719ee87b4f40a6cf2eadc5767940ad41ab7d64)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 17:32:51 +00:00
Alexander Kanavin
bf1521fbf1 poky.conf: do not write current date into distro version, use git hash instead
The date leaks into target installs of items like os-release,
and makes them non-reproducible.

(From meta-yocto rev: bd6b25f9a3416ce63e26d763cce7ed1ad4fd816d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Paul Barker
7d7197b282 poky.conf: Drop fedora-30 from tested distros
The autobuilder no longer contains a worker for this distro.

(From meta-yocto rev: d340e38c9ab174d392c61912b0dde1188f06aa6f)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:55 +00:00
Paul Barker
699a00e2d6 poky.conf: Add opensuseleap-15.2 and fedora-33 to tested distros
The autobuilder contains workers for both of these distros.

(From meta-yocto rev: c4e80bda9e1de05453a3dfb5b695cca8e7183967)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:55 +00:00
Sinan Kaya
c39dfcbabc poky-tiny: enable section removal
Use GCC sections flags so that unused sections can be garbage
collected at link time.

(From meta-yocto rev: 70176ee6235c2545e18df855cac2c3524b7e50e4)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:55 +00:00
Alexander Kanavin
e949e76d0f poky/conf-notes.txt: mention more important images than just sato
(From meta-yocto rev: c9321f75f1f830d5a3f2831f4cbdbffdcbc82bf0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:09:38 +00:00
Alejandro Hernandez Samaniego
507717949f poky-tiny: Enable size optimization by default
Compiler size optimization reduces the size of the root
filesystem by 15%, since poky-tiny is meant to be used
on size constrained devices, enable it by default

(From meta-yocto rev: 5e3a784ec7f1456cd3a43ff235719dbfd42a17a6)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:26:16 +00:00
Alejandro Hernandez Samaniego
39a0775c26 poky-tiny: Reduce busybox size by 13%
Busybox has released several new verisions since this config was last
generated, they come with new features, new defaults as well as
dropping some existing features.

This patch updates the defconfig used in poky-tiny to reflect the
changes mentioned above, it also reduces some seldom used functionality,
reducing the installed size by 13%, this can certainly be reduced
further if required.

[YOCTO #12170]

(From meta-yocto rev: b03bda01316d79b53ed2cac97566e647cdaada4f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro.hernandez@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:26:16 +00:00
Richard Purdie
bd15b47a4c poky.conf: Post release version bump
(From meta-yocto rev: 66ecf3bcc112be5ac10c83a97e326130672ffdcb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:26:16 +00:00
Richard Purdie
b7591c86c1 poky.conf: Bump version for 3.2 gatesgarth release
(From meta-yocto rev: 269f81c2b2ac64219c65953bc56bd41317a8db0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:21:46 +01:00
Naoki Hayama
ad30a6d470 local.conf.sample.extended: Fix comment typo
Fix comment typo.
s/overriden/overridden/
s/spefying/specifying/

(From meta-yocto rev: 5c73a7a8cc2ab739128ffe79f29ac5a6acb51c0e)

Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Naoki Hayama
8566644d31 local.conf.sample: Fix comment typo
Fix comment typo.
s/necesary/necessary/

(From meta-yocto rev: 94d1714f8ecbedb6fabad72c58d3e4e86c087202)

Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Richard Purdie
e3cab68b9a poky.conf: Drop OELAYOUT_ABI poking
This has been the same as OE-Core for a long time, drop our custom settings.

(From meta-yocto rev: 8c1084f3fd4ca987c3307f4c4c1475b40060ce3f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09 12:03:31 +01:00
Ross Burton
009d359036 local.conf.sample.extended: remove help2man reference
help2man isn't part of the early build anymore, so there's no point in
referring to it here.

(From meta-yocto rev: c601f5bd5ddfe8e8be709a4541b95c772a0d3b6f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:21:07 +01:00
Alexander Kanavin
104ff3c834 poky.conf: do not install packagegroup-core-device-devel into qemu images
The purpose of the group and what it should contain is no longer clear, and
generally adding userspace development items to images is best done
at the image/class level.

(From meta-yocto rev: 4c1c19a94779d16ef8d2c81de395387727143896)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:38 +01:00
Bruce Ashfield
2c526ee6ef poky: add preferred version for linux-yocto-rt
As a step towards getting more testing on -rt, we should explicitly
set the preferred version for linux-yocto-rt.

Newly introduced kernels lag in -rt support (as we wait for upstream
projects), so we don't want the version to always be the latest by
default.

(From meta-yocto rev: 8d717a646b3b767105a70e58e5c4372f6b51b411)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:05 +01:00
Bruce Ashfield
c29259e468 poky-tiny: set preferred version to 5.8
Even though tiny isn't extensively used (it was referencing a
removed kernel version), it still should be updated to the latest.

Build testing passed with the 5.8 kernel, so we make it the
preferred version.

(From meta-yocto rev: 45ce0906c38e3b7aedb5c5bb30b5eb4a9dd0c83c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:05 +01:00
Richard Purdie
3cfc4e9fa9 local.conf.sample: Document memory resident bitbake
Add an example of how to enable this to local.conf.sample

(From meta-yocto rev: e29dbff72bdfb99cf672599e8d1814e51ab7290a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:50 +01:00
Bruce Ashfield
b237b62d47 poky: set preferred version for linux-yocto to be v5.8
(From meta-yocto rev: 49675e0eb7f41eed9c93c77af424be9ec43f4144)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 01:00:37 +01:00
Richard Purdie
a35bf0e5d3 poky.conf: Add Fedora 32, remove Ubuntu 19.04 and poky-2.7
Update the list of distros we test to match the current autobuilder
workers.

(From meta-yocto rev: 0ddf2ae6ec099af5c149d68fc69464ddce2fbe85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-28 18:13:24 +01:00