]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agowayland-utils: introduce a recipe
Alexander Kanavin [Mon, 9 Nov 2020 08:31:31 +0000 (09:31 +0100)]
wayland-utils: introduce a recipe

wayland-utils contains wayland-info utility which deprecates
and replaces weston-info from weston.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoweston-init: fall back to fbdev under x32
Alexander Kanavin [Mon, 9 Nov 2020 08:31:30 +0000 (09:31 +0100)]
weston-init: fall back to fbdev under x32

Otherwise, there's a crash in swrast - the same issue as with
X11.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoweston-init: correctly start under systemd
Alexander Kanavin [Mon, 9 Nov 2020 08:31:29 +0000 (09:31 +0100)]
weston-init: correctly start under systemd

Several issues are addressed:
1. weston requires pam when starting under systemd
2. systemd was attempting to launch weston twice (from
sysvinit script and from systemd unit file) which caused confusion
and errors.
3. runtime test should stop/start weston via systemd only if systemd
actually controls system startup, not merely when systemd is present.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoconf-notes.txt: mention more important images than just sato
Alexander Kanavin [Mon, 9 Nov 2020 08:31:28 +0000 (09:31 +0100)]
conf-notes.txt: mention more important images than just sato

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomusl: Update to latest master
Khem Raj [Mon, 9 Nov 2020 00:21:30 +0000 (16:21 -0800)]
musl: Update to latest master

fix erroneous pthread_cond_wait mutex waiter count logic due to typo

https://git.musl-libc.org/cgit/musl/log/?qt=range&q=27b2fc9d6db956359727a66c262f1e69995660aa..d91a6cf6e369a79587c5665fce9635e5634ca201

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Handle duplicate names for variables
Khem Raj [Mon, 9 Nov 2020 00:02:17 +0000 (16:02 -0800)]
gcc: Handle duplicate names for variables

PREFIXVAR is defined in cppdefaults.c as well which shows up as error
when LTO is enabled to build gcc, therefore rename the one instance to PREFIXVAR1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolto.inc: Disable LTO for perf
Khem Raj [Mon, 9 Nov 2020 00:02:16 +0000 (16:02 -0800)]
lto.inc: Disable LTO for perf

perf invokes kernel sources, and currently fails in multiple places for
now therefore disable LTO for perf

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopuzzles: Check for excessive constant arguments
Khem Raj [Mon, 9 Nov 2020 00:02:15 +0000 (16:02 -0800)]
puzzles: Check for excessive constant arguments

Fixes an issue found with LTO builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Do no parameterize LTO configuration flags
Khem Raj [Mon, 9 Nov 2020 00:02:14 +0000 (16:02 -0800)]
gcc: Do no parameterize LTO configuration flags

These flags are redundant as LTO now enabled in GCC by default for
sometime, Moreover, dropping LTO variable here avoids a conflict with
global LTO variable being added for distrowide LTO support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolto.inc: Disable LTO for xserver-xorg
Khem Raj [Mon, 9 Nov 2020 00:02:13 +0000 (16:02 -0800)]
lto.inc: Disable LTO for xserver-xorg

