]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
6 years agodmidecode: update to 3.2
Alexander Kanavin [Thu, 22 Nov 2018 15:41:24 +0000 (16:41 +0100)] 
dmidecode: update to 3.2

Also, replace a sed hack with a proper patch.

(From OE-Core rev: bdde940c05490d3128721e4f5eb67d456e7cc323)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl10: update to 1.0.2q
Alexander Kanavin [Thu, 22 Nov 2018 15:41:22 +0000 (16:41 +0100)] 
openssl10: update to 1.0.2q

(From OE-Core rev: 03149ca307282c22dd9ceb6fe3224bf586b03f6d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogobject-introspection: update to 1.58.1
Alexander Kanavin [Thu, 22 Nov 2018 15:41:21 +0000 (16:41 +0100)] 
gobject-introspection: update to 1.58.1

Also, change default meson option to building introspection files
(previously they were not built by default).

(From OE-Core rev: 44e5bbbbed500553d1ddf451eba02e826a91e4cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl: don't disable the AFALG engine based on host kernel
Ross Burton [Thu, 22 Nov 2018 14:05:16 +0000 (14:05 +0000)] 
openssl: don't disable the AFALG engine based on host kernel

Whether the AFALG engine (use of hardware crypto via AF_ALG) is enable or
disable depends on whether the host kernel is 4.1 or above, which has no bearing
on whether the target system supports it.

Remove the complicated logic and simply enable/disable as requested.

(From OE-Core rev: 4b6c566c0540fe8e560d0feeb9c765c0eb6e5182)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl: output the configure data in do_configure
Ross Burton [Thu, 22 Nov 2018 14:05:15 +0000 (14:05 +0000)] 
openssl: output the configure data in do_configure

To aid debugging configure, dump the configdata in do_configure.

(From OE-Core rev: a385e6c47663854a375d061033efc856361f3dba)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodocumentation: Add newlib to TCLIBC's [doc] entry
Richard Purdie [Thu, 22 Nov 2018 15:44:12 +0000 (15:44 +0000)] 
documentation: Add newlib to TCLIBC's [doc] entry

TCBLIC can be set to 'newlib' now, document this.

[YOCTO #13032]

(From OE-Core rev: d06271500c485686536352f1202a74d21c51a406)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomdadm: Upgrade to 4.1
Mingli Yu [Thu, 22 Nov 2018 07:49:49 +0000 (23:49 -0800)] 
mdadm: Upgrade to 4.1

* Remove 5 backported patches
* Refresh patches to remove fuzz warnings

(From OE-Core rev: a455616df65f1e9dac5e283a9cda047868465d23)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogcc: Select proper ARC CPU when build for target
Alexey Brodkin [Thu, 22 Nov 2018 12:06:00 +0000 (15:06 +0300)] 
gcc: Select proper ARC CPU when build for target

By default GCC for ARC is configured with ARC700 CPU.
This means when we don't pass "-mcpu=xxx":
 a) Code will be compiled for ARC700
 b) Libs will used for ARC700

And if we happen to run on ARCv2 core like ARC HSxx we
won't be able to use target gcc w/o "-mcpu=xxx" which
is not very convenient as we want to build "target" toolchain
but not canadian-cross.

Note the trick here is we set TUNE_PKGARCH in just 2 values,
it is either "arc700" for all ARCompact cores (ARC750 & ARC770)
and "archs" for all ARCv2 cores (ARC HS38 & HS48), see [1].
This gives us usable defaults.

For cross-compilation we use TUNE_CCARGS for fine-tuning depending
on which HW features we have on the current target so that
we may have HW feature A & B or B & C or A & B & C, see [2].

[1] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/conf/machine/include/tune-arcv2.inc#L4
[2] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/conf/machine/include/tune-arcv2.inc#L34

(From OE-Core rev: 6d2e44db7ebada41ad1cfc1c98ce9012242ced11)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosstate.bbclass: set SSTATE_EXTRAPATHWILDCARD explicitly
Robert Yang [Thu, 22 Nov 2018 11:51:59 +0000 (19:51 +0800)] 
sstate.bbclass: set SSTATE_EXTRAPATHWILDCARD explicitly

The glob.glob("/sstate/*/*/") is very time consuming, set
SSTATE_EXTRAPATHWILDCARD explicity to avoid that. This can save a lot of time
when there are many sstate files.

For example, I have more than 600,000 sstate files:
* Before
  - Without disk caches
  $ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
    real    4m32.583s
    user    0m5.768s
    sys     0m12.892s

  - With disk caches
  $ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
  real    0m4.111s
  user    0m2.348s
  sys     0m1.756s

* After
  $ time python3 -c 'import glob; glob.glob("/sstate-cache.bak/universal/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
  - Without disk caches:
  real    0m7.928s
  user    0m0.172s
  sys     0m0.124s

  - With disk caches:
  real    0m0.131s
  user    0m0.088s
  sys     0m0.044s

We can see that it saves about 3.8s with disk caches, and saves about 264s
without disk caches.

(From OE-Core rev: 8b31c919814b8bdf25b3381053656523c001ae0d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoterminal: Cope with unreleased versions of tmux
Mike Crowe [Thu, 22 Nov 2018 10:14:08 +0000 (10:14 +0000)] 
terminal: Cope with unreleased versions of tmux

When tmux is built from a non-release Git version, its version number is
"next-X" where X appears to be the expected version number for the next
release. For example, when built from the current state of master, running
"tmux -V" yields:

 tmux next-2.9

Currently check_tmux_pane_size only checks for the version being less than
1.9, so it seems unfair to fail with an obscure Python error in this case.

Let's just use the version number after the "next-" prefix if it is
present.

(From OE-Core rev: 07b59afd52244410d8d833e6dfe262d952e5e344)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotestimage: Add support for slirp
Yeoh Ee Peng [Thu, 22 Nov 2018 09:10:46 +0000 (17:10 +0800)] 
testimage: Add support for slirp

Enable testimage to support qemu slirp. Configure "QEMU_USE_SLIRP"
& "TEST_SERVER_IP" variables to enable slirp.

[YOCTO#10713]

(From OE-Core rev: 3df9ee85ce7fe52f0893fd33aea3bf1fcc6ead0a)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/qemu: Add support for slirp
Yeoh Ee Peng [Thu, 22 Nov 2018 09:10:45 +0000 (17:10 +0800)] 
oeqa/qemu: Add support for slirp

Enable qemu for slirp. Initialize Qemurunner with slirp. Setup ip
and port attribute to enable connection with qemu running with slirp.

[YOCTO#10713]

(From OE-Core rev: 815e05ac4abb42238d6fdeb15d7426759e059ce1)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemurunner: Add support for slirp
Yeoh Ee Peng [Thu, 22 Nov 2018 09:10:44 +0000 (17:10 +0800)] 
qemurunner: Add support for slirp

Enable qemurunner for slirp. Retrieved the ip & port from host machine
to connect to qemu from host machine.

[YOCTO#10713]

(From OE-Core rev: 1db6a6fc9cde28d0a29bcf6d24a8bfbe51d120b1)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/qemu & runtime: qemu do not need ip input from external
Yeoh Ee Peng [Thu, 22 Nov 2018 09:10:43 +0000 (17:10 +0800)] 
oeqa/qemu & runtime: qemu do not need ip input from external

Qemu do not use the ip input from external. It will
retrieve ip from QemuRunner instance and assign
ip value.

(From OE-Core rev: 14d99dc6c39c963ba3e0d9a30274846bd5369210)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: fetch: don't use shell=True when listing ar files
Ross Burton [Fri, 23 Nov 2018 15:01:22 +0000 (15:01 +0000)] 
bitbake: fetch: don't use shell=True when listing ar files

(Bitbake rev: 7414b3537e8adfb41a9581d70bf8296c4f7d38c0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: layerindex: don't use shell=True when cloning
Ross Burton [Fri, 23 Nov 2018 15:01:21 +0000 (15:01 +0000)] 
bitbake: layerindex: don't use shell=True when cloning

(Bitbake rev: cb4aab7406dc8aefb646b37330b722cf9060ad73)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated list of supported Linux Distros:
Armin Kuster [Mon, 19 Nov 2018 19:36:54 +0000 (11:36 -0800)] 
ref-manual: Updated list of supported Linux Distros:

Updates for the "thud" release.

(From yocto-docs rev: ccd2d2c7b062627a3fd1961ab23ee6fff714428a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodev-manual: Added note stating no WSL support
Scott Rifenbark [Fri, 16 Nov 2018 18:02:29 +0000 (10:02 -0800)] 
dev-manual: Added note stating no WSL support

The Windows Subsystem for Linux is not supported.  Added a note
in the section on setting up the build host.

(From yocto-docs rev: e6c3b0acd77569e0422cf86e7dc56433e76bdf20)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added a note saying WSL is not supported.
Scott Rifenbark [Fri, 16 Nov 2018 17:55:51 +0000 (09:55 -0800)] 
ref-manual: Added a note saying WSL is not supported.

Windows Subsystem for Linux (WSL) is not supported with the
Yocto Project.

(From yocto-docs rev: 0898d7fb7166da91598854f385cd574004098ac3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobrief-yoctoprojectqs: Added warnings about WSL, which can't be used.
Scott Rifenbark [Fri, 16 Nov 2018 17:38:39 +0000 (09:38 -0800)] 
brief-yoctoprojectqs: Added warnings about WSL, which can't be used.

Windows Subsystem for Linux (WSL) is not compatible with the
Yocto Project.  Added information in the beginning to note this
fact to the user.

(From yocto-docs rev: d8fcc0e3dc609086ca82a3419a337350f4e5c529)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokernel-dev: Updated phrasing for what a "defconfig" file is.
Scott Rifenbark [Thu, 15 Nov 2018 22:30:15 +0000 (14:30 -0800)] 
kernel-dev: Updated phrasing for what a "defconfig" file is.

It was over simplistic.

(From yocto-docs rev: 1c17e3ef607d18c89c3e20d2d44eb5120779cd2c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated image_types.bbclass description.
Ming Liu [Wed, 14 Nov 2018 19:57:18 +0000 (11:57 -0800)] 
ref-manual: Updated image_types.bbclass description.

The "image_types" class is now inherited mandatorily in
image.bbclass through the variable IMGCLASSES.  Users do not
have to inherit it in their customized image type bbclass.
They also do not have to put it in IMAGE_CLASSES.

(From yocto-docs rev: bd391092b216e39dad317dc1aae5c715371766ef)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added description for devupstream.bbclass
Scott Rifenbark [Wed, 14 Nov 2018 19:07:12 +0000 (11:07 -0800)] 
ref-manual: Added description for devupstream.bbclass

New section added.

Fixes [YOCTO #12732]

(From yocto-docs rev: 3d4a1fef8e1809cd7f1dece55790b6ee12dc60b3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodev-manual: Updated the "Post-Installation Scripts" section.
Scott Rifenbark [Tue, 13 Nov 2018 18:29:59 +0000 (10:29 -0800)] 
dev-manual: Updated the "Post-Installation Scripts" section.

Added a better, more up-to-date description of the way to defer
a post-installation script past the boot.

(From yocto-docs rev: 1bcec14eed720fd05e81fbe7ecaa2f95174c0fbf)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added cross-references to "Post-Installation Scripts"
Scott Rifenbark [Tue, 13 Nov 2018 18:13:20 +0000 (10:13 -0800)] 
ref-manual: Added cross-references to "Post-Installation Scripts"

Two areas in the migration chapter discuss the post-installation
behavior when you defer the scripts to after boot.  I added a
couple references to each of those migration note sections that
go into the dev-manual's section.

(From yocto-docs rev: eeb09b5fa208499f37be4e5aafcf55db82715fd1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated "Packaging Changes" section for 2.6 migration.
Scott Rifenbark [Tue, 13 Nov 2018 17:41:20 +0000 (09:41 -0800)] 
ref-manual: Updated "Packaging Changes" section for 2.6 migration.

Changed reference to "python-modules" to "python-modules /
python3-modules".

(From yocto-docs rev: 49d66f928366dda19b6afd1e9ac6431f0f66ab21)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Applied review edits to the 2.6 migration section.
Scott Rifenbark [Mon, 12 Nov 2018 17:18:43 +0000 (09:18 -0800)] 
ref-manual: Applied review edits to the 2.6 migration section.

Minor fixes here and there.

(From yocto-docs rev: 740b4392bd98a12f188b79ae3ecdc7c3031f9f7d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: New 2.6 Migration section complete.
Scott Rifenbark [Fri, 9 Nov 2018 22:47:57 +0000 (14:47 -0800)] 
ref-manual: New 2.6 Migration section complete.

(From yocto-docs rev: 6597ea2d706e3975ff0ffae15cf748ffd7aaed8b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added new python3 profile-optimization migration topic
Scott Rifenbark [Fri, 9 Nov 2018 22:38:23 +0000 (14:38 -0800)] 
ref-manual: Added new python3 profile-optimization migration topic

(From yocto-docs rev: 2d0960d9282ffcb843ed9956a0e49183b22f11f2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated postinstall migration note.
Scott Rifenbark [Fri, 9 Nov 2018 22:21:05 +0000 (14:21 -0800)] 
ref-manual: Updated postinstall migration note.

(From yocto-docs rev: fa6582df36d770e7207e4c5201dafe0e64f46a76)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updates to the 2.6 migration section.
Scott Rifenbark [Fri, 9 Nov 2018 20:32:26 +0000 (12:32 -0800)] 
ref-manual: Updates to the 2.6 migration section.

This is the completed first draft.

(From yocto-docs rev: 45d39b7655ea5b515c8dda91249a84ee19387099)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added KERNEL_ARTIFACT_NAME and adjusted referencing variables.
Scott Rifenbark [Fri, 9 Nov 2018 20:30:33 +0000 (12:30 -0800)] 
ref-manual: Added KERNEL_ARTIFACT_NAME and adjusted referencing variables.

The KERNEL_ARTIFACT_NAME variable is used throughout to set the names
of build artifacts.  Rather than repeat informaiton about
KERNEL_ARTIFACT_NAME in the many variables that use it, I added
a new entry for the variable.  This also impacted the descriptions
of the variables that were repeating information.  I updated those
variable descriptions as well.

(From yocto-docs rev: 5750d30be21e17fe21d89254925dc0e773c08e66)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Removed the NOISO and NOHDD references.
Scott Rifenbark [Fri, 9 Nov 2018 18:52:35 +0000 (10:52 -0800)] 
ref-manual: Removed the NOISO and NOHDD references.

(From yocto-docs rev: fdce52a34db29c98140daa05bd9c660a2494dc12)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodev-manual: Removed occurrence of mkefidisk.sh script.
Scott Rifenbark [Fri, 9 Nov 2018 18:51:42 +0000 (10:51 -0800)] 
dev-manual: Removed occurrence of mkefidisk.sh script.

Script has been removed.

(From yocto-docs rev: c23de8eb2648f98864579e857a1de0b2ed74532a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Removed the NOISO and NOHDD variables.
Scott Rifenbark [Fri, 9 Nov 2018 18:49:11 +0000 (10:49 -0800)] 
ref-manual: Removed the NOISO and NOHDD variables.

(From yocto-docs rev: bdb67279cd6707e5b0141ecfbfbc09101d508ef4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added several new sections to the 2.6 migration section.
Scott Rifenbark [Thu, 8 Nov 2018 00:48:29 +0000 (16:48 -0800)] 
ref-manual: Added several new sections to the 2.6 migration section.

(From yocto-docs rev: 54703fbde3f7808b9257da883fe8e4769a65fc44)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added new artifact naming variables to glossary.
Scott Rifenbark [Thu, 8 Nov 2018 00:47:49 +0000 (16:47 -0800)] 
ref-manual: Added new artifact naming variables to glossary.

(From yocto-docs rev: ed122fae8ec6e9eb38c196decfc6f5016945f4ee)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Changed "post 2.6" to correct wording.
Scott Rifenbark [Tue, 6 Nov 2018 19:16:18 +0000 (11:16 -0800)] 
ref-manual: Changed "post 2.6" to correct wording.

I changed the wording "post 2.6" to state "2.6 and
forward".  It was incorrect as the changes are  inclusive
of YP release 2.6.

(From yocto-docs rev: fb3f3db17ea416cd829a291df3933cc3597392b8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added KERNEL_IMAGE_NAME description
Scott Rifenbark [Tue, 6 Nov 2018 18:31:08 +0000 (10:31 -0800)] 
ref-manual: Added KERNEL_IMAGE_NAME description

The KERNEL_IMAGE_NAME variable is new and is effectively
a renamed KERNEL_IMAGE_BASE_NAME variable now.  I provided a
new glossary description for the new variable.  I updated the
existing KERNEL_IMAGE_BASE_NAME description to note it has
changed.  We can't just delete the old variable as there are
migration notes for previous releases of YP.

(From yocto-docs rev: e5a38711342f88ded4368521a70e9d117b6d991c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added GCCVERSION variable description to glossary.
Scott Rifenbark [Tue, 6 Nov 2018 16:49:16 +0000 (08:49 -0800)] 
ref-manual: Added GCCVERSION variable description to glossary.

(From yocto-docs rev: 8095f61c0bf0bbfc7fcf83e3f1c080913ed5f17d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated migration section for 2.6
Scott Rifenbark [Fri, 2 Nov 2018 15:48:58 +0000 (08:48 -0700)] 
ref-manual: Updated migration section for 2.6

Made two minor corrections from reviewer feedback.

(From yocto-docs rev: 765e44127f52e1d9d4d1c365b0574ca73364add2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated 2.6 migration topic "_remove"
Scott Rifenbark [Wed, 31 Oct 2018 17:38:21 +0000 (10:38 -0700)] 
ref-manual: Updated 2.6 migration topic "_remove"

Provided more explanation and also a link into the BB manual
for a detailed example.

(From yocto-docs rev: ca1e113dc837f5104f765b655880a87d1fbd66ac)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added the 2.6 Migration Section.
Scott Rifenbark [Tue, 30 Oct 2018 21:11:01 +0000 (14:11 -0700)] 
ref-manual: Added the 2.6 Migration Section.

Provided some new sections on the information for migrating from the
2.5 release to the 2.6 release.

(From yocto-docs rev: dd721a31594c753d7229c45ebad0ce11640a0704)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated testimage and testsdk class descriptions.
Scott Rifenbark [Tue, 30 Oct 2018 19:14:55 +0000 (12:14 -0700)] 
ref-manual: Updated testimage and testsdk class descriptions.

I added notes indicating that the best practice for automated testing
is to inherit these classes by using the IMAGE_CLASSES variable instead
of the INHERIT variable.

(From yocto-docs rev: 8f4765db897c20f0011ea65f62d6b45495d313d2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual, dev-manual: Removed TEST_IMAGE for TESTIMAGE_AUTO.
Scott Rifenbark [Tue, 30 Oct 2018 18:41:37 +0000 (11:41 -0700)] 
ref-manual, dev-manual: Removed TEST_IMAGE for TESTIMAGE_AUTO.

The TEST_IMAGE variable went away and was replaced with the
TESTIMAGE_AUTO variable.  Fixed all related/affected areas.

(From yocto-docs rev: 660da40b4fcdc05666e1877037fa63eb1dfe7227)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopoky.ent: Updated release month to November 2018 (thud)
Scott Rifenbark [Tue, 30 Oct 2018 15:46:54 +0000 (08:46 -0700)] 
poky.ent: Updated release month to November 2018 (thud)

(From yocto-docs rev: b90dd0f7e8d6762bb5dafaedd10cbc01044635d3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomaintainers: Add entry for new recipe libdazzle
Richard Purdie [Thu, 22 Nov 2018 10:00:12 +0000 (10:00 +0000)] 
maintainers: Add entry for new recipe libdazzle

(From OE-Core rev: c80972be1f3592d797da9eb0845b739420c6da4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogtk+3: update to 3.24.1
Alexander Kanavin [Wed, 21 Nov 2018 17:02:59 +0000 (18:02 +0100)] 
gtk+3: update to 3.24.1

(From OE-Core rev: d76fa906dd603bd8eadd1932048969065ebd3aab)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibdazzle: add recipe
Alexander Kanavin [Wed, 21 Nov 2018 17:02:58 +0000 (18:02 +0100)] 
libdazzle: add recipe

This is a new requirement of epiphany web browser.

(From OE-Core rev: 7bce6eb66749b7f773c24868cf85ebfcda8d636b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoepiphany: update to 3.30.2
Alexander Kanavin [Wed, 21 Nov 2018 17:02:57 +0000 (18:02 +0100)] 
epiphany: update to 3.30.2

libdazzle is a new requirement

(From OE-Core rev: 2a02ed07785dc68045c746d350199702856e6d8d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowebkitgtk: update to 2.22.3
Alexander Kanavin [Wed, 21 Nov 2018 17:02:56 +0000 (18:02 +0100)] 
webkitgtk: update to 2.22.3

Remove upstreamed patches.
Add a tweak to 0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
for Javascriptcore gir file (previously it was pre-compiled in tarballs).

Rebase 0001-Fix-build-with-musl.patch

(From OE-Core rev: 7cd49245249f5c20579d1bb3992d60f3ed40708c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopackage_manager.py: fix the message used to catch failing postinsts from dnf
Alexander Kanavin [Wed, 21 Nov 2018 13:57:27 +0000 (14:57 +0100)] 
package_manager.py: fix the message used to catch failing postinsts from dnf

Latest dnf versions have tweaked it.

(From OE-Core rev: 477db7cf4a6a0d06554c9d1539a01fed7c5cb389)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibcomps: add a patch to fix the missing crc32 symbol error under musl
Alexander Kanavin [Wed, 21 Nov 2018 13:57:26 +0000 (14:57 +0100)] 
libcomps: add a patch to fix the missing crc32 symbol error under musl

(From OE-Core rev: 73faaea3cc0f26052cd4e2422106c6243fb676b1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodnf: update to 4.0.4
Alexander Kanavin [Wed, 21 Nov 2018 13:57:25 +0000 (14:57 +0100)] 
dnf: update to 4.0.4

License-Update: spelling fixes

(From OE-Core rev: f03c0f06e14d18a5ed263e943e36920d70796db9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibsolv: update to 0.7.1
Alexander Kanavin [Wed, 21 Nov 2018 13:57:24 +0000 (14:57 +0100)] 
libsolv: update to 0.7.1

(From OE-Core rev: 425f8a83a47c013beb6303b88dda4c727d173ab9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibrepo: update to 1.9.2
Alexander Kanavin [Wed, 21 Nov 2018 13:57:23 +0000 (14:57 +0100)] 
librepo: update to 1.9.2

expat dependency has been replaced by libxml

(From OE-Core rev: 6eeda04126009d5ab216d8178d8cbb0a22318bc5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agorpm: update to 4.14.2.1
Alexander Kanavin [Wed, 21 Nov 2018 13:57:22 +0000 (14:57 +0100)] 
rpm: update to 4.14.2.1

(From OE-Core rev: fc6951e46dcdce0af7861ffa78fe54426d5cb439)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibdnf: update to 0.22.0
Alexander Kanavin [Wed, 21 Nov 2018 13:57:21 +0000 (14:57 +0100)] 
libdnf: update to 0.22.0

(From OE-Core rev: 35c163f6ebdc41eb6b65fca05706854b1aac20b5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: tests/fetch: Update after recent gitsm message changes
Richard Purdie [Thu, 22 Nov 2018 11:59:58 +0000 (11:59 +0000)] 
bitbake: tests/fetch: Update after recent gitsm message changes

Also use assetIn instead of assertTrue which aids debugging failures.

(Bitbake rev: 19dee675bb9ad012d28e1e57a888931355a831cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: fetch/git: fix AttributeError in shallow extraction logic
Christopher Larson [Wed, 21 Nov 2018 18:14:07 +0000 (23:14 +0500)] 
bitbake: fetch/git: fix AttributeError in shallow extraction logic

This code checks to see if shallow is either disabled or the tarball is
missing, but the else block tries to print the tarball filename, and
this attribute doesn't exist at all when shallow is disabled. Handle the
two cases separately to give sane errors for both cases without the
exception:

    Exception: AttributeError: 'FetchData' object has no attribute 'fullshallow'

(Bitbake rev: bdbb558342ebb4e64384c9838d2485d9299d91a6)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: cooker: Fix multiconfig dependencies
Alejandro Enedino Hernandez Samaniego [Tue, 20 Nov 2018 18:22:51 +0000 (10:22 -0800)] 
bitbake: cooker: Fix multiconfig dependencies

When multiconfig is enabled the cooker adds providers
for all the targets to be built on all the multiconfig
variables that were set, regardless if there is a dependency
to it or not.

This causes an issue when a certain target is incompatible
with one or more of the multiconfigs, e.g. the target is not
in COMPATIBLE_MACHINE for one of the MACHINEs being built,
causing the cooker to error out since no providers can be
found for that certain target on that multiconfig.

This patch modifies the behavior to only look for PROVIDERS
for a target on the multiconfig that was selected to be built,
PROVIDERS are then looked for in other multiconfigs only when
there is a defined dependency to them.

[YOCTO #12985]

(Bitbake rev: f2106a3a767542359fdde238abcf5fe35ab3a144)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopoky.conf: Include SDKMACHINE in SDK name
Joshua Watt [Wed, 21 Nov 2018 16:37:05 +0000 (10:37 -0600)] 
poky.conf: Include SDKMACHINE in SDK name

Replace SDK_ARCH with SDKMACHINE so that SDK targeting different
development machines but having the same architecture don't cause
similar errors as found in '3614dd4aee9 ("poky.conf: Add MACHINE to
SDK_NAME")'

This doesn't have any effect on the SDK machines provided in oe-core,
since SDK_ARCH is the same as SDKMACHINE for all of them.

(From meta-yocto rev: 951184fd62b3ab14266f300defd47d3c5c09ad9b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopoky.conf: Add MACHINE to SDK_NAME
Richard Purdie [Tue, 20 Nov 2018 14:05:08 +0000 (14:05 +0000)] 
poky.conf: Add MACHINE to SDK_NAME

Avoid errors from:
MACHINE=qemux86-64 bitbake core-image-sato:do_populate_sdk
then:
MACHINE=genericx86-64 bitbake core-image-sato:do_populate_sdk

which gives:

ERROR: core-image-sato-1.0-r0 do_populate_sdk: The recipe core-image-sato is trying
to install files into a shared area when those files already exist. Those files and
 their manifest location are:
  deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.host.manifest
    (matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
  deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.testdata.json
    (matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
  deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.target.manifest
    (matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
  deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-2.6+snapshot.sh
    (matched in manifest-qemux86_64x86_64-core-image-sato.populate_sdk)
Please verify which recipe should provide the above files.

Adding MACHINE to the artefact name will avoid this. The issue was highlighted by
changes to the autobuilder configuration.

(From meta-yocto rev: 3614dd4aee9d19f1024edb6a36b2862c2d726c04)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: fetch2/npm.py: Allow shrinkwrap resolved relative URL which startswith ...
Parthiban Nallathambi [Fri, 16 Nov 2018 18:07:12 +0000 (19:07 +0100)] 
bitbake: fetch2/npm.py: Allow shrinkwrap resolved relative URL which startswith 'http' (e.g http-proxy)

shrinkwrap resolved relative URL can start with http. For example,
"resolved: http-proxy/-/http-proxy-${PV}.tgz" is still relative URL
to npm registry, but starts with http.

Current if statement compares the startswith 'resolved' to 'http',
which makes impossible to use npm download. Condtional comparison
now strictly checks for "http://" and "https://"

(Bitbake rev: f76075aa1a5159fd4d62949cb588346888b9fe60)

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agometa/icecc.bbclass: Update system blacklists
Joshua Watt [Tue, 20 Nov 2018 20:04:16 +0000 (14:04 -0600)] 
meta/icecc.bbclass: Update system blacklists

Updates the system blacklists to include packages that are known to have
problems compiling under icecream

(From OE-Core rev: fc5418e7bbdecfb27bafe595084e0fd0f991a388)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agometa/icecc.bbclass: Move system blacklist to variables
Joshua Watt [Tue, 20 Nov 2018 20:04:15 +0000 (14:04 -0600)] 
meta/icecc.bbclass: Move system blacklist to variables

The system blacklists are moved to variables which are ignore when
hashing. This prevents changes to the blacklists from causing all
taskhashes to change (and thus rebuild).

(From OE-Core rev: f5be9f6e9180ace3362bba52c7ced3b039441d7d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoxcb-proto: use python3native to have reproducible pyc files
Ross Burton [Tue, 20 Nov 2018 15:18:44 +0000 (15:18 +0000)] 
xcb-proto: use python3native to have reproducible pyc files

(From OE-Core rev: 7709b2551c07cfad591bb37817474fd106e7c2f1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agojson-glib: add ptest
Ross Burton [Tue, 20 Nov 2018 15:17:45 +0000 (15:17 +0000)] 
json-glib: add ptest

(From OE-Core rev: c33e9b5a6ecd43796ff88e44f68b122248145aa0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibinput: 1.12.1 -> 1.12.3
Ross Burton [Tue, 20 Nov 2018 11:12:53 +0000 (11:12 +0000)] 
libinput: 1.12.1 -> 1.12.3

(From OE-Core rev: fe627bbff2bf772bc3e7a58262ec1b6431f65222)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoharfbuzz: upgrade 1.9.0 -> 2.1.3
Ross Burton [Tue, 20 Nov 2018 11:12:52 +0000 (11:12 +0000)] 
harfbuzz: upgrade 1.9.0 -> 2.1.3

(From OE-Core rev: aee2d09a18d42ed0bff582629f3b21d16e681f93)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoltp: Use a legal bad address for mips in setrlimit05.c
Hongzhi.Song [Tue, 20 Nov 2018 09:42:51 +0000 (01:42 -0800)] 
ltp: Use a legal bad address for mips in setrlimit05.c

This testcase fails on mips32. The process is killed by SIGBUS which
is not as expect.

This is because:
((void *)-1) is not a legal bad address which causes the process
killed by SIGBUG on mips.

'tst_get_bad_addr()' returns an address that should works on mips
and other arches.

(From OE-Core rev: e45948d4be14c14eff0a5c8c8597a7523f2edff1)

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoltp: Delete unneeded patch for FNM_EXTMATCH
Daniel Díaz [Mon, 19 Nov 2018 22:07:20 +0000 (16:07 -0600)] 
ltp: Delete unneeded patch for FNM_EXTMATCH

The patch in question was reworked, merged and released by
upstream version 20180926, as commit 822ad2043379.

(From OE-Core rev: 6ad99f3eabe359d5be98d63d4781063b63c83eea)

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomaintainers.inc: add libmodulemd entry
Alexander Kanavin [Mon, 19 Nov 2018 15:39:48 +0000 (16:39 +0100)] 
maintainers.inc: add libmodulemd entry

(From OE-Core rev: bdeb0277c084ac4ecfa21bd77d318a9b0c39616d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibmodulemd: add a new recipe
Alexander Kanavin [Mon, 19 Nov 2018 15:08:05 +0000 (16:08 +0100)] 
libmodulemd: add a new recipe

This is a hard requirement of the new libdnf versions.

(From OE-Core rev: 4b53d713523f56994beb4a7b5dbb3347c8713e42)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoclasses/testsdk: Split implementation into classes
Joshua Watt [Mon, 19 Nov 2018 18:11:13 +0000 (12:11 -0600)] 
classes/testsdk: Split implementation into classes

Splits the SDK test implementation into configurable Python classes. The
classes used for the normal and extensible SDKs are
${TESTSDK_CLASS_NAME} and ${TESTSDKEXT_CLASS_NAME} respectively.

This allows SDK machines to override the classes used to implement the
tests. For the traditional SDK, a common "run()" function is provided by
the class (oeqa.sdk.testsdk.TestSDK), with several hook member functions
that can be overridden in child classes, making it easier to have
consistent behavior. The extensible SDK class
(oeqa.sdkext.testsdk.TestSDKEXT) also has a common "run()" function, but
no hooks have yet been added as there is not currently a known use case
for create derived classes.

These changes should be purely organizational; no functional changes
have been made to either the standard SDK or extensible SDK tests.

[YOCTO #13020]

(From OE-Core rev: a06d53928b22d5f88276023c4d57b206db2f27f9)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoapt: Improve SRC_URI
Richard Purdie [Mon, 19 Nov 2018 15:38:23 +0000 (15:38 +0000)] 
apt: Improve SRC_URI

Use PV and BPN in SRC_URI as a minor improvement.

(From OE-Core rev: 19c9842644b7b0a599437fd394111f161c8b1f1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopseudo: fix link of sqlite3 using pkg-config
Jens Rehsack [Sun, 18 Nov 2018 18:36:46 +0000 (19:36 +0100)] 
pseudo: fix link of sqlite3 using pkg-config

If sqlite3 is built with FTS5 it uses log() from libm, it sqlite3 is built
with READLINE it uses tgetent from a curses lib and readline from libreadline,
if it is built using deflate from libz ... , but all that linkage is lost
if we manually statically link so explicitely extract extra static linking
options from pkg-config and force them into pseudo as well.

This commit obsoletes (so include the implicit revert)
    e39fec613d pseudo: fix link with new sqlite3

(From OE-Core rev: 042af406583acc091ef82c3d1dcedd41315046de)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosqlite3: Update 3.25.2 -> 3.25.3
Jens Rehsack [Sun, 18 Nov 2018 18:36:31 +0000 (19:36 +0100)] 
sqlite3: Update 3.25.2 -> 3.25.3

Update SQLite3 from 3.25.2 to 3.25.3 to fix following issues:

* Disallow the use of window functions in the recursive part of a CTE.
* Fix the behavior of typeof() and length() on virtual tables.
* Strengthen defenses against deliberately corrupted database files.
* Fix a problem in the query planner that results when a row-value
  expression is used with a PRIMARY KEY with redundant columns.
* Fix the query planner so that it works correctly for IS NOT NULL
  operators in the ON clause of a LEFT JOIN with the
  SQLITE_ENABLE_STAT4 compile-time option.

Also introduce PACKAGECONFIG tunables to enable/disable e.g. index
and search functions to allow shrinking the library for very small
targets.

(From OE-Core rev: d533ad9b93383a8d721b72b4030b112a3799d559)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: backport fix to stop enabling ECN
Alex Kiernan [Sun, 18 Nov 2018 07:28:20 +0000 (07:28 +0000)] 
systemd: backport fix to stop enabling ECN

>From upstream:

  Turning on ECN still causes slow or broken network on linux. Our tcp
  is not yet ready for wide spread use of ECN.

https://github.com/systemd/systemd/issues/9748

(From OE-Core rev: f951aa6f9fcf318f108ecdc3371498ee2e919e68)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogo-target.inc: fix go not found while multilib enabled
Hongxu Jia [Mon, 19 Nov 2018 13:34:56 +0000 (08:34 -0500)] 
go-target.inc: fix go not found while multilib enabled

Go binaries were installed to ${libdir}/go/bin, and create symlink
in ${bindir}, while enabling multilib, libdir was extended (such as
/usr/lib64), but BASELIB was not (still /lib), so use
baselib (such as /lib64)) to replace

(From OE-Core rev: 8b69af74c377bc9342f631d7e6b90fe05876216c)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogobject-introspection: port cross-compilation support to meson
Alexander Kanavin [Mon, 19 Nov 2018 14:55:42 +0000 (15:55 +0100)] 
gobject-introspection: port cross-compilation support to meson

Also add a missing libdl dependency to the native relocation patch,
which was not necessary with autotools.

(From OE-Core rev: ff3f8d4fde8a1d07f5b5381546e740efa14fd483)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomeson: do not manipulate the environment when looking for python via pkg-config
Alexander Kanavin [Mon, 19 Nov 2018 14:55:41 +0000 (15:55 +0100)] 
meson: do not manipulate the environment when looking for python via pkg-config

meson does it in a way that breaks oe builds (they export a bunch of PKG_CONFIG_ variables)

(From OE-Core rev: f071c5eb0a46b8ac5424c5baeb471a8080d4a078)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokexec-tools: update to 2.0.18
Armin Kuster [Mon, 19 Nov 2018 14:41:57 +0000 (06:41 -0800)] 
kexec-tools: update to 2.0.18

Drop patch included
0001-kexec-fix-for-Unhandled-rela-relocation-R_X86_64_PLT.patch

(From OE-Core rev: fd2a682812bf5b3e1bdb6571e965b1b9aeb54817)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibx11: move hashes to inc
Armin Kuster [Mon, 19 Nov 2018 14:41:56 +0000 (06:41 -0800)] 
libx11: move hashes to inc

This should help keep libx11 and libx11-diet in sync
by throwing an error when building

(From OE-Core rev: 5d5434e77c60faa78f15c99714e34221d154617b)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibx11-diet: update to 1.6.7
Armin Kuster [Mon, 19 Nov 2018 14:41:55 +0000 (06:41 -0800)] 
libx11-diet: update to 1.6.7

(From OE-Core rev: b9bc0ab578d86baa2d7e1988b0c3485bc7a632a3)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonss: update to 3.40
Armin Kuster [Mon, 19 Nov 2018 14:41:54 +0000 (06:41 -0800)] 
nss: update to 3.40

see: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.40_release_notes

(From OE-Core rev: 56715665cc264083fdcb184f06d08f391b06c1c6)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocurl: update to 7.62.0
Armin Kuster [Mon, 19 Nov 2018 14:41:53 +0000 (06:41 -0800)] 
curl: update to 7.62.0

Drop all CVE patches now included in update.

For details see: https://curl.haxx.se/changes.html

(From OE-Core rev: 43a802c2605cd2f6095a7738347338492eafe722)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolttng-tools: Upgrade 2.9.5 -> 2.10.5 and improve ptest
Richard Purdie [Mon, 19 Nov 2018 15:24:09 +0000 (15:24 +0000)] 
lttng-tools: Upgrade 2.9.5 -> 2.10.5 and improve ptest

A backported patch was removed.

The kmod option changed format in the new version so was adjusted accordingly.

The ptest package was improved to resolve failures in the tests/unit/
directory but disabling attempts to rebuild the binaries on target.

Various ptest libtool script wrappers are now replaced with real binaries
and since the test suite knows about these paths for dymanic libraries,
we put links in place for those.

A data file needed by one of the tests is also copied in.

(From OE-Core rev: fbafcd9a0101a637181d0aa9ec14579309a9bddf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolttng-tools: Improve ptest robustness
Richard Purdie [Mon, 19 Nov 2018 15:14:11 +0000 (15:14 +0000)] 
lttng-tools: Improve ptest robustness

There are some fatal make errors that occur from the current ptest
for lttng-tools however since other tests are successful, those make
build failures were being ignored.

When upgrading, the order of test execution changed and the ptest failed
fatally straight away with the same errors.

Passing -k to make means it will try and run all the tests making the
test suite run more consistently over all lttng-tools versions.

(From OE-Core rev: 3113fb0812aba96df59fca58fe68b751d1d886e6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonasm: Couple of recipe cleanups
Richard Purdie [Mon, 19 Nov 2018 15:28:49 +0000 (15:28 +0000)] 
nasm: Couple of recipe cleanups

The do_install now matches that from autotools.bbclass.

Document that brokensep is still needed.

Use a better form of handling of aclocal.m4

(From OE-Core rev: ef25d9bb18b3a26eefe7fc0c2d7003578c55f416)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agonasm: Upgrade 2.13.03 -> 2.14
Richard Purdie [Sat, 17 Nov 2018 17:19:41 +0000 (17:19 +0000)] 
nasm: Upgrade 2.13.03 -> 2.14

The patches are all backports or have equivalent changes in the new
release so can be dropped.

Upstream reworked the install handling to use DESTDIR instead of INSTALLROOT
and we no longer need to create directories.

(From OE-Core rev: ac9b892f06237a384a60d0404e6ed0afd63c1005)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: BBHandler: Fix __python_func_regexp__ for comment lines
Robert Yang [Wed, 14 Nov 2018 09:46:41 +0000 (17:46 +0800)] 
bitbake: BBHandler: Fix __python_func_regexp__ for comment lines

Fixed:
- Add a comment in base.bbclass:
  def oe_import(d):
      import sys
  # Comment
      bbpath = d.getVar("BBPATH").split(":")
  [snip]

  Note, '# Comment' is started with '#', it is legal in python's syntax
  (though maybe not a good style), but bitbake reported errors:

  $ bitbake -p
  ERROR: ParseError at /path/to/base.bbclass:20: unparsed line: '    bbpath = d.getVar("BBPATH").split(":")'

  This error report would mislead people, the real problem is that '# Comment'
  is not supported, but it reports the next line, this may make it hard to debug
  the code are complicated.

We can make __python_func_regexp__ handle '^#' to fix the problem, since it
already can handle blank line "^$" in a python function, so it would be pretty
safe to handle "^#" as well.

(Bitbake rev: 79e62eef1c93f742bf71e9f25db57fdd2ffedd02)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: server/process: print a message when no logfile
Robert Yang [Wed, 14 Nov 2018 09:46:40 +0000 (17:46 +0800)] 
bitbake: server/process: print a message when no logfile

[YOCTO #12898]

There might be no bitbake-cookerdaemon.log, print a message for debugging.

(Bitbake rev: 4adc582d2df7fdb9e51c4ebb5e66bbd21165b4dc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: data_smart: fix filename for compile()
Robert Yang [Wed, 14 Nov 2018 09:46:39 +0000 (17:46 +0800)] 
bitbake: data_smart: fix filename for compile()

Fixed:
Add the following two lines to conf/local.conf:
FOO = "${@foo = 5}"
HOSTTOOLS += "${FOO}"

* Before the patch
  $ bitbake -p
  Check the first lines of bitbake bitbake-cookerdaemon.log
  [snip]
  File "/buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py", line 125, in python_sub
    codeobj = compile(code.strip(), self.varname or "<expansion>", "eval")
  File "FOO", line 1
  [snip]

  There isn't a file named 'FOO', but a variable name.

* After the patch
  $ bitbake -p
  [snip]
  File "/buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py", line 129, in python_sub
    codeobj = compile(code.strip(), varname, "eval")
  File "Var <FOO>", line 1
    foo = 5

(Bitbake rev: 540b546be55e0f5f5d91695956da3a7732b2f90a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: data_smart: Add original traceback to ExpansionError
Robert Yang [Wed, 14 Nov 2018 09:46:38 +0000 (17:46 +0800)] 
bitbake: data_smart: Add original traceback to ExpansionError

This can make it print clearer errors, for exmaple:

Add Runtime_error to 'def oe_import(d)"

 16 def oe_import(d):
 17     import sys
 18     Runtime_error
[snip]

* Before the patch:
  $ bitbake -p
  ERROR: Unable to parse /buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py
  Traceback (most recent call last):
    File "/buildarea1/lyang1/poky/bitbake/lib/bb/data_smart.py", line 430, in DataSmart.expandWithRefs(s='${@oe_import(d)}', varname='OE_IMPORTED[:=]'):
                   except Exception as exc:
      >                raise ExpansionError(varname, s, exc) from exc

  bb.data_smart.ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception NameError: name 'Runtime_error' is not defined

  This error message has two problems:
  - "Unable to parse data_smart.py": This isn't the real cause.
  - It pionts to "raise ExpansionError(varname, s, exc) from exc" which isn't clear enough.

* After the patch:
  $ bitbake -p
  ERROR: Unable to parse OE_IMPORTED[:=]
  Traceback (most recent call last):
    File "OE_IMPORTED[:=]", line 1, in <module>
    File "/buildarea1/lyang1/poky/meta/classes/base.bbclass", line 18, in oe_import(d=<bb.data_smart.DataSmart object at 0x7f9257e7a0b8>):
           import sys
      >    Runtime_error

  bb.data_smart.ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception NameError: name 'Runtime_error' is not defined

This one is more clearer than before.

(Bitbake rev: c0fe524c1aeccb24ddd2e1f7bf235c00fdbf79a7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: parse/ast: fix line number for anonymous function
Robert Yang [Wed, 14 Nov 2018 09:46:37 +0000 (17:46 +0800)] 
bitbake: parse/ast: fix line number for anonymous function

Fixed:
- Define an error anonymous function in base.bbclass:
  15
  16 python() {
  17     Compile error
  18 }

  $ bitbake -p
  ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 18:

  The code lines resulting in this error were:
       0001:def __anon_18__buildarea1_lyang1_poky_meta_classes_base_bbclass(d):
   *** 0002:    Compile error
       0003:
  SyntaxError: invalid syntax (base.bbclass, line 18)

  The lineno should be 17, but it reported 18, this would mislead people a lot
  when there more lines.

- Now fix it to:
  ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 17:

  The code lines resulting in this error were:
       0001:def __anon_18__buildarea1_lyang1_poky_meta_classes_base_bbclass(d):
   *** 0002:    Compile error
       0003:
  SyntaxError: invalid syntax (base.bbclass, line 17)

This is because the anonymous function is constructed by:
text = "def %s(d):\n" % (funcname) + text

The len(self.body) doesn't include the "def " line, the length of the function
should be "len(self.body) + 1", so we need pass "self.lineno - (len(self.body) + 1)"
which is the same as 'self.lineno - len(self.body) - 1' to
bb.methodpool.insert_method() as we already had done to named function. Otherwise, the
lineno is wrong, and would cause other problems such as report which line is
wrong, but the line is not what we want since it reports incorrect line.

(Bitbake rev: 7466c8765fcc792e5ea3daefda3c5895e782d6c4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: utils: better_compile(): Fix line number when report errors
Robert Yang [Wed, 14 Nov 2018 09:46:36 +0000 (17:46 +0800)] 
bitbake: utils: better_compile(): Fix line number when report errors

Fixed:
- Add an error line in base.bbclass, e.g.:
  15
  16 def oe_import(d):
  17     import sys
  18     Compile error
  19     bbpath = d.getVar("BBPATH").split(":")
  [snip]

  Note the "Compile error" line, I added it for reporting errors.

  $ bitbake -p
  ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 15:

  The code lines resulting in this error were:
       0014:    import oe.data
       0015:    for toimport in oe.data.typed_value("OE_IMPORTS", d):
       0016:        imported = __import__(toimport)
       0017:        inject(toimport.split(".", 1)[0], imported)
   *** 0018:
       0019:    return ""
       0020:
  SyntaxError: invalid syntax (base.bbclass, line 18)

  There are 2 problems:
  - The "line 15" is incorrect, it is a blank line, not the error line.
  - The "*** 0018" points to incorrect position.

  These two problems would mislead people a lot sometimes.

- Now fix it to:
  $ bitbake -p
  ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 18:

  The code lines resulting in this error were:
       0001:def oe_import(d):
       0002:    import sys
   *** 0003:    Compile error
       0004:    bbpath = d.getVar("BBPATH").split(":")
                [snip]
  SyntaxError: invalid syntax (base.bbclass, line 18)

Please see comments in the code for more details on how it is fixed.

(Bitbake rev: bbb3d87d171da38fd8e9bce011d109fba28a75c0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: siggen: Adapt colors used by bitbake-diffsigs to support light themes
Peter Kjellerstedt [Wed, 14 Nov 2018 01:51:41 +0000 (02:51 +0100)] 
bitbake: siggen: Adapt colors used by bitbake-diffsigs to support light themes

The colors specified for use with bitbake-diffsigs were adapted for a
dark theme, e.g., by setting the background color to black, which made
it look very bad when used with a light theme.

To make it look good both with a dark or a light theme, it is better
to drop the background color. It is also better to leave out the color
altogether for the title and just use bold. Finally, dropping bold for
the red and green texts indicating removed/added values better matches
other colorized diff implementations as, e.g., git diff.

(Bitbake rev: f1a2c23520832ee91e85338c1ad8af1fec0d0b19)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoofono: upgrade 1.24 -> 1.25
Ross Burton [Wed, 7 Nov 2018 14:22:25 +0000 (14:22 +0000)] 
ofono: upgrade 1.24 -> 1.25

(From OE-Core rev: 2c858a2e1c8c99f87e74c2f95ccc749edfbe01ac)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomtools: upgrade 4.0.18 -> 4.0.19
Richard Purdie [Tue, 16 Oct 2018 04:11:52 +0000 (21:11 -0700)] 
mtools: upgrade 4.0.18 -> 4.0.19

(From OE-Core rev: f08f09accc124162e7538595694868d307c59649)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>