Instead of overriding WARN_QA and ERROR_QA, edit the defaults to remove specific
tests from WARN_QA and add them to ERROR_QA.
This should avoid tests being added to poky.conf but not insane.bbclass
(unknown-configure-option wasn't enabled in oe-core), or vice versa (infodir
wasn't enabled in Poky).
(From meta-yocto rev: 32f5014c871f5fd86262fb6a87b60360b1b21d07)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe didn't do anything beyond opkg-arch-config so it was deleted from
oe-core. Update the Poky distro configuration to stop install it.
(From meta-yocto rev: fc4daa22422accc83ce03d74fc32312f1b93aff0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The toaster layer configuration file is updated to specify
sane default for more build configuration variables.
Minor whitespace changes to beautify the file.
Rebased by Alex from a patch written by David Reyna.
(From meta-yocto rev: e6ac763a6f13c6338b5f7d6254ba763d9619a25b)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using anything build appliance based will emit the warning:
WARNING: Host distribution "poky-1.7" has not been validated with
this version of the build system; you may possibly experience
unexpected failures. It is recommended that you use a tested distribution.
The chain of events leading to this is:
1) At image creation time:
meta-yocto/conf/distro/poky.conf:
DISTRO = "poky"
meta/recipes-extended/lsb/lsb_4.1.bb:
echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release
2) At deployment/usage time of the created image:
meta/lib/oe/lsb.py:
output, err = bb.process.run(['lsb_release', '-ir'], stderr=PIPE)
meta-yocto/conf/distro/poky.conf:
SANITY_TESTED_DISTROS ?= " \
Poky-1.6 \n \
Poky-1.7 \n \
[...]
meta/classes/sanity.bbclass:
distro = oe.lsb.distro_identifier()
tested_distros = sanity_data.getVar('SANITY_TESTED_DISTROS', True)
and hence the lsb.distro gets the lower case "poky" which fails to
match the upper case "Poky" used in SANITY_TESTED_DISTROS.
(From meta-yocto rev: 3373b04f8a61e5daa5d24501c0c7d8f947afb3f8)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemumips64 machine lacks a qemu system emulator,
so add it.
Fix for [YOCTO #7082].
(From meta-yocto rev: 881f334879a42934ba50281c558eefcd8a74ad9e)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's rather unlikely with a distribution such as CentOS that they would
introduce changes that would cause us issues that we would not be
prepared to fix; therefore use a wildcard to suppress the warning (in
any case, CentOS 6.6 is now the current 6.x version.)
Also add CentOS 7 as we are running regular builds on CentOS 7 machines
as part of the autobuilder infrastructure.
(From meta-yocto rev: 7eba5a772bb9e78288b4d8034d2f1925228a6343)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added to the default value of WARN_QA in insane.bbclass in
OE-Core, but we missed adding it to the value set in poky.conf.
(From meta-yocto rev: 125621909c69ac00ca90e6001b7798c5123b0405)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an example machine configuration for qemuarm64.
(From meta-yocto rev: b1ba8091bf69c636821c443177b7768cd84d4c63)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update package_regex.inc in order to match upstream versions, remove unnecesary
records because bb.fetch2 latest_versionstring method match this cases.
Update upstream_info.inc remove un-updated records.
(From meta-yocto rev: 0b9346afa6c09eca2e9738a55929af56de8dec55)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Increase the ABI number to match the kernel build process change.
(From meta-yocto rev: 4214e61977dab113f5a8a1e1c9b3efe975c56c3a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some minor changes to the names and descriptions
used in the Toaster configuration file:
* Change the local layer source name from Local Poky to Local
Yocto Project to match release naming, which makes no reference
to Poky
* Change Imported Layer Source to just Imported layers. It is
shorter, which helps table display
* Change the helptext of the dizzy release to remove the
"latest" reference, since might make maintenance hard
(From meta-yocto rev: ab1326597bbc505c5beade577206de78cda2dae8)
Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Debian 8 (codename Jessie) is frozen and has been in use in our
machines for some time. It has been working fine and as it is about to
be released it is better to whitelist it and remove the ugly warning
from build logs.
(From meta-yocto rev: 1e34f87ace4a5c03c1be544acb7877c11bca9a28)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since Bitbake fetcher implements latest version string methods using bs4 to parse
HTML data some regexes need update because bs4 gives functionality to get href
entries and isn't necessary put pattern [hH][rR][eE][fF] into it, this make
maintenance easier.
Compatibility testing was made running distrodata class and the result files
can be found at:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=1813
[YOCTO #1813]
(From meta-yocto rev: 9a926dda9f945f181775f64f024af7ee2ea8e6a4)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The toasterconf.json file listed wrong local path values
for meta-yocto and meta-yocto-bsp. This patch fixes the values.
(From meta-yocto rev: ffbb53656090590348bd9f70a6158d17adf0b30d)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In managed mode, Toaster tries to create project configuration
based on the layers that are being checked-out on disk.
This is done by using a JSON configuration file that is
layer-specific.
This patch adds toasterconf.json files to the meta-yocto layer,
allowing Toaster projects based on Yocto Project releases.
(From meta-yocto rev: 3011da795a1c208438424e064cd5f77a21b6a87a)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The blacklist class is now automatically inherited.
(From meta-yocto rev: b61b1c2d309ae46ae15cd97eaf4ece8aff20319d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By doing this we will enable the LTSI kernel (3.10 at this time) for the LSB
based images.
[YOCTO #6853]
(From meta-yocto rev: 4f828e2160942cb05c93fa6f48a5a4b590940497)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated as the rpm upstream suggested:
- RPM_PREFER_COLOR -> RPM_PREFER_ELF_ARCH
- 3 -> 4
(From meta-yocto rev: 4bc3b88bbf626e412b5e3892d0b6fbe641e1cb1a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3.17 has problems with:
a) CONFIG_USB_WACOM -> CONFIG_HID_WACOM
b) The wacom driver no longer working with qemu
c) The USB stack being missing on arm and ppc
and these are just the issues we know about. Switch back to 3.14
until 3.17 is fixed.
This reverts commit 6a56492f3a.
(From meta-yocto rev: 60ff51c7a53865ac6d6f04119264982fc6a7fa4e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3.17 is ready and stable to be used as the default for the qemu* BSPs,
so we update their preferred version to reflect this.
(From meta-yocto rev: 7d6a692ab48e793ec2af79303d160ddb4fca324d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add note on regarding nettle upgrade
V2: add missing '_pn'
: more description.
Nettle version 3.0.0 breaks gnutls build do
to api changes. Updating to nettle 3.0 is on
gnutls roadmap
https://www.gitorious.org/gnutls/pages/Plan3_4
(From meta-yocto rev: 3cf0833b08329c734da9ea4330eedea9b3431299)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now there are other PACKAGECONFIG options to qemu, we need
to append to the list.
(From meta-yocto rev: 64eda23b154196a499a011f9a276cadf1dd04b88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The `groupdel' command doesn't support '-g' option, so remove it.
[YOCTO #6575]
(From meta-yocto rev: 2dd9b0f4f6186c4e93c84fe8880b9f7905f9998a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the CHECK_DATE and various UPDATE_REASON/UPDATE_VERSION fields
for various recipes I maintain.
(From meta-yocto rev: f16a309c722ea021d351d42a2e2853e771f51c82)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, BB_NUMBER_THREADS and PARALLEL_MAKE default to unset and
are set in local.conf. Now that we have the automatic probing,
the default values can be set in bitbake.conf and an example of
explicitly defining how many tasks to run can be moved to
local.conf.sample.extended.
[YOCTO #6217]
Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable SDL by default for nativesdk as we do with natve, this will
allow qemu with ADT to use graphics no vnc by default.
[YOCTO #6446]
(From meta-yocto rev: 42001a84f793841a5859b53fe7bc565ac6a94833)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch allows for an optional new layout for ipk feed directories which I've
called a 'hierarchical feed' and is based on how Debian pools package files. It
is disabled by default and is enabled by setting IPK_HIERARCHICAL_FEED to "1".
In the traditional feed layout, package files are placed in <outdir>/<arch>/.
This can lead to several thousand files existing in a single directory which is
often a problem if developers want to upload a package feed to a shared web
hosting provider. For example, in my case, listing files via FTP only shows the
first 2000 files, breaking my scripts which attempt to upload only new and
changed files via FTP.
In the hierarchical feed, package files are written to
<outdir>/<arch>/<pkg_prefix>/<pkg_subdir>, where pkg_prefix is the first letter
of the package file name for non-lib packages or "lib" plus the 4th letter of
the package file name for lib packages (eg, 'l' for less, 'libc' for libc6).
pkg_subdir is the root of the package file name, discarding the version and
architecture parts and the common suffixes '-dbg', '-dev', '-doc', '-staticdev',
'-locale' and '-locale-*' which are listed in meta/conf/bitbake.conf.
This change relies on recent patches to opkg-utils which support hierarchical
package feeds.
(From meta-yocto rev: a0ab1527f975343f325fb2a5b0ecd14acdd65bc0)
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable is a left-over from early glibc recipes.
It is not referenced anymore in oe-core, and its functionality
has been replaced with 'GLIBC_GENERATE_LOCALES'.
Also remove the reference to it in local.conf.sample.extended.
(From meta-yocto rev: 863e8e26d181ef2210578084442693bcd7cfb765)
Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
js package is no longer present in oe-core;
Removed Cristian Iorga as maintainer.
(From meta-yocto rev: 7904a4c10122aa87ca815d1fad06803bb38fdcda)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The base_contains is kept as a compatibility method and we ought to
not use it in OE-Core so we can remove it from base metadata in
future.
(From meta-yocto rev: 5021839af713cb34bea5888981f2184104b6d35e)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added new package data and resorted per
http://article.gmane.org/gmane.linux.embedded.poky/9253
Removed -native packages as distrodata handles them in OVERRIDES.
However, meta packages and grub-efi are special and needs some
handling within distrodata. I have a patch for this but for the
release I'm leaving them within distro-alias.
(From meta-yocto rev: 8dd51c4781634eb4cf3b431fcc1efd33b6653e7c)
Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable large file support for uclibc.
This patch also solves the build issue
reported for uclibc (poky-tiny).
[YOCTO #5865]
(From meta-yocto rev: 9ab612bf3bc709116572419f0e8155d1a047541c)
Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a patch in oe-core to remove the recipe
packagegroup-toolset-native.bb, then we also need to remove it from
distro_alias.inc.
(From meta-yocto rev: 98e86ada4827013af0e9a0e9719d65cde329ecd8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the filter license comment for archiver.bbclass.
[YOCTO #5740]
(From meta-yocto rev: e8be485da68abcdda17004c539e37ead5283fc4c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated it since we have refactored the archiver.bbclass.
[YOCTO #5113]
(From meta-yocto rev: 0bb498b011113ddf79a51675678bb46b32490237)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These files were somewhat out-of-date with regard to some of the changes
that have happened with packagegroups and images, so update them.
(From meta-yocto rev: 752d64f5e2c9cccf939b131bbcb5bd52b5d1e6c6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a point release and is an automatic upgrade for users of 6.4.
(From meta-yocto rev: 6585869c990ab39abd99c4089ec79f8e6306a916)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The correct file is security_flags.inc not .conf and it's probably
a good idea to make it a require so it's a hard fail.
(From meta-yocto rev: ead070c98f81dbc06e710926f04debf89d3440c5)
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #5436]
Automatic selection of static uid/gid is needed for a dynamically generated
passwd and group file to have a deterministic outcome.
When a package is installed and instructs the system to add a new user or
group, unless it selects a static uid/gid value, the next available uid/gid
will be used. The order in which packages are installed is dynamically
computed, and may change from one installation to the next. This results
in a non-deterministic set of uid/gid values.
Enabling this code by adding USERADDEXTENSION = "useradd-staticids", and
adding a preconfigured passwd/group file will allow the continued dynamic
generation of the rootfs passwd/group files, but will ensure a deterministic
outcome. (Dynamic generation is desired so that users and groups that have
no corresponding functionality are not present within the final system image.)
The rewrite params function will override each of the fields in the
useradd and groupadd calls with the values specified. Note, the password
field is ignored as is the member groups field in the group file. If the
field is empty, the value will not be overridden. (Note, there is no way
to 'blank' a field, as this would only generally affect the 'comment' field
and there really is no reason to blank it.)
Enabling USERADD_ERROR_DYNAMIC will cause packages without static uid/gid
to generate an error and be skipped for the purpose of building. This is
used to prevent non-deterministic behavior.
USERADD_UID_TABLES and USERADD_GID_TABLES may be used to specify the name
of the passwd and group files. By default they are assumed to be
'files/passwd' and 'files/group'. Layers are searched in BBPATH order.
(From OE-Core rev: 18c99dac52b746b88cd084eb4c2a2ef0329a6ff3)
(From meta-yocto rev: 48580430b6d23730940474cc3d6d7fbd3ad247bf)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit a54932dc37.
pkgconfig does not pull in glib->dbus anymore
(From meta-yocto rev: 4556c2b14f00d011e203d70bcc0ba8e70ec74d51)
Signed-off-by: Krzysztof Sywula <krzysztof.m.sywula@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its rather sad that people don't appear to read local.conf and then complain
about slow builds when they're just using a single thread. Most systems have
more than one core now so we might as well use a more automatic default
for these values. This may lead to better experiences for new users.
[YOCTO #2528]
(From meta-yocto rev: 52bf4bdcaea0df69231327413d502aad11c3adf3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian Squeeze is not a supported platform, since the bitbake python
dependency on Python was bumped to 2.7.
(From meta-yocto rev: d18666aebe2d1889dcf45dc0fda491970cb77433)
Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7.3 is a point release with security and bug fixes only, and I can
confirm that it works.
(From meta-yocto rev: baf65c002f6bc2ecf6c61a8ec5f1ad8b994b033d)
Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glib-2.0: out of date, it was added before/when 2.35.8, now we use 2.38.2
(From meta-yocto rev: afaac61f9319473ac4f62597ba69880cd5ba29d9)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul has agreed to reassign e2fsprogs to Robert
(From meta-yocto rev: 99eb907f6fe6fae9ead54523782baa64a700c0ec)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From meta-yocto rev: 49d8093a6c8b2040075377c8f54fc33103c75b5b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove/update the following entries:
autoconf: out of date, it was added before/when 2.68, now we use 2.69
autogen: out of date, it was added before/when 5.12, now we use 5.17.4
automake: out of date, it was added before/when 1.12, now we use 1.14
pn-gmp: out of date, it was added before/when 5.0.5, now we use 5.1.1
makedevs: out of date, it was added before/when 1.0.0, now we use 1.0.1
glib-2.0: update it.
(From meta-yocto rev: dd92507c6734ad4ab72367a159067482516190f3)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the SDL configuration option for qemu floats. This is confusing to new users
and makes the build non-determinstic. This patch adds a PACKAGECONFIG option, defaulting
to off and adds documentation to local.conf.sample leaving it on by default since this
is the configuration our quick start assumes.
(From meta-yocto rev: 1ddafa2d5200793f81808d79d1668282d57c2e93)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Poky commit ba8506ee34 reverted some
previous changes that hadn't been applied in the OE-Core version of this
file. This patch restores them and tweaks a couple of sentences so that
they make sense.
(From meta-yocto rev: 38afe2938a54b59231598be8e8646564457f4d97)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are all obsolete now.
(From meta-yocto rev: 293f0780c7864413ca89d5d53ec7215e1e612a2d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hongxu, Qi, Chong and Robert takes 80 recipes.
(From meta-yocto rev: eb15164117e49944306c8fbf0d70a07f2cbed7f0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>