It ends up with undefined symbol when LTO is enabled
Fixes
test/xi2/protocol-xiquerydevice.c:345: undefined reference to `GrabButton'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoweston: Fix linking with LTO
Khem Raj [Mon, 9 Nov 2020 00:02:12 +0000 (16:02 -0800)]
weston: Fix linking with LTO

weston uses --no-undefined option during linking which does not work
with LTO therefore override it with -z undefs when lto is enabled in
distro

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibaio: Disable LTO
Khem Raj [Mon, 9 Nov 2020 00:02:11 +0000 (16:02 -0800)]
libaio: Disable LTO

Libaio uses ASMs to implement symbol versioning which does not work with LTO

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolto: Introduce LTOEXTRA variable
Khem Raj [Mon, 9 Nov 2020 00:02:10 +0000 (16:02 -0800)]
lto: Introduce LTOEXTRA variable

Certain packages may need additional flags to enable LTO, therefore
LTOEXTRA can be used to pass those flags

Add -flto-partition=none for alsa-lib

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolto.inc: Add -ffat-lto-objects and -fuse-linker-plugin
Khem Raj [Mon, 9 Nov 2020 00:02:09 +0000 (16:02 -0800)]
lto.inc: Add -ffat-lto-objects and -fuse-linker-plugin

This helps to improve LTO and ensure the libs can be linked with non-LTO
objects too

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: Enable lto if its in DISTRO_FEATURES
Khem Raj [Mon, 9 Nov 2020 00:02:08 +0000 (16:02 -0800)]
python3: Enable lto if its in DISTRO_FEATURES

python3 configure compiles on object file and then greps for strings in
it for endianness for target ,when using LTO the .o files are not nomal
ELF onjects so this test fails, since we are using --enable-lto to
enable this here we dont need to inject extra paths via bitbake anyway
therefore reset LTO variable for target

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolto: Add global LTO distro policy file
Khem Raj [Mon, 9 Nov 2020 00:02:07 +0000 (16:02 -0800)]
lto: Add global LTO distro policy file

Distros which want to enable LTO can utilize this file, it only covers
packages from OE-Core, other layers should include there own exclusion
list for recipe which dont work with LTO

Document the needed changes in local.conf.extended

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub: clean up CVE patches
Yongxin Liu [Wed, 4 Nov 2020 00:43:33 +0000 (08:43 +0800)]
grub: clean up CVE patches

Clean up several patches introduced in commit 6732918498 ("grub:fix
several CVEs in grub 2.04").

1) Add CVE tags to individual patches.
2) Rename upstream patches and prefix them with CVE tags.
3) Add description of reference to upstream patch.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: fix build with x11 enabled
Martin Jansa [Fri, 6 Nov 2020 03:38:13 +0000 (04:38 +0100)]
webkitgtk: fix build with x11 enabled

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: fix opengl PACKAGECONFIG
Martin Jansa [Fri, 6 Nov 2020 02:42:52 +0000 (03:42 +0100)]
webkitgtk: fix opengl PACKAGECONFIG

* ENABLE(OPENGL) was renamed to ENABLE(GRAPHICS_CONTEXT_GL) in r254064:
  https://github.com/WebKit/webkit/commit/92f9916b4a0d799c3f7be10b69aa53f40a149a2d
  and
  https://github.com/WebKit/webkit/commit/b3cb3ba4fa713e23ae27b2a79c14c6735d40d671
  but AUH doesn't notice that and builds without opengl in DISTRO_FEATURES are now
  failing with:
  | CMake Error at Source/cmake/OptionsGTK.cmake:323 (message):
  |   Either OpenGL or OpenGLES2 is needed for ENABLE_GRAPHICS_CONTEXT_GL.
  | Call Stack (most recent call first):
  |   Source/cmake/WebKitCommon.cmake:58 (include)
  |   CMakeLists.txt:173 (include)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodhcpcd: upgrade 9.3.1 -> 9.3.2
Yi Zhao [Fri, 6 Nov 2020 02:54:27 +0000 (10:54 +0800)]
dhcpcd: upgrade 9.3.1 -> 9.3.2

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodhcpcd: install dhcpcd to /sbin rather than /usr/sbin
Yi Zhao [Fri, 6 Nov 2020 02:54:26 +0000 (10:54 +0800)]
dhcpcd: install dhcpcd to /sbin rather than /usr/sbin

The dhcpcd path is hardcoded to /sbin in ifupdown package. Move dhcpcd
from /usr/sbin to /sbin to make sure ifup/ifdown can find it when dhcpcd
as the dhcp client backend.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agort-tests: Enable only for x86/ppc64 architectures
Khem Raj [Tue, 3 Nov 2020 19:37:53 +0000 (11:37 -0800)]
rt-tests: Enable only for x86/ppc64 architectures

It needs frc() implementation for oslat, this is new tool added to
rt-tests recently, and there is no easy knob to configure it out at
present

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoclutter-gst-3.0: do not call out to host gstreamer plugin scanner
Alexander Kanavin [Tue, 3 Nov 2020 19:19:43 +0000 (20:19 +0100)]
clutter-gst-3.0: do not call out to host gstreamer plugin scanner

This is host contamination and can also fail for all kinds of
reasons when running under usermode qemu.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd: selinux hook handling to enumerate nexthop
Purushottam choudhary [Wed, 4 Nov 2020 10:34:00 +0000 (16:04 +0530)]
systemd: selinux hook handling to enumerate nexthop

When selinux is enabled, the call of
manager_rtnl_enumerate_nexthop() fails.
This fix is to facilitate selinux hook handling
for enumerating nexthop.

In manager_rtnl_enumerate_nexthop() there is a check
if "Not supported" is returned by the send_netlink() call.
This check expects that -EOPNOTSUPP is returned,
the selinux hook seems to return -EINVAL instead.
This happens in kernel older than 5.3
(more specificallytorvalds/linux@65ee00a) as it does not support
nexthop handling through netlink.
And if SELinux is enforced in the order kernel, callingRTM_GETNEXTHOP
returns -EINVAL.

Thus adding a call in the manager_rtnl_enumerate_nexthop for the
extra return -EINVAL.

Note: systemd version is different in yocto project (v246.6) and
systemd master(v247) and In systemd verison(246.6)
mac_selinux_enforcing() function is not declared and defined.

Signed-off-by: Purushottam choudhary <purushottam.choudhary@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocml1.bbclass: Handle ncurses-native being available via pkg-config
Nathan Rossi [Wed, 4 Nov 2020 11:34:48 +0000 (11:34 +0000)]
cml1.bbclass: Handle ncurses-native being available via pkg-config

The linux kernel will by default use pkg-config to get ncurses(w) paths,
falling back to absolute path checks otherwise. If the build host does
not have ncurses installed this will fail as pkg-config will not search
the native sysroot for ncurses.

To more all kernel/kconfig sources, inject the equivalent native
pkg-config variables similar to what is done by the pkg-config-native
script. This only affects the menuconfig python task itself and the
oe_terminal call inside it.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer: Fix build on 32bit arches with 64bit time_t
Khem Raj [Wed, 4 Nov 2020 07:08:20 +0000 (23:08 -0800)]
gstreamer: Fix build on 32bit arches with 64bit time_t

Fixes

| ../gstreamer-1.18.1/gst/gstsystemclock.c:330:1: error: static_assert failed due to requirement 'size
of(struct _GstClockEntryPThread) <= sizeof(struct _GstClockEntryImpl)' "Expression evaluates to false"
| G_STATIC_ASSERT (sizeof (GstClockEntryImpl) <=                                                      | ^                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonumactl: Link with libatomic on rv64/rv32
Khem Raj [Wed, 4 Nov 2020 06:24:03 +0000 (22:24 -0800)]
numactl: Link with libatomic on rv64/rv32

bring a missing commit from meta-oe

Fixes
riscv64-yoe-linux/10.2.0/ld: ./.libs/libnuma.so: undefined reference to `__atomic_fetch_and_1'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoisoimage-isohybrid.py: Support adding files/dirs
Chaitanya Vadrevu [Tue, 3 Nov 2020 22:10:32 +0000 (16:10 -0600)]
isoimage-isohybrid.py: Support adding files/dirs

