]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agom4: 1.4.17 -> 1.4.18
Robert Yang [Fri, 10 Feb 2017 03:23:15 +0000 (19:23 -0800)]
m4: 1.4.17 -> 1.4.18

Rebased remove-gets.patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomklibs-native: 0.1.41 -> 0.1.43
Robert Yang [Fri, 10 Feb 2017 03:23:14 +0000 (19:23 -0800)]
mklibs-native: 0.1.41 -> 0.1.43

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agostrace: fix gawk's path
Robert Yang [Fri, 10 Feb 2017 03:23:13 +0000 (19:23 -0800)]
strace: fix gawk's path

Fixed:
strace-4.15: /usr/lib/strace/ptest/tests/caps-abbrev.awk contained in package strace-ptest requires /bin/gawk, but no providers found in RDEPENDS_strace-ptest? [file-rdeps]

The path should be /usr/bin/gawk as other scripts use in this package.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agostrace: 4.14 -> 4.15
Robert Yang [Fri, 10 Feb 2017 03:23:12 +0000 (19:23 -0800)]
strace: 4.14 -> 4.15

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowget: 1.18 -> 1.19
Robert Yang [Fri, 10 Feb 2017 03:23:11 +0000 (19:23 -0800)]
wget: 1.18 -> 1.19

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibpcre: 8.39 -> 8.40
Robert Yang [Fri, 10 Feb 2017 03:23:10 +0000 (19:23 -0800)]
libpcre: 8.39 -> 8.40

The LIC_FILES_CHKSUM is changed because the date is changed, here is
diff result:
< Copyright (c) 1997-2017 University of Cambridge

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agohdparm: 9.50 -> 9.51
Robert Yang [Fri, 10 Feb 2017 03:23:09 +0000 (19:23 -0800)]
hdparm: 9.50 -> 9.51

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agognu-efi: 3.0.4 -> 3.0.5
Robert Yang [Fri, 10 Feb 2017 03:23:08 +0000 (19:23 -0800)]
gnu-efi: 3.0.4 -> 3.0.5

* Remove aarch64-initplat.c-fix-const-qualifier.patch which is already
  in the source.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogit: 2.11.0 -> 2.11.1
Robert Yang [Fri, 10 Feb 2017 03:23:07 +0000 (19:23 -0800)]
git: 2.11.0 -> 2.11.1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoe2fsprogs: 1.43.3 -> 1.43.4
Robert Yang [Fri, 10 Feb 2017 03:23:06 +0000 (19:23 -0800)]
e2fsprogs: 1.43.3 -> 1.43.4

* Rebased Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch.
* The mkfs.ext4dev is gone.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agousbutils: allow udev-hwdb to be optional
Gary Thomas [Fri, 10 Feb 2017 06:05:03 +0000 (07:05 +0100)]
usbutils: allow udev-hwdb to be optional

Use RRECOMMENDS for the udev hardware data base, to allow for this
to be suppressed if desired (saves many MB - useful for smaller systems)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoperf: add PACKAGECONFIG for jvmti
Stefan Müller-Klieser [Thu, 9 Feb 2017 11:49:39 +0000 (12:49 +0100)]
perf: add PACKAGECONFIG for jvmti

Recent kernel build jvmti, java profiling agent, if a host jdk is
detected. The library will be packaged in -dev and throws a qa error.
Disable the jvmti build per default.

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodbus: remove pointless cd
Ross Burton [Thu, 9 Feb 2017 16:47:21 +0000 (16:47 +0000)]
dbus: remove pointless cd

There's no need to cd to the target directory when creating symlinks, so don't.

