]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
6 years agowic: Fix partition files UIDs on multi rootfs images
Ricardo Ribalda Delgado [Fri, 11 May 2018 14:32:31 +0000 (16:32 +0200)]
wic: Fix partition files UIDs on multi rootfs images

When a wks makes reference to multiple rootfs, libspeudo data is not
properly chossen. This results in filesystems with invalid UIDs for all
the files.

This can be tested with this .wks file:
part / --source rootfs --fstype=ext4 --rootfs-dir=core-image-base
part /mnt/data1/ --fstype=ext4 --source rootfs --rootfs-dir=core-image-minimal
part /mnt/data2/ --fstype=ext4 --source rootfs --rootfs-dir=core-image-minimal

And this script

$bitbake core-image-minimal core-image-base syslinux
$losetup --partscan --find --read-only --show test*direct
$sudo mount /dev/loop0p1 /mnt
$ls -lan /mnt
otal 40
drwxr-xr-x 18    0    0  1024 May 11 16:11 .
drwxr-xr-x 25    0    0  4096 May  6 06:31 ..
drwxr-xr-x  2 1000 1000  3072 May 11 15:51 bin
drwxr-xr-x  2 1000 1000  1024 May 11 13:59 boot
drwxr-xr-x  2 1000 1000  1024 May 11 13:59 dev
drwxr-xr-x 25 1000 1000  3072 May 11 15:51 etc
drwxr-xr-x  3 1000 1000  1024 May 11 13:59 home
drwxr-xr-x  6 1000 1000  3072 May 11 15:51 lib
drwx------  2    0    0 12288 May 11 16:11 lost+found
drwxr-xr-x  2 1000 1000  1024 May 11 13:59 media
drwxr-xr-x  3 1000 1000  1024 May 11 15:50 mnt
drwxr-xr-x  2 1000 1000  1024 May 11 13:59 proc
drwxr-xr-x  2 1000 1000  1024 May 11 15:51 run
drwxr-xr-x  2 1000 1000  3072 May 11 15:51 sbin
drwxr-xr-x  2 1000 1000  1024 May 11 13:59 sys
drwxr-xr-t  2 1000 1000  1024 May 11 13:59 tmp
drwxr-xr-x 10 1000 1000  1024 May 11 14:54 usr
drwxr-xr-x  8 1000 1000  1024 May 11 14:55 var
$sudo losetup -d /dev/loop0

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agorootfs: only use dnf to cleanup if package management is enabled
Ross Burton [Fri, 27 Apr 2018 15:56:12 +0000 (16:56 +0100)]
rootfs: only use dnf to cleanup if package management is enabled

If package management has been disabled then we've already removed all the
state, and running 'dnf clean all' again will simply recreate a lot of the
files.

(From OE-Core rev: 4524068ad2248b37fb08a24828d018e2f7e6a761)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopackage_manager: expand the removal list for RPM
Ross Burton [Fri, 27 Apr 2018 15:55:44 +0000 (16:55 +0100)]
package_manager: expand the removal list for RPM

If package management is disabled we remove the state and configuration for the
package manager after the rootfs has been populated.  This list wasn't complete
and the DNF/RPM configuration files were left behind.

As we've added files to the list (and not just directories), expand the
backup/restore package management state code to handle this.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopatchreview: don't disable malformed SoB check uninative-2.0
Ross Burton [Fri, 11 May 2018 16:08:09 +0000 (17:08 +0100)]
patchreview: don't disable malformed SoB check

We cleaned up the metadata so this can be enabled again.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogtk+: fix patch headers
Ross Burton [Fri, 11 May 2018 16:06:09 +0000 (17:06 +0100)]
gtk+: fix patch headers

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoswig: fix patch headers
Ross Burton [Fri, 11 May 2018 16:06:02 +0000 (17:06 +0100)]
swig: fix patch headers

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomusl-utils: monitor commits for upstream tracking
Ross Burton [Fri, 11 May 2018 11:01:10 +0000 (12:01 +0100)]
musl-utils: monitor commits for upstream tracking

This repository is infrequently updated and doesn't really release, so just
watch for new commits.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agouninative-tarball: Add libjis and euc-jp gconv files
Khem Raj [Fri, 11 May 2018 06:52:49 +0000 (23:52 -0700)]
uninative-tarball: Add libjis and euc-jp gconv files

packages like fontforge-native fail with mysterious errors like

| ../../git/inc/gwwiconv.h:44:21: error: conflicting types for ‘gww_iconv_close’
|  #define iconv_close gww_iconv_close
|                      ^~~~~~~~~~~~~~~
| ../../git/inc/gwwiconv.h:37:13: note: previous declaration of ‘gww_iconv_close’ was here
|  extern void gww_iconv_close( gww_iconv_t cd);
|              ^~~~~~~~~~~~~~~

The reason behind this is that a check for iconv fails during native
configure run, the check fails because the autoconf test to check for iconv
pokes for these gconv's in test runs before declaring iconv support successful.

Therefore when uninative is active the package fails to build but when
uninative is inactive all works fine. this patch fixes that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agolibxcrypt: Fix build with gcc8
Khem Raj [Fri, 11 May 2018 06:52:48 +0000 (23:52 -0700)]
libxcrypt: Fix build with gcc8

Reported-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogcc-sanitizers: Package new liblsan objects built with gcc8
Khem Raj [Fri, 11 May 2018 06:52:47 +0000 (23:52 -0700)]
gcc-sanitizers: Package new liblsan objects built with gcc8

Fixes installed-vs-shipped QA errors