Add "payload_dir" parameter so user can add other files/dirs
to the ISO.

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agojson-glib: update patch status
Ross Burton [Wed, 4 Nov 2020 12:12:16 +0000 (12:12 +0000)]
json-glib: update patch status

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agojson-glib: use PACKAGECONFIG for tests
Ross Burton [Wed, 4 Nov 2020 12:12:15 +0000 (12:12 +0000)]
json-glib: use PACKAGECONFIG for tests

json-glib 1.6 has an option to enable or disable the tests, so use that
instead of a do_install_append.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffstat: add nativesdk to BBCLASSEXTEND
Nathan Rossi [Thu, 5 Nov 2020 10:58:09 +0000 (10:58 +0000)]
diffstat: add nativesdk to BBCLASSEXTEND

The diffstat tool is part of HOSTTOOLS. To support hosts that do not
have it installed with buildtools-tarball it must be enabled for
nativesdk.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopulseaudio: unify volatiles file name
Yi Zhao [Thu, 5 Nov 2020 08:05:54 +0000 (16:05 +0800)]
pulseaudio: unify volatiles file name

Make the volatiles file name start with a numeric value to unified
volatiles file naming. I searched in oe-core, only pluseaudio volatiles
file name is not start with number.

On a default sato-sdk image:
$ ls /etc/default/volatiles/
00_core 01_bootlogd 99_dbus 99_sshd 99_wpa_supplicant volatiles.04_pulse