[ YOCTO #10985 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoelfutils: update homepage and upstream souce
Hongxu Jia [Wed, 8 Feb 2017 03:01:35 +0000 (22:01 -0500)]
elfutils: update homepage and upstream souce

In git://sourceware.org/git/elfutils.git:
----------------
commit 1700fd25e6caf26663af2bd994d1d99fab9df59f
Author: Mark Wielaard <mark@klomp.org>
Date:   Sat Dec 24 22:31:41 2016 +0100

    http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/

    fedorahosted used to be our home, but we are now hosted at sourceware.

    Change the elfutils project home to http://elfutils.org/
    Point hosted services (email, release, git, bug tracker and web pages)
    to https://sourceware.org/elfutils/

    Move design notes from README to NOTES.
    Add URLs for home, releases, bugs, git and mailinglist to README.

    Make the --version output of all tools the same by using a common
    print_version function and update the publicly shown copyright holder
    to the elfutils developers.

Signed-off-by: Mark Wielaard <mark@klomp.org>
------------------

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 years agoelfutils: 0.166 -> 0.168
Hongxu Jia [Mon, 6 Feb 2017 09:34:46 +0000 (04:34 -0500)]
elfutils: 0.166 -> 0.168

- Backport patches from debian to 0.168 and add US tags.

- Rebase 0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch to support libc musl

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 years agolibgpg-error: 1.25 -> 1.26
Hongxu Jia [Tue, 7 Feb 2017 04:30:46 +0000 (23:30 -0500)]
libgpg-error: 1.25 -> 1.26

- errorref.txt is part of the documentation so should be in PN-doc.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 years agogpgme: allow building -native variant
Alexander Kanavin [Mon, 13 Feb 2017 15:05:31 +0000 (17:05 +0200)]
gpgme: allow building -native variant

This is required by various pieces in the dnf stack

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogpgme: 1.6.0 -> 1.8.0
Hongxu Jia [Tue, 7 Feb 2017 03:29:07 +0000 (22:29 -0500)]
gpgme: 1.6.0 -> 1.8.0

- Drop gpgme.pc, it is duplicated with pkgconfig.patch

- Rebase pkgconfig.patch to 1.8.0

- Split cmake config to ${PN}-dev

- Update LIC_FILES_CHKSUM, because copytright year changed.

- The libgpgme-pthread is obsolete by upstream;

- Add package libgpgcpp;

TODO: Do not remove gpgme-pthread.pc from pkgconfig.patch,
      the upstream explains:
      git://git.gnupg.org/gpgme.git
      commit 09b64554328445e99a8cc78fc34ea49c2ea2e7f9
      ------------------------------
      libgpgme-pthread is removed but gpgme-config still supports
      --thread=pthread for compatibility with find scripts.
      ------------------------------

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 years agosecurity_flags: disable -pie for gpgme
Ross Burton [Mon, 13 Feb 2017 14:23:02 +0000 (14:23 +0000)]
security_flags: disable -pie for gpgme

Otherwise this fails to build the libraries:

relocation R_X86_64_PC32 against undefined hidden symbol `__init_array_start'
can not be used when making a shared object

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agognupg: 2.1.14 -> 2.1.18
Hongxu Jia [Tue, 7 Feb 2017 05:51:48 +0000 (00:51 -0500)]
gnupg: 2.1.14 -> 2.1.18

Update LIC_FILES_CHKSUM md5 checksum, because "http" has been
changed to "https".

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 years agorpcbind: 0.2.3 -> 0.2.4
Hongxu Jia [Tue, 7 Feb 2017 05:37:22 +0000 (00:37 -0500)]
rpcbind: 0.2.3 -> 0.2.4

Drop obsolete patch
- 0001-Avoid-use-of-glibc-sys-cdefs.h-header.patch

Drop backport patches:
- 0001-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
- cve-2015-7236.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 years agoman-pages: 4.08 -> 4.09
Hongxu Jia [Tue, 7 Feb 2017 05:05:55 +0000 (00:05 -0500)]
man-pages: 4.08 -> 4.09

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 years agolibgcrypt: 1.7.3 -> 1.7.6
Hongxu Jia [Tue, 7 Feb 2017 04:23:02 +0000 (23:23 -0500)]
libgcrypt: 1.7.3 -> 1.7.6

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 years agosocat: 1.7.3.1 -> 1.7.3.2
Hongxu Jia [Mon, 6 Feb 2017 08:57:03 +0000 (03:57 -0500)]
socat: 1.7.3.1 -> 1.7.3.2

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 years agopax-utils: 1.1.6 -> 1.2.2
Hongxu Jia [Mon, 6 Feb 2017 08:48:09 +0000 (03:48 -0500)]
pax-utils: 1.1.6 -> 1.2.2

Export GNULIB_OVERRIDES_WINT_T to fix compile failure
---------
1099 make[4]: *** [printf-args.o] Error 1
1100 make[4]: *** Waiting for unfinished jobs....
1101 In file included from ../../../pax-utils-1.2.2/autotools/gnulib/printf-args.h:41:0,
1102                  from ../../../pax-utils-1.2.2/autotools/gnulib/printf-parse.h:29,
1103                  from ../../../pax-utils-1.2.2/autotools/gnulib/printf-parse.c:36:
1104 ./wchar.h:476:6: error: #if with no expression
1105  # if
1106       ^
1107 make[4]: *** [printf-parse.o] Error 1
---------

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8 years agowatchdog: Add RCONFLICTS to watchdog-keepalive and split RDEPENDS
Fabio Berton [Wed, 25 Jan 2017 11:22:05 +0000 (09:22 -0200)]
watchdog: Add RCONFLICTS to watchdog-keepalive and split RDEPENDS

watchdog-keepalive is a simplified version of the watchdog daemon
and can't be installed along with watchdog daemon, we need to
choose which daemon install.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibcap: Add gperf-native to depends
Khem Raj [Wed, 8 Feb 2017 15:57:59 +0000 (07:57 -0800)]
libcap: Add gperf-native to depends

Fixes
|  gperf_case_strncmp (register const char *s1, register const char *s2, register size_t n)
|                                                                                 ^~~~~~
| ./_caps_output.gperf:96:53: error: unknown type name 'size_t'
|  __cap_hash_name (register const char *str, register size_t len)
|                                                      ^~~~~~
| ./_caps_output.gperf:200:55: error: unknown type name 'size_t'
|  __cap_lookup_name (register const char *str, register size_t len)
|                                                        ^~~~~~
| ./_caps_output.gperf:200:1: error: conflicting types for '__cap_lookup_name'
|  __cap_lookup_name (register const char *str, register size_t len)
|  ^~~~~~~~~~~~~~~~~
| ./_caps_output.gperf:33:29: note: previous declaration of '__cap_lookup_name' was here
|  const struct __cap_token_s *__cap_lookup_name(const char *, unsigned int);
|                              ^~~~~~~~~~~~~~~~~
| cap_text.c: In function 'cap_to_name':
| cap_text.c:291:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
|   asprintf(&tmp, "%u", cap);
|   ^~~~~~~~~~~~~~~~~~~~~~~~~
| make[1]: *** [Makefile:63: cap_text.o] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolttng-tools: no need to delete libxml.m4
Ross Burton [Wed, 8 Feb 2017 14:44:29 +0000 (14:44 +0000)]
lttng-tools: no need to delete libxml.m4

The configure.ac uses pkg-config now and this macro doesn't exist in the tarball
anymore, so remove the deletion.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosecurity_flags: enable string formatting check for console tools
Chen Qi [Wed, 8 Feb 2017 09:25:37 +0000 (17:25 +0800)]
security_flags: enable string formatting check for console tools

As we've fixed the string formatting issue in console-tools, we don't
need to override SECURITY_STRINGFORMAT for console-tools any more.

[YOCTO #9540]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoconsole-tools: fix string formatting issue
Chen Qi [Wed, 8 Feb 2017 09:25:36 +0000 (17:25 +0800)]
console-tools: fix string formatting issue

Fix string formatting issue in console-tools. Otherwise, when compiling with
'-Wformat -Wformat-security -Werror=format-security', we would have compilation
error.

[YOCTO #9540]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoltp: Fix containers/userns05 failure for lib32
He Zhe [Wed, 8 Feb 2017 02:58:46 +0000 (10:58 +0800)]
ltp: Fix containers/userns05 failure for lib32

Backport a patch to fix userns05 case:
<<<test_output>>>
user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2
user_namespace5 1 TFAIL : userns05.c:95: userns:parent should be not equal to cpid2
user_namespace5 0 TINFO : Child process returned TPASS
user_namespace5 0 TINFO : Child process returned TPASS
user_namespace5 0 TINFO : Child process returned TFAIL
incrementing stop

Rename the previous patch to add a number prefix

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython: Don't use getentropy on Linux
Andreas Oberritter [Tue, 7 Feb 2017 23:48:54 +0000 (00:48 +0100)]
python: Don't use getentropy on Linux

Backport a patch from 2.7 branch to fix a regression with glibc
2.24 causing "OSError: [Errno 38] Function not implemented" when
calling urandom() with older kernels.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopseudo: update to 1.8.2
Joshua Lock [Tue, 7 Feb 2017 15:53:00 +0000 (15:53 +0000)]
pseudo: update to 1.8.2

Update to the newly minted 1.8.2, dropping several patches we'd
backported since the last release.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosmartpm: if RPM transaction fails with an empty list of problems in attempt mode...
Herve Jourdain [Thu, 9 Jun 2016 07:41:31 +0000 (15:41 +0800)]
smartpm: if RPM transaction fails with an empty list of problems in attempt mode, ignore it!

Since commit be0cabf816a84c59e0e951b92a570121ed843822 on 2016/05/17, smartpm will retry the transaction if ts.run() returns with an empty list of problems, and we're in attempt mode.
But then, since all the packages are already installed, the transaction will fail with "package already installed" error.

In attempt mode, it's fine to not retry nor generate an error when the transaction fails for no reason linked to files/packages conflicts, so this patch fixes this behaviour.

Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoglibc: Update to 2.25 release
Khem Raj [Mon, 6 Feb 2017 19:38:04 +0000 (11:38 -0800)]
glibc: Update to 2.25 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopulseaudio: 9.0 -> 10.0
Tanu Kaskinen [Fri, 3 Feb 2017 07:06:35 +0000 (09:06 +0200)]
pulseaudio: 9.0 -> 10.0

Relase notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/10.0/

The checksum of the LICENSE file changed due to some clarifications.
There were no changes to the actual licensing terms.

The LICENSE variable was not accurate, so I made changes to it.
Specifically:
 * there's no GPL code in PulseAudio so I dropped GPL from the list
 * the LGPL code allows using later versions of the license rather than
   limiting to just 2.1
 * there are some MIT and BSD licensed bits

I added more files to LIC_FILES_CHKSUM to have better coverage of all
the differently licensed code.

Dropped json-c and gdbm from DEPENDS. The new release doesn't use json-c
any more. gdbm isn't used when --with-database=simple is passed to
configure, so it should have been removed from DEPENDS a long time ago.

The new release dropped the Xen module, so the --without-xen configure
option isn't needed any more.

Added a comment for why --without-fftw is used.

Disabled the adrian echo canceller, because it has an unusual license,
and disabling the code was simpler than adding a new license to OE-Core.

Dropped upstreamed patches.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxz: upgrade to 5.2.3
Andreas Horsthemke [Sat, 4 Feb 2017 13:34:55 +0000 (14:34 +0100)]
xz: upgrade to 5.2.3

Signed-off-by: Andreas Horsthemke <andhorsthemke@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibepoxy: upgrade to 1.4.0
Ross Burton [Mon, 6 Feb 2017 23:26:34 +0000 (23:26 +0000)]
libepoxy: upgrade to 1.4.0

Drop the two patches that add the ability to disable GLX, this has been added
upstream.

Drop the Python3 patch as the code generator works with Py3 now.

(From OE-Core rev: 8ba197b3ae10a90ca988f0021597dfd20463c2d2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest: remove result file log awkward checking
Benjamin Esquivel [Sun, 12 Feb 2017 19:00:38 +0000 (19:00 +0000)]
selftest: remove result file log awkward checking

because of the way that the test cases are looked in the results,
the file logger is incompatible with extended implementations of the
unittest runner.

as the xml runner extends the unittest runner, it shares the id()
method which returns the full name of the test, not only the test
function name. With that, a single check of the full name reviews at
the same time the class name as well as the function name.

[YOCTO#11012]

Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuild-perf-test-wrapper.sh: fix issues with non-existing path arguments
Markus Lehtonen [Fri, 27 Jan 2017 13:24:25 +0000 (15:24 +0200)]
build-perf-test-wrapper.sh: fix issues with non-existing path arguments

Without the '-s' option realpath will error out if the given path does
not exist.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: drop --commit-results
Markus Lehtonen [Fri, 3 Feb 2017 17:58:54 +0000 (19:58 +0200)]
oe-build-perf-test: drop --commit-results

Drop support for committing results into Git repository. The
functionality was not directly related to testing and feels unnecessary
complication of the script. The functionality has been moved into a
separate oe-git-archive script.

[YOCTO #10582]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuild-perf-test-wrapper.sh: use oe-git-archive
Markus Lehtonen [Fri, 3 Feb 2017 17:53:55 +0000 (19:53 +0200)]
build-perf-test-wrapper.sh: use oe-git-archive

Start to use the new helper script for archiving results data in Git.

[YOCTO #10582]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts/oe-git-archive: support creating bare repositories
Markus Lehtonen [Fri, 3 Feb 2017 14:40:35 +0000 (16:40 +0200)]
scripts/oe-git-archive: support creating bare repositories

[YOCTO #10582]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.utils.git: support bare repos
Markus Lehtonen [Fri, 3 Feb 2017 08:53:32 +0000 (10:53 +0200)]
oeqa.utils.git: support bare repos

[YOCTO #10582]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts: Implement oe-git-archive
Markus Lehtonen [Thu, 2 Feb 2017 14:30:57 +0000 (16:30 +0200)]
scripts: Implement oe-git-archive

A helper script for committing data to git and pushing it upstream. The
motivation for the script stems from the need to archiving QA test
results in git, but it could be used elsewhere, of course. The script
needs to be run under an initialized build environment because it
utilizes bitbake configuration information.

[YOCTO #10582]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.utils.git: add git_dir property
Markus Lehtonen [Thu, 2 Feb 2017 14:02:15 +0000 (16:02 +0200)]
oeqa.utils.git: add git_dir property

[YOCTO #10582]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/buildperf: don't archive stdout/stderr of commands
Markus Lehtonen [Fri, 27 Jan 2017 14:54:53 +0000 (16:54 +0200)]
oeqa/buildperf: don't archive stdout/stderr of commands

Stop capturing output of the shell commands into <test>/commands.log.
Redirecting output into a file prevented the unittest framework from
capturing it, causing useless errors (with empty output) like:
oeqa.utils.CommandError: Command '['bitbake', 'core-image-sato']'
returned non-zero exit status 1 with output:

In general, the console output of commands is only interesting when
something fails. Also, dropping the commands.log file is a huge saving
in disk space, and thus, repository size when results are archived in
Git.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/license: Respect beginline and endline
Joshua Watt [Sat, 11 Feb 2017 03:35:37 +0000 (21:35 -0600)]
classes/license: Respect beginline and endline

Recipes have the option of specifying a 'beginline' and 'endline'
options in LIC_FILES_CHKSUM which will cause the license bbclass to
only extract those specific lines from the license file when generating
the license database.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinsane.bbclass: print QA message correctly
Stephano Cetola [Fri, 10 Feb 2017 22:50:02 +0000 (14:50 -0800)]
insane.bbclass: print QA message correctly

Replace call to non-existent method "messages" with call to correct
QA logging method.

Fixes [YOCTO #11014]

introduced in OE-core revision 1dcb38ca9d6

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackage_deb.bbclass: Ignore file paths in RPROVIDES
Amarnath Valluri [Fri, 10 Feb 2017 13:42:17 +0000 (15:42 +0200)]
package_deb.bbclass: Ignore file paths in RPROVIDES

Unlike rpm, debian packaging does not allow file paths in 'Provides:' field.
When 'usrmerge' distro feature enabled bash/busybox packages adds '/bin/sh' to
it's RPROVIDES to satisfy build dependencies, this entry should be filtered out.

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotestimage.bbclass: Add check for empty test suite
Mariano Lopez [Thu, 9 Feb 2017 13:15:14 +0000 (13:15 +0000)]
testimage.bbclass: Add check for empty test suite

If for some reason (most likely incorrect TEST_SUITES var)
you end with an empty test suite, testimage will start the
target (qemu by default) and will run an empty suite, so
better have a check before starting the target.

[YOCTO #10979]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage.bbclass: Use 'populate_sdk_base' for non-linux targets
Nathan Rossi [Mon, 30 Jan 2017 07:39:12 +0000 (17:39 +1000)]
image.bbclass: Use 'populate_sdk_base' for non-linux targets

When 'populate_sdk_ext' was first introduced in commit bf81d6bb7f6 it
replaced the inheriting of 'populate_sdk_base'. For non-linux targets
building the extensible SDK caused build errors, and the image class was
changed to inherit 'populate_sdk' when targeting a non-linux SDK_OS (in
commmit e471ce3464d). However inheriting 'populate_sdk' instead of
'populate_sdk_base' causes the SDK to always be built, this is not
expected for the image class.

This change makes the image class inherit 'populate_sdk_base' in the
non-linux SDK_OS case so that it behaves the same as it is expected to
behave where 'bitbake <image> -c populate_sdk' must be executed to
generate the SDK deployables.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosanity.bbclass: Add which to SANITY_REQUIRED_UTILITIES.
Philip Balister [Wed, 8 Feb 2017 20:27:06 +0000 (15:27 -0500)]
sanity.bbclass: Add which to SANITY_REQUIRED_UTILITIES.

Using docker with the Fedora 23 container exposed an issue with
the rpm-native configure step. If which is not present the configure
script fork bombs. After much pain, I tracked this to which not being
present in the default container. Add a check for which so others
do not have to have this experience.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouboot-extlinux-config.bbclass: add support for timeout & default
Dalon Westergreen [Tue, 7 Feb 2017 23:46:29 +0000 (15:46 -0800)]
uboot-extlinux-config.bbclass: add support for timeout & default

When multible targets are defined it is useful to allow for
a default target along with a timeout.  After timeout, the
default target will be selected.

Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/copyleft_filter: include AGPL in default included list
Paul Eggleton [Tue, 7 Feb 2017 19:12:29 +0000 (08:12 +1300)]
classes/copyleft_filter: include AGPL in default included list

If we're including all GPL licenses then we should include AGPL in
the default COPYLEFT_LICENSE_INCLUDE since it has similar terms (and
currently we do have one AGPL-licensed recipe in OE-Core, namely db).

(Note that the default list isn't meant to be a guaranteed complete
safe list - seek legal advice based on what you're distributing if
unsure.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel.bbclass: Make symbol to vmlinuz.bin in boot directory
Andrea Adami [Wed, 25 Jan 2017 23:56:08 +0000 (00:56 +0100)]
kernel.bbclass: Make symbol to vmlinuz.bin in boot directory

The changes committed with 6e58f54be103814b6b8a85b236510633c49e6832 did only
consider the vmlinuz ELF kernel but some devices do reqire a raw vmlinuz.bin
(as for example gcw0 in meta-handheld booted by ubiboot).
Expand the above mentioned patch to consider this case.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocve-check-tool: Use CA cert bundle in correct sysroot
Jussi Kukkonen [Thu, 9 Feb 2017 19:38:33 +0000 (21:38 +0200)]
cve-check-tool: Use CA cert bundle in correct sysroot

Native libcurl looks for CA certs in the wrong place by
default.
* Add patch that allows overriding the default CA certificate
  location. Patch is originally from meta-security-isafw.
* Use the new --cacert to set the correct CA bundle path

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocve-check-tool: Fixes for recipe sysroots
Jussi Kukkonen [Thu, 9 Feb 2017 19:38:32 +0000 (21:38 +0200)]
cve-check-tool: Fixes for recipe sysroots

* Use --enable-relative-plugins so cve-check-tool looks for
  loadable modules relative to binary location instead of
  hard-coding a wrong sysroot location
* do_populate_cve_db() assumes that the binary cve-check-update is in
  the sysroot. Ensure that this is true by adding a task dependency

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocve-check.bbclass: Fix dependencies
Jussi Kukkonen [Thu, 9 Feb 2017 19:38:31 +0000 (21:38 +0200)]
cve-check.bbclass: Fix dependencies

With recipe-specific sysroots the cve_check task must depend on
cve-check-tool-native:do_populate_sysroot to get the cve-check-tool
binary into the recipe sysroot.

A normal DEPENDS isn't used to avoid cyclic dependencies.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotestimage: Implement custom target loading
Juro Bystricky [Mon, 6 Feb 2017 17:49:37 +0000 (09:49 -0800)]
testimage: Implement custom target loading

This patch implements custom target loading for testimage, currently
missing due to major changes to the test framework.
Custom targets can be defined in various meta-layers, so we
need an extra path information in order to find them.
Any other additional info is retrieved as usual via the variables
TEST_TARGET and TEST_SUITES

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/loader.py: Avoid error in TypeError exception
Juro Bystricky [Mon, 6 Feb 2017 17:27:22 +0000 (09:27 -0800)]
oeqa/loader.py: Avoid error in TypeError exception

Without this an exception would occur

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoqemu.py: add 'elf' as supported fstype
Juro Bystricky [Mon, 6 Feb 2017 18:05:15 +0000 (10:05 -0800)]
qemu.py: add 'elf' as supported fstype

Add 'elf' as also supported by OEQemuTarget.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibva: Update to new 01.org github location
Saul Wold [Tue, 7 Feb 2017 18:58:17 +0000 (10:58 -0800)]
libva: Update to new 01.org github location

Upstream has moved to use 01.org and github, Update the various URIs
that track info. S needs to be changed to WORKDIR/git as we are now a
git repo.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/core/runner.py: OEStreamLogger fix logging
Aníbal Limón [Thu, 9 Feb 2017 20:53:17 +0000 (14:53 -0600)]
oeqa/core/runner.py: OEStreamLogger fix logging

Change conditional to avoid losing stack traces when log
into the logger. The logic only needs to don't log empty lines.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses: Drop now unneeded update_data calls
Richard Purdie [Thu, 9 Feb 2017 17:11:38 +0000 (17:11 +0000)]
classes: Drop now unneeded update_data calls

Now that the datastore works dynamically we don't need the update_data calls
so we can just remove them. They're not actually done anything at all for
a while.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agonss: Fix nss-native so the checksum doesn't change with BUILD_ARCH
Richard Purdie [Wed, 8 Feb 2017 21:29:43 +0000 (21:29 +0000)]
nss: Fix nss-native so the checksum doesn't change with BUILD_ARCH

Switching between 32 and 64 bit BUILD_ARCH shows:

$ bitbake-diffsigs tmp-sstatesamehash*/stamps/*/nss-native/3.27.1-r0.do_compile.sigdata.*
basehash changed from 944cc4554a823ba966aeda0ac3d33b79 to 2475db3659c248d81d0e4dadb3c1b4cd
Variable SITEINFO_BITS value changed from '32' to '64'

We shouldn't have this dependency and it would fail oe-selftest test_sstate_32_64_same_hash
if nss-native were included, therefore exclude it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosstate: Make absolute symlinks an error
Richard Purdie [Wed, 8 Feb 2017 16:17:09 +0000 (16:17 +0000)]
sstate: Make absolute symlinks an error

The current relocation code is broken, at least in the native case. Fixing it
would mean trying pass in new data on sstate tasks about the relative positioning
of symlinks compared to the sstate relocation paths. Whilst we could do this,
right now I'm favouring making this an error and fixing the small number of
problematic recipes we have in OE-Core (3).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoopenssl/fontconfig/bzip2: Use relative symlinks instead of absolute ones (using a...
Richard Purdie [Wed, 8 Feb 2017 16:10:50 +0000 (16:10 +0000)]
openssl/fontconfig/bzip2: Use relative symlinks instead of absolute ones (using a new class)

Absolute path symlinks are a bit of a pain for sstate and the native versions
of these recipes currently contain broken symlinks as a result. There are
only a small number of problematic recipes, at least in OE-Core, namely the
three here.

Rather than trying to make sstate handle this magically, which turns out to
be a harder problem than you'd first realise, simply make the symlinks relative
early in the process and avoid all the problems.

The alternative is adding new complexity to sstate which we could really
do without as without the complexity, you can't always tell where the
absolute symlink is relative to (due to prefixes used for native sstate).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/path: Add replace_absolute_symlinks function
Richard Purdie [Wed, 8 Feb 2017 15:08:54 +0000 (15:08 +0000)]
lib/oe/path: Add replace_absolute_symlinks function

We need a function to walk a directory and replace absolute symlinks with
relative ones. Add such a function to the path module of lib/oe.

It does this relative to the directory being walked for files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcc-cross-initial: Remove unneeded temporary sysroot
Richard Purdie [Wed, 8 Feb 2017 15:00:50 +0000 (15:00 +0000)]
gcc-cross-initial: Remove unneeded temporary sysroot

We used to need to build gcc-cross-initial against a bare sysroot to avoid
contamination. With RSS, we no longer need to do this since the recipe sysroot
is already bare. We can therefore simply point at that and drop this code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython3-native: Remove tests to save copying uneeded files around
Richard Purdie [Fri, 3 Feb 2017 12:06:06 +0000 (12:06 +0000)]
python3-native: Remove tests to save copying uneeded files around

Removing these nearly halves the python3-native disk footprint meaning
more optimal sysroot operations. We don't need these tests for anything.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglibc-package: Avoid race sstate races with do_stash_locale
Richard Purdie [Wed, 8 Feb 2017 12:29:04 +0000 (12:29 +0000)]
glibc-package: Avoid race sstate races with do_stash_locale

The change to make do_stash_locale an sstate task between do_install and
do_package has some unforeseen problems since the function deletes part of
${D} but may or may not run depending on whether the task is installed from
sstate.

This cleans up the current "pre packaging" function to be more deterministic
and result in the same set of files, whichever code path we end up reaching
that point by. Its not an ideal sitation but it should avoid the race
failures we've seen on some builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/selftest/pkgdata: use m4 instead of bash
Ross Burton [Mon, 6 Feb 2017 14:35:30 +0000 (14:35 +0000)]
oeqa/selftest/pkgdata: use m4 instead of bash

The pkgdata test broke due to oe-core cf0fd8b which added alternatives support
to bash, so the binary is now /bin/bash.bash.

Instead of fixing the test case for this new name, use the m4 recipe instead as
it has less build dependencies.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodosfstools: upgrade to 4.1
Dengke Du [Mon, 6 Feb 2017 06:00:33 +0000 (01:00 -0500)]
dosfstools: upgrade to 4.1

upgrade dosfstools from 4.0 to 4.1

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage_types.bbclass: fix image dependency chain collection
Andre McCurdy [Mon, 6 Feb 2017 03:42:48 +0000 (19:42 -0800)]
image_types.bbclass: fix image dependency chain collection

If image type "foo" depends on image type "bar.xz", then dependencies
should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
not from "IMAGE_DEPENDS_bar.xz".

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-module-split: Allow custom suffix for package names
Andreas Oberritter [Mon, 6 Feb 2017 21:41:56 +0000 (22:41 +0100)]
kernel-module-split: Allow custom suffix for package names

This makes it possible to restore the behaviour changed by commit 78cde87
"kernel-module-split: Append KERNEL_VERSION string to kernel module name".

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoiproute2: Inherit pkgconfig
Khem Raj [Mon, 6 Feb 2017 20:46:15 +0000 (12:46 -0800)]
iproute2: Inherit pkgconfig

Fixes
ERROR: iproute2-4.9.0-r0 do_package: QA Issue: iproute2: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/tc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopcmciautils: Inherit pkgconfig
Khem Raj [Mon, 6 Feb 2017 20:46:14 +0000 (12:46 -0800)]
pcmciautils: Inherit pkgconfig

Fixes
ERROR: pcmciautils-018-r1 do_package: QA Issue: pcmciautils: Files/directories were installed but not shipped in any package:
  /pcmcia-socket-startup
  /pcmcia-check-broken-cis
  /rules.d
  /rules.d/60-pcmcia.rules

Since we do not have pkg-config in native sysroot it is not
computing paths correctly and causes above error

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoqemu: Add missing 'inherit pkgconfig'
Jussi Kukkonen [Mon, 6 Feb 2017 10:04:47 +0000 (12:04 +0200)]
qemu: Add missing 'inherit pkgconfig'

The monster configure file does call pkg-config somewhere in there.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolatencytop: Add missing 'inherit pkgconfig'
Jussi Kukkonen [Mon, 6 Feb 2017 10:04:46 +0000 (12:04 +0200)]
latencytop: Add missing 'inherit pkgconfig'

The Makefile uses pkg-config.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopong-clock: Add missing 'inherit pkgconfig'
Jussi Kukkonen [Mon, 6 Feb 2017 10:04:45 +0000 (12:04 +0200)]
pong-clock: Add missing 'inherit pkgconfig'

The usage of pkg-config is sneakily hidden in do_compile()

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool: improve parse failure handling
Paul Eggleton [Mon, 6 Feb 2017 20:45:43 +0000 (09:45 +1300)]
devtool: improve parse failure handling

With the move to tinfoil2, the behaviour when parsing failed has changed
a bit - exceptions are now raised, so handle these appropriately.
Specifically when if parsing the recipe created when running devtool add
fails, rename it to .bb.parsefailed so that the user can run bitbake
afterwards without parsing being interrupted.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: do not treat numbers in SCM URLs as versions
Paul Eggleton [Mon, 6 Feb 2017 20:45:42 +0000 (09:45 +1300)]
recipetool: create: do not treat numbers in SCM URLs as versions

Numbers within SCM (e.g. git) URLs are extremely unlikely to be valid
version numbers - more likely they are just part of the name, thus don't
try to extract them and use them as the version - doing so causes pretty
bad behaviour within devtool:

--------- snip ---------
$ devtool add https://github.com/inhedron/libtr50
NOTE: Fetching git://github.com/inhedron/libtr50;protocol=https...
...
NOTE: Using default source tree path .../build/workspace/sources/libtr
...
RecursionError: maximum recursion depth exceeded while calling a Python object
--------- snip ---------

(This was because ${PV} was being substituted into the URL, but PV's
value was being set to include ${SRCPV}, so there was a circular
reference.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: properly handle npm optional dependencies
Paul Eggleton [Mon, 6 Feb 2017 20:45:41 +0000 (09:45 +1300)]
recipetool: create: properly handle npm optional dependencies

npm's package.json supports two types of dependencies -
optionalDependencies and dependencies; in the code for creating a recipe
from a non-npm source (e.g. a git repository) we were not handling
optionalDependencies and thus when pointed at a node.js application
outside of npm we weren't taking care of all dependencies.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/npm: set HOME during do_install
Paul Eggleton [Mon, 6 Feb 2017 20:45:40 +0000 (09:45 +1300)]
classes/npm: set HOME during do_install

In do_compile we set HOME so that ~/.npm* only get created in the work
directory; we need to do the same in do_install as well or they'll go
into the user's home directory which we do not want.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/populate_sdk_ext: account for custom image tasks
Paul Eggleton [Mon, 6 Feb 2017 20:30:50 +0000 (09:30 +1300)]
classes/populate_sdk_ext: account for custom image tasks

Any custom tasks that were added on the image between do_image_complete
and do_build were not being taken into account. Use the newly added
bb.build.tasksbetween() function to take care of that.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/patch: switch to new bb.build.tasksbetween() function
Paul Eggleton [Mon, 6 Feb 2017 20:30:49 +0000 (09:30 +1300)]
classes/patch: switch to new bb.build.tasksbetween() function

A generic version of the code to work out the tasks between two
tasks (based on the code here) has been added to bb.build, so use that
instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/populate_sdk_ext: remove unnecessary dependencies breaking SDK_TARGETS
Paul Eggleton [Mon, 6 Feb 2017 20:30:48 +0000 (09:30 +1300)]
classes/populate_sdk_ext: remove unnecessary dependencies breaking SDK_TARGETS

Up until recently it was possible to set SDK_TARGETS to include a native
recipe you wanted installed into the sysroot when installing the eSDK.
I'm not sure what happened but now when you try to add a native recipe
to SDK_TARGETS you get a missing task error because this recipe has no
do_package_write_* task. Of course such a task dependency is erroneous
and is apparently caused by setting SDK_RDEPENDS. I've checked and it
turns out that we no longer need to set SDK_RDEPENDS anyway (probably
because we explicitly set up task dependencies further down in the
class, which I don't think we were fully doing in early versions of the
eSDK). Thus, drop setting this variable to restore the functionality.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosanity.conf: Update minimum version requirement for devtool
Richard Purdie [Tue, 7 Feb 2017 14:47:49 +0000 (14:47 +0000)]
sanity.conf: Update minimum version requirement for devtool

A recent devtool change needs bitbake changes so bump the minmium bitbake
version requirement to match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging: Add missing parameter to debug message
Richard Purdie [Mon, 6 Feb 2017 15:47:28 +0000 (15:47 +0000)]
staging: Add missing parameter to debug message

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging: Improve file creation resiliance
Richard Purdie [Mon, 6 Feb 2017 14:47:55 +0000 (14:47 +0000)]
staging: Improve file creation resiliance

If you abort a build mid execution of the staging extend_sysroot function
there are currently races and cleanup of that function may fail.

This change splits the code into separate phases so that the manifests are
manipulated before files are installed, meaning we should be able to reverse
actions if builds fail, crash or are interrupted.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging: Add shared manifest support
Richard Purdie [Sat, 4 Feb 2017 17:33:27 +0000 (17:33 +0000)]
staging: Add shared manifest support

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoperl-native: Remove .packlist file
Richard Purdie [Sat, 4 Feb 2017 17:31:17 +0000 (17:31 +0000)]
perl-native: Remove .packlist file

This is large and needs fixups to relocate it in each case. We can drop it, save
the work and the ~150MB disk space its various copies take up. Its not needed
for anything that I can see.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging: Don't put ptest files into the sysroot
Richard Purdie [Sat, 4 Feb 2017 17:30:15 +0000 (17:30 +0000)]
staging: Don't put ptest files into the sysroot

This wastes space/time as the ptest files aren't going to be used in the
sysroot so add them to the blacklist.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglibc: Separate locale files to their own sstate task
Richard Purdie [Sat, 4 Feb 2017 17:28:18 +0000 (17:28 +0000)]
glibc: Separate locale files to their own sstate task

Putting the locale and script files into the sysroot for use by their
specific recipes used to be a simple way to share the files. With RSS,
we don't want to copy these into many different recipes so put these
files in their own sstate task.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoRevert "yocto-bsps: add 4.9 bbappend"
Richard Purdie [Mon, 6 Feb 2017 14:45:31 +0000 (14:45 +0000)]
Revert "yocto-bsps: add 4.9 bbappend"

This reverts commit e024cb13eaf7d5bd484995390ba75f3ab85ec0ef as applied
to the wrong repo.

8 years agogcc-6: Sync gcc stddef.h with musl stddef.h
Khem Raj [Fri, 3 Feb 2017 22:45:26 +0000 (14:45 -0800)]
gcc-6: Sync gcc stddef.h with musl stddef.h

GCC provides some of std* headers including stddef.h
and it syncs with glibc definitions via __needed* defines
to find which datatypes are expected to be defined on top
of glibc. we need same for musl.

Drop unused 0048-ARM-PR-target-71056-Don-t-use-vectorized-builtins-wh.patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: reword test descriptions
Markus Lehtonen [Fri, 3 Feb 2017 08:27:07 +0000 (10:27 +0200)]
oeqa.buildperf: reword test descriptions

In an attempt to make them more compact and coherent.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosdkext/cases oeqa/selftest: Updates decorators
Francisco Pedraza [Mon, 30 Jan 2017 20:14:36 +0000 (14:14 -0600)]
sdkext/cases oeqa/selftest: Updates decorators

Updates decorators for eSDK in test cases at:
sdkext/cases/devtool.py and oeqa/selftest/eSDK.py

Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash: use update-alternatives for the bash binary
Andreas Oberritter [Wed, 30 Nov 2016 18:50:26 +0000 (19:50 +0100)]
bash: use update-alternatives for the bash binary

Busybox may offer a bash applet. If enabled, the alternatives mechanism
avoids breaking logins if bash gets deinstalled while /bin/bash is configured
as a login shell.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>