Reported-by: Dan McGregor <danismostlikely@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoboost: add contract lib
Mingli Yu [Fri, 11 May 2018 06:23:00 +0000 (23:23 -0700)]
boost: add contract lib

Add the contract lib which implements contract
programming (a.k.a., Design by Contract or DbC) [1]
for the C++ programming language.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agosysstat: upgrade to 11.7.3
Chen Qi [Fri, 11 May 2018 02:20:17 +0000 (10:20 +0800)]
sysstat: upgrade to 11.7.3

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogawk: upgrade to 4.2.1
Chen Qi [Fri, 11 May 2018 02:20:16 +0000 (10:20 +0800)]
gawk: upgrade to 4.2.1

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agostrace: remove -fno-omit-frame-pointer from DEBUG_OPTIMIZATION when ptest is enabled
Martin Jansa [Thu, 10 May 2018 22:29:57 +0000 (22:29 +0000)]
strace: remove -fno-omit-frame-pointer from DEBUG_OPTIMIZATION when ptest is enabled

* otherwise strace-4.22/tests/inject-nf.c fails to build as discussed here:
  http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150647.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agosudo: upgrade to 1.8.23
Chen Qi [Thu, 10 May 2018 07:13:35 +0000 (15:13 +0800)]
sudo: upgrade to 1.8.23

Upgrade sudo to 1.8.23.

The license checksum changes but the actual license does not.

The /var/run/sudo directory has changed to /run/sudo, change
do_install_append according to avoid error.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomatchbox-session-sato: Make the battery applet depend on machine features
Eran Matityahu [Sun, 30 Jul 2017 15:24:19 +0000 (18:24 +0300)]
matchbox-session-sato: Make the battery applet depend on machine features

matchbox-panel enables the battery plugin only if the
acpi/apm machine features are enabled,
so enable the battery applet in the session script
under the same conditions.

This avoids the 'Failed to load applet "battery"' warning at runtime,
in case these machine features are not defined.

Signed-off-by: Eran Matityahu <eran.m@variscite.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agodevtool/upgrade: fix the order of license checksum representation
Chen Qi [Thu, 10 May 2018 07:23:38 +0000 (15:23 +0800)]
devtool/upgrade: fix the order of license checksum representation

In most recipes in OE, beginline and endline are before md5 checksum.
We should obey this tradition in devtool's upgrade. Otherwise, we might
see meaningless change just because of the order change.

e.g.
-LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=7765a3d787cb4fed3ccc3c9cee030af9 \
-                    file://plugins/sudoers/redblack.c;beginline=1;endline=41;md5=805782a8466975716f8376b2be9aedde \
-                    file://lib/util/reallocarray.c;beginline=3;endline=16;md5=85b0905b795d4d58bf2e00635649eec6 \
-                    file://lib/util/fnmatch.c;beginline=3;endline=27;md5=67f83ee9bd456557397082f8f1be0efd \
-                    file://lib/util/getcwd.c;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \
-                    file://lib/util/glob.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \
-                    file://lib/util/snprintf.c;beginline=6;endline=34;md5=c82c1b3a5c32e08545c9ec5d71e41e50 \
-                    file://include/sudo_queue.h;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \
-                    file://lib/util/inet_pton.c;beginline=3;endline=17;md5=3970ab0518ab79cbd0bafb697f10b33a"
+LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=cc4bf2366b059c9598e3947f885931ec \
+                    file://plugins/sudoers/redblack.c;md5=805782a8466975716f8376b2be9aedde;beginline=1;endline=41 \
+                    file://lib/util/reallocarray.c;md5=85b0905b795d4d58bf2e00635649eec6;beginline=3;endline=16 \
+                    file://lib/util/fnmatch.c;md5=67f83ee9bd456557397082f8f1be0efd;beginline=3;endline=27 \
+                    file://lib/util/getcwd.c;md5=449af4cc57fc7d46f42090608ba3e681;beginline=5;endline=27 \
+                    file://lib/util/glob.c;md5=5872733146b9eb0deb79e1f664815b85;beginline=6;endline=31 \
+                    file://lib/util/snprintf.c;md5=c82c1b3a5c32e08545c9ec5d71e41e50;beginline=6;endline=34 \
+                    file://include/sudo_queue.h;md5=449af4cc57fc7d46f42090608ba3e681;beginline=5;endline=27 \
+                    file://lib/util/inet_pton.c;md5=3970ab0518ab79cbd0bafb697f10b33a;beginline=3;endline=17 \
+                    "

After this change, it becomes:
-LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=7765a3d787cb4fed3ccc3c9cee030af9 \
+LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=cc4bf2366b059c9598e3947f885931ec \
                     file://plugins/sudoers/redblack.c;beginline=1;endline=41;md5=805782a8466975716f8376b2be9aedde \
                     file://lib/util/reallocarray.c;beginline=3;endline=16;md5=85b0905b795d4d58bf2e00635649eec6 \
                     file://lib/util/fnmatch.c;beginline=3;endline=27;md5=67f83ee9bd456557397082f8f1be0efd \
@@ -12,7 +12,8 @@ LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=7765a3d787cb4fed3ccc3c9cee030af9 \
                     file://lib/util/glob.c;beginline=6;endline=31;md5=5872733146b9eb0deb79e1f664815b85 \
                     file://lib/util/snprintf.c;beginline=6;endline=34;md5=c82c1b3a5c32e08545c9ec5d71e41e50 \
                     file://include/sudo_queue.h;beginline=5;endline=27;md5=449af4cc57fc7d46f42090608ba3e681 \