This is just a name change and will not affect the functionality.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorsync: add nativesdk to BBCLASSEXTEND
Nathan Rossi [Wed, 4 Nov 2020 13:16:19 +0000 (13:16 +0000)]
rsync: add nativesdk to BBCLASSEXTEND

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosyslinux: add link to upstream discussion in patch
Ross Burton [Wed, 4 Nov 2020 12:02:50 +0000 (12:02 +0000)]
syslinux: add link to upstream discussion in patch

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoweston-init: introduce WESTON_GROUP
Richard Leitner [Wed, 4 Nov 2020 14:25:32 +0000 (15:25 +0100)]
weston-init: introduce WESTON_GROUP

Currently the WESTON_USER variable is used as user and group name for
chown'ing XDG_RUNTIME_DIR. If WESTON_USER has no group with the same
name this fails.

Therefore add a new WESTON_GROUP variable which is set to WESTON_USER if
not specified to ensure backwards compatibility.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoautotools: CONFIG_SHELL defaults
Andrej Valek [Wed, 4 Nov 2020 13:35:33 +0000 (14:35 +0100)]
autotools: CONFIG_SHELL defaults

Do not hard-code default shell to /bin/bash even if CONFIG_SHELL is already
set to other shell, but keep /bin/bash as a default. This will fix a shadow
issue, where CONFIG_SHELL is exported to /bin/sh, but /bin/bash is used
even if it's not installed.

Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-module-split.bbclass: identify kernel modconf files as configuration files
Gratian Crisan [Thu, 5 Nov 2020 21:39:56 +0000 (15:39 -0600)]
kernel-module-split.bbclass: identify kernel modconf files as configuration files

Currently the modconf fragments representing the configuration for
kernel modules are written out to appropriate .conf files and added to
the FILES variable. However they are not identified as 'configuration
files' and installing a new version of a kernel module results in a
conflict and a failed installed because the respective .conf file is
already in place from a previous install.

Add the generated .conf files to the CONFFILES variable denoting their
true nature.

Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorecipes-graphics: libxkbcommon disable build of libxkbregistry
Anibal Limon [Thu, 5 Nov 2020 18:04:47 +0000 (12:04 -0600)]
recipes-graphics: libxkbcommon disable build of libxkbregistry

This library depends on libxml2 causing a build failure,

...
07:50:36 Run-time dependency xcb-xkb found: YES 1.14
07:50:36 Found CMake: NO
07:50:36 Run-time dependency libxml-2.0 found: NO (tried pkgconfig)
07:50:36
07:50:36 ../libxkbcommon-1.0.1/meson.build:329:4: ERROR: Dependency "libxml-2.0" not found, tried pkgconfig
07:50:36
07:50:36 A full log can be found at /srv/oe/build/tmp-rpb-glibc/work/cortexa53-linaro-linux/libxkbcommon/1.0.1-r0/build/meson-logs/meson-log.txt
07:50:36 WARNING: exit code 1 from a shell command.
...

According libxkbcommon PACKAGING file the libxkbregistry is suggested to
be packaged separately, users of libxkbcommon dosen't require
libxkbregistry and vice-versa, see:

https://github.com/xkbcommon/libxkbcommon/blob/master/PACKAGING

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovim: add nativesdk to BBCLASSEXTEND
Nathan Rossi [Thu, 5 Nov 2020 11:02:47 +0000 (11:02 +0000)]
vim: add nativesdk to BBCLASSEXTEND

Enable nativesdk build support in order to be able to include vim in
nativesdk targets (e.g. buildtools-tarball/sdk). It is useful to be able
to provide an editor in a relocatable form for when hosts do not provide
an editor. Additionally the vim recipe provides the xxd tool.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoalsa-utils: Fix license to GPLv2 only
Richard Purdie [Thu, 29 Oct 2020 22:14:53 +0000 (22:14 +0000)]
alsa-utils: Fix license to GPLv2 only

