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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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-1https://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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>