-                    file://lib/util/inet_pton.c;beginline=3;endline=17;md5=3970ab0518ab79cbd0bafb697f10b33a"
+                    file://lib/util/inet_pton.c;beginline=3;endline=17;md5=3970ab0518ab79cbd0bafb697f10b33a \
+                    "

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agokexec-tools: Set -fno-PIC on aarch64
Mingli Yu [Thu, 10 May 2018 06:20:04 +0000 (23:20 -0700)]
kexec-tools: Set -fno-PIC on aarch64

As seen in GCC's gcc/config/aarch64/aarch64.c, -fPIC with large
code model is unsupported.  This fixes the "sorry, unimplemented"
errors when building with compilers defaulting to -fPIC.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agonative.bbclass: drop _virtclass-native and _virtclass-nativesdk overrides
Andre McCurdy [Thu, 10 May 2018 03:14:56 +0000 (20:14 -0700)]
native.bbclass: drop _virtclass-native and _virtclass-nativesdk overrides

The _virtclass-XXX over-rides are problematic in that they are higher
priority than _forcevariable, which is documented as being the
highest priority over-ride.

Since they are now obsolete (replaced by _class-native and
_class-nativesdk) drop them entirely rather than try to fix their
priority.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agosecurity_flags.inc: drop obsolete comment
Andre McCurdy [Thu, 10 May 2018 03:08:29 +0000 (20:08 -0700)]
security_flags.inc: drop obsolete comment

The last ARM specific over-ride was removed in:

  http://git.openembedded.org/openembedded-core/commit/?id=e93765ffb5718b0fce84f0b8123963176dea95e4

but the comment was accidentally left behind.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agorpm: move ASNEEDED over-ride into the rpm recipe
Andre McCurdy [Wed, 9 May 2018 21:46:48 +0000 (14:46 -0700)]
rpm: move ASNEEDED over-ride into the rpm recipe

Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopuzzles: move ASNEEDED over-ride into the puzzles recipe
Andre McCurdy [Wed, 9 May 2018 21:46:47 +0000 (14:46 -0700)]
puzzles: move ASNEEDED over-ride into the puzzles recipe

Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).

Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopciutils: move ASNEEDED over-ride into the pciutils recipe
Andre McCurdy [Wed, 9 May 2018 21:46:46 +0000 (14:46 -0700)]
pciutils: move ASNEEDED over-ride into the pciutils recipe

Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoicu: move ASNEEDED over-ride into icu.inc
Andre McCurdy [Wed, 9 May 2018 21:46:45 +0000 (14:46 -0700)]
icu: move ASNEEDED over-ride into icu.inc

Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agodistcc: move ASNEEDED over-ride into the distcc recipe
Andre McCurdy [Wed, 9 May 2018 21:46:44 +0000 (14:46 -0700)]
distcc: move ASNEEDED over-ride into the distcc recipe

Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).

Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoconsole-tools: move ASNEEDED over-ride into the console-tools recipe
Andre McCurdy [Wed, 9 May 2018 21:46:43 +0000 (14:46 -0700)]
console-tools: move ASNEEDED over-ride into the console-tools recipe

Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).

Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agobabeltrace: move ASNEEDED over-ride into the babeltrace recipe
Andre McCurdy [Wed, 9 May 2018 21:46:42 +0000 (14:46 -0700)]
babeltrace: move ASNEEDED over-ride into the babeltrace recipe

Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).

Also misc minor recipe cleanup (re-order variables to follow the OE
style guide, etc).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agotune-corei7.inc: minor comment tweak to align with tune-core2.inc
Andre McCurdy [Wed, 9 May 2018 21:46:41 +0000 (14:46 -0700)]
tune-corei7.inc: minor comment tweak to align with tune-core2.inc

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agocve-check.bbclass: detect CVE IDs listed on multiple lines
Jon Szymaniak [Wed, 9 May 2018 21:45:10 +0000 (16:45 -0500)]
cve-check.bbclass: detect CVE IDs listed on multiple lines

Some backported patches fix multiple CVEs and list the corresponding
identifiers on multiple lines, rather than on a single line.

cve-check.bbclass yields false positive warnings when CVE IDs are
presented on multiple lines because re.search() returns only
the first match.

An example of this behavior may be found when running do_cve_check() on
the wpa-supplicant recipe while in the rocko branch. Only CVE-2017-13077
is reported to be patched by commit de57fd8, despite the patch including
fixes for a total of 9 CVEs.

This is resolved by iterating over all regular expression matches,
rather than just the first.

Signed-off-by: Jon Szymaniak <jon.szymaniak.foss@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopbzip2: fix upstream check URL
Ross Burton [Thu, 10 May 2018 11:23:42 +0000 (12:23 +0100)]
pbzip2: fix upstream check URL

compression.ca is down, so use the Milestone page on Launchpad as that is also
where we download the tarball from.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoswig: Replace strncpy with memcpy
Khem Raj [Wed, 9 May 2018 20:24:22 +0000 (13:24 -0700)]
swig: Replace strncpy with memcpy

gcc8 is detecting string truncations when swig is
used in other packages

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agolibgpg-error: Upgrade 1.28 -> 1.31
Khem Raj [Wed, 9 May 2018 20:24:21 +0000 (13:24 -0700)]
libgpg-error: Upgrade 1.28 -> 1.31