Parts of alsa-utils are v2 only, parts are v2 or later. The effect is
the end result is GPLv2 and there seems little value in marking everything
as being a mixture of both. Fix LICENSE to match reality.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibdnf: Fix license as it contains 'or later' clause
Richard Purdie [Thu, 29 Oct 2020 21:45:47 +0000 (21:45 +0000)]
libdnf: Fix license as it contains 'or later' clause

The license headers are clear that the code is "or later", fix LICENSE
to match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoptest-runner: Fix license as it contains 'or later' clause
Richard Purdie [Thu, 29 Oct 2020 21:31:50 +0000 (21:31 +0000)]
ptest-runner: Fix license as it contains 'or later' clause

The license headers are clear that the code is "or later", fix LICENSE
to match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoconnman: set service to conflict with systemd-networkd
Yi Zhao [Mon, 2 Nov 2020 09:20:12 +0000 (17:20 +0800)]
connman: set service to conflict with systemd-networkd

Do not run systemd-networkd and connman simultaneously. These two
network managers may conflict with each other.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: fix a build race
Alexander Kanavin [Mon, 2 Nov 2020 23:02:58 +0000 (00:02 +0100)]
mesa: fix a build race

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodosfstools: add mkfs.vfat to ALTERNATIVE
Ricardo Salveti [Mon, 2 Nov 2020 22:34:29 +0000 (19:34 -0300)]
dosfstools: add mkfs.vfat to ALTERNATIVE

The mkfs.vfat tool can also be provided by busybox via the CONFIG_MKFS_VFAT
configuration (not enabled by default in OE but can be enabled on
systems avoiding components based on GPLv3).

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemd-serialgetty: Switch to TERM=linux
Jason Wessel [Mon, 2 Nov 2020 22:28:52 +0000 (14:28 -0800)]
systemd-serialgetty: Switch to TERM=linux

Long ago in commit 473ff65c2f69de4ece3204fadfae7c5cb992149a
(serial-getty service: Add xterm as default TERM), the xterm
became the default for the serial port terminal.

Using the version of vim.tiny in oe-core master with the
serial port connected in xterm version 322 (which is one
of the most widely deployed versions at the current time)
causes artifacts and missed characters.

The example sequence is the following:
  * Start vim
  * Press "i" to enter input mode
  * Type "123"
  * Press Escape to enter command mode
  * Press "a" to enter append mode
  * Type "456"

At this point if you are using xterm less than version 535 you will
see on your screen "12456" instead of "123456".

Changing the TERM variable to "linux" will still allow you to have all
the same functionality with colorization, ansi character escapes
etc..., but will avoid the extra xterm specific escape sequence that
only exists in the most recent versions of xterm.

This patch allows the end user to set the serial terminal type to
something other than the new default of "linux" by changing the
SERIAL_TERM variable in local.conf.  For example:
    SERIAL_TERM = "xterm"

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobase-files/profile: Add universal resize function
Jason Wessel [Mon, 2 Nov 2020 22:28:51 +0000 (14:28 -0800)]
base-files/profile: Add universal resize function

Using an editor or any kind of command line that wraps beyond the
column width of the session on a serial port is quite problematic
unless you are using an 80x24 session.

The original /etc/profile tried to use the resize binary if it was
available.  The problem is that you only get the resize binary if
xterm, or busybox is installed.

This updated /etc/profile will add a resize function available to the
shell when no xterm or busybox resize binary is found.  More care is
taken in this new version to test that terminal is interactive.  The
EDITOR and SHLVL environment variables are checked to prevent resize
from running necessarily.

