]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agolibical: fix upstream version check
Alexander Kanavin [Tue, 19 Jan 2016 15:37:42 +0000 (17:37 +0200)]
libical: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognutls: update to 3.4.8
Alexander Kanavin [Tue, 19 Jan 2016 15:37:41 +0000 (17:37 +0200)]
gnutls: update to 3.4.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysstat: fix upstream version check
Alexander Kanavin [Tue, 19 Jan 2016 15:37:40 +0000 (17:37 +0200)]
sysstat: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopbzip2: update to 1.1.13
Alexander Kanavin [Tue, 19 Jan 2016 15:37:39 +0000 (17:37 +0200)]
pbzip2: update to 1.1.13

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoncurses: fix upstream version check
Alexander Kanavin [Tue, 19 Jan 2016 15:37:38 +0000 (17:37 +0200)]
ncurses: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsolv: fix upstream version check
Alexander Kanavin [Tue, 19 Jan 2016 15:37:37 +0000 (17:37 +0200)]
libsolv: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoe2fsprogs: fix upstream version check
Alexander Kanavin [Tue, 19 Jan 2016 15:37:36 +0000 (17:37 +0200)]
e2fsprogs: fix upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuild-appliance-image: bump version to 14.0
Alexander Kanavin [Tue, 19 Jan 2016 15:37:35 +0000 (17:37 +0200)]
build-appliance-image: bump version to 14.0

This is done to make recipe version reporting tool happy.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobtrfs-tools: update to 4.4
Alexander Kanavin [Tue, 19 Jan 2016 15:37:34 +0000 (17:37 +0200)]
btrfs-tools: update to 4.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootchart2: update to 0.14.8
Alexander Kanavin [Tue, 19 Jan 2016 15:37:33 +0000 (17:37 +0200)]
bootchart2: update to 0.14.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: remove bashisms: [ x == x ] -> [ x = x ]
Olof Johansson [Tue, 19 Jan 2016 13:45:32 +0000 (14:45 +0100)]
rpm: remove bashisms: [ x == x ] -> [ x = x ]

The postinst and postrm of rpm contained a bashism, that could in some
situations potentially cause ldconfig not be triggered when it should
be. If you use dash on host, test would fail because of syntax errors.
But on host, it should fail because of the comparison. On target, you
often use busybox ash, and it supports == as an alias for =. So in
practice, only if you use a shell like dash on target, you'll run into
issues with this.

Signed-off-by: Olof Johansson <olofjn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc: remove a use of immediate expansion and oe_filter_out ()
Joshua Lock [Tue, 19 Jan 2016 10:44:07 +0000 (10:44 +0000)]
uclibc: remove a use of immediate expansion and oe_filter_out ()

The remove overrides syntax is much clearer here, and more closely
matches the preferred style for modern metadata.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-runtime: switch to removal override syntax to modify CXXFLAGS
Joshua Lock [Tue, 19 Jan 2016 10:44:06 +0000 (10:44 +0000)]
gcc-runtime: switch to removal override syntax to modify CXXFLAGS

The use of immediate expansion can cause issues when trying to
override variables, further the removal override syntax is clearer
than oe_filter_out () — switch to using removal override syntax
instead.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate: replace verbose manifest removal with a single count
Ross Burton [Mon, 18 Jan 2016 16:22:01 +0000 (16:22 +0000)]
sstate: replace verbose manifest removal with a single count

If there are lots of changes between the previous build and the build about to
start bitbake will potentially print pages of:

  DEBUG: Stamp $BUILD/stamps/corei7-64-poky-linux/libdrm/2.4.66-r0 is not reachable, removing related manifests

Instead of spamming the console with this list, write the list of manifests only
to the debug log and simply write a count to the console.  This way the user
doesn't get spammed but still knows what is happening if bitbake appears to
stall with heavy I/O.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibdrm: Upgrade 2.4.65 -> 2.4.66
Khem Raj [Tue, 29 Dec 2015 22:28:32 +0000 (22:28 +0000)]
libdrm: Upgrade 2.4.65 -> 2.4.66

Fix test build failures.

Ensure all binaries go into libdrm-tests [RB]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoslang: Add dependency on ncurses
Otavio Salvador [Mon, 18 Jan 2016 15:18:57 +0000 (13:18 -0200)]
slang: Add dependency on ncurses

Slang links over ncurses' terminal information library thus it
requires it to be available for build.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: make it explicit that valgrind supports armv7a and above
Andre McCurdy [Wed, 13 Jan 2016 03:24:30 +0000 (19:24 -0800)]
valgrind: make it explicit that valgrind supports armv7a and above

Despite rumours to the contrary, valgrind really does require
armv7a or above.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosign_rpm.bbclass: fix task dependencies
Markus Lehtonen [Mon, 11 Jan 2016 16:13:17 +0000 (18:13 +0200)]
sign_rpm.bbclass: fix task dependencies

do_rootfs task needs to depend on signing-keys:do_export_public_keys.
The rpm signing public key needs to be present in order to prevent a
crash because it is imported into the rootfs rpmdb before rootfs
creation starts.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopkg-utils: store alternatives in nonarch_libdir
Daniel McGregor [Thu, 14 Jan 2016 20:47:04 +0000 (14:47 -0600)]
opkg-utils: store alternatives in nonarch_libdir

