]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
6 years agopython3: remove redundant assignments
Ross Burton [Tue, 11 Sep 2018 15:22:13 +0000 (16:22 +0100)]
python3: remove redundant assignments

_PYTHON_PROJECT_BASE and _PYTHON_PROJECT_SRC appear to be set in setup.py from
the source directory and build directory correctly, so this is redundant.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopython3: split common assignments into a dedicated python3.inc
Ross Burton [Tue, 11 Sep 2018 11:52:38 +0000 (12:52 +0100)]
python3: split common assignments into a dedicated python3.inc

Instead of including the Py2 python.inc and having to undo some of the
assignments, create a new python3.inc to hold the common configuration.

Over time we can move more from the recipes into this file to unify the target
and native recipes.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopython3{,-native}: backport openssl 1.1.1 compatibility changes
Anuj Mittal [Wed, 12 Sep 2018 10:16:04 +0000 (18:16 +0800)]
python3{,-native}: backport openssl 1.1.1 compatibility changes

Backport changes from 3.7/3.6 to fix failing python3 ssl test suite.

Fixes [YOCTO #12919]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
6 years agopython3{,native}: update to 3.5.6
Anuj Mittal [Wed, 12 Sep 2018 09:44:11 +0000 (17:44 +0800)]
python3{,native}: update to 3.5.6

Includes changes:

76aa2c0a9a bpo-33216: Clarify the documentation for CALL_FUNCTION_* (#8338)
1b141b9553 Doc: Backport language switcher (bpo-33700, bpo-31045) (#8048)
f381cfe07d [3.5] bpo-33001: Prevent buffer overrun in os.symlink (GH-5989) (#5991)
937ac1fe06 [3.5] bpo-32981: Fix catastrophic backtracking vulns (GH-5955) (#6034)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
6 years agoltp: fix mmap15 failed on qemumips64
Dengke Du [Wed, 12 Sep 2018 08:55:56 +0000 (16:55 +0800)]
ltp: fix mmap15 failed on qemumips64

Actually, this is not a bug, mmap15 only run on 64bit system.
On qemumips64, mmap15 return EINVAL, x86-64 and arm64 return
ENOMEM. This is because mips system check the addr that passed
to the syscall mmap15:

    https://github.com/torvalds/linux/blob/master/arch/mips/mm/mmap.c#L71

If the addr larger than (TASK_SIZE - page_size), mips think it is invalid.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agowic: Introduce the --use-label partition parameter
Kevin Hao [Wed, 12 Sep 2018 00:44:46 +0000 (08:44 +0800)]
wic: Introduce the --use-label partition parameter

We can use this parameter to make the wic use the label to name a
partition in /etc/fstab.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosocat: Cache shift value for CRDLY, TABDLY and CSIZE
Khem Raj [Tue, 11 Sep 2018 19:18:33 +0000 (12:18 -0700)]
socat: Cache shift value for CRDLY, TABDLY and CSIZE

Match it to definitions in
arch/<ARCH>/include/uapi/asm/termbits.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoeudev: set configure option --with-rootlibexecdir
Kai Kang [Tue, 11 Sep 2018 23:25:24 +0000 (19:25 -0400)]
eudev: set configure option --with-rootlibexecdir

Set configure option '--with-rootlibexecdir' for eudev to fix udev.pc file conflict:

| file /usr/share/pkgconfig/udev.pc conflicts between attempted installs of eudev-dev-3.2.5-r0.core2_64 and lib32-eudev-dev-3.2.5-r0.x86

It alway sets 'udevdir' in udev.pc with value '/lib/udev' that systemd
does the same thing.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomultilib: fix install file conflicts
Kai Kang [Tue, 11 Sep 2018 23:25:23 +0000 (19:25 -0400)]
multilib: fix install file conflicts

Fix install files conflicts between multlib packages by inherit multilib_script:

| file /usr/bin/cairo-trace conflicts between attempted installs of lib32-libcairo-perf-utils-1.14.12-r0.x86 and libcairo-perf-utils-1.14.12-r0.core2_64
| file /usr/bin/icu-config conflicts between attempted installs of lib32-icu-dev-62.1-r0.x86 and icu-dev-62.1-r0.core2_64
| file /usr/bin/gpgrt-config conflicts between attempted installs of lib32-libgpg-error-dev-1.32-r0.x86 and libgpg-error-dev-1.32-r0.core2_64

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotarget-sdk-provides-dummy: skip package_qa_multilib check
Kai Kang [Tue, 11 Sep 2018 23:25:22 +0000 (19:25 -0400)]
target-sdk-provides-dummy: skip package_qa_multilib check

The rprovides of target-sdk-provides-dummy don't be updated with
multilib, so it fails package_qa_multilib check. Because
target-sdk-provides-dummy doesn't install any file to sysroot, it is
safe to skip package_qa_multilib check for target-sdk-provides-dummy.

Remove ${MLPREFIX}target-sdk-provides-dummy from TOOLCHAIN_TARGET_TASK
at same time in populate_sdk_base.bbclass.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agostatetests.py: drop test_sstate_allarch_samesigs_multilib
Kai Kang [Tue, 11 Sep 2018 23:25:21 +0000 (19:25 -0400)]
statetests.py: drop test_sstate_allarch_samesigs_multilib

allarch is disabled when multilib is used, so sstate oeqa case
test_sstate_allarch_samesigs_multilib is useless. Remove check for
allarch part and rename to test_sstate_nativesdk_samesigs_multilib.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoupdate_gtk_immodules_cache: update for multilib
Kai Kang [Tue, 11 Sep 2018 23:25:20 +0000 (19:25 -0400)]
update_gtk_immodules_cache: update for multilib

Postinstall script update_gtk_immodules_cache calls
${bindir}/gtk-query-immodules-${version}. When multilib is enabled, both
packages foo and lib32-foo call ${bindir}/gtk-query-immodules-${version}
and one of them will fail to run obviously.

Duplicate install files gtk-query-immodules-${version} to ${libexecdir}
with ${MLPREFIX}. And update update_gtk_immodules_cache calls proper
binary.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoupdate_font_cache: update script for multilib
Kai Kang [Tue, 11 Sep 2018 23:25:19 +0000 (19:25 -0400)]
update_font_cache: update script for multilib

Packages which inherit fontcache.bbclass call postinstall script
update_font_cache. And in update_font_cache, it calls ${bindir}/fc-cache
by qemuwrapper. When multilib is enabled, both packages foo and lib32-foo
will call ${bindir}/fc-cache and one of them will fail to run obviously.

Duplicate install file fc-cache to ${libexecdir} with ${MLPREFIX} and
call proper fc-cache in update_font_cache.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosstate.bbclass: update SSTATE_DUPWHITELIST
Kai Kang [Tue, 11 Sep 2018 23:25:18 +0000 (19:25 -0400)]
sstate.bbclass: update SSTATE_DUPWHITELIST

Update SSTATE_DUPWHITELIST in sstate.bbclass.

* remove ${DEPLOY_DIR_RPM}/noarch/ which is not overwritten any more
* add directories for package target-sdk-provides-dummy

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoallarch: only enable allarch when multilib is not used
Kai Kang [Tue, 11 Sep 2018 23:25:17 +0000 (19:25 -0400)]
allarch: only enable allarch when multilib is not used

Some allarch packages rdepends non-allarch packages. when multilib is
used, it doesn't expand the dependency chain correctly, e.g.

core-image-sato -> ca-certificates(allarch) -> openssl

we expect dependency chain for lib32-core-image-sato:

lib32-core-image-sato -> ca-certificates(allarch) -> lib32-openssl

it should install lib32-openssl for ca-certificates but openssl is still
wrongly required.

Only enable allarch when multilib is not used to fix the issue.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokernel.bbclass: do not deploy fitImage; kernel-fitimage.bbclass does that.
Leon Woestenberg [Mon, 10 Sep 2018 21:56:43 +0000 (23:56 +0200)]
kernel.bbclass: do not deploy fitImage; kernel-fitimage.bbclass does that.

kernel-fitimage.bbclass replaces an occurance of "fitImage" in
KERNEL_IMAGETYPE_FOR_MAKE by an image type that is buildable for the
architecture (such as zImage). The kernel-fitimage.bbclass packs that
image as sub-image in a flattened image tree image (fitImage) and
deploys this fitImage along with the image tree source file (.its).

kernel-fitimage.bbclass does not alter KERNEL_IMAGETYPES, which thus
also contains "fitImage", which kernel.bbclass will also deploy
redundantly with different naming.

The result is a dual deployment with slightly different naming,
each with a set of symlinks.

The solution chosen is to have fitImage deployment be handled by
kernel-fitimage.bbclass, and have kernel.bbclass ignore fitImage
types during deployment.

Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodevicetree.bbclass: don't pad DT overlays
Luca Ceresoli [Tue, 11 Sep 2018 11:13:59 +0000 (13:13 +0200)]
devicetree.bbclass: don't pad DT overlays

By default the devicetree class adds padding to the generated .dtb
files, which can be needed by the bootloader. However it also pads
.dtbo files, which is not useful.

Don't apply padding to the overlay devicetrees.

To achieve this:

 * move "-p ${DT_PADDING_SIZE}" to a new variable, DTB_BFLAGS (B for
   "base")
 * add "-p 0" to DTC_OFLAGS to disable padding for overlays

Cc: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake.conf: Make BUILD_OPTIMIZATION respect to DEBUG_BUILD
Robert Yang [Wed, 5 Sep 2018 07:16:18 +0000 (15:16 +0800)]
bitbake.conf: Make BUILD_OPTIMIZATION respect to DEBUG_BUILD

We may also need debug native tools, so make BUILD_OPTIMIZATION respect to
DEBUG_BUILD, otherwise, we need set CFLAGS in the recipe which isn't
convenient.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooe/utils.py: Add vartrue()
Robert Yang [Wed, 5 Sep 2018 07:16:17 +0000 (15:16 +0800)]
oe/utils.py: Add vartrue()

It can be used to simplify code like:
"${@['iffalse', 'iftrue'][var]}"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: fix multiprocessing
Ross Burton [Mon, 10 Sep 2018 13:31:23 +0000 (14:31 +0100)]
python3: fix multiprocessing

glibc 2.28 slightly changed the behaviour of sigaddset() which broke
multiprocessing.  Backport a patch from Python 3.6 to solve this.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: remove patch that inadvertently disables xattrs
Ross Burton [Mon, 10 Sep 2018 13:31:22 +0000 (14:31 +0100)]
python3: remove patch that inadvertently disables xattrs

This patch dates back to the addition of the Python 3 recipe to oe-core, and as
listxattr is never added to supports_follow_symlinks the extended attribute
support will never be enabled.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: remove redundant patch
Ross Burton [Mon, 10 Sep 2018 13:31:21 +0000 (14:31 +0100)]
python3: remove redundant patch

None of the Python invocations that this changes are actually called, and
there's no need to provide a HOSTPGEN variable when the recipe can just override
PGEN directly.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: fix ftplib with TLS 1.3
Ross Burton [Mon, 10 Sep 2018 13:31:20 +0000 (14:31 +0100)]
python3: fix ftplib with TLS 1.3

With OpenSSL 1.1.x TLS 1.3 can be used, so backport a patch from Python 3.6 to
fix the ftplib unit test.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotestimage.bbclass: fix qemu_use_kvm handling
Emmanuel Roullit [Wed, 5 Sep 2018 19:49:58 +0000 (21:49 +0200)]
testimage.bbclass: fix qemu_use_kvm handling

QEMU_USE_KVM can either be a boolean or a whitespace separated list
of kvm supported machines.
For the 'intel-corei7-64' machine, defined in meta-intel, kvm could not be
used as the 'x86' substring is not part of its machine name.

By changing the order of this 'or' statement and setting
the 'QEMU_USE_KVM' variable to 'intel-corei7-64', it is possible to run the
'testimage' task with kvm support successfully.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoyasm: remove
Ross Burton [Tue, 11 Sep 2018 09:37:50 +0000 (10:37 +0100)]
yasm: remove

Nothing in oe-core is using yasm now that gstreamer-libav and ffmpeg are using
nasm, so remove it from oe-core.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopkgconf: don't use alternatives
Ross Burton [Tue, 11 Sep 2018 09:37:45 +0000 (10:37 +0100)]
pkgconf: don't use alternatives

There's no need to do alternatives as pkgconf and pkg-config won't be installed
at the same time, and pkg-config doesn't do alternatives either.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolrzsz: fix CVE-2018-10195
Ross Burton [Tue, 11 Sep 2018 09:37:40 +0000 (10:37 +0100)]
lrzsz: fix CVE-2018-10195

"Integer overflow in src/zm.c:zsdata() causes crash in sz and can leak
information to receiver."

Take a patch from Fedora to resolve CVE-2018-10195.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoharfbuzz: remove stale pkg.m4
Ross Burton [Tue, 11 Sep 2018 09:37:36 +0000 (10:37 +0100)]
harfbuzz: remove stale pkg.m4

harfbuzz shipped an old pkg.m4 which overruled the pkg.m4 from the sysroot.
This is now fixed upstream, but until another release is made delete it from the
source tree.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoweston: upgrade to 5.0.0
Denys Dmytriyenko [Sat, 25 Aug 2018 17:08:58 +0000 (13:08 -0400)]
weston: upgrade to 5.0.0

License checksum for compositor.c has changed due to extra copyright line
and year being updated - the license itself hasn't changed.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowayland: upgrade to 1.16.0
Denys Dmytriyenko [Sat, 25 Aug 2018 17:08:57 +0000 (13:08 -0400)]
wayland: upgrade to 1.16.0

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoserf: Document and add upstream status field for 0003-gen_def.patch
Khem Raj [Mon, 10 Sep 2018 16:05:04 +0000 (09:05 -0700)]
serf: Document and add upstream status field for 0003-gen_def.patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agotclibc-baremetal.inc: Remove BASEDEPENDS on compilerlibs
Nathan Rossi [Mon, 10 Sep 2018 12:45:03 +0000 (12:45 +0000)]
tclibc-baremetal.inc: Remove BASEDEPENDS on compilerlibs

Without a libc the gcc-runtime provider of compilerlibs does not
compile. As such avoid the default dependence on the
virtual/${TARGET_PREFIX}compilerlibs provider.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agotclibc: For newlib and baremetal disable some security features
Nathan Rossi [Mon, 10 Sep 2018 12:44:13 +0000 (12:44 +0000)]
tclibc: For newlib and baremetal disable some security features

With GCCPIE being enabled by default with security_flags.inc the
compiler will by default attempt to compile and link programs as PIE.
The targets that use newlib and baremetal in general do not support PIE
or are otherwise unable to use it due to how embedded targets are
compiled and executed. As such it makes sense to disable PIE by default
for these libc's in order to prevent build failures.

For baremetal tclibc there are no libc features or implementation as
such there is no implementation for the strong stack protector by
default.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agolibgloss_3.0.0.bb: Fix up mv pattern to include libnosys
Nathan Rossi [Mon, 10 Sep 2018 12:42:38 +0000 (12:42 +0000)]
libgloss_3.0.0.bb: Fix up mv pattern to include libnosys

When installing libgloss libraries handle the ${TARGET_SYS}/lib contents
so that it is placed in ${libdir} instead of ${libdir}/lib. This
resolves a packaging QA issue.

  ERROR: libgloss-3.0.0-r0 do_package: QA Issue: libgloss:
  Files/directories were installed but not shipped in any package:
    /usr/lib/lib
    /usr/lib/lib/libnosys.a
    /usr/lib/lib/nosys.specs
  Please set FILES such that these items are packaged. Alternatively
  if they are unneeded, avoid installing them or delete them within
  do_install.
  libgloss: 3 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoattr: use u-a for setfattr
Martin Jansa [Mon, 10 Sep 2018 09:35:31 +0000 (09:35 +0000)]
attr: use u-a for setfattr

setfattr is now provided also by busybox since 1.29.2 upgrade and
do_rootfs is failing with:
update-alternatives: Error: not linking usr/bin/setfattr to /bin/busybox.nosuid since
usr/bin/setfattr exists and is not a link

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agobind: patch for CVE-2018-5740
Changqing Li [Mon, 10 Sep 2018 09:18:46 +0000 (17:18 +0800)]
bind: patch for CVE-2018-5740

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoghostscript: fix CVE-2018-15908 & CVE-2018-15909 & CVE-2018-15910 & CVE-2018-15911
Hongxu Jia [Mon, 10 Sep 2018 07:21:01 +0000 (03:21 -0400)]
ghostscript: fix CVE-2018-15908 & CVE-2018-15909 & CVE-2018-15910 & CVE-2018-15911

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agolibx11: Upgrade 1.6.5 ->1.6.6
Changqing Li [Mon, 10 Sep 2018 02:33:25 +0000 (10:33 +0800)]
libx11: Upgrade 1.6.5 ->1.6.6

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoqemu: patch for CVE-2018-15746
Changqing Li [Mon, 10 Sep 2018 01:48:53 +0000 (09:48 +0800)]
qemu: patch for CVE-2018-15746

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogst-validate: Fix build on musl
Khem Raj [Mon, 10 Sep 2018 00:44:22 +0000 (17:44 -0700)]
gst-validate: Fix build on musl

Connect has different signature on musl.

Fixes
socket_interposer.c:103:1: error: conflicting types for 'connect'
| connect (int socket, const struct sockaddr_in *addrin, socklen_t
address_len)
| ^
|
recipe-sysroot/usr/include/sys/socket.h:327:5:
note: previous declaration is here
| int connect (int, const struct sockaddr *, socklen_t);
|     ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agosysprof: Fix build with clang
Khem Raj [Fri, 7 Sep 2018 16:03:53 +0000 (09:03 -0700)]
sysprof: Fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agosystemd: set split-bin to true by default
Anton Gerasimov [Fri, 7 Sep 2018 12:54:00 +0000 (14:54 +0200)]
systemd: set split-bin to true by default

Not doing so will make meson chose where to install init binary
based on irrelevant features of the build machine.

PACKAGECONFIG option is defined to override this behavior.

Signed-off-by: Anton Gerasimov <tossel@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agowic: squashfs does support partition uuid.
Emmanuel Roullit [Thu, 6 Sep 2018 18:05:52 +0000 (20:05 +0200)]
wic: squashfs does support partition uuid.

wic allows the user to create disk image and reference each created
partitions via its partition UUID.

squashfs does not support filesystem UUID but it does offer support for
partition UUID.

$ lsblk -o NAME,FSTYPE,UUID,PARTUUID
NAME   FSTYPE   UUID                                 PARTUUID
sda
|-sda1 vfat     6078-ACD0                            95aa4ffb-741d-4d99-adf6-0358bc890046
|-sda2 squashfs                                      7d46da2d-29cc-4d5a-9e39-d0381c4abb0c
|-sda3 squashfs                                      d4a3e24e-410a-4f2c-8ad5-8f8321de177b
|-sda4 ext4     d72ec529-78e4-4cd3-b39b-781b6b1cb47c f3edc990-f4f6-4536-9587-44dae4ceb99f
`-sda5 ext4     a0b265aa-e935-40b8-9c6b-e9e58ad3890f 6e72ebaa-29ed-41cd-844c-3f76976cf41d

Modifying this constrain allows a user to create squashfs-based rootfs and boot
from them with such kernel argument 'root=PARTUUID=7d46da2d-29cc-4d5a-9e39-d0381c4abb0c'

Fixes: 2fbdcf4e59c8 ("wic: kparser.py: Check for SquashFS and use-uuid")
Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoxserver-xorg: config: fix NULL value detection for ID_INPUT being unset
Armin Kuster [Thu, 6 Sep 2018 15:14:52 +0000 (08:14 -0700)]
xserver-xorg: config: fix NULL value detection for ID_INPUT being unset

Fixes Yocto # 12899

Xorg.log message:

(II) config/udev: Adding input device (unnamed) (/dev/tty59)

and cause system freezes.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogdb: PACKAGECONFIG for tui
Trevor Woerner [Thu, 6 Sep 2018 13:55:33 +0000 (09:55 -0400)]
gdb: PACKAGECONFIG for tui

Allow the tui (Terminal User Interface) option to be set via a PACKAGECONFIG.

Signed-off-by: Trevor Woerner <trevor@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agolibdrm:2.4.93 -> 2.4.94
Hong Liu [Tue, 4 Sep 2018 09:36:29 +0000 (17:36 +0800)]
libdrm:2.4.93 -> 2.4.94

Upgrade libdrm from 2.4.93 to 2.4.94.

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogdb: Add bison-native dependency
Alistair Francis [Thu, 30 Aug 2018 23:51:31 +0000 (16:51 -0700)]
gdb: Add bison-native dependency

This fixes RISC-V GDB cross compile configure failure on missing bison.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomesa: disable LLVM on x86
Ross Burton [Thu, 6 Sep 2018 15:07:27 +0000 (16:07 +0100)]
mesa: disable LLVM on x86

Whilst turning on the LLVM drivers is a honourable goal, the performance impact
is *huge*.  Instead let specific BSPs turn it on as required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolinux-yocto/4.14/4.18: address kernel configuration warnings
Bruce Ashfield [Fri, 7 Sep 2018 13:38:41 +0000 (09:38 -0400)]
linux-yocto/4.14/4.18: address kernel configuration warnings

Making the following commits available to address kernel configuration
warnings:

  734172039130 preempt-rt: remove entry for aufs
  7a6753341309 common_pc: remove config audit warnings
  dea9c6aa7ddd common-pc/tiny: mask configuration warnings

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokern-tools: improve kernel config audit output
Bruce Ashfield [Fri, 7 Sep 2018 13:38:40 +0000 (09:38 -0400)]
kern-tools: improve kernel config audit output

Recent kernels broke the ability of kconfiglib to parse the Kconfig
files and offer reasons why a symbol may not be set. To address this
issue, we update to Kconfiglib2 and adjust the symbol_why script to
work with the new API.

We also tweak the kconf_check script to allow the specification of
a list of option as "non-hardware". This allows a BSP to inhibit
warnings on options that it knows are mismatched for a valid reason
(i.e. -tiny kernels using common fragments with known missing
dependencies).

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocore-image-tiny-initramfs: Avoid parsing failures
Richard Purdie [Fri, 7 Sep 2018 13:05:24 +0000 (14:05 +0100)]
core-image-tiny-initramfs: Avoid parsing failures

This variable is otherwise unset leading to missing dependency warnings. Give
it the same default as used elsewhere in other recipes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibpciaccess: Extend to native/nativesdk
Richard Purdie [Fri, 7 Sep 2018 13:04:31 +0000 (14:04 +0100)]
libpciaccess: Extend to native/nativesdk

Avoids warnings from libdrm which has nativesdk/native variants and depends upon this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobusybox/packagegroups: Break out the busybox-syslog dependency
Richard Purdie [Thu, 6 Sep 2018 22:40:47 +0000 (23:40 +0100)]
busybox/packagegroups: Break out the busybox-syslog dependency

The busybox-syslog rrecomends is proving tricky as it gets pulled in early and
there are conflicts between its use of update-alternatives and busybox needing
to provide those things.

We already have recipes using BAD_RRECOMMENDS to remove this dependency, it probably
makes sense to spell it out explicitly and allow it to be overridden more easily.

This patch does this, dropping the now unneeded BAD_RRECOMMENDS. It preserves
the dependency as a recommendation for now, further cleanup may allow simplication
of that.

This unbreaks certain build failures on the autobuilder, more as a workaround but
is a change we probably want to make anyway.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agostaging: Fix broken debug code
Richard Purdie [Fri, 7 Sep 2018 11:16:18 +0000 (12:16 +0100)]
staging: Fix broken debug code

The code currently only prints a single depchain due to overwriting data
instead of appending. Fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agostaging: Ensure we handle glibc-locale do_stash_locale correctly
Richard Purdie [Fri, 7 Sep 2018 11:15:52 +0000 (12:15 +0100)]
staging: Ensure we handle glibc-locale do_stash_locale correctly

Occasionally we see warnings like:

WARNING: core-image-sato-1.0-r0 do_populate_sdk: Manifest /home/pokybuild/yocto-worker/nightly-qa-extras/build/build/tmp/sstate-control/manifest-allarch-nativesdk-linux-libc-headers.populate_sysroot not found in i686_linux allarch (variant '')?

which occur when do_populate_sdk is run in an otherwise empty TMPDIR.

It occurs because do_stash_locale is not recognised as a setscene task
and is removed from the taskgraph meaning the dependency chains fed
through setscene_depvalid don't match what was actually setscene'd.

That task is recipe specific and not in the global SSTATETASKS so we
hardcode the value for now to stop the build warnings. This is going to
need to be revisited for a more generic solution.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotaglib: Security fix CVE-2018-11439
Yi Zhao [Fri, 7 Sep 2018 00:22:05 +0000 (08:22 +0800)]
taglib: Security fix CVE-2018-11439

CVE-2018-11439: The TagLib::Ogg::FLAC::File::scan function in
oggflacfile.cpp in TagLib 1.11.1 allows remote attackers to cause
information disclosure (heap-based buffer over-read) via a crafted audio
file.

References:
https://nvd.nist.gov/vuln/detail/CVE-2018-11439

Patch from:
https://github.com/taglib/taglib/pull/869/commits/272648ccfcccae30e002ccf34a22e075dd477278

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosysprof: fix build with musl
Ross Burton [Fri, 7 Sep 2018 00:41:03 +0000 (01:41 +0100)]
sysprof: fix build with musl

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosysprof: update to 3.30.0
Alexander Kanavin [Thu, 6 Sep 2018 10:40:17 +0000 (12:40 +0200)]
sysprof: update to 3.30.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogdb: Update to 8.2
Khem Raj [Thu, 6 Sep 2018 05:38:32 +0000 (22:38 -0700)]
gdb: Update to 8.2

* https://sourceware.org/ml/gdb-announce/2018/msg00003.html
* Support RISC-V

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agobusybox: Ensure busybox-syslog depends on busybox
Richard Purdie [Thu, 6 Sep 2018 15:47:42 +0000 (16:47 +0100)]
busybox: Ensure busybox-syslog depends on busybox

If we don't do this, busybox-syslog can install before busybox
which clearly doesn't make sense and can trigger postinst failures
(missing sed which u-a depends upon).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibbsd: drop obsolete patch
Ross Burton [Thu, 6 Sep 2018 11:19:00 +0000 (12:19 +0100)]
libbsd: drop obsolete patch

This was only needed with old pkg-config, but we have 0.29.2 so this can be
dropped.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomobile-broadband-provider-info: update patch status
Ross Burton [Thu, 6 Sep 2018 11:18:59 +0000 (12:18 +0100)]
mobile-broadband-provider-info: update patch status

I pushed this upstream, so mark the patch as such.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogstreamer1.0-libav: use nasm instead of yasm
Ross Burton [Thu, 6 Sep 2018 11:16:56 +0000 (12:16 +0100)]
gstreamer1.0-libav: use nasm instead of yasm

The options are still called yasm and there's some cleanup to be done, but as
libav can use both yasm and nasm let's unify on nasm (last release six months
ago, fifteen RCs since) instead of yasm (last release 2014).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoffmpeg: use nasm instead of yasm
Ross Burton [Thu, 6 Sep 2018 11:16:48 +0000 (12:16 +0100)]
ffmpeg: use nasm instead of yasm

As ffmpeg can use both yasm and nasm let's unify on nasm (last release six
months ago, fifteen RCs since) instead of yasm (last release 2014).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: use regrtest instead of PyBench for profile-guided-optimisation
Ross Burton [Thu, 6 Sep 2018 11:15:21 +0000 (12:15 +0100)]
python3: use regrtest instead of PyBench for profile-guided-optimisation

PyBench takes a long time to run, also upstream have removed it from Python and
instead use test.regrtest —pgo to profile the interpreter.

The results are good: not only does Python compile faster (~300s vs ~600s on my
machine) but Phoronix’s PyBench test runs in 2130ms compared to 2229ms when
using PyBench to train (and 2345ms with PGO disabled).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: don't use runtime checks to identify float endianism
Ross Burton [Wed, 5 Sep 2018 10:48:53 +0000 (11:48 +0100)]
python3: don't use runtime checks to identify float endianism

Python uses AC_RUN_IFELSE to determine the byte order for floats and doubles,
and falls back onto "I don't know" if it can't run code.  This results in
crippled floating point numbers in Python, and the regression tests fail.

Instead of running code, take a macro from autoconf-archive which compiles C
with a special double in which has an ASCII representation, and then greps the
binary to identify the format.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: trim PGO patch
Ross Burton [Thu, 6 Sep 2018 11:15:19 +0000 (12:15 +0100)]
python3: trim PGO patch

There's no need to delete the line that removes the profile data, as we're not
using it after the build.  This reduces the size of the patch, making it easier
to maintain.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: add toggle for profile-guided-optimisation
Ross Burton [Thu, 6 Sep 2018 11:15:18 +0000 (12:15 +0100)]
python3: add toggle for profile-guided-optimisation

Add a PACKAGECONFIG for profile-guided-optimisation, and default to whether
qemu-usermode is available.

Move --enable-optimizations to the pgo optimisation as all this currently does
is use the PGO rules, causing a performance hit if PGO isn't actually used.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: generalise make commands
Ross Burton [Thu, 6 Sep 2018 11:15:17 +0000 (12:15 +0100)]
python3: generalise make commands

We're repeating the same make invocation over and over, twice without setting
OPT=${CFLAGS} which doesn't seem right.

Centralise the make invocation to clean up the tasks.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogobject-introspection: update to 1.58.0
Alexander Kanavin [Thu, 6 Sep 2018 10:29:30 +0000 (12:29 +0200)]
gobject-introspection: update to 1.58.0

License-Update: clarification of what parts of g-i are licensed under which license.
Actual terms are the same.

Add a patch to deal with prelink-rtld returning 127 in some cases despite there being no error.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoglib: update to 2.58.0
Alexander Kanavin [Thu, 6 Sep 2018 10:29:29 +0000 (12:29 +0200)]
glib: update to 2.58.0

Drop upstreamed patches, refresh the rest.
Add an explicit dependency on gettext-native, as glib is no longer
fooled by setting msgfmt to /bin/false.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomeson: update to 0.47.2
Alexander Kanavin [Thu, 6 Sep 2018 10:29:27 +0000 (12:29 +0200)]
meson: update to 0.47.2

Drop backported patches, refresh the rest.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibice: patch for CVE-2017-2626
Changqing Li [Mon, 27 Aug 2018 02:17:30 +0000 (10:17 +0800)]
libice: patch for CVE-2017-2626

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokexec-tools: fix for "Unhandled rela relocation: R_X86_64_PLT32" error
Mingli Yu [Thu, 30 Aug 2018 08:36:25 +0000 (16:36 +0800)]
kexec-tools: fix for "Unhandled rela relocation: R_X86_64_PLT32" error

In response to a change in binutils, commit b21ebf2fb4c
(x86: Treat R_X86_64_PLT32 as R_X86_64_PC32) was applied to
the linux kernel during the 4.16 development cycle and has
since been backported to earlier stable kernel series. The
change results in the failure message as below when rebooting
via kexec.
 # kexec -l /boot/bzImage --append="console=ttyS0,115200 root=/dev/sda1"
 Unhandled rela relocation: R_X86_64_PLT32

Fix this by replicating the change in kexec.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobuild.py: add clean option to 'devtool build' command
Chen Qi [Thu, 6 Sep 2018 06:56:15 +0000 (14:56 +0800)]
build.py: add clean option to 'devtool build' command

Add -c (--clean) optiont to 'devtool build' command so that users
could easily clean things up when using devtool.

I encountered a problem about do_prepare_recipe_sysroot failure
when using `devtool build' command and I found myself in a situation
where I either have to use `bitbake' command to clean things up or
use `rm' to remove the directories under ${WORKDIR}.

So add a clean option as it would be helpful when users want to clean
things up to prepare an environment for a clean build.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoffmpeg: Fix CVE-2018-15822
Mingli Yu [Thu, 6 Sep 2018 09:33:28 +0000 (17:33 +0800)]
ffmpeg: Fix CVE-2018-15822

Fixes: Assertion failure
Fixes: assert_flvenc.c:941_1.swf
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodropbear: Fix CVE-2018-15599
Mingli Yu [Thu, 6 Sep 2018 08:06:33 +0000 (16:06 +0800)]
dropbear: Fix CVE-2018-15599

Wait to fail invalid usernames to fix
CVE-2018-15599

Rework 0006-dropbear-configuration-file.patch
to fix fuzz warnings

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibxkbcommon: Upgrade to 0.8.2
Mingli Yu [Thu, 6 Sep 2018 08:03:14 +0000 (01:03 -0700)]
libxkbcommon: Upgrade to 0.8.2

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogtk-doc: update to 1.29
Alexander Kanavin [Thu, 6 Sep 2018 10:29:28 +0000 (12:29 +0200)]
gtk-doc: update to 1.29

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovala: update to 0.42.0
Alexander Kanavin [Thu, 6 Sep 2018 10:29:26 +0000 (12:29 +0200)]
vala: update to 0.42.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodtc: update to 1.4.7
Alexander Kanavin [Thu, 6 Sep 2018 10:29:25 +0000 (12:29 +0200)]
dtc: update to 1.4.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogptfdisk: update to 1.0.4
Alexander Kanavin [Thu, 6 Sep 2018 10:29:24 +0000 (12:29 +0200)]
gptfdisk: update to 1.0.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogdbm: update to 1.18
Alexander Kanavin [Thu, 6 Sep 2018 10:29:23 +0000 (12:29 +0200)]
gdbm: update to 1.18

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoboost: update to 1.68.0
Alexander Kanavin [Thu, 6 Sep 2018 10:29:22 +0000 (12:29 +0200)]
boost: update to 1.68.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agocantarell-fonts: update to 0.0.25
Alexander Kanavin [Thu, 6 Sep 2018 10:29:21 +0000 (12:29 +0200)]
cantarell-fonts: update to 0.0.25

See here for the "reconstruct" explanation:
https://gitlab.gnome.org/GNOME/cantarell-fonts/commit/e28a9096da43984212b5b4002b949bcb8c7527f9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolighttpd: update to 1.4.50
Alexander Kanavin [Thu, 6 Sep 2018 10:29:20 +0000 (12:29 +0200)]
lighttpd: update to 1.4.50

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoiso-codes: update to 4.1
Alexander Kanavin [Thu, 6 Sep 2018 10:29:19 +0000 (12:29 +0200)]
iso-codes: update to 4.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobtrfs-tools: update to 4.17.1
Alexander Kanavin [Thu, 6 Sep 2018 10:29:18 +0000 (12:29 +0200)]
btrfs-tools: update to 4.17.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobabetrace: update to 1.5.6
Alexander Kanavin [Thu, 6 Sep 2018 10:29:17 +0000 (12:29 +0200)]
babetrace: update to 1.5.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibsolv: update to 0.6.35
Alexander Kanavin [Thu, 6 Sep 2018 10:29:16 +0000 (12:29 +0200)]
libsolv: update to 0.6.35

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
Alexander Kanavin [Thu, 6 Sep 2018 10:29:15 +0000 (12:29 +0200)]
rpm: update to 4.14.2

Drop --disable-dbus option and patch: --disable-plugins is sufficient.

Drop upstreamed patches.

Drop a chunk of 0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch, as upstream fixed the issue.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemu: fix upstream version check
Alexander Kanavin [Thu, 6 Sep 2018 10:29:14 +0000 (12:29 +0200)]
qemu: fix upstream version check

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodos2unix: fix upstream version check
Alexander Kanavin [Thu, 6 Sep 2018 10:29:13 +0000 (12:29 +0200)]
dos2unix: fix upstream version check

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobzip2: do not perform upstream verison check
Alexander Kanavin [Thu, 6 Sep 2018 10:29:12 +0000 (12:29 +0200)]
bzip2: do not perform upstream verison check

Otherwise, latest version is reported as 1.0.2 which is less than 1.0.6.
Hopefully some kind of official homepage will exist at some point.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoeee-acpi-scripts: remove the recipe
Alexander Kanavin [Thu, 6 Sep 2018 10:29:10 +0000 (12:29 +0200)]
eee-acpi-scripts: remove the recipe

Asus EEEPc hardware is well obsolete, upstream repo is now gone.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoRevert "prelink: Fix SRC_URI and branch"
Richard Purdie [Thu, 6 Sep 2018 13:48:24 +0000 (14:48 +0100)]
Revert "prelink: Fix SRC_URI and branch"

This reverts commit bd8470dcaebddf37bf889d3dffd3dcb53d367f23.

It breaks prelink since its using the master branch which doesn't contain
the cross changes.

6 years agoopkg: add strict package matching on removal patch
Alejandro del Castillo [Wed, 5 Sep 2018 18:16:57 +0000 (13:16 -0500)]
opkg: add strict package matching on removal patch

During removal, opkg is using globs to select which metadata files to
remove. The glob is too broad and sometimes can result in a package
removing the metadata from a package with a close name. Make the
matching more strict.

Fixes bugzilla 12905

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopkg-keyrings: do not use 'exit 1' to postpone to first boot
Hongxu Jia [Wed, 5 Sep 2018 12:36:02 +0000 (08:36 -0400)]
opkg-keyrings: do not use 'exit 1' to postpone to first boot

Since `229f4e9 package.bbclass: add support for
pkg_postinst_ontarget()' applied in oe-core, use
pkg_postinst_ontarget to run postinst at first boot.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoepiphany: upgrade 3.28.1.1 -> 3.28.3.1
Yi Zhao [Mon, 27 Aug 2018 05:55:48 +0000 (13:55 +0800)]
epiphany: upgrade 3.28.1.1 -> 3.28.3.1

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoelfutils: CVE-2018-16062
Zhixiong Chi [Wed, 5 Sep 2018 02:42:46 +0000 (19:42 -0700)]
elfutils: CVE-2018-16062

Backport the CVE patch from the upstream:
https://sourceware.org/git/?p=elfutils.git;a=commit;
h=29e31978ba51c1051743a503ee325b5ebc03d7e9

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>