The function definitions are not indented intentionally to keep them
to the 80 column width.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokea: use odd-even version scheme for updates
Alexander Kanavin [Mon, 2 Nov 2020 20:17:27 +0000 (21:17 +0100)]
kea: use odd-even version scheme for updates

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonumactl: upgrade 2.0.13 -> 2.0.14
Alexander Kanavin [Mon, 2 Nov 2020 16:49:07 +0000 (17:49 +0100)]
numactl: upgrade 2.0.13 -> 2.0.14

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsoup-2.4: upgrade 2.70.0 -> 2.72.0
Alexander Kanavin [Mon, 2 Nov 2020 16:49:06 +0000 (17:49 +0100)]
libsoup-2.4: upgrade 2.70.0 -> 2.72.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibmpc: upgrade 1.2.0 -> 1.2.1
Alexander Kanavin [Mon, 2 Nov 2020 16:49:05 +0000 (17:49 +0100)]
libmpc: upgrade 1.2.0 -> 1.2.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibgcrypt: upgrade 1.8.6 -> 1.8.7
Alexander Kanavin [Mon, 2 Nov 2020 16:49:04 +0000 (17:49 +0100)]
libgcrypt: upgrade 1.8.6 -> 1.8.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibevdev: upgrade 1.9.1 -> 1.10.0
Alexander Kanavin [Mon, 2 Nov 2020 16:49:03 +0000 (17:49 +0100)]
libevdev: upgrade 1.9.1 -> 1.10.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap-ng: upgrade 0.7.11 -> 0.8
Alexander Kanavin [Mon, 2 Nov 2020 16:49:02 +0000 (17:49 +0100)]
libcap-ng: upgrade 0.7.11 -> 0.8

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibassuan: upgrade 2.5.3 -> 2.5.4
Alexander Kanavin [Mon, 2 Nov 2020 16:49:01 +0000 (17:49 +0100)]
libassuan: upgrade 2.5.3 -> 2.5.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoenchant2: upgrade 2.2.9 -> 2.2.12
Alexander Kanavin [Mon, 2 Nov 2020 16:49:00 +0000 (17:49 +0100)]
enchant2: upgrade 2.2.9 -> 2.2.12

License-Update: reformatting
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: upgrade 160 -> 161
Alexander Kanavin [Mon, 2 Nov 2020 16:48:59 +0000 (17:48 +0100)]
diffoscope: upgrade 160 -> 161

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowebkitgtk: upgrade 2.30.1 -> 2.30.2
Alexander Kanavin [Mon, 2 Nov 2020 16:48:58 +0000 (17:48 +0100)]
webkitgtk: upgrade 2.30.1 -> 2.30.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agort-tests/hwlatdetect: upgrade 1.8 -> 1.9
Alexander Kanavin [Mon, 2 Nov 2020 16:48:57 +0000 (17:48 +0100)]
rt-tests/hwlatdetect: upgrade 1.8 -> 1.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agox264: upgrade to latest revision
Alexander Kanavin [Mon, 2 Nov 2020 16:48:56 +0000 (17:48 +0100)]
x264: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogstreamer1.0: upgrade 1.18.0 -> 1.18.1
Alexander Kanavin [Mon, 2 Nov 2020 16:48:55 +0000 (17:48 +0100)]
gstreamer1.0: upgrade 1.18.0 -> 1.18.1

License-Update: COPYING replaces gpl2 with lgpl2.1, COPYING.LIB removed.
This does not change the overall licensing situation as explained here:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1422

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoalsa: upgrade 1.2.3 -> 1.2.4
Alexander Kanavin [Mon, 2 Nov 2020 16:48:54 +0000 (17:48 +0100)]
alsa: upgrade 1.2.3 -> 1.2.4

Backport a patch to fix musl builds.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-firmware: upgrade 20200817 -> 20201022
Alexander Kanavin [Mon, 2 Nov 2020 16:48:53 +0000 (17:48 +0100)]
linux-firmware: upgrade 20200817 -> 20201022