opkg-utils-native stores alternative info in /usr/lib, so do the
same on the target.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosecurity_flags.inc: remove obsolete workarounds for curl
Andre McCurdy [Thu, 14 Jan 2016 03:35:09 +0000 (19:35 -0800)]
security_flags.inc: remove obsolete workarounds for curl

The curl configure script contains sanity checks for unexpected
options being passed via CFLAGS, LDFLAGS, etc. environment variables.

These sanity checks catch -Dxxx options in CFLAGS, which clashes with
OE's approach of using CFLAGS to pass -D_FORTIFY_SOURCE (curl's
configure script suggests, quite correctly, that -Dxxx options should
be passed via CPPFLAGS instead).

These sanity checks previously generated fatal errors, but have been
downgraded to warnings since curl v7.32. Therefore the workaround of
avoiding -D_FORTIFY_SOURCE for curl is obsolete and can be removed.

  https://github.com/bagder/curl/commit/5d3cbde72ece7d83c280492957a26e26ab4e5cca

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocups: update systemd support
Andrew Shadura [Mon, 18 Jan 2016 14:43:08 +0000 (14:43 +0000)]
cups: update systemd support

Add PACKAGECONFIG for systemd, enable it when systemd is enabled in
DISTRO_FEATURES. Pass the correct path to systemd units, ensure they're
installed into the package.

Drop custom systemd unit files, use those shipped by the upstream instead.

Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocoreutils: Add xattr PACKAGECONFIG
Scott Ellis [Mon, 18 Jan 2016 10:42:48 +0000 (05:42 -0500)]
coreutils: Add xattr PACKAGECONFIG

From Yocto poky where it also stops this warning

WARNING: QA Issue: coreutils rdepends on libattr, but it isn't a build dependency? [build-deps]

Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
9 years agooeqa/runtime/parselogs: use -F to search fixed strings for grep
Yi Zhao [Thu, 14 Jan 2016 07:08:37 +0000 (15:08 +0800)]
oeqa/runtime/parselogs: use -F to search fixed strings for grep

The grep output is not correct if the log message contains special
characters. Use -F which tells grep to search for fixed strings, not
expressions and pass lists instead of strings to subprocess.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibinput: Upgrade 0.21.0 -> 1.1.4
Bob Ham [Wed, 13 Jan 2016 18:21:01 +0000 (18:21 +0000)]
libinput: Upgrade 0.21.0 -> 1.1.4

yocto/jethro provides the version 0.21 from August 2015 while the
current version is 1.1.4.

The patch libinput-configure.ac-add-arg-with-libunwind.patch has been
merged to upstream and was removed from the recipe.  The patch
touchpad-serial-synaptics-need-to-fake-new-touches-on-TRIPLETAP.patch
has not been merged to upstream and is still included in the recipe.

Co-Authored-By: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Bob Ham <bob.ham@collabora.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopostinst-intercepts: always use set -e
Ross Burton [Wed, 6 Jan 2016 15:49:37 +0000 (15:49 +0000)]
postinst-intercepts: always use set -e

If a postinst has a problem (say, qemu crashes) and set -e isn't in operation,
the only mention of the problem is a single line in the rootfs log that doesn't
trigger any warnings.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosstate: Add packagedata to list of tasks not to recurse
Richard Purdie [Mon, 18 Jan 2016 17:57:01 +0000 (17:57 +0000)]
sstate: Add packagedata to list of tasks not to recurse

If we "bitbake X -c packagedata" and the packagedata comes from sstate, we
don't need any of the tasks dependencies. This is similar to the
populate_lic case, we only care about the end result.

Therefore short circuit the dependencies so packagedata doesn't pull in
any other dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: fix task dependency regression
Paul Eggleton [Sun, 17 Jan 2016 23:26:33 +0000 (12:26 +1300)]
classes/populate_sdk_ext: fix task dependency regression

Fix a regression caused by OE-Core revision
eabeb26335b1a4eb1e68218160dbdbe8fdf36272 where we lost the task
dependency on packages in TOOLCHAIN_HOST_TASK (such as
meta-environment-extsdk-${MACHINE}) which led to errors about missing
packages when building the extensible SDK. This happened because I only
moved half of the dependencies coming from the standard SDK task to
do_sdk_depends.

While I'm at it, tidy up the do_populate_sdk_ext[depends] line.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage: Handle image types containing '-' correctly
Richard Purdie [Sun, 17 Jan 2016 22:25:20 +0000 (22:25 +0000)]
image: Handle image types containing '-' correctly

Shell function names can't contain '-' characters, which means our image
task names also can't. Add some mapping to use '_' instead of the '-' so
images like "rpi-sdimg" work again.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-selftest: devtool: fix test_devtool_add_library if python was built first
Paul Eggleton [Mon, 18 Jan 2016 11:18:35 +0000 (00:18 +1300)]
oe-selftest: devtool: fix test_devtool_add_library if python was built first