License-Update: Check 19 lines of gpg-error.h.in only, more lines are not representing license text

Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomdadm: Fix build with gcc8
Khem Raj [Wed, 9 May 2018 20:24:17 +0000 (13:24 -0700)]
mdadm: Fix build with gcc8

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogo-native: use libdir_native
Dan McGregor [Wed, 9 May 2018 16:31:27 +0000 (10:31 -0600)]
go-native: use libdir_native

Setting staging_libdir to libdir caused unnecessary rebuilds of
go-native when switching from a multilib build to a non-multilib
build. Switch to libdir_native because it doesn't change based on
target configuration.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomesa: fix a build race in src/intel/vulkan
Ross Burton [Wed, 9 May 2018 19:44:16 +0000 (20:44 +0100)]
mesa: fix a build race in src/intel/vulkan

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agostrace: Upgrade to 4.22
Khem Raj [Fri, 4 May 2018 03:36:49 +0000 (20:36 -0700)]
strace: Upgrade to 4.22

License-Update: Update Copyright years

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agowebkitgtk: Disable using GST_GL if gst does not enable it
Khem Raj [Mon, 30 Apr 2018 14:06:46 +0000 (07:06 -0700)]
webkitgtk: Disable using GST_GL if gst does not enable it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoalsa-lib: Upgrade to 1.1.6
Khem Raj [Tue, 24 Apr 2018 20:12:59 +0000 (13:12 -0700)]
alsa-lib: Upgrade to 1.1.6

License-Update: FSF address updated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoalsa-tools: Update to 1.1.6
Khem Raj [Tue, 24 Apr 2018 19:33:45 +0000 (12:33 -0700)]
alsa-tools: Update to 1.1.6

License-Update: FSF address updated in hdsploader/COPYING and ld10k1/COPYING.LIB

Fix built with clang along the way

Package python dependent tools into a separate package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopbzip2: Fix C++11 warnings found with clang
Khem Raj [Tue, 24 Apr 2018 05:58:07 +0000 (22:58 -0700)]
pbzip2: Fix C++11 warnings found with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agooe-depends-dot: print dependency chains for '--why' option
Chen Qi [Tue, 8 May 2018 02:19:15 +0000 (10:19 +0800)]
oe-depends-dot: print dependency chains for '--why' option

When using '--why' option, we currently only list elements.
It's better to print out dependency chains. This patch adds
such abitility.

e.g.
  $ oe-depends-dot -k util-linux -w recipe-depends.dot
  Because: packagegroup-core-boot systemd-compat-units systemd shadow core-image-minimal dbus e2fsprogs
  core-image-minimal -> packagegroup-core-boot -> systemd-compat-units -> systemd -> dbus -> shadow -> util-linux
  core-image-minimal -> packagegroup-core-boot -> systemd-compat-units -> systemd -> dbus -> e2fsprogs -> util-linux

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogcc7: drop stray uClibc specific patch
Andre McCurdy [Mon, 7 May 2018 19:12:59 +0000 (12:12 -0700)]
gcc7: drop stray uClibc specific patch

The patch seems to have been left behind when other uClibc specific
patches were purged from gcc in:

  http://git.openembedded.org/openembedded-core/commit/?id=ec03023d2165b49a52b83bac1ea2f0bfded7b852

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoxz: use update-alternatives
Allen Wild [Sun, 6 May 2018 23:00:02 +0000 (19:00 -0400)]
xz: use update-alternatives

Installing xz and busybox together may cause conflicts for xz, xzcat,
unxz, and their lzma variants. In the default configuration, xzcat is
silently replaced with a symlink to busybox. If busybox is compiled with
CONFIG_XZ=y, its postinst fails during do_rootfs.

Using update-alternatives to xz handles these conflicts properly.

Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoe2fsprogs: Complement update-alternatives scope
Niko Mauno [Sat, 5 May 2018 19:50:42 +0000 (22:50 +0300)]
e2fsprogs: Complement update-alternatives scope

Avoid collision of e2fsprogs provided tune2fs, mke2fs and mkfs.ext2
commands with corresponding BusyBox provided applets in case both
packages are installed to same rootfs, by adding these commands to
update-alternatives scope

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoliburi-perl: upgrade 1.73 -> 1.74
Tim Orling [Sat, 5 May 2018 01:36:30 +0000 (18:36 -0700)]
liburi-perl: upgrade 1.73 -> 1.74

Upstream release notes:

Changes for version 1.74 - 2018-04-22
avoid 'uninitialized' warning in URI::File when host has no domain name set (PR#53, thanks Shoichi Kaji!)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agotzdata: update to 2018e
Armin Kuster [Fri, 4 May 2018 17:05:16 +0000 (10:05 -0700)]
tzdata: update to 2018e

 Briefly:

    North Korea switches back to +09 on 2018-05-05.
    The main format uses negative DST again, for Ireland etc.
    'make tarballs' now also builds a rearguard tarball.
    New 's' and 'd' suffixes in SAVE columns of Rule and Zone lines.

  Changes to past and future time stamps

    North Korea switches back from +0830 to +09 on 2018-05-05.
    (Thanks to Kang Seonghoon, Arthur David Olson, Seo Sanghyeon,
    and Tim Parenti.)

    Bring back the negative-DST changes of 2018a, except be more
    compatible with data parsers that do not support negative DST.
    Also, this now affects historical time stamps in Namibia and the
    former Czechoslovakia, not just Ireland.  The main format now uses
    negative DST to model time stamps in Europe/Dublin (from 1971 on),
    Europe/Prague (1946/7), and Africa/Windhoek (1994/2017).  This
    does not affect UT offsets, only time zone abbreviations and the
    tm_isdst flag.  Also, this does not affect rearguard or vanguard
    formats; effectively the main format now uses vanguard instead of
    rearguard format.  Data parsers that do not support negative DST
    can still use data from the rearguard tarball described below

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agotzcode-native: updatet to 2018e
Armin Kuster [Fri, 4 May 2018 17:05:15 +0000 (10:05 -0700)]
tzcode-native: updatet to 2018e

  Changes to build procedure

    The command 'make tarballs' now also builds the tarball
    tzdataVERSION-rearguard.tar.gz, which is like tzdataVERSION.tar.gz
    except that it uses rearguard format intended for trailing-edge
    data parsers.

  Changes to data format and to code

    The SAVE column of Rule and Zone lines can now have an 's' or 'd'
    suffix, which specifies whether the adjusted time is standard time
    or daylight saving time.  If no suffix is given, daylight saving
    time is used if and only if the SAVE column is nonzero; this is
    the longstanding behavior.  Although this new feature is not used
    in tzdata, it could be used to specify the legal time in Namibia
    1994-2017, as opposed to the popular time (see below).

  Changes to past time stamps

    From 1994 through 2017 Namibia observed DST in winter, not summer.
    That is, it used negative DST, as Ireland still does.  This change
    does not affect UTC offsets; it affects only the tm_isdst flag and
    the abbreviation used during summer, which is now CAT, not WAST.
    Although (as noted by Michael Deckers) summer and winter time were
    both simply called "standard time" in Namibian law, in common
    practice winter time was considered to be DST (as noted by Stephen
    Colebourne).  The full effect of this change is only in vanguard
    format; in rearguard and main format, the tm_isdst flag is still
    zero in winter and nonzero in summer.

    In 1946/7 Czechoslovakia also observed negative DST in winter.
    The full effect of this change is only in vanguard format; in
    rearguard and main formats, it is modeled as plain GMT without
    daylight saving.  Also, the dates of some 1944/5 DST transitions
    in Czechoslovakia have been changed.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agosysvinit-inittab: do not use 'exit 1' to postpone to first boot
Alexander Kanavin [Tue, 1 May 2018 18:06:46 +0000 (21:06 +0300)]
sysvinit-inittab: do not use 'exit 1' to postpone to first boot

Instead, first check if we need to do anything at all during first boot,
and if so, either postpone to first boot via pkg_postinst_ontarget()
when running on host, or run the necessary setup code when running on target.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogtk+: do not look into $HOME when looking for modules
Alexander Kanavin [Tue, 1 May 2018 18:06:44 +0000 (21:06 +0300)]
gtk+: do not look into $HOME when looking for modules

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agodevtool/sdk.py: error out in case of downloading file failure
Chen Qi [Mon, 14 May 2018 08:35:22 +0000 (16:35 +0800)]
devtool/sdk.py: error out in case of downloading file failure

It's possible that downloading file from updateserver fails. In
this case, we should error out instead of continue.

We have users reporting unexpected behavior of 'devtool sdk-update'.
When an invalid url is supplied, e.g., `devtool sdk-update http://invalid',
the program reports 'Note: Already up-to-date'.

This is obviously not expected. We should error out in such case.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosecurity_flags: disable static PIE in glibc
Ross Burton [Mon, 14 May 2018 12:02:11 +0000 (13:02 +0100)]
security_flags: disable static PIE in glibc

Static PIE doesn't work entirely right in GCC 7, for example ldconfig on ARM
with the flags enabled will something segfault during initialisation.

To mitigate this until we have GCC 8 integrated, don't enable static PIE.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoruntime/dnf: Add new dnf test cases
Jose Perez Carranza [Thu, 30 Nov 2017 16:23:02 +0000 (10:23 -0600)]
runtime/dnf: Add new dnf test cases

Add test cases to test “exclude” and “installroot“ options, also modify
the logic of filtering packages on the feed to have all the packages
needed by the tests.

[YOCTO #10744]

Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agorm_work: Stop appending _setscene to do_image_complete_setscene stamps
Mike Crowe [Wed, 9 May 2018 11:02:35 +0000 (12:02 +0100)]
rm_work: Stop appending _setscene to do_image_complete_setscene stamps

Each time I build my image after the first, I end up with a
do_image_complete_setscene stamp file with an extra _setscene appended to
the name. Eventually, the filenames end up being so long that mv complains
and the build fails.

It looks like this behaviour was introduced when the special handling was
added for do_image_complete in 2ff9d40dc88d43567472218cf3d3faf414398c71.

So, let's ensure that the *_setscene* pattern is matched before anything
else so that any do_image_complete_setscene stamp file is always ignored
and the do_image_complete non-setscene stamp file is moved only once.

It's not straightforward to just move *do_image_complete* after the
*_setscene* pattern because do_image_complete stamps would then match
do_image*.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogrub2: fix build with gcc8
Martin Jansa [Wed, 9 May 2018 18:33:09 +0000 (18:33 +0000)]
grub2: fix build with gcc8

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomesa: ensure all libwayland-egl* files are removed
Denys Dmytriyenko [Wed, 9 May 2018 16:15:30 +0000 (12:15 -0400)]
mesa: ensure all libwayland-egl* files are removed

Wayland 1.15+ now ships libwayland-egl by itself, so Mesa should remove
its instance. Previous commit 6e5952fcfc13ff4b63c9376bd41a1dbba957f425
only removed .so libraries, but left .la, which resulted in conflict.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodepmodwrapper-cross: Add kmod-native to DEPENDS
Haris Okanovic [Wed, 9 May 2018 14:59:58 +0000 (09:59 -0500)]
depmodwrapper-cross: Add kmod-native to DEPENDS

Add `DEPENDS += "kmod-native"` to ensure depmod utility is added to
recipe-sysroot-native during image build.

Without this dependency, image builds where BUILD_IMAGES_FROM_FEEDS=1
have depmodwrapper in recipe-sysroot-native but are missing depmod.
Kernel postinst scripts rely on depmod (via depmodwrapper) to index
newly installed modules.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoutil-linux: update to 2.32
Armin Kuster [Wed, 9 May 2018 14:51:48 +0000 (07:51 -0700)]
util-linux: update to 2.32

rfkill moved locations, update accordingly

refactored avoid_parallel_tests.patch

includes security fix:
CVE-2018-7738 (score: 7.2)
affects: < 2.32-rc1

see changelog for other bugfixes:
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.32/v2.32-ChangeLog

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosystemd: fix build with util-linux 2.32
Ross Burton [Thu, 10 May 2018 11:06:19 +0000 (12:06 +0100)]
systemd: fix build with util-linux 2.32

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agosystemd: backport patch to fix build when gcrypt is enabled
Andrea Galbusera [Wed, 9 May 2018 12:16:08 +0000 (14:16 +0200)]
systemd: backport patch to fix build when gcrypt is enabled

When gcrypt support is present in PACKAGECONFIG, build fails due to the bug
reported in [1]. Since this is already solved upstream, this commit backports
the corresponding patch.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893602

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoperl: native modules will not trigger build perl for target.
Krzysztof Taborski [Tue, 8 May 2018 16:46:58 +0000 (18:46 +0200)]
perl: native modules will not trigger build perl for target.

Currently building perl-native modules triggers
build perl for target due to PACKAGES_DYNAMIC regex.

This commit will cause, that perl native modules will
trigger perl-native build.

Signed-off-by: Krzysztof Taborski <taborskikrzysztof@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibcap: fix -native and usrmerge builds
Mark Asselstine [Tue, 8 May 2018 19:40:18 +0000 (15:40 -0400)]
libcap: fix -native and usrmerge builds

When attempting to build a -native package which DEPENDS on
libcap-native the libcap libraries are not found and the build will
fail (for example attempting to build qemu-native with
'PACKAGECONFIG_append = " virtfs"').

It turns out commit 2c9c4a406a0f [libcap: fix (base_)libdir usage]
breaks builds of libcap(-native) when $root_prefix is not "". This is
because the variables which define $root_prefix are also part of
$prefix so you end up with part of the path being used twice, first as
part of 'lib=' in do_compile, and secondly as part of 'prefix=' in
do_install. When $root_prefix is "" this isn't noticed.

By using $baselib we should not re-break the issue which commit
2c9c4a406a0f was fixing but we should avoid doubling down on the
paths thus fixing the -native and usrmerge builds.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobase: improve do_unpack[cleandirs] logic
Ross Burton [Wed, 25 Apr 2018 13:57:29 +0000 (14:57 +0100)]
base: improve do_unpack[cleandirs] logic

If a recipe sets S to ${WORKDIR}/ then the S != WORKDIR test doesn't work as
expected.  Use os.path.normpath() to normalise the paths so string comparison
works.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agooeqa/selftest/case: fix typo
Hongxu Jia [Tue, 24 Apr 2018 08:57:28 +0000 (16:57 +0800)]
oeqa/selftest/case: fix typo

s/meta-sefltest/meta-selftest/g

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoperl: fix CVE-2017-12837
Hongxu Jia [Tue, 24 Apr 2018 07:37:51 +0000 (15:37 +0800)]
perl: fix CVE-2017-12837

https://perl5.git.perl.org/perl.git/commitdiff/96c83ed78aeea1a0496dd2b2d935869a822dc8a5

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoglibc: Check /etc/ld.so.conf.d/*.conf by default
Tom Rini [Fri, 20 Apr 2018 17:55:23 +0000 (13:55 -0400)]
glibc: Check /etc/ld.so.conf.d/*.conf by default

The expected modern behavior for dealing with adding ld.so.conf entries
is to add a file to /etc/ld.so.conf.d/.  In order to do this, ld.so.conf
needs to explicitly include that /etc/ld.so.conf.d/*.conf.  Make it so.

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agodistcc-doc_3.2: improve reproducibility
Juro Bystricky [Tue, 20 Mar 2018 22:37:44 +0000 (15:37 -0700)]
distcc-doc_3.2: improve reproducibility

Remove timestamps from metadata of gzip compressed files.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agolibical-dev_2.0: improve reproducibility
Juro Bystricky [Tue, 20 Mar 2018 22:36:36 +0000 (15:36 -0700)]
libical-dev_2.0: improve reproducibility

Remove build host references from distributed files.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agooe-buildperf-report: highlight large changes in the HTML report
Ross Burton [Thu, 26 Apr 2018 11:35:09 +0000 (12:35 +0100)]
oe-buildperf-report: highlight large changes in the HTML report

If the relative difference is greater than 2%, make the text bold to highlight
it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomesa: Define PYTHON2
Khem Raj [Thu, 3 May 2018 10:03:26 +0000 (03:03 -0700)]
mesa: Define PYTHON2

Ensure that python2 is not assumed to be python which can
point to python3 in some cases, when building gallium-llvm
there are scripts which are requiring python2 and wont work
with python3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoclutter-gst-3.0: upgrade 3.0.24 -> 3.0.26
Ross Burton [Wed, 9 May 2018 13:04:48 +0000 (14:04 +0100)]
clutter-gst-3.0: upgrade 3.0.24 -> 3.0.26

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogst-plugins-good: enable mpg123 and lame
Anuj Mittal [Thu, 3 May 2018 08:17:58 +0000 (16:17 +0800)]
gst-plugins-good: enable mpg123 and lame

Since the last remaining mp3 patents have expired [1] and corresponding
commercial flags from recipes for these removed, enable these to be built by default.

[1] https://www.iis.fraunhofer.de/en/ff/amm/prod/audiocodec/audiocodecs/mp3.html

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogstreamer-libav: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Thu, 3 May 2018 08:17:57 +0000 (16:17 +0800)]
gstreamer-libav: upgrade 1.12.4 -> 1.14.0

Drop one patch as the change is now present upstream. For changes,
please see: https://gstreamer.freedesktop.org/releases/1.14/

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogst-python: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Thu, 3 May 2018 08:17:56 +0000 (16:17 +0800)]
gst-python: upgrade 1.12.4 -> 1.14.0

For changes, please see: https://cgit.freedesktop.org/gstreamer/gst-python/tree/ChangeLog

Also merge inc/bb since we have only one version now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogst-omx: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Thu, 3 May 2018 08:17:55 +0000 (16:17 +0800)]
gst-omx: upgrade 1.12.4 -> 1.14.0

For changes, please see: https://cgit.freedesktop.org/gstreamer/gst-omx/tree/ChangeLog
Merge inc/bb since we only have one version now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogst-validate: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Thu, 3 May 2018 08:17:54 +0000 (16:17 +0800)]
gst-validate: upgrade 1.12.4 -> 1.14.0

* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/.
* Patch Makefile to fix compilation errors.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogstreamer-vaapi: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Thu, 3 May 2018 08:17:53 +0000 (16:17 +0800)]
gstreamer-vaapi: upgrade 1.12.4 -> 1.14.0

For changes, please see gstreamer-vaapi specific section at:
https://gstreamer.freedesktop.org/releases/1.14/

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogst-rtsp-server: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Thu, 3 May 2018 08:17:52 +0000 (16:17 +0800)]
gst-rtsp-server: upgrade 1.12.4 -> 1.14.0

* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* Merge inc/bb since there's only one version now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogst-plugins-ugly: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Thu, 3 May 2018 08:17:51 +0000 (16:17 +0800)]
gst-plugins-ugly: upgrade 1.12.4 -> 1.14.0

* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* Remove PACKAGECONFIG for lame, mpg123 since those have moved to -good.
* Merge inc/bb since there's only one version now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogst-plugins-bad: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Wed, 9 May 2018 04:01:38 +0000 (12:01 +0800)]
gst-plugins-bad: upgrade 1.12.4 -> 1.14.0

* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* gst-gl has moved to -good and direct dependencies aren't required.
* Remove vulkan patches that have been upstreamed.
* Remove obsolete PACKAGECONFIGs.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogst-plugins-good: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Thu, 3 May 2018 08:17:49 +0000 (16:17 +0800)]
gst-plugins-good: upgrade 1.12.4 -> 1.14.0

* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* With the expiration of mp3 patents [1], mp3 decoders and encoders have been
  moved to -plugins-good from -plugins-ugly (also see the release notes).
* Move bz2 and zlib to PACKAGECONFIG.
* gtk+ plugin has moved to -good from -bad. Enable it by default.
* qt plugin has also moved to -good from -bad but it's disabled by default.

[1] https://www.iis.fraunhofer.de/en/ff/amm/prod/audiocodec/audiocodecs/mp3.html

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agogst-plugins-base: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Wed, 9 May 2018 04:01:39 +0000 (12:01 +0800)]
gst-plugins-base: upgrade 1.12.4 -> 1.14.0

* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* OpenGL integration library has moved to -plugins-base, add PACKAGECONFIG.
* Remove one patch as that has been fixed in a different way upstream.
* Merge inc/bb and refresh patches to get rid of fuzz warnings.
* Remove x86 specific cached variables as they're not needed anymore.
* Add jpeg to PACKAGECONFIG and enable it by default.
* Port gstreamer-gl specific patches from -plugins-bad.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogstreamer1.0: upgrade 1.12.4 -> 1.14.0
Anuj Mittal [Thu, 3 May 2018 08:17:47 +0000 (16:17 +0800)]
gstreamer1.0: upgrade 1.12.4 -> 1.14.0

* For changes, please see: https://gstreamer.freedesktop.org/releases/1.14/
* Merge inc and bb file since we only have one version now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agosubversion: misc recipe cleanup
Andre McCurdy [Wed, 2 May 2018 22:12:49 +0000 (15:12 -0700)]
subversion: misc recipe cleanup

 - Add default value for PACKAGECONFIG
 - Combine "inherit autotools" with "inherit pkgconfig gettext"
 - Drop historical addition of -L${STAGING_LIBDIR} to LDFLAGS
 - Re-order variables according to OE styleguide

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agoalsa-lib: move contents of alsa-fpu.inc into alsa-lib recipe
Andre McCurdy [Wed, 2 May 2018 20:12:18 +0000 (13:12 -0700)]
alsa-lib: move contents of alsa-fpu.inc into alsa-lib recipe

Merge historical .inc file into the only recipe which uses it.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agokernel: Permit overriding of KERNEL_IMAGETYPE_FOR_MAKE
Mike Crowe [Wed, 2 May 2018 16:02:34 +0000 (17:02 +0100)]
kernel: Permit overriding of KERNEL_IMAGETYPE_FOR_MAKE

Commit a1690131691507bbf5853540229b3ad775b836bf removed the ability of
recipes to set KERNEL_IMAGETYPE_FOR_MAKE. Fix that by letting recipes
continue to set their own KERNEL_IMAGETYPE_FOR_MAKE if they so wish.
They may have been doing so for a while, and don't want to have their
carefully-selected value trampled on by kernel.bbclass.

This may be required if the recipe itself wants to build one type of
kernel, but post-process it into a different type, rather like the
vmlinux->vmlinux.gz support provided by kernel.bbclass.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agojson-c: upgrade to 0.13.1
Martin Jansa [Wed, 2 May 2018 14:37:31 +0000 (14:37 +0000)]
json-c: upgrade to 0.13.1

* from https://github.com/json-c/json-c/commit/861c1a82868831bf82222f974f05c2af5a975d12

* Bump the major version of the .so library generated up to 4.0 to avoid
  conflicts because some downstream packagers of json-c had already done
  their own bump to ".so.3" for a much older 0.12 release.
* Add const size_t json_c_object_sizeof()
* Avoid invalid free (and thus a segfault) when ref_count gets < 0
* PR#394: fix handling of custom double formats that include a ".0"
* Avoid uninitialized variable warnings in json_object_object_foreach
* Issue #396: fix build for certain uClibc based systems.
* Add a top level fuzz directory for fuzzers run by OSS-Fuzz

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agomaintainers: reassign some Intel maintainers
Ross Burton [Thu, 3 May 2018 22:09:30 +0000 (23:09 +0100)]
maintainers: reassign some Intel maintainers

Signed-off-by: Ross Burton <ross.burton@intel.com>
6 years agopackagegroup: Do not add libssp to SDK
Khem Raj [Mon, 30 Apr 2018 13:37:17 +0000 (06:37 -0700)]
packagegroup: Do not add libssp to SDK

Libssp is only needed on non-glibc/non-musl systems
Add rpcsvc-proto for rpcgen since its not part of glibc
anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agoallarch.bbclass: Exclude package_do_shlibs from do_package signature
Khem Raj [Sun, 29 Apr 2018 19:15:14 +0000 (12:15 -0700)]
allarch.bbclass: Exclude package_do_shlibs from do_package signature

shlibs is largely useless for allarch, the particular usecase where it
fails is when DISTRO_FEATURE is changing due to libc being different e.g.

Variable package_do_shlibs value changed:
-DISTRO_FEATURES{ldconfig} = Set
+DISTRO_FEATURES{ldconfig} = Unset

musl -> glibc or other way around 'ldconfig' gets added or deleted to
DISTRO_FEATURE set, neither this distro feature nor the shlibs processing
during packaging is of interest to allarch packages which are largely
arch independent scripts

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agoppp: Install net/ppp_defs.h on musl
Khem Raj [Sun, 29 Apr 2018 16:18:20 +0000 (09:18 -0700)]
ppp: Install net/ppp_defs.h on musl

This header is used by other apps e.g. ippool
glibc provides an internal version which it should not

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agolibnsl2: Install into /usr/include and /usr/lib
Khem Raj [Sun, 29 Apr 2018 16:17:09 +0000 (09:17 -0700)]
libnsl2: Install into /usr/include and /usr/lib

Extend to native and nativesdk variants

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agoperl: Account for libnsl being dropped from glibc
Khem Raj [Sat, 28 Apr 2018 07:41:31 +0000 (00:41 -0700)]
perl: Account for libnsl being dropped from glibc

-lnsl needs to be removed even on glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agowatchdog: Use libtirpc even on glibc
Khem Raj [Sat, 28 Apr 2018 07:41:11 +0000 (00:41 -0700)]
watchdog: Use libtirpc even on glibc

We dropped in-tree obsoleted rpc from glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agotcp-wrapper: Use external libnsl
Khem Raj [Sat, 28 Apr 2018 07:39:56 +0000 (00:39 -0700)]
tcp-wrapper: Use external libnsl

We dropped in-tree obsoleted libnsl from glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agoxinetd: Use libtirpc even on glibc
Khem Raj [Sat, 28 Apr 2018 07:38:47 +0000 (00:38 -0700)]
xinetd: Use libtirpc even on glibc

We dropped in-tree obsoleted rpc from glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agoltp: Fix build after removing rpc and libnsl in glibc
Khem Raj [Sat, 28 Apr 2018 07:37:45 +0000 (00:37 -0700)]
ltp: Fix build after removing rpc and libnsl in glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agolibnsl: Upgrade to tip beyond 1.2.0 release
Khem Raj [Sat, 28 Apr 2018 07:34:42 +0000 (00:34 -0700)]
libnsl: Upgrade to tip beyond 1.2.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agolibtirpc: Upgrade to 1.0.4-tc1
Khem Raj [Sat, 28 Apr 2018 07:33:41 +0000 (00:33 -0700)]
libtirpc: Upgrade to 1.0.4-tc1

Drop backported patches
Redo musl support patch such that it
can be applied universally

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agolibnss-nis: Add recipe
Khem Raj [Sat, 28 Apr 2018 07:32:28 +0000 (00:32 -0700)]
libnss-nis: Add recipe

This will substitute the glibc nis module which
has been removed

Skip for non-glibc systems

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agorpcsvc-proto: Add recipe
Khem Raj [Fri, 27 Apr 2018 21:50:18 +0000 (14:50 -0700)]
rpcsvc-proto: Add recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>