License-Update: WHENCE file names updates
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agofreetype: upgrade 2.10.2 -> 2.10.4
Alexander Kanavin [Mon, 2 Nov 2020 16:48:52 +0000 (17:48 +0100)]
freetype: upgrade 2.10.2 -> 2.10.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibhandy: upgrade 1.0.0 -> 1.0.1
Alexander Kanavin [Mon, 2 Nov 2020 16:48:51 +0000 (17:48 +0100)]
libhandy: upgrade 1.0.0 -> 1.0.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostress-ng: upgrade 0.11.21 -> 0.11.23
Alexander Kanavin [Mon, 2 Nov 2020 16:48:50 +0000 (17:48 +0100)]
stress-ng: upgrade 0.11.21 -> 0.11.23

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibsolv: upgrade 0.7.14 -> 0.7.16
Alexander Kanavin [Mon, 2 Nov 2020 16:48:49 +0000 (17:48 +0100)]
libsolv: upgrade 0.7.14 -> 0.7.16

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiptables: upgrade 1.8.5 -> 1.8.6
Alexander Kanavin [Mon, 2 Nov 2020 16:48:48 +0000 (17:48 +0100)]
iptables: upgrade 1.8.5 -> 1.8.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoasciidoc: upgrade 9.0.2 -> 9.0.4
Alexander Kanavin [Mon, 2 Nov 2020 16:48:47 +0000 (17:48 +0100)]
asciidoc: upgrade 9.0.2 -> 9.0.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-setuptools: upgrade 49.6.0 -> 50.3.2
Alexander Kanavin [Mon, 2 Nov 2020 16:48:46 +0000 (17:48 +0100)]
python3-setuptools: upgrade 49.6.0 -> 50.3.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pygments: upgrade 2.6.1 -> 2.7.2
Alexander Kanavin [Mon, 2 Nov 2020 16:48:45 +0000 (17:48 +0100)]
python3-pygments: upgrade 2.6.1 -> 2.7.2

License-Update: copyright years
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-pyelftools: upgrade 0.26 -> 0.27
Alexander Kanavin [Mon, 2 Nov 2020 16:48:44 +0000 (17:48 +0100)]
python3-pyelftools: upgrade 0.26 -> 0.27

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-git: upgrade 3.1.7 -> 3.1.11
Alexander Kanavin [Mon, 2 Nov 2020 16:48:43 +0000 (17:48 +0100)]
python3-git: upgrade 3.1.7 -> 3.1.11

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-numpy: upgrade 1.19.1 -> 1.19.3
Alexander Kanavin [Mon, 2 Nov 2020 16:48:42 +0000 (17:48 +0100)]
python3-numpy: upgrade 1.19.1 -> 1.19.3

License-Update: reformatting
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomtools: upgrade 4.0.24 -> 4.0.25
Alexander Kanavin [Mon, 2 Nov 2020 16:48:41 +0000 (17:48 +0100)]
mtools: upgrade 4.0.24 -> 4.0.25

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo: upgrade 1.15.2 -> 1.15.3
Alexander Kanavin [Mon, 2 Nov 2020 16:48:40 +0000 (17:48 +0100)]
go: upgrade 1.15.2 -> 1.15.3

Set PV directly to allow automated version updates between point releases.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogit: upgrade 2.28.0 -> 2.29.2
Alexander Kanavin [Mon, 2 Nov 2020 16:48:39 +0000 (17:48 +0100)]
git: upgrade 2.28.0 -> 2.29.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobtrfs-tools: upgrade 5.7 -> 5.9
Alexander Kanavin [Mon, 2 Nov 2020 16:48:38 +0000 (17:48 +0100)]
btrfs-tools: upgrade 5.7 -> 5.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodropbear: upgrade 2020.80 -> 2020.81
Alexander Kanavin [Mon, 2 Nov 2020 16:48:37 +0000 (17:48 +0100)]
dropbear: upgrade 2020.80 -> 2020.81

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonfs-utils: upgrade 2.5.1 -> 2.5.2
Alexander Kanavin [Mon, 2 Nov 2020 16:48:36 +0000 (17:48 +0100)]
nfs-utils: upgrade 2.5.1 -> 2.5.2

Drop chunks from clang-warnings.patch that are merged upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agousbutils: upgrade 012 -> 013
Alexander Kanavin [Mon, 2 Nov 2020 16:48:34 +0000 (17:48 +0100)]
usbutils: upgrade 012 -> 013

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agou-boot: upgrade 2020.07 -> 2020.10
Alexander Kanavin [Mon, 2 Nov 2020 16:48:33 +0000 (17:48 +0100)]
u-boot: upgrade 2020.07 -> 2020.10

