]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agosanity: Improve configuration upgrade capabilities (support meta-yocto -> poky transi...
Richard Purdie [Tue, 16 Feb 2016 21:51:12 +0000 (21:51 +0000)]
sanity: Improve configuration upgrade capabilities (support meta-yocto -> poky transition)

Right now, only one configuration file can be processed (conf/bblayers.conf)
and it can only have one version number. This is a cause of immense friction
between OE-Core and Poky since if one needs a version change, it shouldn't
be forced on the other.

We'd like to rename the meta-yocto layer (within the meta-yocto repository)
to meta-poky. To do this, we need to correct the bblayers.conf file and that
means changing the sanity version. After the pain this caused the last time,
Paul made me promise never to have them out of sync between OE-Core and Poky,
equally, having every distro changing config update OE-Core isn't scalable
either.

This patch changes the sanity upgrade method to list a more generic format:

<config file>:<current version variable name>:<required version variable name>:<upgrade function>

This in theory allows us to support upgrades to any of the core
configuration files, and allow layers to extend them as needed. Files
with the same name can be handled in different layers by setting a unique
version name variable in the file itself. The upgrade code is only called
if the version variable is set.

To allow us to make the poky name change and use a new configuration file
name, one last version bump is included for poky to handle the transition.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage: Run do_rootfs_wicenv after do_image
Richard Purdie [Sun, 28 Feb 2016 08:57:20 +0000 (08:57 +0000)]
image: Run do_rootfs_wicenv after do_image

do_image can modify the content of the rootfs directory so we need to run
do_rootfs_wicenv after do_image compeltes or the command can fail.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosigning-keys: Make signing keys the only publisher of keys
Randy Witt [Fri, 19 Feb 2016 16:45:25 +0000 (08:45 -0800)]
signing-keys: Make signing keys the only publisher of keys

Previously the keys were put into the os-release package. The package
indexing code was also deploying the keys rather than only using the keys.

This change makes signing-keys.bb the only publisher of the keys and also
uses standard tasks that already have sstate.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: Upgrade to 229
Khem Raj [Mon, 22 Feb 2016 21:36:52 +0000 (21:36 +0000)]
systemd: Upgrade to 229

Forward port all existing patches and arrange them such such
uclibc-only and qemu-only patches appear first

Add new patches to fix build on uclibc ( 0019-0022 )

Convert the lnr sed operation into a static patch

Use PACKAGECONFIG setting to disable features for muls and uclibc
instead of modifying EXTRA_OECONF manually

Drop compat from PACKAGECONFIG, this options has been removed
from systemd

Tested/booted sato iamge on all qemus and qemux86-64 on uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoharfbuzz: update to version 1.2.0
Maxin B. John [Mon, 22 Feb 2016 13:56:56 +0000 (15:56 +0200)]
harfbuzz: update to version 1.2.0

1.1.3 -> 1.2.0

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperf: add sysroot handling to subcmd
Martin Donnelly [Mon, 22 Feb 2016 17:32:34 +0000 (19:32 +0200)]
perf: add sysroot handling to subcmd

v4.5-rc1 of the kernel splits the subcommand related files
from perf into a new library, this patch adds the modification
of the Makefile to preserve the --sysroot option as for
the other perf related Makefiles.

Signed-off-by: Martin Donnelly <martin.donnelly@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/selftest/buildoptions: build -minimal instead of -sato images
Ross Burton [Mon, 22 Feb 2016 16:24:07 +0000 (16:24 +0000)]
oeqa/selftest/buildoptions: build -minimal instead of -sato images

When checking enabling buildhistory doesn't change anything but rootfs stamps,
just build core-image-minimal instead of -sato to reduce the time this test
takes.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake.conf: add findutils-native to ASSUME_PROVIDED
Ross Burton [Mon, 22 Feb 2016 16:23:49 +0000 (16:23 +0000)]
bitbake.conf: add findutils-native to ASSUME_PROVIDED

It's possible for findutils-native to get built.  There's no point in this as
this is part of the expected host platform but this can introduce races or even
bugs (4.5.19 appears to have a leaking fd bug, resulting in asserts) so add it
to ASSUME_PROVIDED so it definitely won't get built.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofindutils: upgrade to 4.6.0
Ross Burton [Mon, 22 Feb 2016 16:24:21 +0000 (16:24 +0000)]
findutils: upgrade to 4.6.0

Inherit upstream-version-is-even as minor-odd releases (such as 4.5.x) are
development snapshots.

Change the SRC_URI back to using GNU_MIRROR now we're not using a development
release but a stable tarball.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomesa: add missing space to RRECOMMENDS append
Andreas Müller [Mon, 22 Feb 2016 14:44:26 +0000 (15:44 +0100)]
mesa: add missing space to RRECOMMENDS append

Fixes errors as:

| Missing or unbuildable dependency chain was: ['mesa-megadrivermesa-megadriver']

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc: Do not use immediate expansion operator
Khem Raj [Mon, 22 Feb 2016 06:50:57 +0000 (06:50 +0000)]
uclibc: Do not use immediate expansion operator

:= causes none of _remove flags to work with uclibc
e.g. security flags where we remove ssp options for libcs
but it does not become effective for uclibc and hence
the build fails

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosecurity_flags: Disable ssp when compiling uclibc
Khem Raj [Mon, 22 Feb 2016 06:50:56 +0000 (06:50 +0000)]
security_flags: Disable ssp when compiling uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: fix building rpm 5 with internal beecrypt
Joshua Lock [Mon, 22 Feb 2016 11:33:12 +0000 (11:33 +0000)]
rpm: fix building rpm 5 with internal beecrypt

RPM 5 cannot be built without beecrypt, therefore the EXTRA_OECONF
arguments to pass when the beecrypt PACKAGECONFIG is disabled should
enable the internal/bundled beecrypt.

[YOCTO #9150]

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-lib: topology: Add missing include sys/stat.h
Maxin B. John [Mon, 22 Feb 2016 10:37:27 +0000 (12:37 +0200)]
alsa-lib: topology: Add missing include sys/stat.h

Fixes this build error with uclibc:

alsa-lib-1.1.0/src/topology/parser.c: In function 'snd_tplg_build_file':
alsa-lib-1.1.0/src/topology/parser.c:262:35: error: 'S_IRUSR' undeclared
(first use in this function)
open(outfile, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsdl2: Fix patch after upgrade
Richard Purdie [Mon, 22 Feb 2016 11:53:59 +0000 (11:53 +0000)]
libsdl2: Fix patch after upgrade

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-libav_git: update 1.7.1 -> 1.7.2
Andre McCurdy [Sat, 20 Feb 2016 02:53:17 +0000 (18:53 -0800)]
gstreamer1.0-libav_git: update 1.7.1 -> 1.7.2

Hash for libav LICENSE.md updated due to dropping libaacplus:

  https://github.com/FFmpeg/FFmpeg/commit/9ba54c1b82a81581e5283da75c153a76f04324c0

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-ugly_git: update 1.7.1 -> 1.7.2
Andre McCurdy [Sat, 20 Feb 2016 02:53:16 +0000 (18:53 -0800)]
gstreamer1.0-plugins-ugly_git: update 1.7.1 -> 1.7.2

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-bad_git: update 1.7.1 -> 1.7.2
Andre McCurdy [Sat, 20 Feb 2016 02:53:15 +0000 (18:53 -0800)]
gstreamer1.0-plugins-bad_git: update 1.7.1 -> 1.7.2

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-good_git: update 1.7.1 -> 1.7.2
Andre McCurdy [Sat, 20 Feb 2016 02:53:14 +0000 (18:53 -0800)]
gstreamer1.0-plugins-good_git: update 1.7.1 -> 1.7.2

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-base_git: update 1.7.1 -> 1.7.2
Andre McCurdy [Sat, 20 Feb 2016 02:53:13 +0000 (18:53 -0800)]
gstreamer1.0-plugins-base_git: update 1.7.1 -> 1.7.2

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0_git: update 1.7.1 -> 1.7.2
Andre McCurdy [Sat, 20 Feb 2016 02:53:12 +0000 (18:53 -0800)]
gstreamer1.0_git: update 1.7.1 -> 1.7.2

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibnewt: Fix build with PIE flags
Khem Raj [Wed, 17 Feb 2016 08:33:40 +0000 (08:33 +0000)]
libnewt: Fix build with PIE flags

security flags add -pie -fpie to CFLAGS which is not
right options for compiling .so files, they are only
useful for compiling executables

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agopseudo: Fix build when security flags are enabled
Khem Raj [Wed, 17 Feb 2016 07:47:21 +0000 (07:47 +0000)]
pseudo: Fix build when security flags are enabled

filter out PIE options

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoglibc: Upgrade to 2.23
Khem Raj [Sat, 2 Jan 2016 21:37:22 +0000 (21:37 +0000)]
glibc: Upgrade to 2.23

Drop kconfig and options-group support
Forward port cross-localedef support
Assume ssp support in libc when building gcc-initial

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agono-static-libs: remove eglinfo
Ross Burton [Fri, 19 Feb 2016 13:27:43 +0000 (13:27 +0000)]
no-static-libs: remove eglinfo

waf.bbclass disables no-static-libs for all waf recipes, so we don't need to
have it explicitly disabled here now.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofreetype: use autotools instead of a manual do_configure
Ross Burton [Fri, 19 Feb 2016 15:18:45 +0000 (15:18 +0000)]
freetype: use autotools instead of a manual do_configure

autotools.bbclass has enough variables now that we can use it instead of
hand-coding a do_configure.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: add a better config extension mechanism
Paul Eggleton [Fri, 19 Feb 2016 09:41:58 +0000 (22:41 +1300)]
classes/populate_sdk_ext: add a better config extension mechanism

The sdk_extraconf() method of setting the configuration was awkward
since you needed to set it in a class and then inherit that class since
function definitions aren't allowed in conf files. It seemed to me the
a neater way to do this was to read the extra lines from an additional
conf file sdk-extra.conf (which can be located in a conf/ directory
anywhere along BBPATH as with other configuration files).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: improve CMake package mapping
Paul Eggleton [Fri, 19 Feb 2016 09:39:02 +0000 (22:39 +1300)]
recipetool: create: improve CMake package mapping

* Package names are actually case sensitive near as I can tell, so we
  shouldn't be lowercasing them everywhere.
* Look for CMake packages in pkgdata and map those back to recipes,
  so we aren't dependent on the hardcoded mappings (though those are
  still preserved).
* Avoid duplicates in the unmapped package list

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: add additional extension mechanisms
Paul Eggleton [Fri, 19 Feb 2016 09:39:01 +0000 (22:39 +1300)]
recipetool: create: add additional extension mechanisms

Add a means of extending the dependency extraction for autotools and
cmake.

Note: in order to have this work, you need to have an __init__.py in the
lib/recipetool directory within your layer along with the module
implementing the handlers, and the __init__.py needs to contain:

  # Enable other layers to have modules in the same named directory
  from pkgutil import extend_path
  __path__ = extend_path(__path__, __name__)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: modify: tweak help description for behaviour change
Paul Eggleton [Fri, 19 Feb 2016 09:39:00 +0000 (22:39 +1300)]
devtool: modify: tweak help description for behaviour change

I should have adjusted this in OE-Core commit
80a44e52609a89d9ffe816181ae193af491c06ac where the behaviour changed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: deploy-target: preserve existing files
Paul Eggleton [Fri, 19 Feb 2016 09:38:59 +0000 (22:38 +1300)]
devtool: deploy-target: preserve existing files

If files would be overwritten by the deployment, preserve them in a
separate location on the target so that they can be restored if you
later run devtool undeploy-target.

At the same time, also check for sufficient space before starting the
operation so that we avoid potentially failing part way through.

Fixes [YOCTO #8978].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: undeploy-target: support undeploying all recipes
Paul Eggleton [Fri, 19 Feb 2016 09:38:58 +0000 (22:38 +1300)]
devtool: undeploy-target: support undeploying all recipes

If you want to put the target device back to exactly how it was before
devtool deploy-target started poking things into it, then it would make
things easier if you didn't have to figure out which recipes were
deployed. Now that we have the list stored on the target we can
determine this reliably, so add a -a/--all option to undeploy-target to
undeploy everything that has been deployed.

One of the side-effects of this is that the dry-run functionality for
undeploy-target had to be reimplemented to actually run the script on
the target, since we have no way of knowing what's been deployed from
the host side. We don't need to do the same for deploy-target though
since we know exactly which files will be deployed without referring to
the target.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: deploy-target: write deployed files list to target
Paul Eggleton [Fri, 19 Feb 2016 09:38:57 +0000 (22:38 +1300)]
devtool: deploy-target: write deployed files list to target

When running devtool deploy-target, we save a list of deployed files,
and this list is used by devtool undeploy-target (or the next time
deploy-target is run if the list is present, in case any files have been
renamed or deleted since the first time). We were writing this file to
the host, but it makes more sense to write the list to the target
instead, so that if we for example swap in a different board, or switch
hosts, things will work as expected.

In order to do this properly we have to construct a shell script and
ship it over to the target so we can run it. The manifest is written out
to a hidden directory in the root (/.devtool).

Fixes [YOCTO #7908].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: sdk-update: tweak command-line handling of updateserver
Paul Eggleton [Fri, 19 Feb 2016 09:38:56 +0000 (22:38 +1300)]
devtool: sdk-update: tweak command-line handling of updateserver

Get the default value for updateserver from the configuration file and
show it in the help; also only make the parameter optional if it's
specified. This means we can also drop the check in the function as
argparse will then ensure it's specified if there's no config setting.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: (un)deploy-target: add help descriptions
Paul Eggleton [Fri, 19 Feb 2016 09:38:55 +0000 (22:38 +1300)]
devtool: (un)deploy-target: add help descriptions

Add a long description used when running --help on the specific command.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/lib/argparse_oe: tweak title above options
Paul Eggleton [Fri, 19 Feb 2016 09:38:54 +0000 (22:38 +1300)]
scripts/lib/argparse_oe: tweak title above options

Naming these as "optional arguments" is perhaps slightly confusing since
some of the positional arguments might also be optional; in addition
it's rare (though possible) for options to be mandatory - up until
recently we had a recipetool option (-o) that was mandatory. It's not
perfect, but change it to "options" so it's at least a bit more
appropriate.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: categorise and order subcommands in help output
Paul Eggleton [Fri, 19 Feb 2016 09:38:53 +0000 (22:38 +1300)]
devtool: categorise and order subcommands in help output

The listing of subcommands in the --help output for devtool was starting
to get difficult to follow, with commands appearing in no particular
order (due to some being in separate modules and the order of those
modules being parsed). Logically grouping the subcommands as well as
being able to exercise some control over the order of the subcommands
and groups would help, if we do so without losing the dynamic nature of
the list (i.e. that it comes from the plugins). Argparse provides no
built-in way to handle this and really, really makes it a pain to add,
but with some subclassing and hacking it's now possible, and can be
extended by any plugin as desired.

To put a subcommand into a group, all you need to do is specify a group=
parameter in the call to subparsers.add_parser(). you can also specify
an order= parameter to make the subcommand sort higher or lower in the
list (higher order numbers appear first, so use negative numbers to
force items to the end if that's what you want). To add a new group, use
subparsers.add_subparser_group(), supplying the name, description and
optionally an order number for the group itself (again, higher numbers
appear first).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: update-recipe: don't show workspace recipe warning if no update
Paul Eggleton [Fri, 19 Feb 2016 09:38:52 +0000 (22:38 +1300)]
devtool: update-recipe: don't show workspace recipe warning if no update

If we didn't make any changes to the file then there's no point warning
the user that we have done.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: reset: fix preserving patches/other files next to recipes
Paul Eggleton [Fri, 19 Feb 2016 09:38:51 +0000 (22:38 +1300)]
devtool: reset: fix preserving patches/other files next to recipes

If files had been created next to the recipe (for example devtool add,
edit the source and commit and then devtool update-recipe), running
devtool reset failed to preserve those files and gave an error due
to trying to rmdir the directory containing them which wasn't empty.
Fix the preservation of files in the "attic" directory properly so
we catch anything under the directory for the recipe, and replicate
the same structure in the attic directory rather than slightly
flattening it as we were before.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool / recipetool: use common code for launching editor
Paul Eggleton [Fri, 19 Feb 2016 09:38:50 +0000 (22:38 +1300)]
devtool / recipetool: use common code for launching editor

Looking at Chris Larson's code for starting the user's editor for
"recipetool newappend" it was slightly better than what I wrote for
"devtool edit-recipe" in that it checks VISUAL as well as EDITOR and
defaults to vi if neither are set, so break this out to its own function
and call it from both places. The broken out version passes shell=True
however in case it's a more complicated command rather than just a name
of an executable.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: minor fix for error message
Paul Eggleton [Fri, 19 Feb 2016 09:38:49 +0000 (22:38 +1300)]
devtool: minor fix for error message

There is no -N/--name option for devtool, that's a recipetool option -
with devtool you just specify the name as a positional argument.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostaging.bbclass: remove trail slash from SYSROOT_DESTDIR
Robert Yang [Fri, 19 Feb 2016 08:48:37 +0000 (00:48 -0800)]
staging.bbclass: remove trail slash from SYSROOT_DESTDIR

Fixed path:
QA Issue: <foo> sysroot-destdir//usr/lib/ <foo>

Note the 2 slashes "//".

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoterminal.bbclass: import oe.terminal for oe.terminal.prioritized()
Robert Yang [Fri, 19 Feb 2016 08:48:36 +0000 (00:48 -0800)]
terminal.bbclass: import oe.terminal for oe.terminal.prioritized()

Fixed:
INHERIT += "typecheck"
$ bitbake -p
ERROR: Failure expanding expression auto none ${@" ".join(o.name for o in oe.terminal.prioritized())}
which triggered exception AttributeError: 'module' object has no attribute 'terminal'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipe_sanity.bbclass: skip DataSmart in recipe_sanity_eh()
Robert Yang [Fri, 19 Feb 2016 08:48:35 +0000 (00:48 -0800)]
recipe_sanity.bbclass: skip DataSmart in recipe_sanity_eh()

Fixed:
$ bitbake quilt -crecipe_sanity
  File "/path/to/poky/bitbake/lib/bb/siggen.py", line 261, in dump_sigtask
    p = pickle.dump(data, stream, -1)
PicklingError: Can't pickle <COWDict Level: 1 Current Keys: 0>:
attribute lookup bb.COW.C failed

This is because of:
cfgdata[k] = d.getVar(k, 0)

If d.getVar(k, 0) is a DataSmart (for example, BB_ORIGENV), it won't
have the attribute of bb.COW.C, so the error happend.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage.bbclass: fix circular dependency when IMAGE_FSTYPES append hddimg
Robert Yang [Fri, 19 Feb 2016 08:48:34 +0000 (00:48 -0800)]
image.bbclass: fix circular dependency when IMAGE_FSTYPES append hddimg

Fixed:
IMAGE_FSTYPES_append = " hddimg"

$ bitbake -g core-image-minimal-initramfs
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing RunQueue
ERROR: Task /path/to/core-image-minimal-initramfs.bb (do_bootimg) has circular dependency on /path/to/core-image-minimal-initramfs.bb (do_image_complete)
ERROR: Command execution failed: Exited with 1

This is because IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}", and if
IMAGE_FSTYPES append hddimg, then core-image-minimal-initramfs.bb would
be circular dependency:
do_bootimg -> do_image_complete -> do_bootimg.

Now we check and error out.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoolchain-scripts.bbclass: add three other path to PATH in env.sh
Jun Zhang [Fri, 19 Feb 2016 08:00:43 +0000 (16:00 +0800)]
toolchain-scripts.bbclass: add three other path to PATH in env.sh

in sdk,there are some utils in sysroot/host-os/bin, sysroot/host-os/sbin/,sysroot/host-os/usr/bin need to use, so add these three paths to PATH in env.sh.

Signed-off-by: Jun Zhang <jun.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsoup-2.4: disable libsoup-gnome by default
Andre McCurdy [Fri, 19 Feb 2016 01:30:51 +0000 (17:30 -0800)]
libsoup-2.4: disable libsoup-gnome by default

libsoup-gnome is entirely deprecated and has just been stubs since 2.42.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsoup-2.4: prevent PACKAGECONFIG dependant package renaming
Andre McCurdy [Fri, 19 Feb 2016 01:30:50 +0000 (17:30 -0800)]
libsoup-2.4: prevent PACKAGECONFIG dependant package renaming

When built without gnome support, libsoup-2.4 will contain only one
shared lib and will therefore become subject to renaming by
debian.bbclass.

Prevent renaming in order to keep the package name consistent
regardless of whether gnome support is enabled or disabled.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsoup-2.4: minor formatting improvements
Andre McCurdy [Fri, 19 Feb 2016 01:30:49 +0000 (17:30 -0800)]
libsoup-2.4: minor formatting improvements

Also update HOMEPAGE from generic Gnome to something libsoup specific.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_ext.bbclass: Add SDK_RECRDEP_TASKS variable
Randy Witt [Fri, 19 Feb 2016 04:42:03 +0000 (20:42 -0800)]
populate_sdk_ext.bbclass: Add SDK_RECRDEP_TASKS variable

Currently there isn't a way for the extensible sdk to know all the tasks
that will need sstate for an image. This is because a layer can add it's
on custom tasks that are required for an image to be generated.

The extensible sdk solved this for poky by using recrdeptask and
specifying the tasks known to be required for the image as well as for
building new recipes.

So the SDK_RECRDEP_TASKS variable allows a user to specify additional
tasks that need to be pulled in.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: Don't recursively look for .devtoolbase in --basepath
Randy Witt [Thu, 18 Feb 2016 17:17:54 +0000 (09:17 -0800)]
devtool: Don't recursively look for .devtoolbase in --basepath

If the user specifies --basepath on the commandline, only the directory
specified should be searched for .devtoolbase. Otherwise when --basepath
is a child of the sdk directory, .devtoolbase will always be found and
devtool will only show options meant to be used within an sdk.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_ext: Don't ignore SDK_TARGETS value
Randy Witt [Thu, 18 Feb 2016 17:17:53 +0000 (09:17 -0800)]
populate_sdk_ext: Don't ignore SDK_TARGETS value

This fixes a problem where SDK_INSTALL_TARGETS wouldn't pick up the
value in SDK_TARGETS. It also removes the inline python to make the
code more readable.

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocml1/sstate: Fix missing getVar parameter
Richard Purdie [Fri, 19 Feb 2016 15:32:56 +0000 (15:32 +0000)]
cml1/sstate: Fix missing getVar parameter

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto/4.1: capabilities backports
Bruce Ashfield [Thu, 18 Feb 2016 21:56:23 +0000 (16:56 -0500)]
linux-yocto/4.1: capabilities backports

Backporting the following upstream commits to the 4.1 yocto tree:

   bdf4565e5dcc capabilities: add a securebit to disable PR_CAP_AMBIENT_RAISE
   2483c95caedc selftests/capabilities: Add tests for capability evolution
   4c274aa74e5d capabilities: ambient capabilities

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowaf.bbclass: Remove --disable-static from EXTRA_OECONF
Fabio Berton [Thu, 18 Feb 2016 16:59:09 +0000 (14:59 -0200)]
waf.bbclass: Remove --disable-static from EXTRA_OECONF

As of commit OE-Core:773c9e18071d71454473dd81aff911104a2e9bc6
EXTRA_OECONF is appended with the option --disable-static on
DISABLE_STATIC variable and this cause the error:

    waf: error: no such option: --disable-static

So, we need to disable this option.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-5.3: backport fix for PR-target-65358
Martin Jansa [Thu, 18 Feb 2016 09:41:14 +0000 (10:41 +0100)]
gcc-5.3: backport fix for PR-target-65358

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoepiphany: Add libxml2-native to DEPENDS
Richard Purdie [Thu, 18 Feb 2016 10:59:18 +0000 (10:59 +0000)]
epiphany: Add libxml2-native to DEPENDS

configure needs xmllint and there was no direct dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsdl2: update to 2.0.4
Andreas Müller [Mon, 15 Feb 2016 21:07:34 +0000 (22:07 +0100)]
libsdl2: update to 2.0.4

Licence checksum was changed by change of copyright year.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocmake: Update to 3.4.3.
Philip Balister [Mon, 15 Feb 2016 18:43:39 +0000 (13:43 -0500)]
cmake: Update to 3.4.3.

 * Tested by building gnuradio and friends for a cortex-a9 machine.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate.bbclass: use oe.gpg_sign for gpg signing
Markus Lehtonen [Wed, 10 Feb 2016 14:15:59 +0000 (16:15 +0200)]
sstate.bbclass: use oe.gpg_sign for gpg signing

[YOCTO #9006]

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>
9 years agooe/gpg_sign: add 'passphrase' argument to detach_sign method
Markus Lehtonen [Wed, 10 Feb 2016 14:15:58 +0000 (16:15 +0200)]
oe/gpg_sign: add 'passphrase' argument to detach_sign method

This allows directly giving the passphrase, instead of reading from a
file.

[YOCTO #9006]

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>
9 years agosign_rpm.bbclass: do not store key details in signer instance
Markus Lehtonen [Wed, 10 Feb 2016 14:15:57 +0000 (16:15 +0200)]
sign_rpm.bbclass: do not store key details in signer instance

Refactor the LocalSigner class. Do not store keyid or passphrase file in
the signer object as they are only needed for some of the methods. For
example, the newly added verify() method does not need any key
parameters and export_pubkey only uses keyid.

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>
9 years agooe/gpg_sign: add 'armor' argument to detach_sign()
Markus Lehtonen [Wed, 10 Feb 2016 14:15:56 +0000 (16:15 +0200)]
oe/gpg_sign: add 'armor' argument to detach_sign()

[YOCTO #9006]

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>
9 years agooe/gpg_sign: add verify() method
Markus Lehtonen [Wed, 10 Feb 2016 14:15:55 +0000 (16:15 +0200)]
oe/gpg_sign: add verify() method

A new method for verifying detached signatures.

[YOCTO #9006]

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>
9 years agoruby: break out ri-docs and rdoc into separate packages
Ioan-Adrian Ratiu [Mon, 15 Feb 2016 15:32:48 +0000 (17:32 +0200)]
ruby: break out ri-docs and rdoc into separate packages

The ri (Ruby Interactive) documentation for the Ruby standard library
consumes a significant amount of space on disk. It is useful to
developers, but is usually not necessary for users who just want to run
applications written in Ruby.  Break it out into a separate package so
Ruby can be installed without it.

Also break out the rdoc documentation generator in its own package.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinsane.bbclass: print more info for build-deps and file-rdeps
Robert Yang [Thu, 21 Jan 2016 07:57:30 +0000 (23:57 -0800)]
insane.bbclass: print more info for build-deps and file-rdeps

This is useful for oe newbie:
* build-deps: print recipe name, and suggest fixing from DEPENDS or
  PACKAGECONFIG, for example:
  WARNING: QA Issue: patch rdepends on libattr, but it isn't a build dependency, missing attr in DEPENDS or PACKAGECONFIG? [build-deps]

* file-rdeps: print RDEPENDS_pkg rather than RDEPENDS, for example:
  WARNING: QA Issue: /sbin/osd_login contained in package nfs-utils requires /bin/bash, but no providers found in RDEPENDS_nfs-utils? [file-rdeps]

Fix a bug in file-rdeps, there was "@underscore@" in file-rdeps:
WARNING: QA Issue: /sbin/osd@underscore@login_nfs-utils contained in [snip]

[YOCTO #8922]
[YOCTO #8847]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocurl: re-enable proxy support by default
Andre McCurdy [Wed, 17 Feb 2016 21:35:37 +0000 (13:35 -0800)]
curl: re-enable proxy support by default

Proxy support is a feature, so should not have been disabled in
the previous commit (which disabled support for legacy protocols):

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

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibtool: Don't hardcode grep paths
Richard Purdie [Thu, 18 Feb 2016 08:13:02 +0000 (08:13 +0000)]
libtool: Don't hardcode grep paths

If sharing sstate between different distros, some of which have /bin/grep
and some /usr/bin/grep, this can break. Simply don't hardcode the path.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocml1.bbclass: fix do_menuconfig
Markus Lehtonen [Thu, 18 Feb 2016 06:46:39 +0000 (08:46 +0200)]
cml1.bbclass: fix do_menuconfig

The functionality got broken after bitbake commit
8bf33a8e92c0e188fa392030025756196c96fcbb
which disabled the (bitbake) variable expansion inside python functions.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocups: upgrade to 2.1.3
Chen Qi [Thu, 18 Feb 2016 05:29:04 +0000 (13:29 +0800)]
cups: upgrade to 2.1.3

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocoreutils: upgrade to 8.25
Chen Qi [Thu, 18 Feb 2016 05:29:03 +0000 (13:29 +0800)]
coreutils: upgrade to 8.25

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofindutils: upgrade to 4.5.19
Chen Qi [Thu, 18 Feb 2016 05:29:02 +0000 (13:29 +0800)]
findutils: upgrade to 4.5.19

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodiffstat: upgrade to 1.61
Chen Qi [Thu, 18 Feb 2016 05:29:01 +0000 (13:29 +0800)]
diffstat: upgrade to 1.61

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogrep: upgrade to 2.23
Chen Qi [Thu, 18 Feb 2016 05:29:00 +0000 (13:29 +0800)]
grep: upgrade to 2.23

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopulseaudio: 6.0 -> 8.0
Tanu Kaskinen [Wed, 17 Feb 2016 16:56:16 +0000 (18:56 +0200)]
pulseaudio: 6.0 -> 8.0

Release notes for 7.0:
https://wiki.freedesktop.org/www/Software/PulseAudio/Notes/7.0/

Release notes for 8.0:
https://wiki.freedesktop.org/www/Software/PulseAudio/Notes/8.0/

7.0 added support for soxr resamplers, but neither oe-core nor meta-oe
have libsoxr packaged. The default resampler is still speexdsp based,
so most people wouldn't be using the soxr resamplers anyway. If
someone cares enough to package soxr, then we can enable the feature.

Bash completions moved in 7.0 from /etc to the standard location under
/usr/share/bash-completion. We now use the bash-completion class to
package the completion files.

The private library libpulsecore moved from /usr/lib to
/usr/lib/pulseaudio.

The new routing features advertised in the 8.0 release notes are
reverted for now, because they caused regressions. I'll remove the
revert once a proper fix is available.

Removed two patches, because they are included in the new release.

Rebased three patches.

Updated Upstream-Status tags to reflect the current situation.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-plugins: 1.0.29 -> 1.1.0
Tanu Kaskinen [Wed, 17 Feb 2016 16:56:15 +0000 (18:56 +0200)]
alsa-plugins: 1.0.29 -> 1.1.0

Changelog: http://alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0

The licensing of the libsamplerate plugin was relaxed a bit: if the
licensee has a commercial license for libsamplerate, the plugin can be
used under the terms of LGPL instead of GPL.

Both old patches are included in the new release, so dropped them.

Added a new patch to fix building against libspeexdsp 1.2rc3.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-utils: 1.0.29 -> 1.1.0
Tanu Kaskinen [Wed, 17 Feb 2016 16:56:14 +0000 (18:56 +0200)]
alsa-utils: 1.0.29 -> 1.1.0

Changelog: http://alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0

This release introduces two new tools:
 - alsatplg for converting topology data from text representation to a
   binary format consumed by the kernel
 - alsabat; "bat" stands for "basic audio tester"

Backported a patch from upstream that renames bat to alsabat.

Rebased patch "0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch".

Dropped patches "alsa-utils-aplay-interrupt-signal-handling.patch" and
"assume-storing-is-success-if-not-sound-card-device.patch", because
the issues have been fixed upstream.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-tools: 1.0.29 -> 1.1.0
Tanu Kaskinen [Wed, 17 Feb 2016 16:56:13 +0000 (18:56 +0200)]
alsa-tools: 1.0.29 -> 1.1.0

Changelog: http://alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0

There are almost no changes in the new version: just one invalid macro
was removed from the cspctl man page.

Rebased patches "autotools.patch" and "makefile_no_gtk.patch".

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoavahi: update to version 0.6.32
Maxin B. John [Wed, 17 Feb 2016 14:00:19 +0000 (16:00 +0200)]
avahi: update to version 0.6.32

0.6.31 -> 0.6.32

a. Switched to the new repository hosted in github.
b. Removed the following Upstreamed/Backported patches
   1. 0001-Don-t-log-warnings-about-invalid-packets-Fixes-lathi.patch
   2. 0001-avahi-fix-avahi-status-command-error-prompt.patch
   3. avahi_fix_install_issue.patch
   4. fix_for_automake_1.12.x.patch
   5. out-of-tree.patch
   6. reuseport-check.patch
c. Added UPSTREAM_CHECK_URI

[YOCTO #7553]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agono-static-libs.inc: Add libcap-native
Richard Purdie [Wed, 17 Feb 2016 13:34:17 +0000 (13:34 +0000)]
no-static-libs.inc: Add libcap-native

We need to disable static flags for libcap-native as well.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsdl2: Fix build with static libraries disabled
Richard Purdie [Wed, 17 Feb 2016 13:33:40 +0000 (13:33 +0000)]
libsdl2: Fix build with static libraries disabled

libsdl2 was using foo.o in Makefile dependencies but if libtool is
being used then those are the statically linked intermediate files.
 When static libraries are globally disabled they won't be generated by
libtool so the build fails.

Instead, use the libtool intermediate wrapper .lo files so the build
succeeds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouboot-inc: Backport patch to fix Beaglebone Black bootloader
Erkka Kääriä [Wed, 17 Feb 2016 11:54:34 +0000 (13:54 +0200)]
uboot-inc: Backport patch to fix Beaglebone Black bootloader

Beaglebone Black boot started failing after upstream patch 755324c432f, and was
fixed in 7205442e6. Unfortunately, the u-boot upgrade from 2015.10 to 2016.01
only includes the former patch. The latter patch is backported to fix this.

Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: drop patches that are not valid anymore
Maxin B. John [Wed, 17 Feb 2016 11:01:11 +0000 (13:01 +0200)]
busybox: drop patches that are not valid anymore

1. Removed following patches
        a) busybox-appletlib-dependency.patch
         - Kbuild rules handles that dependency
        b) get_header_tar.patch
         - tar applet uses a different code path to handle that scenario now.

2. Updated the upstream-status of fail_on_no_media.patch as Denied.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopcmciautils: Update SRC_URI
Richard Purdie [Wed, 17 Feb 2016 10:22:21 +0000 (10:22 +0000)]
pcmciautils: Update SRC_URI

Switch to use KERNELORG_MIRROR.
Use .xz tarball instead of bz2 as not all kernel mirrors carry .bz2 now.

This resolves various checkuri issues on the autobuilder infrastructure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodebianutils: Upgrade 4.5.1 -> 4.7
Richard Purdie [Wed, 17 Feb 2016 10:12:51 +0000 (10:12 +0000)]
debianutils: Upgrade 4.5.1 -> 4.7

Tarball now uses the standard ${BPN}-${PV} so drop custom S setting.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: Add musl config for _git recipe
Maxin B. John [Wed, 17 Feb 2016 10:11:07 +0000 (12:11 +0200)]
busybox: Add musl config for _git recipe

busybox_git recipe also requires musl specific configuration

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodebianutils: Fix SRC_URI to use debian snapshot
Richard Purdie [Wed, 17 Feb 2016 10:09:30 +0000 (10:09 +0000)]
debianutils: Fix SRC_URI to use debian snapshot

This allows checkuri to pass since the old version is no longer in the
debian pool.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonfs-utils: bugfix: adjust name of statd service unit
Ulrich Ölmann [Wed, 17 Feb 2016 09:30:36 +0000 (10:30 +0100)]
nfs-utils: bugfix: adjust name of statd service unit

Upstream nfs-utils use 'rpc-statd.service' and Yocto introduced
'nfs-statd.service' instead but forgot to update the mount.nfs helper
'start-statd' accordingly.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomusl: Upgrade to 1.1.13+
Khem Raj [Wed, 17 Feb 2016 08:45:15 +0000 (08:45 +0000)]
musl: Upgrade to 1.1.13+

Rich Felker (3):
      fix assumption in fputs that fwrite returning 0 implies an error
      fix unlikely corner cases in getopt's message printing
      in crypt-sha*, reject excessive rounds as error rather than clamping

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodpkg: Update to 1.18.4
Marek Vasut [Wed, 17 Feb 2016 00:29:02 +0000 (01:29 +0100)]
dpkg: Update to 1.18.4

Update dpkg version to 1.18.4 . This adds nios2 architecture support
among other fixes. One patch was updated so it would apply to 1.18.4.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglew: upgrade to 1.13.0.
Ross Burton [Tue, 16 Feb 2016 20:56:09 +0000 (20:56 +0000)]
glew: upgrade to 1.13.0.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglew: rewrite to use upstream build system
Ross Burton [Tue, 16 Feb 2016 20:56:08 +0000 (20:56 +0000)]
glew: rewrite to use upstream build system

Instead of patching in a whole new build system using autotools, use the
makefile-based system in upstream with careful variable assignments so that it
cross-compiles correctly.  One small patch was required to stop an unavoidable
strip.

Upstream does have a cmake-based build but it's not used or supported by the
maintainer, and is quite buggy (for example: doesn't version the libraries,
fails to link to required libraries).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosocat: Fix build with musl
Khem Raj [Tue, 16 Feb 2016 21:14:10 +0000 (21:14 +0000)]
socat: Fix build with musl

NETDB_INTERNAL is a glibc define

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobinutils: Fix useless rpaths QA warning
Khem Raj [Tue, 16 Feb 2016 21:14:09 +0000 (21:14 +0000)]
binutils: Fix useless rpaths QA warning

elfedit and readelf contains /usr/lib in elf header
this patch deletes them from binaries, ideally it
should be fixed in libtool and Makery of binutils

mips target binutils dont build gold so remove
them from ALTERNATIVES list

depend on own version of chrpath native, so builds on
build OS like Centos can work, the verison of chrpath
on centos is old enough to not support dealing with
multi-arch ELF files.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage/populate_sdk: seprate variables to fix dependency
Chen Qi [Wed, 17 Feb 2016 05:21:22 +0000 (13:21 +0800)]
image/populate_sdk: seprate variables to fix dependency

Previously, do_rootfs depends on variables like SDK_OS, SDK_OUTPUT, etc.
And changing variables like POPULATE_SDK_POST_HOST_COMMAND doesn't cause
do_populate_sdk to rerun.

This patch separates variables so that do_rootfs and do_populate_sdk could
correctly depend on their related variables.

[YOCTO #8670]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc: Backport nios2 r31 fix
Marek Vasut [Wed, 17 Feb 2016 00:29:36 +0000 (01:29 +0100)]
gcc: Backport nios2 r31 fix

Backport a fix from GCC mainline, which fixes libpcre 8.38 and expat 2.1.0
build on nios2. The example of the fixed error follows:

| ./nios2-poky-linux-libtool --silent --mode=compile nios2-poky-linux-gcc  -mel -mhw-div  -mhw-mul  --sysroot=/mnt/work/Yocto/build-nios2/tmp/sysroots/10m50 -I../expat-2.1.0/lib -I. -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -DHAVE_EXPAT_CONFIG_H -o lib/xmltok.lo -c ../expat-2.1.0/lib/xmltok.c
| {standard input}: Assembler messages:
| {standard input}:4988: Error: r31 cannot be used with jmp; use ret instead
| {standard input}:9703: Error: r31 cannot be used with jmp; use ret instead
| {standard input}:20068: Error: r31 cannot be used with jmp; use ret instead
| {standard input}:24020: Error: r31 cannot be used with jmp; use ret instead
| Makefile:196: recipe for target 'lib/xmltok.lo' failed
| make: *** [lib/xmltok.lo] Error 1
| WARNING: exit code 1 from a shell command.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosqlite3: update 3.10.2 -> 3.11.0
Andre McCurdy [Wed, 17 Feb 2016 02:49:44 +0000 (18:49 -0800)]
sqlite3: update 3.10.2 -> 3.11.0

  http://www.sqlite.org/releaselog/3_11_0.html

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinsane: wrap autotools checks in inherits_class(autotools) checks
Ross Burton [Tue, 16 Feb 2016 16:27:20 +0000 (16:27 +0000)]
insane: wrap autotools checks in inherits_class(autotools) checks

There's no point doing the autotools sanity checks if a recipe didn't inherit
autotools, so check the inherits before doing the checks.

Also pass -F (fixed strings) and -q (quiet) to grep.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocmake: don't inherit autotools
Ross Burton [Tue, 16 Feb 2016 16:27:19 +0000 (16:27 +0000)]
cmake: don't inherit autotools

autotools was inherited for some functions some time ago, but now all it's using
it for explicitly is autotools_do_install(), which is basically just "make
install".  Invoke that directly and we can remove the inherit autotools.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/selftest/bbtests: Test bitbake --setscene-only option
Daniel Istrate [Tue, 16 Feb 2016 15:40:32 +0000 (17:40 +0200)]
oeqa/selftest/bbtests: Test bitbake --setscene-only option

Bitbake option to restore from sstate only within a build
(i.e. execute no real tasks, only setscene)

fix for [YOCTO #8876]

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>