If Python is in the sysroot then this test can fail due to some
brokenness in libftdi's CMakeLists.txt file for its python bindings.
Just disable it in order to have the test work more reliably.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: add a couple more license checksums
Paul Eggleton [Mon, 18 Jan 2016 11:18:34 +0000 (00:18 +1300)]
recipetool: create: add a couple more license checksums

I found these when I was looking at libftdi and they seem to be
generic enough to show up in at least a couple of other packages so I
figure I'll add them.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: add basic support for extracting dependencies from cmake
Paul Eggleton [Mon, 18 Jan 2016 11:18:33 +0000 (00:18 +1300)]
recipetool: create: add basic support for extracting dependencies from cmake

Add support for extracting dependencies from CMakeLists.txt. There's
still a bunch of things missing that are outside the scope of OE-Core
and we still lack a proper extension mechanism, but this is a good
start.

This also adds an oe-selftest test to exercise the new code a bit.

Implements [YOCTO #7635].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: force GL libraries to virtual/*
Paul Eggleton [Mon, 18 Jan 2016 11:18:32 +0000 (00:18 +1300)]
recipetool: create: force GL libraries to virtual/*

We want to specify dependencies on virtual/* rather than whatever
library is selected in the current configuration.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: move dependency mapping code to RecipeHandler
Paul Eggleton [Mon, 18 Jan 2016 11:18:31 +0000 (00:18 +1300)]
recipetool: create: move dependency mapping code to RecipeHandler

Some refactoring to allow access to the library/header/pkg-config
mappings and the DEPENDS / unmapped dependency output code from other
classes than AutotoolsRecipeHandler.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: fix overzealous mapping of git URLs
Paul Eggleton [Mon, 18 Jan 2016 11:18:30 +0000 (00:18 +1300)]
recipetool: create: fix overzealous mapping of git URLs

The regex for detecting git URLs was unanchored, leading to it matching
where it shouldn't have. An example of where this went wrong was
http://taglib.github.io/releases/taglib-1.9.1.tar.gz.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: support additional autoconf macros from autoconf-archive
Paul Eggleton [Mon, 18 Jan 2016 11:18:29 +0000 (00:18 +1300)]
recipetool: create: support additional autoconf macros from autoconf-archive

Support a number of macros from autoconf-archive when reading
configure.ac to extract dependencies.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: detect flex/bison dependency
Paul Eggleton [Mon, 18 Jan 2016 11:18:28 +0000 (00:18 +1300)]
recipetool: create: detect flex/bison dependency

There are a few different macros that can be used to pick up these
tools, add support for them all.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: pick up boost macros in configure.ac
Paul Eggleton [Mon, 18 Jan 2016 11:18:27 +0000 (00:18 +1300)]
recipetool: create: pick up boost macros in configure.ac

The presence of BOOST_REQUIRE or AX_BOOST.* indicates that boost is a
dependency.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorecipetool: create: improve extraction of pkg-config / lib deps
Paul Eggleton [Mon, 18 Jan 2016 11:18:26 +0000 (00:18 +1300)]
recipetool: create: improve extraction of pkg-config / lib deps

* The regexes for PKG_CHECK_MODULES / AC_CHECK_LIB were a bit too strict
  and thus we were skipping some macros.
* Add support for PKG_CHECK_EXISTS
* Avoid duplicates in warning on missing pkg-config dependencies
* Ignore dependency on musl (since this may come up if it's the selected
  C library)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: rename kickstarter.py -> ksparser.py
Ed Bartosh [Mon, 18 Jan 2016 12:22:46 +0000 (14:22 +0200)]
wic: rename kickstarter.py -> ksparser.py

kickstarter.py was not the best name for this module as previously
there was a directory with the same name in scripts/lib/wic/.
All files were removed from it, but .pyc files could still stay there
causing imports from wic.kickstart to fail with
ImportError: cannot import name KickStart.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: override ArgumentParser.error
Ed Bartosh [Mon, 18 Jan 2016 12:22:45 +0000 (14:22 +0200)]
wic: override ArgumentParser.error

Overriden error method to throw exception instead of
printing usage error message. Exception is caught by
KickStart code to add .ks file name and line number.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: removed unused imports
Ed Bartosh [Mon, 18 Jan 2016 12:22:44 +0000 (14:22 +0200)]
wic: removed unused imports

Removed imports of wic.kickstart from plugins as they're
not used in the code.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: improve processing of parseing errors
Ed Bartosh [Mon, 18 Jan 2016 12:22:43 +0000 (14:22 +0200)]
wic: improve processing of parseing errors

Caught argparse.ArgumentError
Included .ks file name and line number into the error messages.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: catch KickStartError
Ed Bartosh [Mon, 18 Jan 2016 12:22:42 +0000 (14:22 +0200)]
wic: catch KickStartError

Catch parsing errors and output them using msger.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: add custom exception KickStartError
Ed Bartosh [Mon, 18 Jan 2016 12:22:41 +0000 (14:22 +0200)]
wic: add custom exception KickStartError

This exception will be raised by kickstart parser
on parsing errors and processed in the code which
calls parser to produce meaningful error output.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootimg/image-vm/image-live: Improve image dependencies
Richard Purdie [Mon, 18 Jan 2016 14:27:02 +0000 (14:27 +0000)]
bootimg/image-vm/image-live: Improve image dependencies

Now that image generation consists of separate tasks, we can improve
the dependencies in these classes. We can also incorporate the tasks
within do_image_complete instead of do_build so we have a specific task
for when the deploy directory is populated with images.

This fixes various expectations about do_image_completed and the way
I'd tried to use it to fix some sanity test problems.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage: Always run do_rootfs_wicenv
Richard Purdie [Mon, 18 Jan 2016 14:25:59 +0000 (14:25 +0000)]
image: Always run do_rootfs_wicenv

The wic command can be used externally but for this to work, the wic
environment file needs to be present. Therefore write this out
universally, it runs in parallel with other image construction so
any performance implications are negligible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoselftest/buildhistory: Improve test to remove sources of error
Richard Purdie [Sun, 17 Jan 2016 11:17:47 +0000 (11:17 +0000)]
selftest/buildhistory: Improve test to remove sources of error

When we add buildhistory, we expect do_rootfs to rerun, but depending
on IMAGE_FSTYPES, the number of tasks which would execute after
do_rootfs varies (e.g. live would add do_bootimg and we recently
added do_image).

Therefore limit the test to -c rootfs and then we're clear that only
one task should re-run.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootimg/image: Enhance bootimg to respect RM_OLD_IMAGE
Richard Purdie [Sun, 17 Jan 2016 11:16:45 +0000 (11:16 +0000)]
bootimg/image: Enhance bootimg to respect RM_OLD_IMAGE

Currently, iso and hddimg links don't respect RM_OLD_IMAGE. This
updates them to use the common symlinks code so that they behave
like the rest of the system.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorootfs-postcommands: Ensure license manifests respect RM_OLD_IMAGE
Richard Purdie [Sun, 17 Jan 2016 11:15:14 +0000 (11:15 +0000)]
rootfs-postcommands: Ensure license manifests respect RM_OLD_IMAGE

When RM_OLD_IMAGE is set, old manifest files should be removed
along with old image files and our QA tests expect this.

This patch ensures this happens.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage: Ensure we don't expand TMPDIR in image commands
Richard Purdie [Sun, 17 Jan 2016 00:21:44 +0000 (00:21 +0000)]
image: Ensure we don't expand TMPDIR in image commands

Similarly to DATETIME, don't expand TMPDIR in image commands.
This ensures some of the stamp comparisons we make in the
QA tests work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage: Fix instability of do_image_* checksums
Richard Purdie [Sat, 16 Jan 2016 10:33:18 +0000 (10:33 +0000)]
image: Fix instability of do_image_* checksums

The do_image_* tasks contained the expanded version of DATETIME. Due
to the expansion, we couldn't exclude the value from the task checksum
which meant the task would rerun.

We fix this by deleting the DATETIME value during expansion so we don't
expand any references to at that time. This means the task's hash can be
stable rather than having hardcoded date/time values. It will get expanded
at execution time.

This also fixes errors shown by -S:

NOTE: Reparsing files to collect dependency data
Writing locked sigs to /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/locked-sigs.inc
ERROR: Bitbake's cached basehash does not match the one we just generated (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/recipes-sato/images/core-image-sato.bb.do_image_tar)!
ERROR: The mismatched hashes were 77872792556367f1dde49a1425caf1a0 and 9bb0aca6286ab7dd22d3c69964beb665

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage: Fix wic environment issues
Richard Purdie [Sat, 16 Jan 2016 10:32:44 +0000 (10:32 +0000)]
image: Fix wic environment issues

The wic environment function needs to run after the rootfs size is
setup. We move this code to a specific task, and depend on that task
from the wic images and other places its needed.
This fixes:

======================================================================
FAIL: test_image_env (oeqa.selftest.wic.Wic)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 106, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/wic.py", line 218, in test_image_env
    self.assertTrue(var in content, "%s is not in .env file" % var)
AssertionError: False is not true : ROOTFS_SIZE is not in .env file

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinsane: Start to clean up do_configure_qa code
Richard Purdie [Fri, 15 Jan 2016 12:55:30 +0000 (12:55 +0000)]
insane: Start to clean up do_configure_qa code

This cleans up the do_configure_qa code so that the exit status from
package_qa_handle_error is handled correctly.

It also converts package_qa_check_license to use our standard QA check
configuration interface through package_qa_handle_error rather than
a mix of return values, bb.fatal and bb.build.FuncFailed.

Due to the merging of multiple lines into one message, we need to
tweak a QA test to account for this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinsane: Clean up horrible return value processing code
Richard Purdie [Fri, 15 Jan 2016 12:44:10 +0000 (12:44 +0000)]
insane: Clean up horrible return value processing code

Whilst in theory return values are nice, handling the complex
aggregation of the return values is ugly. The code already uses QA_SANE
as a marker to signal problems. Whilst that isn't as idealistic, it
makes the code massively cleaner, so rely on this instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoe2fsprogs: fix PV
Robert Yang [Tue, 19 Jan 2016 03:23:03 +0000 (19:23 -0800)]
e2fsprogs: fix PV

We had upgraded e2fsprogs from 1.42.9 to 1.43 (WIP), and used:
PV = "1.42+1.43-git${SRCPV}"
But:
$ dpkg --compare-versions 1.42+1.43 gt 1.42.9 && echo greater || echo less
less

It shows that 1.42+1.43 is less than 1.42.9, so this is a downgraded. Use
PV = "1.42.13+git${SRCPV}"
to fix the problem. 1.42.13 is the latest e2fsprogs 1.42 version.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoe2fsprogs: add PACKAGECONFIG for fuse
Robert Yang [Tue, 19 Jan 2016 03:23:02 +0000 (19:23 -0800)]
e2fsprogs: add PACKAGECONFIG for fuse

Fixed:
e2fsprogs-1.42+1.43-gitAUTOINC+0f26747167: e2fsprogs rdepends on fuse, but it isn't a build dependency? [build-deps]

The fuse is in meta-filesystems layer.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssh: CVE-2016-1907
Armin Kuster [Sat, 16 Jan 2016 00:59:49 +0000 (16:59 -0800)]
openssh: CVE-2016-1907

This issue requires three commits:
https://anongit.mindrot.org/openssh.git/commit/?id=ed4ce82dbfa8a3a3c8ea6fa0db113c71e234416c
https://anongit.mindrot.org/openssh.git/commit/?id=f98a09cacff7baad8748c9aa217afd155a4d493f
https://anongit.mindrot.org/openssh.git/commit/?id=2fecfd486bdba9f51b3a789277bb0733ca36e1c0

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense.bbclass: fix license manifest
Jackie Huang [Mon, 11 Jan 2016 05:55:38 +0000 (13:55 +0800)]
license.bbclass: fix license manifest

The license manifest is wrong when there is no spaces before and after separates |&()
and we can get warning like:
WARNING: The license listed Artistic-1.0GPLv1+ was not in the licenses collected for recipe

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic/help.py: document requirements for valid fstab generation
Joshua Lock [Mon, 11 Jan 2016 13:33:51 +0000 (13:33 +0000)]
wic/help.py: document requirements for valid fstab generation

Without one of the --ondrive, --ondisk or --use-uuid options for a
partition with a mountpoint specified the automatically generated
fstab entry will be invalid.

[YOCTO #8844]

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglib-2.0: add dependency glib-2.0-native back
Kai Kang [Mon, 11 Jan 2016 07:07:12 +0000 (15:07 +0800)]
glib-2.0: add dependency glib-2.0-native back

It uses command glib-genmarshal to build glib-2.0 which is from
glib-2.0-native. If the command doesn't exist on host, build fails
with error:

| /bin/sh: --prefix=test_marshal: command not found
| make[4]: *** [testmarshal.c] Error 127

So add the dependency back.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel-yocto.bbclass: move do_kernel_link_vmlinux() into kernel.bbclass
Andre McCurdy [Wed, 23 Dec 2015 00:12:53 +0000 (16:12 -0800)]
kernel-yocto.bbclass: move do_kernel_link_vmlinux() into kernel.bbclass

Move do_kernel_link_vmlinux() from kernel-yocto.bbclass into
kernel.bbclass so that it's available to any kernel recipe.

Note that the task is not enabled by default in kernel-yocto.bbclass,
so don't enable by default in kernel.bbclass either. To enable, see
the example in linux-yocto.inc, ie:

  addtask kernel_link_vmlinux after do_compile before do_install

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel-yocto.bbclass: remove do_kernel_link_vmlinux from SRCTREECOVEREDTASKS
Andre McCurdy [Wed, 23 Dec 2015 00:12:52 +0000 (16:12 -0800)]
kernel-yocto.bbclass: remove do_kernel_link_vmlinux from SRCTREECOVEREDTASKS

The do_kernel_link_vmlinux() task modifies the build directory (not
the source tree) and should not be skipped when externalsrc is being
used.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibarchive: Add bsdtar and bsdcpio packages
Dmitry Rozhkov [Wed, 13 Jan 2016 08:43:12 +0000 (10:43 +0200)]
libarchive: Add bsdtar and bsdcpio packages

Some products might need to use a tar replacement that

1. supports xattrs and
2. has more permissive license than GNU tar.

And the bsdtar binary produced from libarchive meets these
requirements.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoaster.bbclass: Separate artifact dump from image file dump
Elliot Smith [Wed, 13 Jan 2016 08:55:36 +0000 (08:55 +0000)]
toaster.bbclass: Separate artifact dump from image file dump

SDK artifacts were being dumped alongside the image file dump.
However, the dump was not being triggered correctly, as it
should be attached as a postfunc to do_populate_sdk, rather than
do_rootfs, as do_rootfs doesn't always fire when populating
the SDK directory.

By adding a postfunc to do_populate_sdk, the postfunc is fired
in the correct situations.

Also fixes the directory which is scanned for SDK artifacts, as
this is different from the image file directory.

[YOCTO #7603]

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopax-utils: 1.0.5 -> 1.1.4
Hongxu Jia [Wed, 13 Jan 2016 08:30:29 +0000 (03:30 -0500)]
pax-utils: 1.0.5 -> 1.1.4

- Support autotools:
  *) Touch NEWS/AUTHORS/ChangeLog to workaroud failure
     caused by 'automake --add-missing'
  *) Add patch to fix configure failure caused by missing
     macro definition in m4 directory

- Add PACKAGECONFIG flags for libcap, libseccomp and pyelftools,
  and disable them by default.

- Add PACKAGECONFIG flag for largefile.

- Since we add PACKAGECONFIG flags for pyelftools, we do not need
  python in RDEPENDS.

BTW:
Currently oe-core does not support libseccomp.
(https://github.com/seccomp/libseccomp)

Currently oe-core does not support pyelftools.
(https://github.com/eliben/pyelftools)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosqlite3: upgrade to version 3.10.0
Maxin B. John [Wed, 13 Jan 2016 10:46:03 +0000 (12:46 +0200)]
sqlite3: upgrade to version 3.10.0

3.9.2 -> 3.10.0

1. Fixed a parallel build problem
2. Added a PACKAGECONFIG for readline

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoconnman: upgrade to 1.31
Maxin B. John [Tue, 12 Jan 2016 16:20:31 +0000 (18:20 +0200)]
connman: upgrade to 1.31

1.30 -> 1.31

Included newly introduced connman-wait-online service.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3: add missing dependency on PN-misc to PN-modules
Ross Burton [Wed, 13 Jan 2016 12:55:46 +0000 (12:55 +0000)]
python3: add missing dependency on PN-misc to PN-modules

Installing python3-modules should install *all* of the Python standard library,
not just most of it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd-staticids.bbclass: Remove unnecessary spaces
Peter Kjellerstedt [Fri, 18 Dec 2015 23:53:52 +0000 (00:53 +0100)]
useradd-staticids.bbclass: Remove unnecessary spaces

This removes unnecessary spaces inserted before semicolons in the
modified USERADD_PARAM_${PN} and GROUPADD_PARAM_${PN} variables. This
should not affect the handling of the variables as the only one that
actually sees the semicolons is the code in useradd.bbclass that uses
cut to split the variables at them, and any whitespace preceeding or
following the semicolons will be properly ignored.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd-staticids.bbclass: Read passwd/group files before parsing
Peter Kjellerstedt [Fri, 18 Dec 2015 23:53:51 +0000 (00:53 +0100)]
useradd-staticids.bbclass: Read passwd/group files before parsing

Read and merge the passwd/group files before parsing the user and
group definitions. This means they will only be read once per
recipe. This solves a problem where if a user was definied in multiple
files, it could generate group definitions for groups that should not
be created. E.g., if the first passwd file read defines a user as:

foobar::1234::::

and the second passwd file defines it as:

foobar:::nogroup:The foobar user:/:/bin/sh

then a foobar group would be created even if the user will use the
nogroup as its primary group.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd-staticids.bbclass: Simplify the logic for when to add groups
Peter Kjellerstedt [Fri, 18 Dec 2015 23:53:50 +0000 (00:53 +0100)]
useradd-staticids.bbclass: Simplify the logic for when to add groups

The original code was near impossible to follow, and missed a couple
of cases. For example, if one added the following line to the passwd
file specified in USERADD_UID_TABLES:

foobar:x:12345:nogroup::/:/bin/sh

and then specified the user as:

USERADD_PARAM_${PN} = "--system foobar"

one would then assume that the foobar user would be created with the
primary group set to nogroup. However, it was not (the primary group
would be foobar), and the only way to get it correct was to explicitly
add --gid nogroup to the USERADD_PARAM_${PN}.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd-staticids.bbclass: Simplify some logic
Peter Kjellerstedt [Fri, 18 Dec 2015 23:53:49 +0000 (00:53 +0100)]
useradd-staticids.bbclass: Simplify some logic

The [<on_true>, <on_false>][not <condition>] construct may solve the
problem of implementing a conditional operator, but it is not very
readable. At least I find this:

    uaargs.groupid = field[3] or uaargs.gid or uaargs.groupname

a lot more readable than this:

    uaargs.groupid = [uaargs.gid, uaargs.groupname][not uaargs.gid]
    uaargs.groupid = [field[3], uaargs.groupid][not field[3]]

Also, the official conditional operator since Python 2.5 (<on_true> if
<condition> else <on_false>) does not evaluate both <on_false> and
<on_true> as [<on_true>, <on_false>][not <condition>] does.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd-staticids.bbclass: Make --no-user-group have effect
Peter Kjellerstedt [Fri, 18 Dec 2015 23:53:48 +0000 (00:53 +0100)]
useradd-staticids.bbclass: Make --no-user-group have effect

If --no-user-group is specified in USERADD_PARAM_${PN} for a user and
no --gid is specified, then we should not assume that the group name
for the user is the user name.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd-staticids.bbclass: Treat mutually exclusive options as such
Peter Kjellerstedt [Fri, 18 Dec 2015 23:53:47 +0000 (00:53 +0100)]
useradd-staticids.bbclass: Treat mutually exclusive options as such

The useradd options --create-home/--no-create-home and
--user-group/--no-user-group are mutually exclusive and should be
treated as such.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: get rid of 2 getters
Ed Bartosh [Thu, 14 Jan 2016 12:12:59 +0000 (14:12 +0200)]
wic: get rid of 2 getters

Used partitions and configfile bootloader attributes instead of
using getters get_bootloader_file and get_partitions.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: get rid of set_size and set_source_file setters
Ed Bartosh [Thu, 14 Jan 2016 12:12:58 +0000 (14:12 +0200)]
wic: get rid of set_size and set_source_file setters

Used size and source_file attributes instead of using
setters. It's more pythonic, clear an consistent.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: get rid of get_rootfs and set_rootfs
Ed Bartosh [Thu, 14 Jan 2016 12:12:57 +0000 (14:12 +0200)]
wic: get rid of get_rootfs and set_rootfs

Got rid of get_rootfs and set_rootfs java-like getter and
setter. Renamed rootfs to rootfs_dir to be consistent with
the name of kickstart parameter --rootfs-dir.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: get rid of get_timeout getter
Ed Bartosh [Thu, 14 Jan 2016 12:12:56 +0000 (14:12 +0200)]
wic: get rid of get_timeout getter

Used bootloader.timeout instead of kickstart.get_timeout getter.

Accessing attributes instead of getting them with getters is
more pythonic, shorter and readable. It also more consistent as
most of partition and bootloader attributes are used this way.

This change also takes care of appendLine bootloader attribute:
it's renamed to bootloader.append attribute provided by new parser.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: adjust code for new data structure
Ed Bartosh [Thu, 14 Jan 2016 12:12:55 +0000 (14:12 +0200)]
wic: adjust code for new data structure

New data structure is less nested than old one.
Adjusted bootloader and partitions fields:
self.ks.handler.bootloader -> self.ks.bootoader
self.ks.handler.partitions -> self.ks.partitions

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: remove pykickstart code
Ed Bartosh [Thu, 14 Jan 2016 12:12:54 +0000 (14:12 +0200)]
wic: remove pykickstart code

Removed pykickstart-related code as it's replaced by
new kickstart parser.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: use new kickstart parser
Ed Bartosh [Thu, 14 Jan 2016 12:12:53 +0000 (14:12 +0200)]
wic: use new kickstart parser

Used KickStart parser class instead of pykickstart API.

This commit breaks wic as data structures and field names
provided by new API are a bit different from old ones.
This issue will be addressed in the following commits.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: add kickstart parser module
Ed Bartosh [Thu, 14 Jan 2016 12:12:52 +0000 (14:12 +0200)]
wic: add kickstart parser module

This module will replace existing pykickstart machinery
it contains only option used by wic, it's simple and
clear. And It will allow to remove a lot of old complex
code from 3rdparty/pykickstart/ and kickstart/custom_commands.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: add partition module
Ed Bartosh [Thu, 14 Jan 2016 12:12:51 +0000 (14:12 +0200)]
wic: add partition module

Copied partition-related API from kickstart/custom_commands/partition.py
to separate module in preparation for removal of all
pykickstart related code.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-lib: 1.0.29 -> 1.1.0
Tanu Kaskinen [Thu, 14 Jan 2016 12:41:22 +0000 (14:41 +0200)]
alsa-lib: 1.0.29 -> 1.1.0

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

The most significant change is probably the addition of the "topology
API", which is used to change the DSP topology from userspace. My
understanding is that the API is (or will be) needed to support some
new hardware, but I don't know any specifics about that.

Rebased Check-if-wordexp-function-is-supported.patch.

Dropped 0001-build-Do-not-try-to-detect-cross-compiler.patch, since it
is included in the new release.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomatchbox-keyboard: export GTK_IM_MODULE_FILE location
Maxin B. John [Mon, 4 Jan 2016 15:20:57 +0000 (17:20 +0200)]
matchbox-keyboard: export GTK_IM_MODULE_FILE location

This commit in gtk+ moved the cache files below <libdir>
"
commit c8849046860a9b17fa943247d85ddadb29262b48
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Thu Jul 4 09:27:17 2013 -0400

Move the module cache files below libdir

These files contain architecture-dependent paths, and thus placing
them into sysconfdir causes unnecessary hassle. Now the immodule cache
file is looked for in libdir/gtk-2.0/2.10.0/immodules.cache.
Belated backport of a change that was done in the run-up to 3.0.
"

Since gtk-immodules-cache.bbclass creates the cache file in
"/etc/gtk-2.0/gtk.immodules", the environment variable "GTK_IM_MODULE_FILE"
can be set to point GTK+ at the file.

[YOCTO #6774]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxf86-input-evdev: upgrade to 2.10.1
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:57 +0000 (15:27 +0200)]
xf86-input-evdev: upgrade to 2.10.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomenu-cache: upgrade to 1.0.1
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:56 +0000 (15:27 +0200)]
menu-cache: upgrade to 1.0.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxi: upgrade to 1.7.6
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:55 +0000 (15:27 +0200)]
libxi: upgrade to 1.7.6

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibrsvg: upgrade to 2.40.13
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:54 +0000 (15:27 +0200)]
librsvg: upgrade to 2.40.13

Updated gtk-option.patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibgpg-error: upgrade to 1.21
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:53 +0000 (15:27 +0200)]
libgpg-error: upgrade to 1.21

License checksum changed because text layout changed.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibevdev: upgrade to 1.4.6
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:52 +0000 (15:27 +0200)]
libevdev: upgrade to 1.4.6

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibcroco: upgrade to 0.6.11
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:51 +0000 (15:27 +0200)]
libcroco: upgrade to 0.6.11

Remove PR from recipe.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogsettings-desktop-schemas: upgrade to 3.19.3
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:50 +0000 (15:27 +0200)]
gsettings-desktop-schemas: upgrade to 3.19.3

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogpgme: upgrade to 1.6.0
Jussi Kukkonen [Thu, 14 Jan 2016 13:27:49 +0000 (15:27 +0200)]
gpgme: upgrade to 1.6.0

License checksum changed because of text layout change.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agou-boot: Update to 2016.01 release
Marek Vasut [Thu, 14 Jan 2016 03:17:12 +0000 (04:17 +0100)]
u-boot: Update to 2016.01 release

Upgrade U-Boot to latest version and drop upstreamed patches.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: introduce v4.4 standard/preempt-rt/standard kernel
Bruce Ashfield [Mon, 11 Jan 2016 16:58:26 +0000 (11:58 -0500)]
linux-yocto: introduce v4.4 standard/preempt-rt/standard kernel

The 4.4 kernel has been under test via linux-yocto-dev, and is the next
LTS/LTSI kernel.

So we take our -dev support and created a named/versioned recipe for use
in upcoming releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoe2fsprogs: 1.42.9 -> 1.43 (master)
Robert Yang [Thu, 14 Jan 2016 01:37:28 +0000 (17:37 -0800)]
e2fsprogs: 1.42.9 -> 1.43 (master)

Upgrade to 1.43 (master) to make "mke2fs -d" support xattr, so that the
layer which requires xattr such as meta-selinux can populate images
easily.

* Remove the following patches since they are alredy in the source.
  0001-e2fsprogs-fix-cross-compilation-problem.patch
  0001-libext2fs-fix-potential-buffer-overflow-in-closefs.patch
  0001-mke2fs-add-the-ability-to-copy-files-from-a-given-di.patch
  0002-misc-create_inode.c-copy-files-recursively.patch
  0003-misc-create_inode.c-create-special-file.patch
  0004-misc-create_inode.c-create-symlink.patch
  0005-misc-create_inode.c-copy-regular-file.patch
  0006-misc-create_inode.c-create-directory.patch
  0007-misc-create_inode.c-set-owner-mode-time-for-the-inod.patch
  0008-mke2fs.c-add-an-option-d-root-directory.patch
  0009-misc-create_inode.c-handle-hardlinks.patch
  0010-debugfs-use-the-functions-in-misc-create_inode.c.patch
  0011-mke2fs.8.in-update-the-manual-for-the-d-option.patch
  0012-Fix-musl-build-failures.patch
  CVE-2015-0247.patch
  copy-in-create-hardlinks-with-the-correct-directory-.patch
  fix-icache.patch
  misc-mke2fs.c-return-error-when-failed-to-populate-fs.patch

* Remove cache_inode.patch since it is not needed any more

* Updated mkdir.patch and ptest.patch

* Add --enable-libblkid to EXTRA_OECONF since libblkid is not created by
  default.

* Time of core-image-sato-sdk do_rootfs:
  - Before upgrade
    real    3m18.508s
    user    7m42.088s
    sys     1m1.984s

  - After upgrade
    real    3m21.552s
    user    7m38.496s
    sys     1m0.644s

   The are nearly the same

* The "fsck -f" shows the image is OK, and also can boot.

[YOCTO #8622]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agobitbake.conf: rename python-native-runtime
Ed Bartosh [Wed, 13 Jan 2016 08:03:04 +0000 (10:03 +0200)]
bitbake.conf: rename python-native-runtime

The code in native.bbclass adds -native suffix to the package
names that don't have it.

Renamed python-native-runtime -> hostpython-runtime-native to avoid
mangling it and to conform with the naming convetion for native
packages.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonet-tools_1.60-26.bb: Fix do_patch dependency error
Li Xin [Fri, 15 Jan 2016 01:25:36 +0000 (04:25 +0300)]
net-tools_1.60-26.bb: Fix do_patch dependency error

When set PATCHTOOL = "patch" in conf/local.conf an error will occur
in the step of do_patch.

The error is: "quilt: command not found", so fix the missing
dependency.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoncurses: 5.9 0 -> 6.0
Dengke Du [Fri, 15 Jan 2016 05:09:10 +0000 (00:09 -0500)]
ncurses: 5.9 0 -> 6.0

To be compatible with ncurses 5, add option '--with-abi-version=5' to EXTRA_OECONF

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>