License-Update: added MIT license to README; overall license remains as it was
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxkeyboard-config: upgrade 2.30 -> 2.31
Alexander Kanavin [Mon, 2 Nov 2020 16:48:32 +0000 (17:48 +0100)]
xkeyboard-config: upgrade 2.30 -> 2.31

Add python3native, as at least python 3.6 is needed during build, and not
all hosts have that.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowpebackend-fdo: upgrade 1.7.1 -> 1.8.0
Alexander Kanavin [Mon, 2 Nov 2020 16:48:31 +0000 (17:48 +0100)]
wpebackend-fdo: upgrade 1.7.1 -> 1.8.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovala: upgrade 0.48.9 -> 0.50.1
Alexander Kanavin [Mon, 2 Nov 2020 16:48:30 +0000 (17:48 +0100)]
vala: upgrade 0.48.9 -> 0.50.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosudo: upgrade 1.9.3 -> 1.9.3p1
Alexander Kanavin [Mon, 2 Nov 2020 16:48:29 +0000 (17:48 +0100)]
sudo: upgrade 1.9.3 -> 1.9.3p1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostrace: upgrade 5.8 -> 5.9
Alexander Kanavin [Mon, 2 Nov 2020 16:48:28 +0000 (17:48 +0100)]
strace: upgrade 5.8 -> 5.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssl: upgrade 1.1.1g -> 1.1.1h
Alexander Kanavin [Mon, 2 Nov 2020 16:48:27 +0000 (17:48 +0100)]
openssl: upgrade 1.1.1g -> 1.1.1h

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoopenssh: upgrade 8.3p1 -> 8.4p1
Alexander Kanavin [Mon, 2 Nov 2020 16:48:26 +0000 (17:48 +0100)]
openssh: upgrade 8.3p1 -> 8.4p1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibxkbcommon: upgrade 0.10.0 -> 1.0.1
Alexander Kanavin [Mon, 2 Nov 2020 16:48:25 +0000 (17:48 +0100)]
libxkbcommon: upgrade 0.10.0 -> 1.0.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibwpe: upgrade 1.7.1 -> 1.8.0
Alexander Kanavin [Mon, 2 Nov 2020 16:48:24 +0000 (17:48 +0100)]
libwpe: upgrade 1.7.1 -> 1.8.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibva-utils: update 2.8.0 -> 2.9.1
Alexander Kanavin [Mon, 2 Nov 2020 16:48:23 +0000 (17:48 +0100)]
libva-utils: update 2.8.0 -> 2.9.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibva: upgrade 2.8.0 -> 2.9.0
Alexander Kanavin [Mon, 2 Nov 2020 16:48:22 +0000 (17:48 +0100)]
libva: upgrade 2.8.0 -> 2.9.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibuv: upgrade 1.39.0 -> 1.40.0
Alexander Kanavin [Mon, 2 Nov 2020 16:48:21 +0000 (17:48 +0100)]
libuv: upgrade 1.39.0 -> 1.40.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibinput: upgrade 1.16.1 -> 1.16.2
Alexander Kanavin [Mon, 2 Nov 2020 16:48:20 +0000 (17:48 +0100)]
libinput: upgrade 1.16.1 -> 1.16.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibgudev: upgrade 233 -> 234
Alexander Kanavin [Mon, 2 Nov 2020 16:48:19 +0000 (17:48 +0100)]
libgudev: upgrade 233 -> 234

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibdnf: upgrade 0.48.0 -> 0.54.2
Alexander Kanavin [Mon, 2 Nov 2020 16:48:18 +0000 (17:48 +0100)]
libdnf: upgrade 0.48.0 -> 0.54.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoless: upgrade 562 -> 563
Alexander Kanavin [Mon, 2 Nov 2020 16:48:17 +0000 (17:48 +0100)]
less: upgrade 562 -> 563

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokmscube: upgrade to latest revision
Alexander Kanavin [Mon, 2 Nov 2020 16:48:16 +0000 (17:48 +0100)]
kmscube: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoiw: upgrade 5.8 -> 5.9
Alexander Kanavin [Mon, 2 Nov 2020 16:48:15 +0000 (17:48 +0100)]
iw: upgrade 5.8 -> 5.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>