]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
7 years agolibjpeg-turbo: add -fomit-frame-pointer to DEBUG_OPTIMIZATION for armv[45] with thumb...
Martin Jansa [Sun, 5 Aug 2018 19:40:57 +0000 (19:40 +0000)] 
libjpeg-turbo: add -fomit-frame-pointer to DEBUG_OPTIMIZATION for armv[45] with thumb enabled

with thumb and debug enabled libjpeg-turbo gets stuck forever
when building for qemuarm.

libjpeg-turbo gets stuck in:
libjpeg-turbo/1_1.5.3-r0/build$ arm-webos-linux-gnueabi-gcc -march=armv5te -mthumb -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security --sysroot=libjpeg-turbo/1_1.5.3-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../libjpeg-turbo-1.5.3 -Wall -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -c ../libjpeg-turbo-1.5.3/turbojpeg.c  -fPIC -DPIC -o .libs/libturbojpeg_la-turbojpeg.o

when -mthumb, -fstack-protector-strong, -fno-omit-frame-pointer appear
together, removing one of them is enough for successful build.

similar to:
http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150654.html
but in this case the build gets stuck instead of failure

(From OE-Core rev: 70af5f22f7a52fb4cbe64486948bcb2425a56d9e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobash: add -fomit-frame-pointer to DEBUG_OPTIMIZATION for armv[45] with thumb enabled
Martin Jansa [Sun, 5 Aug 2018 19:40:57 +0000 (19:40 +0000)] 
bash: add -fomit-frame-pointer to DEBUG_OPTIMIZATION for armv[45] with thumb enabled

with thumb and debug enabled bash gets stuck forever when building for qemuarm.

bash/4.4.18-r0/build/builtins$ arm-webos-linux-gnueabi-gcc  -march=armv5te -mthumb -fstack-protector-strong   --sysroot=bash/4.4.18-r0/recipe-sysroot -c  -DHAVE_CONFIG_H -DSHELL  -I. -I..  -I../../bash-4.4.18 -I../../bash-4.4.18/include -I../../bash-4.4.18/lib -I../../bash-4.4.18/builtins    -O -fno-omit-frame-pointer -g -DNON_INTERACTIVE_LOGIN_SHELLS read.c

when -mthumb, -fstack-protector-strong, -fno-omit-frame-pointer appear
together, removing one of them is enough for successful build.

similar to:
http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150654.html
but in this case the build gets stuck instead of failure

(From OE-Core rev: ae41e1f263d20d5d83b2a7ca95dc955840d793e1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooe_syslog.py: fix for syslog-ng
Chen Qi [Mon, 6 Aug 2018 03:17:25 +0000 (11:17 +0800)] 
oe_syslog.py: fix for syslog-ng

When using syslog-ng as the syslog provider, oe_syslog test case fails
because it cannot find the syslog daemon. This is because it greps for
'syslogd' but syslog-ng's daemon is 'syslog-ng'. So fix it to check both
'syslogd' and 'syslog-ng'.

Also, when the test case fails, what I get is:
| AssertionError: 1 != 0 : No syslogd process; ps output:
<empty here>

This does not help user. The output is actually from the 'PS | GREP' command.
And when the 'PS | GREP' command fails, the output is always empty. So also fix
this problem. After the change, it looks like:
| AssertionError: False is not true : No syslog daemon process; ps output:
|   PID USER       VSZ STAT COMMAND
|     1 root     16476 S    {systemd} /sbin/init
|     2 root         0 SW   [kthreadd]
|     3 root         0 IW   [kworker/0:0]
...

(From OE-Core rev: b180fbd9d93db1c6351e183fbc08fc81cdc240c0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/reproducible_build: Avoid dereferencing symlinks
Joshua Watt [Mon, 6 Aug 2018 15:25:09 +0000 (10:25 -0500)] 
classes/reproducible_build: Avoid dereferencing symlinks

Using os.path.getmtime() will dereference symbolic links in an attempt
to get the last modified time. This can cause errors if the target
doesn't exist, or worse map to some absolute build host path which would
make a build not reproducible.

(From OE-Core rev: fae23c72288068f90e2f357a8abf1384850c02ed)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agofile: Update to 5.34
Khem Raj [Mon, 6 Aug 2018 22:57:09 +0000 (15:57 -0700)] 
file: Update to 5.34

Distros which have glibc 2.28 on them otherwsise fail
to build due to some syscall mismatches

(From OE-Core rev: 990a9c944375146bb3f0208b30e8b7f50239cef5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoblktool: Fix build with glibc 2.28
Khem Raj [Mon, 6 Aug 2018 22:57:06 +0000 (15:57 -0700)] 
blktool: Fix build with glibc 2.28

(From OE-Core rev: 1c279929b87fda0eb2598e9e9f218dd38cfeb1a1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agostrace: Fix build with glibc 2.28
Khem Raj [Mon, 6 Aug 2018 22:57:05 +0000 (15:57 -0700)] 
strace: Fix build with glibc 2.28

(From OE-Core rev: 2a37692d591411b05bfd9f0745ae00678b587b67)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobison: Fix build break with glibc 2.28
Khem Raj [Mon, 6 Aug 2018 22:57:04 +0000 (15:57 -0700)] 
bison: Fix build break with glibc 2.28

(From OE-Core rev: 741415c58b3565764000028c26efd081212eb989)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogzip: Fix build with glibc 2.28
Khem Raj [Mon, 6 Aug 2018 22:57:03 +0000 (15:57 -0700)] 
gzip: Fix build with glibc 2.28

(From OE-Core rev: 224500314aa76bf70cbe5dce2c7736e94b9a2ceb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobootchart2: Update to master-tip
Khem Raj [Mon, 6 Aug 2018 22:57:02 +0000 (15:57 -0700)] 
bootchart2: Update to master-tip

This has several fixes to get it building with glibc 2.28+
remove backported patch which is not needed now

(From OE-Core rev: f1dc6b5eebf455c46036e200c1eaff34ebd50db1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agofindutils: Fix build with glibc 2.28
Khem Raj [Mon, 6 Aug 2018 22:57:01 +0000 (15:57 -0700)] 
findutils: Fix build with glibc 2.28

Fix foe gnulib bug and makedev header move in glibc 2.25+

(From OE-Core rev: 790cbe479804dfc37767da76d1ef235396038aae)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agom4: Workaround gnulib's fseeko.c implementation
Khem Raj [Mon, 6 Aug 2018 22:57:00 +0000 (15:57 -0700)] 
m4: Workaround gnulib's fseeko.c implementation

exposed by glibc 2.28 for details see
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html

(From OE-Core rev: acca7f964bf9c21f3777085563a7928b8246f17f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: Detect if statx struct is defined in sys/stat.h
Khem Raj [Mon, 6 Aug 2018 22:56:59 +0000 (15:56 -0700)] 
systemd: Detect if statx struct is defined in sys/stat.h

Fixed build with glibc 2.28+

(From OE-Core rev: 776d14db9589eb2e2bca35da862ad0e260e3584c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevicetree.bbclass: User/BSP device tree source compilation class
Nathan Rossi [Thu, 2 Aug 2018 08:55:04 +0000 (18:55 +1000)] 
devicetree.bbclass: User/BSP device tree source compilation class

This bbclass implements the device tree compilation for user provided
device trees. In order to use this class, it should be inherited in a
BSP recipe which provides the sources. The default setup enables
inclusion of kernel device tree sources (though can be disabled by the
recipe by overriding DT_INCLUDE or KERNEL_INCLUDE).

This provides an additional mechanism for BSPs to provide device trees
and device tree overlays for their target machines. Whilst still
enabling access to the kernel device trees for base SoC includes and
headers.

This approach to providing device trees has benefits for certain use
cases over patching the device trees into the kernel source.

* device trees are separated from kernel source, allows for selection of
kernel and or kernel versions without needing to explicitly patch the
kernel (or appending to the kernel recipes).

* providing device trees from separate sources, from the layer,
generated by the recipe or other recipes.

This class also implements some additional features that are not
available in the kernel-devicetree flow. This includes population of
device tree blobs into the sysroot which allows for other recipes to
consume built dtbs (e.g. U-Boot with EXT_DTB compilation), device tree
overlay compilation and customizing DTC compilation args (boot
cpu/padding/etc.).

(From OE-Core rev: 3874c3859c3515fc8440fa9e776a02ad6ff3135c)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Acked-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicu:61.1 -> 62.1
Hong Liu [Tue, 7 Aug 2018 09:31:48 +0000 (17:31 +0800)] 
icu:61.1 -> 62.1

1.Upgrade icu from 61.1 to 62.1.

2.0001-i18n-Drop-include-xlocale.h.patch has been merged.

(From OE-Core rev: 8be6cfb97ea8d5a7938c1ccbf8218a7bfa5e86a2)

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovala:0.40.4 -> 0.40.8
Hong Liu [Tue, 7 Aug 2018 09:31:46 +0000 (17:31 +0800)] 
vala:0.40.4 -> 0.40.8

Upgrade vala from 0.40.4 to 0.40.8

(From OE-Core rev: 34f9391ad7ccb8a4d5333bb8300bb65633b75999)

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocreaterepo-c:0.10.0 -> 0.11.0
Hong Liu [Tue, 7 Aug 2018 09:31:45 +0000 (17:31 +0800)] 
createrepo-c:0.10.0 -> 0.11.0

Upgrade createrepo-c from 0.10.0 to 0.11.0

(From OE-Core rev: f6634581fa0a81c4d68dc9179a755ad7b9d99357)

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonpth:1.5 -> 1.6
Hong Liu [Tue, 7 Aug 2018 09:31:44 +0000 (17:31 +0800)] 
npth:1.5 -> 1.6

Upgrade npth from 1.5 to 1.6

(From OE-Core rev: df6a8760657b8aa256258046bad6b3be7df70650)

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/systemdboot: Cleanup/improve the test
Richard Purdie [Thu, 2 Aug 2018 07:28:55 +0000 (08:28 +0100)] 
oeqa/systemdboot: Cleanup/improve the test

The second test is designed only to run after the first so we may as
well merge these together into one.

Also, use DEPLOY_DIR_IMAGE rather than constructing paths by hand. Drop
the misleading comment which was likely due to the original code reading
DEPLOY_DIR_IMAGE before setting MACHINE. Only read the variable once
which reduces bitbake -e calls.

Merge the setup/build functions into the main test as there is no other
use of them.

Also ensure the main second test pieces aren't masked out by a missing
file without showing test failures.

(From meta-yocto rev: 1b46e2c1acd2c0cd557740220bbc3ccb77dae127)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoselftest/package: Fix hardlink test when using sstate
Richard Purdie [Tue, 7 Aug 2018 11:01:36 +0000 (11:01 +0000)] 
selftest/package: Fix hardlink test when using sstate

The build target won't cause the package task to run if things were already
built and in sstate. Ensure we run the package task explicitly to ensure
the test works as intended.

(From OE-Core rev: be20eb4f4ad77d9444028ca9632b74d5866d96b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackagegroup-core-lsb: use new name for libasound
Ross Burton [Fri, 3 Aug 2018 16:29:58 +0000 (17:29 +0100)] 
packagegroup-core-lsb: use new name for libasound

(From OE-Core rev: 4688ae93a74610513f4f52115339e24022e97a24)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoRevert "gnutls: rationalise libunistring arguments"
Khem Raj [Fri, 3 Aug 2018 15:54:15 +0000 (08:54 -0700)] 
Revert "gnutls: rationalise libunistring arguments"

This causes regression on build machines where libunistring is installed
on host. It is also because gnuts is using non standard AC macro called
AC_LIB_HAVE_LINKFLAGS to detect this library and it confusing cross builds.

This reverts commit 60fef4940de7f0440f1216eb2ea0ea683b3e8fdd.

(From OE-Core rev: d8d32b5a58eea161711e3539c4530682de551ede)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonet-tools: Ensure quilt only operates on local patches
Alex Kiernan [Thu, 2 Aug 2018 14:42:29 +0000 (14:42 +0000)] 
net-tools: Ensure quilt only operates on local patches

When net-tools is built and the local patches haven't been applied, then
`quilt pop -a` will climb parent directories attempting to find a
{patches/.pc} directory; if this succeeds then we end up popping off
some completely unrelated patches from a parent directory.

Ensure that we do have a local patches directory and then turn off the
directory climbing so that we avoid this problem.

(From OE-Core rev: 61522645a1ccc8342706960efe90896001e94a8b)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomeson: Add risc-v to known architectures
Khem Raj [Thu, 2 Aug 2018 18:39:20 +0000 (11:39 -0700)] 
meson: Add risc-v to known architectures

(From OE-Core rev: 65e0b318b8521c3213249693cc898374effcf531)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoalsa-lib: Cleanup packaging
Joshua Watt [Fri, 3 Aug 2018 14:10:30 +0000 (09:10 -0500)] 
alsa-lib: Cleanup packaging

Cleans up the packaging by moving libasound.so.2 back into the alsa-lib
package which was previously empty.

Previously, it was difficult to create an image that had libasound.so.2,
then create an SDK from that image that had the proper development
files, because the only way to get libasound.so.2 was to do:

 IMAGE_INSTALL += "libasound"

This however caused a problem because all of the development files that
would be desired in the SDK were located in alsa-lib-dev, which wouldn't
be included because alsa-lib wasn't included, and it was impossible to
include alsa-lib because it was an empty package that was culled.

(From OE-Core rev: c2fc6f87f8bbf4bc28f9adc45f116b2a692ea804)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodesktop-file-utils: allow target/nativesdk build, not just native
Ross Burton [Fri, 3 Aug 2018 14:01:15 +0000 (15:01 +0100)] 
desktop-file-utils: allow target/nativesdk build, not just native

Also fix the license, as this is GPLv2+ not just v2.

(From OE-Core rev: c372bb230640e76af13795433adc76f506e12cc6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/sdk: add test that CMake works
Ross Burton [Fri, 3 Aug 2018 14:01:14 +0000 (15:01 +0100)] 
oeqa/sdk: add test that CMake works

Add a new SDK testcase that builds assimp, a project that uses cmake.

Using TARGET_ARCH and TARGET_OS which is now exported into the environment,
check that the generated binaries match the ELF headers we expect.

(From OE-Core rev: b4acfa11b35b47c86d2d83d7b0693284a8dc7495)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotoolchain-scripts: put TARGET_ARCH and TARGET_OS into environment
Ross Burton [Fri, 3 Aug 2018 14:01:13 +0000 (15:01 +0100)] 
toolchain-scripts: put TARGET_ARCH and TARGET_OS into environment

It's useful for the SDK to know exactly what TARGET_ARCH and TARGET_OS are,
specifically for SDK QA.

(From OE-Core rev: 0b5f1b0430efac8129bca330370d8818ea93bb39)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocmake: fix linking in multilib SDKs
Ross Burton [Fri, 3 Aug 2018 14:01:12 +0000 (15:01 +0100)] 
cmake: fix linking in multilib SDKs

CMake, in it's infinite wisdom, when searching for libraries (using
find_library) will look inside the libraries PREFIX/lib, PREFIX/lib32, and
PREFIX/lib64.  In a multilib SDK more than one of these will exist (potentially
all three) and obviously for a given build configuration only one of those is
valid.  This search path is hard-coded deep inside CMake but by setting
CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX we can bypass it and set an explicit
lib<SUFFIX> to use.

Do this by writing ${baselib} into the environment file, and then stripping
"lib" from this to obtain the suffix in the cmake-specific environment script,
which is then read in the CMake toolchain.

(From OE-Core rev: 47160a8c51310f2b40cabf4c1910b5df6e0a15d6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoman-db: remove '--disable-cache-owner' option
Chen Qi [Thu, 2 Aug 2018 04:52:43 +0000 (12:52 +0800)] 
man-db: remove '--disable-cache-owner' option

The following error appeared at boot.

  systemd-tmpfiles[115]: [/usr/lib/tmpfiles.d/man-db.conf:1] Unknown user '1w'

By default cache owner is enabled and defaults to 'man'. Users could
supply '--enable-cache-owner=[ARG]' to change the default cache owner.
Using '--disable-cache-owner' leaves the ownership of system-wide
cache files unconstrained, and users will allowed to modify them.

We'd better keep the default behavior, just like other distros do.

I can guess that we used '--disable-cache-owner' to bypass the following
error at do_install.

  | chown: invalid user: ‘man:man’

The 'man' user is provided by base-passwd recipe, so add it to DEPENDS.

(From OE-Core rev: 7080df4b6bc50440eed600e81f2c6fa76a80623d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoffmpeg: Upgrade to 4.0.2
Mingli Yu [Thu, 2 Aug 2018 01:18:50 +0000 (18:18 -0700)] 
ffmpeg: Upgrade to 4.0.2

(From OE-Core rev: d0881e7401173e012e197c7371a30e8219c81cf6)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: toaster/orm/management/commands/lsupdates.py: Use new layerindexlib module
Mark Hatle [Wed, 25 Jul 2018 15:48:54 +0000 (11:48 -0400)] 
bitbake: toaster/orm/management/commands/lsupdates.py: Use new layerindexlib module

Change lsupdates.py to use the new layerindexlib module to load the data from
the public layer index.  It still does all of the manual parsing.  This
is intended to be a stop gap until the toaster can use the module itself to
manage the data.

Everything else is functionally equivalent to the prior version.

(Bitbake rev: 8e482342c652e298b5f5ea58eda72c5eb14ce2bd)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake-layers: disable parsing for layerindex commands
Mark Hatle [Tue, 24 Jul 2018 02:29:13 +0000 (22:29 -0400)] 
bitbake: bitbake-layers: disable parsing for layerindex commands

These don't need to access recipe information, so let's not waste the
user's time parsing all recipes.

(Bitbake rev: 6a242a399ae93393c3fc60eda541c1f8f77fed57)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bblayers/layerindex.py: Switch to use the new layerindexlib class
Mark Hatle [Tue, 24 Jul 2018 02:29:12 +0000 (22:29 -0400)] 
bitbake: bblayers/layerindex.py: Switch to use the new layerindexlib class

Display changes:
The output will now include references to the layers that the user already
has on their system.  It does this by querying the cooker derived index.

The code that enables this behavior is labeled as 'TODO' currently.  As
part of the work we need to make a final determination if this is the
desired output.

Also changed the default branch to no longer define itself as 'master'.

When the user does NOT set a branch, the default is now the
'LAYERSERIES_CORENAMES', and if that doesn't exist 'master'.  This is
subtly different in behavior, but more consistent with user expectations.

(Bitbake rev: 478c4b5489943f756ae03d6b6d3b5d665cedbce0)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: layerindexlib: Initial layer index processing module implementation
Mark Hatle [Tue, 24 Jul 2018 02:29:11 +0000 (22:29 -0400)] 
bitbake: layerindexlib: Initial layer index processing module implementation

The layer index module is expected to be used by various parts of the system
in order to access a layerindex-web (such as layers.openembedded.org) and
perform basic processing on the information, such as dependency scanning.

Along with the layerindex implementation are associated tests.  The tests
properly honor BB_SKIP_NETTESTS='yes' to prevent test failures.

Tests Implemented:
   - Branch, LayerItem, LayerBranch, LayerDependency, Recipe, Machine and
      Distro objects
   - LayerIndex setup using the layers.openembedded.org restapi
   - LayerIndex storing and retrieving from a file
   - LayerIndex verify dependency resolution ordering
   - LayerIndex setup using simulated cooker data

(Bitbake rev: fd0ee6c10dbb5592731e56f4c592fe687682a3e6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bblayers/layerindex.py: Fix addition of layers
Mark Hatle [Tue, 24 Jul 2018 02:29:10 +0000 (22:29 -0400)] 
bitbake: bblayers/layerindex.py: Fix addition of layers

When a layer is added it needs to be in a list, otherwise the system will
error such as:

    Specified layer directory / doesn't contain a conf/layer.conf file

Additionally, instead of calling the add layer function over and over, it
is better to add all of the new content in one command.  Otherwise the
order is important as the system now checks if the layer can be added.  For
instance, trying to add meta-python:

   Layer                Required by          Git repository                                          Subdirectory
   ===================================================================================================================
   meta-python          -                    git://git.openembedded.org/meta-openembedded            meta-python
   meta-oe              meta-python          git://git.openembedded.org/meta-openembedded            meta-oe
   openembedded-core    meta-python          git://git.openembedded.org/openembedded-core            meta
   Adding layer "meta-python" (.../oe-core/meta-openembedded/meta-python) to conf/bblayers.conf
   ERROR: Layer 'meta-python' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration

The system would try to add meta-python before the dependent meta-oe.  Adding
them both at the same time resolves this issue.

(Bitbake rev: 8aeaabf13db645f33495e00b82117327e153d70a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogenericx86-common.inc: add kernel-modules to RRECOMMENDS
Anuj Mittal [Wed, 1 Aug 2018 02:41:07 +0000 (10:41 +0800)] 
genericx86-common.inc: add kernel-modules to RRECOMMENDS

Now that kernel-modules are not included in x86-base.inc because of
changes done for YOCTO #12384, add them to RRECOMMENDS explicitly for
genericx86*.

(From meta-yocto rev: 0b78254b373c23f2c1a2bf7db0108a350266ab85)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomachine: remove kernel-modules from RRECOMMENDS
Maxin B. John [Tue, 31 Jul 2018 14:15:45 +0000 (17:15 +0300)] 
machine: remove kernel-modules from RRECOMMENDS

qemumips,qemumips64 and x86 based machines include kernel-modules by
default. Remove the kernel modules from RRECOMMENDS to make it consistent
across the machines.

Tested using core-image-sato on qemumips, qemumips64, qemux86 and
qemux86-64

[YOCTO #12383]

(From OE-Core rev: 1c4d9f46d5d94ea15d0c0d68c412ec05b9f51820)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agou-boot: Fix pylibfdt generation
Joshua Watt [Tue, 31 Jul 2018 17:19:13 +0000 (12:19 -0500)] 
u-boot: Fix pylibfdt generation

u-boot attempts to build a Python library called pylibfdt. By default,
u-boot would attempt to use the build host's Python interpreter, which
causes numerous problems, not least of which is that it fails if the
host doesn't have the Python development package installed (complaining
about not being able to find Python.h)

Rectify this situation by including the proper build time dependencies
for pylibfdt and passing the proper arguments to make.

[YOCTO #12867]

(From OE-Core rev: 3b0b16300b351878790729d6270cd113bca73eff)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython[3]native: allow use of both native Python 2 and 3
Ross Burton [Tue, 31 Jul 2018 17:05:41 +0000 (18:05 +0100)] 
python[3]native: allow use of both native Python 2 and 3

Instead of both classes using ${PYTHON_PN} (which is set by python-dir and
python3-dir), hardcode the right values so that it is possible to inherit both
pythonnative and python3native at the same time.

If both are inherited then both native Pythons are available, but the last to be
inherited will be the one to set PYTHON.

(From OE-Core rev: 96ccdadb8473daa3c9c2e1cb42fbdff1edd270d6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomeson: don't dump full error log on failure
Ross Burton [Tue, 31 Jul 2018 17:05:40 +0000 (18:05 +0100)] 
meson: don't dump full error log on failure

If the configure fails then we don't really want to see hundreds of lines of
test output (this would be similar to dumping out autoconf's config.log).  The
error includes the path of the full log if further debugging is required.

(From OE-Core rev: 09917f582aa1a7b752fa96303e06f9f4712a1d86)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl: fix missing dependency on hostperl-runtime-native
Andre McCurdy [Tue, 31 Jul 2018 13:57:56 +0000 (06:57 -0700)] 
openssl: fix missing dependency on hostperl-runtime-native

Openssl 1.1 requires perl in order to build (just as openssl 1.0
does). The missing dependency has gone unnoticed up to now since
hostperl-runtime-native is included in ASSUME_PROVIDED.

(From OE-Core rev: ed5f8bb582453e7d8a1636ad1463380076209bd2)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowic/qemux86: don't pass ip parameter to kernel in wks
Anuj Mittal [Wed, 1 Aug 2018 08:35:21 +0000 (16:35 +0800)] 
wic/qemux86: don't pass ip parameter to kernel in wks

Images that rely on dhcp being used won't have network setup properly
otherwise.

Fixes [YOCTO #12804]

(From OE-Core rev: fb4dd04f65ea78890c1102424765056d93e6ca65)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoe2fsprogs: 1.44.2 -> 1.44.3
Robert Yang [Wed, 1 Aug 2018 08:14:04 +0000 (16:14 +0800)] 
e2fsprogs: 1.44.2 -> 1.44.3

Rebased ptest.patch.

(From OE-Core rev: 59dfd8246358f32bc5e43fc845c0c685aa4cd428)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-testtools: 2.2.0 -> 2.3.0
Robert Yang [Wed, 1 Aug 2018 08:14:03 +0000 (16:14 +0800)] 
python3-testtools: 2.2.0 -> 2.3.0

(From OE-Core rev: 114e23298420df3bdac48c6a2b628164f1d825f8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-subunit: 1.1.0 -> 1.3.0
Robert Yang [Wed, 1 Aug 2018 08:14:02 +0000 (16:14 +0800)] 
python3-subunit: 1.1.0 -> 1.3.0

The license file changes from README to README.rst, and the lines which
contains license info is from 1 to 20. The license is still Apache-2.0.

(From OE-Core rev: ef60510204013957d3aea3108ccd5fee72825293)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython-pbr: 3.1.1 -> 4.2.0
Robert Yang [Wed, 1 Aug 2018 08:14:01 +0000 (16:14 +0800)] 
python-pbr: 3.1.1 -> 4.2.0

(From OE-Core rev: e0172634638cea57ffa5e6d1eb211954bb174e02)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosudo: add PACKAGECONFIG for pam-wheel
Yi Zhao [Wed, 1 Aug 2018 06:46:38 +0000 (14:46 +0800)] 
sudo: add PACKAGECONFIG for pam-wheel

The pam_wheel PAM module is used to enforce the so-called wheel group.
By default it permits root access to the system if the applicant user is
a member of the wheel group.
Add PACKAGECONFIG to enable pam_wheel module for sudo.

(From OE-Core rev: 7a46ca79b18527a56de470fcaaf95c870c097cf6)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxml2: fix libxml2 ptest fails
Changqing Li [Wed, 1 Aug 2018 05:57:01 +0000 (13:57 +0800)] 
libxml2: fix libxml2 ptest fails

for core-image-minimal image,  missing these two dependency
will cause below warning and error:

warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
./test/icu_parse_test.xml generated an error

(From OE-Core rev: 848031cf0b89b752c6fedcb63fc6938642a87fd8)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibtool: Fix patch status tag
Richard Purdie [Wed, 1 Aug 2018 09:27:45 +0000 (10:27 +0100)] 
libtool: Fix patch status tag

(From OE-Core rev: 28fc470e5e10ee9cce893d037ed5e518bc5612f5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bblayers: Don't parse all recipes when calling add-layer
Richard Purdie [Tue, 31 Jul 2018 12:43:54 +0000 (12:43 +0000)] 
bitbake: bblayers: Don't parse all recipes when calling add-layer

When adding multiple layers in a chain of commands, reparsing all recipes
each time can be painfully slow. Instead just parse the base configuration
which gives some confidence things worked out correctly without as much
overhead.

(Bitbake rev: cfd1302031f3cca96300a0e445a47b1614ecd00c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: bitbake: Add support for multiconfig dependencies
Alejandro Enedino Hernandez Samaniego [Wed, 25 Jul 2018 16:01:01 +0000 (09:01 -0700)] 
bitbake: bitbake: Add support for multiconfig dependencies

This patch adds the capability for tasks from different
multiconfigs to depend on one another.

These dependencies can be enabled using the following format:

task[mcdepends] = "multiconfig:FROM-MC:TO-MC:PN:task-to-depend-on"

For the sake of simplicity consider the following example:

Assuming we have set up multiconfig builds, one for qemux86 and one for
qemuarm, named x86 and arm respectively.

Adding the following line to an image recipe (core-image-sato):
do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"

Would state that core-image-sato:do_image from x86 will depend on
core-image-minimal:do_rootfs from arm so it can be executed.

This patch makes modifications to:
- cooker: To glue both multiconfigs in one place and make sure
  the dependencies can be provided.
- taskdata: To parse and add a new kind of dependency (mcdepends) to
  the taskdata object.
- runqueue: To differentiate tasks from different multiconfigs,
  add the specified dependencies to the corresponding tasks, and
  create a working runqueue that contains tasks from both multiconfigs.
- siggen: To avoid looking for tasks from different multiconfigs on
  objects where they dont belong.

The taskdata objects are still not aware of the concept of multiconfig,
so each object doesnt know which multiconfig its building, hence why
the mcdepends are added to all taskdata objects equally (we really
dont expect many of these), but the actual dependencies are added only
to the required tasks by the runqueue.

(Bitbake rev: da8cb8633504bdc815bdcefc538340b9bce5065d)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoutil-linux: Enable fallocate for native/nativesdk
Richard Purdie [Tue, 31 Jul 2018 12:18:40 +0000 (13:18 +0100)] 
util-linux: Enable fallocate for native/nativesdk

fallocate was disabled for native/nativesdk in:

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

We have since added uninative support and better glibc handling for SDKs
so this difference can be dropped now.

(From OE-Core rev: 07a4557ae5954897c87749443b9262819bc9c579)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovulkan-demos: upgrade to latest commit
Maxin B. John [Tue, 31 Jul 2018 10:53:31 +0000 (13:53 +0300)] 
vulkan-demos: upgrade to latest commit

Remove upstreamed patches:
        1. 0001-Fix-build-on-x86.patch
        2. 0001-Support-installing-demos-support-out-of-tree-builds.patch

Updated the following patch:
        1. 0001-Don-t-build-demos-with-questionably-licensed-data.patch

Update subcomponents gli and glm based on the new structure of
repository.

License-Update: Update in location of file. No change in checksum

(From OE-Core rev: c9e12bc8872710ca7f788d3709c42425872fd033)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovulkan: upgrade to version 1.1.73.0
Maxin B. John [Tue, 31 Jul 2018 10:53:30 +0000 (13:53 +0300)] 
vulkan: upgrade to version 1.1.73.0

Refresh the patch:
        demos-Don-t-build-tri-or-cube.patch

License-Update: Updates in copyright information.

(From OE-Core rev: 4f6652e9b8a4fad7d650e1f88aa830fd7f88ea49)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoutil-linux.inc: add fallocate only for class-target
Ioan-Adrian Ratiu [Thu, 26 Jul 2018 14:19:00 +0000 (14:19 +0000)] 
util-linux.inc: add fallocate only for class-target

Because the util-linux_2.32.bb recipe explicitely disables fallocate
for nativesdk triggering build warnings:

WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux:
alternative target (sdk/usr/bin/fallocate or sdk/usr/bin/fallocate.util-linux)
does not exist, skipping...
WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux: NOT adding
alternative provide sdk/usr/bin/fallocate: sdk/usr/bin/fallocate.util-linux
does not exist
WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux: alt_link ==
alt_target: sdk/usr/bin/fallocate == sdk/usr/bin/fallocate

(From OE-Core rev: 469ab3c7f129b90e9dd5e6427b5b617b9dedde47)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomulticonfig: Enable multiconfig dependencies on oe-core
Alejandro Enedino Hernandez Samaniego [Wed, 25 Jul 2018 16:05:51 +0000 (09:05 -0700)] 
multiconfig: Enable multiconfig dependencies on oe-core

This patch enables multiconfig dependencies (mcdepends) to be used on
recipes using the following format:

task[mcdepends] = "multiconfig:FROM-MC:TO-MC:PN:task-to-depend-on"

For the sake of simplicity consider the following example:

Assuming we have set up multiconfig builds, one for qemux86 and one for
qemuarm, named x86 and arm respectively.

Adding the following line to an image recipe (core-image-sato):
do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"

Would state that core-image-sato:do_image from x86 will depend on
core-image-minimal:do_rootfs from arm so it can be executed.

This patch makes modifications to bitbake.conf to enable mcdepends, and
to sstatesig and staging.bbclass to avoid conflicts between packages from
different multiconfigs.

[YOCTO #10681]

(From OE-Core rev: f71bfe833c657244d2fd07b3b71e86081d7d1c04)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc-7.3: Backport fixes for std::pair high memory usage
Joel Stanley [Mon, 30 Jul 2018 05:10:29 +0000 (14:40 +0930)] 
gcc-7.3: Backport fixes for std::pair high memory usage

C++ applications that contain a specfic use of std::pair with tempates
cause the build to require many gigabytes of RAM to build.

This is a fix that was applied to the upstream GCC 7 branch.

Change-Id: I213f96d1d6332e2dce5765482ff3413f1abd7ff8
(From OE-Core rev: 51a09ba2729a840a9f2f87b68c7f50a3e6ac0d04)

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc-7.3: Fix build on ppc64le hosts
Joel Stanley [Mon, 30 Jul 2018 05:10:28 +0000 (14:40 +0930)] 
gcc-7.3: Fix build on ppc64le hosts

When building on ppc64le hosts that have GCC 8 (such as Ubuntu 18.10)
the GCC build bootstrap fails.

 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86162

This is a fix that was applied to the upstream GCC 7 branch.

Change-Id: I7796d2a999ec420805dd1c6cf0a1ecba1de5a897
(From OE-Core rev: c17f5e7e954487ad3e97e26c3e0d31443d658d5a)

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooe-selftest: devtool: avoid parallel races by using temporary copy of core
Paul Eggleton [Thu, 26 Jul 2018 14:27:44 +0000 (16:27 +0200)] 
oe-selftest: devtool: avoid parallel races by using temporary copy of core

Some of the devtool tests make changes to files under meta/ -
legitimately since we want these tests to be working with real recipes
and associated files. Unfortunately with the new oe-selftest
parallelisation this can break other tests if files go missing at the
wrong time (among other scenarios). To avoid this issue, simply take a
copy of the core repository and use that for these tests. (We copy the
entire repository since changing the path of meta/ influences COREBASE
and thus we need to have things like scripts/ alongside as well).

(From OE-Core rev: 2457cd57b4195924ef127f497efa2f34f411e660)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3: fix depends of python3-tests
Markus Lehtonen [Mon, 14 Nov 2016 14:16:19 +0000 (16:16 +0200)] 
python3: fix depends of python3-tests

Make the tests subpackage depend on all modules as test.regrtest uses most (if
not all) of them.

(From OE-Core rev: f03f3edc211b3e03cf1a6b2655ba664af7fbd12f)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokdump: start kdump.service after basic.target
Yongxin Liu [Mon, 30 Jul 2018 09:16:32 +0000 (17:16 +0800)] 
kdump: start kdump.service after basic.target

If kdump.service is set to run on boot and dump-capture kernel isn't
placed in /dev/root, kdump.service will fail to load the kernel,
since other partitions are not mounted yet. Starting kdump.service
after basic.target guarantees dump-capture kernel can be loaded in
this situation.

(From OE-Core rev: ac9a54fc617ff5f1eb75fa8500187c5ed3effe46)

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd.py: increase default bus timeout
Chen Qi [Tue, 31 Jul 2018 05:09:37 +0000 (13:09 +0800)] 
systemd.py: increase default bus timeout

Use SYSTEMD_BUS_TIMEOUT to set default timeout to 240s to avoid
timeout problem on slow qemu machines.

(From OE-Core rev: a5b1dcabdd84915eb0527be4e7bd64ab46860d9d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: backport patch to allow setting dbus calls timeout
Chen Qi [Tue, 31 Jul 2018 03:22:38 +0000 (11:22 +0800)] 
systemd: backport patch to allow setting dbus calls timeout

Backport 0001-sd-bus-make-BUS_DEFAULT_TIMEOUT-configurable.patch
which allows setting dbus calls timeout via SYSTEMD_BUS_TIMEOUT
environment variable.

This is needed as we are meeting timeout failures from the oeqa
runtime test case systemd.py.

(From OE-Core rev: caa4fa5e6ce7d50bdcd04e199d61401b3e8b9ff7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoparselogs.py: ignore network interface name changing failure
Chen Qi [Tue, 31 Jul 2018 02:21:20 +0000 (10:21 +0800)] 
parselogs.py: ignore network interface name changing failure

The following error from systemd-udevd is not harmful. It's just
because our qemu targets are using eth0.

  Error changing net interface name 'eth0' to 'enp0s3': Device or resource busy

Note that systemd is using a different network interface naming scheme
from traditional ethX naming scheme. To make this error message go away,
we could symlink /etc/udev/rules.d/80-net-setup-link.rules to /dev/null
to recover traditional naming scheme. But I'm not sure if this will
cause regression in user experience for systemd users of OE.

So just ignore this error message so that parselogs.py test case does not
fail.

(From OE-Core rev: f1735fed088ddda6517fa4ff6fbd6ef683b14878)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooe_syslog.py: fix settings in OEHasPackage decorator
Chen Qi [Tue, 31 Jul 2018 01:25:01 +0000 (09:25 +0800)] 
oe_syslog.py: fix settings in OEHasPackage decorator

1. For test_syslog_running, we should not restrict it to run for
   only busybox-syslog and sysklogd. So extend it to all syslog
   providers in oe-core and meta-openembedded.

2. For test_syslog_startup_config, fix to make it depend on the
   existence of busybox-syslog. The previous condition "!sysklogd
   && busybox" is incorrect, because busybox may be compiled without
   syslog support, and sysklogd and busybox-syslog conflict with
   each other.

(From OE-Core rev: 119c22342d446e4f638b8d4c81480ebc7b444245)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/selftest: Add package hardlink test
Richard Purdie [Mon, 30 Jul 2018 23:33:27 +0000 (23:33 +0000)] 
oeqa/selftest: Add package hardlink test

We keep breaking the preservation of hardlinks during the packaging process.
Add a selftest which tests this to try and prevent this breaking again.

(From OE-Core rev: 751fc7802f57a836a0be5fc6a8d5fdf8b1769c39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage.bbclass: Fix hardlink preservation issue
Richard Purdie [Mon, 30 Jul 2018 23:02:23 +0000 (23:02 +0000)] 
package.bbclass: Fix hardlink preservation issue

Recent changes broke the preservation of hardlinks during processing due to a missing index.
Fix this, reducing the size of the git recipe packages in particular (it contains many hardlinks).

(From OE-Core rev: 28eeada955762f38ccbd1d26c53768364dbd1a5e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomtd-utils: Revert "Return correct error number in ubi_get_vol_in"
Adriana Kobylak [Mon, 30 Jul 2018 17:56:29 +0000 (12:56 -0500)] 
mtd-utils: Revert "Return correct error number in ubi_get_vol_in"

Add mtd-utils upstream patch that fixes a regression on the
mtd-utils tools such as ubinfo.

Details of the issue which affects mtd-utils 2.0.1 and 2.0.2:
http://lists.infradead.org/pipermail/linux-mtd/2018-June/081562.html

Upstream-Status: Accepted [http://git.infradead.org/mtd-utils.git/commit/0f833ac73ad631248826386e2918d8571ecf0347]

(From OE-Core rev: 41356d2c86d85b199962c3024f25361a709d9180)

Signed-off-by: Adriana Kobylak <anoo@linux.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibtool: Fix problem with libtoolize in multilib installations
Richard Purdie [Mon, 30 Jul 2018 17:00:01 +0000 (17:00 +0000)] 
libtool: Fix problem with libtoolize in multilib installations

Without this patch /usr/bin/libtoolize is different for each multilib
since their host-triplets are different, despite there being no difference in
the functionality of libtoolize itself.

This change just patches out the problematic line since its just a comment for the user
in help text. Ugly but solves the problem. This fixes issues where libtool and
libXX-libtool couldn't be installed into the same system.

(From OE-Core rev: f70040fd3ca3508d33ed24c749c0b8095b020dab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomultilib_script: Add support for multilib scripts
Richard Purdie [Mon, 30 Jul 2018 13:09:29 +0000 (13:09 +0000)] 
multilib_script: Add support for multilib scripts

Whilst the package managers handle multilib ELF binaries well, they don't
handle scripts in the *bindir directories well. This adds support for
marking these up so that they can be handled using update-alternatives.

Its done this way so that non-multilib systems don't see any changes and
there is standardisation amongst the multilibs on how the alternatives are
named and prioritiesd. The priotitisation code needs to be added but this
change means there is somewhere to add it.

Recipe needs to set MULTILIB_SCRIPTS in the form <pkgname>:<scriptname>, e.g.
MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/file1 ${PN}:${base_bindir}/file2"
to indicate which script files to process from which packages.

libtool is used a as a reference to stop the libtool scripts conflicting
in a multilib case and allows the kernel-devsrc change to be merged.

(From OE-Core rev: 18e837433d07cfdce4019c13f682c6676425a2ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: codeparser: Track oe.utils.conditional usage
Martin Jansa [Thu, 26 Jul 2018 11:10:31 +0000 (11:10 +0000)] 
bitbake: codeparser: Track oe.utils.conditional usage

* base_conditional was already removed from oe-core:
  http://git.openembedded.org/openembedded-core/commit/?id=0391fcad9103abca0796a068f957d0df63ab4776
  after the usage was migrated to oe.utils.conditional:
  http://git.openembedded.org/openembedded-core/commit/?id=c97acbd034532895ce57c6717ed1b3ccc7900b0d
  so we can handle just ".conditional" version

* add 1st parameter to variable dependencies, that way when you use
  FOO = "${@oe.utils.conditional('VAR', 'VALUE', 'true', 'false')"
  FOO variable will have dependency on VAR variable and you don't need
  to add FOO[vardeps] += "VAR" manually every time you use
  oe.utils.conditional

* this is similar to contains tracking from:
  https://bugzilla.yoctoproject.org/show_bug.cgi?id=3890
  http://git.openembedded.org/bitbake/commit/?id=ed2d0a22a80299de0cfd377999950cf4b26c512e
  http://git.openembedded.org/bitbake/commit/?id=0b9d117631ce909312d53b93289e61defc6be01c
  but conditional is simpler, we don't need to handle the first
  parameter as a set

(Bitbake rev: 5156b4bb6876dac636be9726df22c8ee792714dd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: utils: add optional callback to edit_bblayers_conf()
Paul Eggleton [Thu, 26 Jul 2018 14:24:21 +0000 (16:24 +0200)] 
bitbake: utils: add optional callback to edit_bblayers_conf()

Add a callback that lets you modify or remove items in addition to the
current scheme where you can only add or remove. This enables you to for
example replace a layer with a temporary copy (which is what we will use
this for first in OE's oe-selftest).

(Bitbake rev: bfedb4e85a84e817dbe5d8694b8f8fcdd6f2f22a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: Update after recent additions/changes
Richard Purdie [Mon, 30 Jul 2018 08:33:50 +0000 (09:33 +0100)] 
maintainers.inc: Update after recent additions/changes

(From OE-Core rev: db48261c7111758ed29251bc979ed811fd8d90ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl_1.0: squash whitespace in CC_INFO
Andre McCurdy [Sat, 28 Jul 2018 20:39:23 +0000 (13:39 -0700)] 
openssl_1.0: squash whitespace in CC_INFO

Squash whitespace in CC_INFO to avoid recipe whitespace changes to
CFLAG affecting the final openssl binaries (the value of CC_INFO gets
embedded in libcrypto, via buildinf.h).

(From OE-Core rev: 2227c51896d4399daac9d85f40d7510b7c8ae03f)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl_1.0: add PACKAGECONFIG option to control manpages
Andre McCurdy [Sat, 28 Jul 2018 20:39:22 +0000 (13:39 -0700)] 
openssl_1.0: add PACKAGECONFIG option to control manpages

Creating the openssl manpages, which happens as part of do_install(),
can take a significant amount of time (e.g. ~50 seconds on a quad
core laptop). Provide a PACKAGECONFIG option to allow creation of the
manpages to be skipped completely if not required and inherit the
manpages class to automatically control the PACKAGECONFIG option
(based on the "api-documentation" distro feature).

(From OE-Core rev: 1ddca1872f64c566fd812a6ec44f2d4e4d84f58f)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl_1.0: drop unmaintained darwin support
Andre McCurdy [Sat, 28 Jul 2018 20:39:21 +0000 (13:39 -0700)] 
openssl_1.0: drop unmaintained darwin support

The fact that the darwin support only appears to consider x86 (and
not x86_64) suggests that it's not maintained or tested. In general
oe-core doesn't support building on darwin.

(From OE-Core rev: 9c7f37bb1345c38211acd137c00b9d07f92601a7)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl_1.0: drop obsolete exporting of AS, EX_LIBS and DIRS
Andre McCurdy [Sat, 28 Jul 2018 20:39:20 +0000 (13:39 -0700)] 
openssl_1.0: drop obsolete exporting of AS, EX_LIBS and DIRS

Previously (when EXTRA_OEMAKE contained -e) exporting these variables
over-rode default values in the top-level openssl Makefile. However,
since -e was removed from EXTRA_OEMAKE as part of:

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

exporting these variables does nothing. The comment from that commit
that only AR is affected by removing -e wasn't correct, but the
effects of letting the openssl Makefile also control AS, EX_LIBS and
DIRS seem to be either benign or beneficial.

Since without -e make ignores DIRS from the environment and always
runs for all subdirs (including "test"), adding "test" to DIRS and
calling "make depend" again from do_compile_ptest() can be dropped.

(From OE-Core rev: b3e81e3cf86dd8736b62a6b88d6a6dbe518c9e5e)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssl_1.0: drop obsolete ca.patch
Andre McCurdy [Sat, 28 Jul 2018 20:39:19 +0000 (13:39 -0700)] 
openssl_1.0: drop obsolete ca.patch

This patch adds a second line to the -help output of the CA.pl script
(which lists almost the same command line options as the line above
it but in a slightly different order). Although it's tagged as a
Debian backport, there's no patch like it in recent Debian patch sets
for openssl 1.0.2.

(From OE-Core rev: 9b3af406747a3d565d12d948400d44fb12ab0d96)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/selftest: check if rm_work is enabled
Anuj Mittal [Sat, 28 Jul 2018 08:53:16 +0000 (16:53 +0800)] 
oeqa/selftest: check if rm_work is enabled

rm_work if enabled leads to some tests failing that rely on artifacts
being present. Check if rm_work.bbclass is included and show an error
and exit if it is.

Fixes [YOCTO #12694]

(From OE-Core rev: dde7e2f590834aa8034f1371954f9b4fbc7a60b7)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglibc-locale: Fix host-user-contaminated QA errors
Khem Raj [Sat, 21 Jul 2018 16:27:09 +0000 (09:27 -0700)] 
glibc-locale: Fix host-user-contaminated QA errors

Fixes

ERROR: glibc-locale-2.27-r0 do_package_qa: QA Issue: glibc-locale: /glibc-binary-localedata-hy-am/usr/lib/locale/hy_AM/LC_MEASUREMENT.tmp is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

(From OE-Core rev: 06d831d12fe2a2366480c79f4c018942937b753a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoiptables: Split the iptables modules into separate packages
Peter Kjellerstedt [Thu, 19 Jul 2018 18:19:38 +0000 (20:19 +0200)] 
iptables: Split the iptables modules into separate packages

By splitting the iptables modules into separate packages it is
possible to pick and choose the modules to install and thereby reduce
the total size of the installed modules.

Backwards compatibility is maintained by adding a recommendation of
iptables-modules, which is a meta package that depends on all the
generated packages.

(From OE-Core rev: 2e99caca64704d1ec51f4f65048d945e5ff1384f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowebkitgtk: fix compile failure on beaglebone
Hongxu Jia [Thu, 26 Jul 2018 02:39:47 +0000 (10:39 +0800)] 
webkitgtk: fix compile failure on beaglebone

Since the following patch applied in upstream webkitgtk
...
commit 1a55d8c685b3e5b4dbeda202009e7527aa59eadd
Author: simon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Nov 23 22:20:09 2017 +0000

    FELighting cleanup and optimization
    https://bugs.webkit.org/show_bug.cgi?id=179933
...

It missed to tweak `paintingData.lightVector' which caused
PaintingData' has no member named 'lightVector' on ARM_NEON
(beaglebone)

(From OE-Core rev: 39b75d73aa5fce178c1577b0a5dfb8a694eff31d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodistutils/distutils3: do not try to fetch code during do_configure
Hongxu Jia [Thu, 26 Jul 2018 14:50:21 +0000 (22:50 +0800)] 
distutils/distutils3: do not try to fetch code during do_configure

For distutils3, any setup.py invoking will cause setup_requires
argument to trigger a code fetching. Since the following commit
applied in oe-core, code fetching occurs during do_confugire
before the do_compile.
...
b805cef distutils: clean the build tree in do_configure
...

Refer what do_compile did, add var-NO_FETCH_BUILD to do_configure.

Sync with distutils3, add do_configure to distutils also.

[YOCTO #12084]

(From OE-Core rev: 9d556092fcc6f04c487afd126d52935bac133165)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agovalgrind: fix compile ptest failure on mips32
Hongxu Jia [Fri, 27 Jul 2018 14:10:47 +0000 (22:10 +0800)] 
valgrind: fix compile ptest failure on mips32

- Pass mips32's CFLAGS to tests

- Fix broken inline asm in tests on mips32-linux

- Build mips n32 successfully, support it.

(From OE-Core rev: 23d9eba99d1180a0b859aadc23a10b391b8f6440)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobuildtools-tarball: add python3-testtools and python3-subunit
Robert Yang [Fri, 27 Jul 2018 08:52:38 +0000 (16:52 +0800)] 
buildtools-tarball: add python3-testtools and python3-subunit

They are required by oeqa.

(From OE-Core rev: 033459894d368652bc9127dcb3bb1bcc8d6f055e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-subunit: add it for oeqa
Robert Yang [Fri, 27 Jul 2018 07:36:17 +0000 (15:36 +0800)] 
python3-subunit: add it for oeqa

- It is required by oeqa, add it so that we can add nativesdk-python3-subunit
  to buildtools-tarball.
- The original one is python-subunit_1.1.0.bb which is from meta-openstack
  layer, I divided it into python-subunit.inc and python3-subunit_1.1.0.bb
  and extended to nativesdk.

(From OE-Core rev: f55d5a8022dda18f3e9aa4138dc1961d9ef979c4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-testtools: add it for oeqa
Robert Yang [Fri, 27 Jul 2018 07:36:17 +0000 (15:36 +0800)] 
python3-testtools: add it for oeqa

- It is required by oeqa, add it so that we can add nativesdk-python3-testtools
  to buildtools-tarball.
- The original one is python-testtools_2.3.0.bb which is from meta-openstack
  layer, I divided it into python-testtools.inc and python3-testtools_2.2.0.bb,
  and extended to nativesdk.

(From OE-Core rev: 50864df5b0eb3d1704e8fe75c06e957af0b41c38)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-pbr: add it for python3-testtools
Robert Yang [Fri, 27 Jul 2018 06:59:25 +0000 (14:59 +0800)] 
python3-pbr: add it for python3-testtools

- The python3-testtools RDEPENDS on it.
- It is from meta-python, I extended it to nativesdk.

(From OE-Core rev: 4cc30de57dd70571005a1f31f9465d745c92aad2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-extras: add it for python3-testtools
Robert Yang [Fri, 27 Jul 2018 06:59:25 +0000 (14:59 +0800)] 
python3-extras: add it for python3-testtools

- The python3-testtools RDEPENDS on it.
- The original one is python-extras_1.0.0.bb which is from meta-openstack
  layer, I divided it into python-extras.inc and python3-extras_1.0.0.bb, and
  extended to nativesdk.

(From OE-Core rev: 0176e798364689774bed4ac4bd0e345c32ea3078)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotestsdk.bbclass: check python module testtools and subunit
Robert Yang [Fri, 27 Jul 2018 03:17:36 +0000 (11:17 +0800)] 
testsdk.bbclass: check python module testtools and subunit

The testtools or subunit is not part of python's standard library, so check them
before use.

Fixed when they are not installed on host:
$ bitbake core-image-minimal -ctestsdk
Exception: ImportError: No module named 'testtools'

Now it can run with a warning:
WARNING: core-image-minimal-1.0-r0 do_testsdk: Failed to import testtools or subunit, the testcases will run serially

(From OE-Core rev: ae53461608c4e71533378369b3f623b4c9002e39)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopax-utils: remove
Ross Burton [Fri, 27 Jul 2018 14:23:04 +0000 (15:23 +0100)] 
pax-utils: remove

This was packaged originally to perform QA tests on binaries (text relocations
and RPATHs), but we perform those tests at build-time now.

(From OE-Core rev: d1c56454b2d374f96c810f684a15dbefebead067)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runtime/scanelf: remove
Ross Burton [Fri, 27 Jul 2018 14:23:12 +0000 (15:23 +0100)] 
oeqa/runtime/scanelf: remove

These tests are intended to search for bad RPATHs and text relocations, but we
do these tests at buildtime and as pax-utils is never installed in any default
images the tests are never executed.

(From OE-Core rev: ff81b58d5f322ea4a24c1b9ed40377c742459149)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoicon-naming-utils: remove
Ross Burton [Fri, 27 Jul 2018 14:16:07 +0000 (15:16 +0100)] 
icon-naming-utils: remove

The last user of this was the sato theme, removed in 2016.

(From OE-Core rev: 6df1f6cf05e21dad1646803a411e52ff85e33435)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogccmakedep: remove
Ross Burton [Fri, 27 Jul 2018 14:11:25 +0000 (15:11 +0100)] 
gccmakedep: remove

Nothing uses this in oe-core or meta-oe, so drop it.

(From OE-Core rev: 69b0305ea5a263837fb57ede3133bee6e2f74a93)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibusb-compat: remove
Ross Burton [Fri, 27 Jul 2018 11:46:52 +0000 (12:46 +0100)] 
libusb-compat: remove

Nothing in oe-core or meta-oe links to this now, so the recipe can finally be
removed.

(From OE-Core rev: be9d9b7d6f5917b63660fe5561078851d4a42a9c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocups: depend on libusb1
Ross Burton [Fri, 27 Jul 2018 11:55:46 +0000 (12:55 +0100)] 
cups: depend on libusb1

There is no need to depend on the compatibility library libusb-compat, as CUPS
links directly to libusb1.

(From OE-Core rev: feead64ac6df31d9b9499b232631aeb0edad3af0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agousbutils: upgrade to 010
Ross Burton [Fri, 27 Jul 2018 11:48:41 +0000 (12:48 +0100)] 
usbutils: upgrade to 010

Upgrade to 010.

usbutils uses libusb1 not the older libusb-compat library.

Refresh (and submit upstream) the bashism removal for usb-devices.

Fix LICENSE as lsusb.py is GPLv2 or v3, and set per-package LICENSE fields as
appropriate.  The actual license texts are missing from the 010 tarball (fixed
in git) so point at the SPDX statements in the source files instead.

Remove FILES_${PN}-dev as usbutils.pc doesn't exist anymore.

Remove lsusb.py hashbang change as this doesn't cause any problems now
(installed hashbang is /usr/bin/env python3).

Remove spurious zlib build dependency that isn't required.

Remove spurious RDEPENDS_${PN}-ptest, which doesn't exist.

(From OE-Core rev: 889a86d8c044c0a9c6064a542f25e7fecef48234)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agounzip: fix symlink problem
Ross Burton [Wed, 25 Jul 2018 20:55:17 +0000 (21:55 +0100)] 
unzip: fix symlink problem

Large zip files can cause unzip to crash, take a patch from Fedora to fix it.

(From OE-Core rev: a001833b7c7a0a6eef88e053fe65e2a0c91ca7bc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoupdate-rc.d: move to git.yoctoproject.org
Ross Burton [Wed, 25 Jul 2018 10:11:12 +0000 (11:11 +0100)] 
update-rc.d: move to git.yoctoproject.org

The update-rc.d repository is now on git.yoctoproject.org, and has merged all of
the patches we were carrying.

(From OE-Core rev: 531e363db08711b5390af16f5491ca8a71a0610c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>