]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agowic/help.py: document that mountpoint is optional for part command
Joshua Lock [Thu, 17 Dec 2015 12:02:28 +0000 (12:02 +0000)]
wic/help.py: document that mountpoint is optional for part command

If no mountpoint is specified for a partition command the partition
will be created but not mounted — mention this in the kickstart
help text.

[YOCTO #8820]

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopixman: check neon support via TUNE_FEATURES, not the _armv7a over-ride
Andre McCurdy [Thu, 17 Dec 2015 00:08:13 +0000 (16:08 -0800)]
pixman: check neon support via TUNE_FEATURES, not the _armv7a over-ride

Neon support is optional in armv7a so the _armv7a over-ride is not
the best way to determine whether or not the target supports neon.

Since pixman will always use neon in preference to 'simd' (ie VFPv2)
if it can, it's safe to disable the simd routines if the target is
known to support neon.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxdg-utils: Do not build the in-script documentation
Jussi Kukkonen [Thu, 17 Dec 2015 10:07:09 +0000 (12:07 +0200)]
xdg-utils: Do not build the in-script documentation

Building the contents for "--manual" option requires a web browser
or java. That's bonkers so let's not do it.

[YOCTO #8823]

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogettext: Upgrade 0.19.4 -> 0.19.6
Fan Xin [Mon, 14 Dec 2015 12:31:24 +0000 (21:31 +0900)]
gettext: Upgrade 0.19.4 -> 0.19.6

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc-configure-common.inc: add gcc-runtime ABI fixes for armv7m and armv7r
Andre McCurdy [Wed, 16 Dec 2015 15:59:03 +0000 (07:59 -0800)]
gcc-configure-common.inc: add gcc-runtime ABI fixes for armv7m and armv7r

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotune-cortexr4.inc: provide an _armv7r over-ride via MACHINEOVERRIDES
Andre McCurdy [Wed, 16 Dec 2015 15:59:02 +0000 (07:59 -0800)]
tune-cortexr4.inc: provide an _armv7r over-ride via MACHINEOVERRIDES

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotune-cortexm3.inc: provide an _armv7m over-ride via MACHINEOVERRIDES
Andre McCurdy [Wed, 16 Dec 2015 15:59:01 +0000 (07:59 -0800)]
tune-cortexm3.inc: provide an _armv7m over-ride via MACHINEOVERRIDES

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofeature-arm-thumb.inc: drop 'no-thumb-interwork' tuning feature
Andre McCurdy [Wed, 9 Dec 2015 01:09:58 +0000 (17:09 -0800)]
feature-arm-thumb.inc: drop 'no-thumb-interwork' tuning feature

Interworking is required for ARM EABI, so attempting to disable it
via a tuning feature no longer makes sense (support for ARM OABI was
deprecated in gcc 4.7). We can drop '-mthumb-interwork' from
TUNE_CCARGS for the same reason.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofeature-arm-thumb.inc: drop legacy _thumb and _thumb-interwork over-rides
Andre McCurdy [Wed, 9 Dec 2015 01:09:57 +0000 (17:09 -0800)]
feature-arm-thumb.inc: drop legacy _thumb and _thumb-interwork over-rides

Bitbake over-rides for _thumb and _thumb-interwork are undocumented
and are not used anywhere in oe-core or meta-oe. The logic setting up
the thumb-interwork over-ride even seems to be reversed and nobody
noticed, so it seems safe to assume that these over-rides are not
used.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agofeature-arm-thumb.inc: drop ARM -vs- thumb comments
Andre McCurdy [Wed, 9 Dec 2015 01:09:56 +0000 (17:09 -0800)]
feature-arm-thumb.inc: drop ARM -vs- thumb comments

Comments are old and specific to thumb1. Since oe-core CPU tuning
files aren't really the right place to fully document ARM -vs- thumb,
drop the comments instead of trying to update them.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpm: Fix support for db5 and db6
Yuanjie Huang [Wed, 16 Dec 2015 09:40:38 +0000 (17:40 +0800)]
rpm: Fix support for db5 and db6

The previous attempt to let rpm configuration support both db5 and db6
has a flaw that when the building host provides db6 without its header
the db_create test will false pass. This new patch addresses this issue
by test against the DB_VERSION_MAJOR macro value, which is defined in
both db5 and db6's header.

Signed-off-by: Yuanjie Huang <Yuanjie.Huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-buildenv-internal: fix return code
Juro Bystricky [Wed, 16 Dec 2015 21:24:07 +0000 (13:24 -0800)]
oe-buildenv-internal: fix return code

The script oe-buildenv-internal is called from oe-init-build-env.
Make sure oe-init-buildenv does not return an error if BB_ENV_EXTRAWHITE is
already set, otherwise this will cause oe-init-build-env to fail.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostaging.bbclass: make already-stripped can be skipped
Jackie Huang [Wed, 16 Dec 2015 09:54:01 +0000 (17:54 +0800)]
staging.bbclass: make already-stripped can be skipped

Add a check like what we does in package.bbclass
so that the already-stripped QA test can be skipped.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuildhistory-collect-srcrevs: hide empty sections
Christopher Larson [Tue, 15 Dec 2015 23:45:27 +0000 (16:45 -0700)]
buildhistory-collect-srcrevs: hide empty sections

Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoselftest/buildhistory.py: Test buildhistory does not change sigs
Daniel Istrate [Tue, 15 Dec 2015 14:32:43 +0000 (16:32 +0200)]
selftest/buildhistory.py: Test buildhistory does not change sigs

[YOCTO #5953] Add a test to ensure buildhistory does not
change signatures.

Also removed unused imports.

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc5: Upgrade gcc-5.2 -> gcc-5.3
Khem Raj [Mon, 14 Dec 2015 06:23:08 +0000 (06:23 +0000)]
gcc5: Upgrade gcc-5.2 -> gcc-5.3

Minor bugfix upgrade to gcc 5.3 for detailed list of fixes in 5.3 see

https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=132738&resolution=FIXED&target_milestone=5.3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobitbake.conf: Add filename and lineno to BB_SIGNATURE_EXCLUDE_FLAGS
Richard Purdie [Sun, 20 Dec 2015 13:20:20 +0000 (13:20 +0000)]
bitbake.conf: Add filename and lineno to BB_SIGNATURE_EXCLUDE_FLAGS

This is mainly a performance optimisation. Since we added these flags
to functions, the system spends a lot of time trying to expand these
flags. The values don't really influence checksums and don't need to
be included since if the function content changes, that is will be
detected regardless and is the key detail we care about.

Therefore exclude these from the checksums and gain a signficiant
chunk of parsing speed back.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats-summary/toaster: Cope with removal of get_bn()
Richard Purdie [Fri, 18 Dec 2015 13:50:04 +0000 (13:50 +0000)]
buildstats-summary/toaster: Cope with removal of get_bn()

The buildstats changes removed the no longer needed get_bn() function,
replace this with references to BUILDNAME.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agom4: Drop unused/unreferenced patch
Richard Purdie [Tue, 15 Dec 2015 22:27:46 +0000 (22:27 +0000)]
m4: Drop unused/unreferenced patch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoaster: Update for buildstats changes
Richard Purdie [Thu, 17 Dec 2015 14:54:53 +0000 (14:54 +0000)]
toaster: Update for buildstats changes

This updates the toaster class to use the new data format from buildstats.
This does mean it will no longer read IO data from older builds, however
since that data is completely useless anyway, I don't consider that to be
an issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Improve to add getrusage data and corrected IO stats
Richard Purdie [Thu, 17 Dec 2015 14:54:28 +0000 (14:54 +0000)]
buildstats: Improve to add getrusage data and corrected IO stats

Add IO stats and getrusage() data to the task statistics. We
also drop the CPU percentage calculation since its pretty arbitrary
and not very accurate/useful.

In particular we can now see the user and sys times as well as the
wall clock times.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Separate out the build and task data to allow improvements
Richard Purdie [Thu, 17 Dec 2015 14:54:14 +0000 (14:54 +0000)]
buildstats: Separate out the build and task data to allow improvements

The combined build and task data code makes changing things hard, separate
out the functions so that changes can be made to the task data whilst the
build data remains unchanged.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Clean up e.data and bb.data references
Richard Purdie [Thu, 17 Dec 2015 14:54:08 +0000 (14:54 +0000)]
buildstats: Clean up e.data and bb.data references

Rather than bb.data and e.data, cleanup to use 'd' and match the
standard coding style.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Drop get_bn/set_pn and just use BUILDNAME
Richard Purdie [Thu, 17 Dec 2015 14:54:01 +0000 (14:54 +0000)]
buildstats: Drop get_bn/set_pn and just use BUILDNAME

The current setting and getting of the "name" to use for buildstats is
convoluted and not particularly interesting. We only need this for the
e.getPkgs()[0] component of the path which is the first target listed
on the commandline. This is pretty arbitrary.

If we drop that piece, we can assume BUILDNAME is common for all events
and simply use this and query it. If BUILDNAME did change, that would
be a bug and it should be fixed elsewhere.

Also take the opportunity to share some common code since the function
now has the eventmask.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildstats: Drop disk data from buildstats
Richard Purdie [Thu, 17 Dec 2015 14:53:55 +0000 (14:53 +0000)]
buildstats: Drop disk data from buildstats

The existing diskstats data from buildstats simply isn't useful. It
gives stats on the total IO counts on some random disk within the
system. This means that the count includes data from all other tasks
running at the same time and from any other process running on the
system.

I've been unable to find any use for the data so as a start at
reworking the class, remove the related code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonativesdk-buildtools-perl-dummy: Bump PR
Richard Purdie [Thu, 17 Dec 2015 12:33:39 +0000 (12:33 +0000)]
nativesdk-buildtools-perl-dummy: Bump PR

Recent changes to this recipe caused automated PR increments
to break, regressing package feeds. The only way to recover
is to bump PR, so do this centrally to fix anyone affected.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocombo-layer: Stop using filterdiff
Richard Purdie [Thu, 17 Dec 2015 10:55:21 +0000 (10:55 +0000)]
combo-layer: Stop using filterdiff

I ran into an issue where a patch just deleting a single file
within the repository (meta/recipes-devtools/m4/m4/make.patch)
would get skipped by combo-layer.

It turns out this has the patch header (commented to avoid breaking scripts):

: diff --git a/meta/recipes-devtools/m4/m4/make.patch b/meta/recipes-devtools/m4/m4/make.patch
: deleted file mode 100644
: index 79fb415..0000000
: --- a/meta/recipes-devtools/m4/m4/make.patch
: +++ /dev/null
: @@ -1,42 +0,0 @@

and this is classed as > 5 headers in filterdiff. When we piped the path
through filterdiff, the --- line disappears, then the second time we pass
through filterdiff, it shows no lines changed and the patch is assumed
to be empty and skipped.

Changing MAX_HEADERS in filterdiff is one way to fix this, another would
be to grep out "deleted file mode" lines. Instead, we can use new
git syntax to exclude files from the git format-patch instead and avoid
filterdiff entirely.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa: more removals of redunant FILES_${PN}-dbg
Ross Burton [Tue, 15 Dec 2015 16:32:43 +0000 (16:32 +0000)]
meta: more removals of redunant FILES_${PN}-dbg

In some recipes overly-split -dbg packages were merged into PN-dbg.  Unless
there's a very good reason, recipes should have a single -dev and -dbg package.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclutter-gst-3.0: add dependency on libgudev
Martin Jansa [Mon, 14 Dec 2015 18:31:46 +0000 (19:31 +0100)]
clutter-gst-3.0: add dependency on libgudev

* it's autodetected from sysroot:
  WARN: clutter-gst-3.0: clutter-gst-3.0 rdepends on libcap, but it isn't a build dependency?
  WARN: clutter-gst-3.0: clutter-gst-3.0 rdepends on libgudev, but it isn't a build dependency?
  WARN: clutter-gst-3.0: clutter-gst-3.0 rdepends on libudev, but it isn't a build dependency?

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: Upgrade to 228
Khem Raj [Mon, 14 Dec 2015 05:55:35 +0000 (05:55 +0000)]
systemd: Upgrade to 228

Forward port all patches and format them to be git am'able
Drop patches specific to uclibc's missing features which now
are there in uclibc-ng

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouclibc: Switch to using uclibc-ng
Khem Raj [Sun, 13 Dec 2015 04:47:05 +0000 (04:47 +0000)]
uclibc: Switch to using uclibc-ng

uclibc-ng is a maintained fork of uclibc project. Lets switch to using that
add patches to fix memory leak in canonicalize_file_name-memory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocdrtools-native: update to 3.01 final
Alexander Kanavin [Wed, 9 Dec 2015 15:04:07 +0000 (17:04 +0200)]
cdrtools-native: update to 3.01 final

Inject a fake PV to avoid versions going backwards [RB]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogrep: update to 2.22
Alexander Kanavin [Mon, 14 Dec 2015 14:33:09 +0000 (16:33 +0200)]
grep: update to 2.22

Drop backported grep-fix-CVE-2015-1345.patch

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoprocps: update to 3.3.11
Alexander Kanavin [Mon, 14 Dec 2015 14:18:42 +0000 (16:18 +0200)]
procps: update to 3.3.11

fix-configure.patch was fixing lines that have been removed upstream.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobabeltrace: update to 1.3.1
Alexander Kanavin [Mon, 14 Dec 2015 14:12:52 +0000 (16:12 +0200)]
babeltrace: update to 1.3.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopowertop: update to 2.8
Alexander Kanavin [Mon, 14 Dec 2015 14:07:04 +0000 (16:07 +0200)]
powertop: update to 2.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonfs-utils: update to 1.3.3
Alexander Kanavin [Mon, 14 Dec 2015 13:59:29 +0000 (15:59 +0200)]
nfs-utils: update to 1.3.3

ipv6 support now requires libtirpc, so un-disable and add it to dependencies.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemtap: update to 2.9
Alexander Kanavin [Mon, 14 Dec 2015 13:53:55 +0000 (15:53 +0200)]
systemtap: update to 2.9

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokbd: update to 2.0.3
Alexander Kanavin [Mon, 14 Dec 2015 11:26:29 +0000 (13:26 +0200)]
kbd: update to 2.0.3

0003-Only-inluclude-kernel-headers-with-glibc.patch is handling #include lines that
are no longer present in the upstream source so it was dropped.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogmp: update to 6.1.0
Alexander Kanavin [Mon, 14 Dec 2015 11:25:58 +0000 (13:25 +0200)]
gmp: update to 6.1.0

Remove gmp-6.0.0-ppc64.patch, it was a backport

Remove configure.patch, it fixed problems with very old versions
of autotools, and testing showed it is no longer needed:
http://git.openembedded.org/openembedded/commit/gmp/gmp-4.1.2/configure.patch?id=43dd0eeb7b7aaf482d3568a0d6a3b99bedbf1cf6

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodocbook-xsl-stylesheets: fix UPSTREAM_CHECK_REGEX
Alexander Kanavin [Thu, 10 Dec 2015 12:39:53 +0000 (14:39 +0200)]
docbook-xsl-stylesheets: fix UPSTREAM_CHECK_REGEX

Versions ending in .0 are release candidates, so exclude those.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomtd-utils: update to 1.5.2
Alexander Kanavin [Thu, 10 Dec 2015 12:04:48 +0000 (14:04 +0200)]
mtd-utils: update to 1.5.2

Drop 0001-hashtable-Remove-duplicate-hashtable_iterator_value-.patch,
the problem has been fixed upstream.
Drop backported 0001-mtd-utils-libfec-use-standard-C-type-instead-of-u_lo.patch
Rebase 0001-Fix-build-with-musl.patch (2 out of 3 fixes have been made upstream)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agounfs3: update to r497
Alexander Kanavin [Thu, 10 Dec 2015 11:57:45 +0000 (13:57 +0200)]
unfs3: update to r497

Drop fix_warnings.patch as it's been merged upstream.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-numpy: update to 1.10.1
Alexander Kanavin [Thu, 10 Dec 2015 11:27:16 +0000 (13:27 +0200)]
python-numpy: update to 1.10.1

LICENSE checksum has changed due to updated copyright years

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibxml-simple-perl: update to 2.22
Alexander Kanavin [Wed, 9 Dec 2015 16:49:38 +0000 (18:49 +0200)]
libxml-simple-perl: update to 2.22

LICENSE checksum changed because of copyright year change in the text.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodmidecode: update to 3.0
Alexander Kanavin [Wed, 9 Dec 2015 16:19:18 +0000 (18:19 +0200)]
dmidecode: update to 3.0

LICENSE is still GPLv2, with a different physical address for the FSF.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocpio: update to 2.12
Alexander Kanavin [Wed, 9 Dec 2015 16:09:58 +0000 (18:09 +0200)]
cpio: update to 2.12

Drop backported patches:
Fix-symlink-bad-length-test-for-64-bit-architectures.patch
fix-memory-overrun.patch
fix-testcase-symlink-bad-lengths.patch
0001-fix-testcase-of-symlink-bad-length.patch

statdef.patch is fixing code that doesn't exist anymore.
The problem handled by remove-gets.patch has been fixed differently.

The CVE-2015-1197 has been ignored by upstream and had to be rebased:
http://lists.gnu.org/archive/html/bug-cpio/2015-09/msg00007.html

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopuzzles: update to current commit
Alexander Kanavin [Fri, 4 Dec 2015 13:38:52 +0000 (15:38 +0200)]
puzzles: update to current commit

gtk+3 support has been added upstream, so add an option for that.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognutls: update to 3.4.7
Alexander Kanavin [Fri, 4 Dec 2015 11:55:49 +0000 (13:55 +0200)]
gnutls: update to 3.4.7

libidn is needed by the new version to compare hostnames.
Openssl compatibility is no longer enabled by default, but is
required by other packages in oe-core.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibidn: add native and nativesdk support
Alexander Kanavin [Fri, 11 Dec 2015 16:44:23 +0000 (18:44 +0200)]
libidn: add native and nativesdk support

This is needed because gnutls now requires libidn.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpng: Update SRC_URI to use GENTOO_MIRROR
Maxin B. John [Mon, 14 Dec 2015 14:34:12 +0000 (16:34 +0200)]
libpng: Update SRC_URI to use GENTOO_MIRROR

Update SRC_URI to use GENTOO_MIRROR as SOURCEFORGE_MIRROR continue
to move around the release files.

[YOCTO #8739]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpng12: Upgrade 1.2.54 -> 1.2.55
Maxin B. John [Mon, 14 Dec 2015 14:34:11 +0000 (16:34 +0200)]
libpng12: Upgrade 1.2.54 -> 1.2.55

1.2.54 -> 1.2.55

No change in License.The license checksums changed because of update
in Copyright date.

Update SRC_URI to use GENTOO_MIRROR as SOURCEFORGE_MIRROR continue
to move around the release files.
[YOCTO #8739]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibical: Upgrade 1.0.0 -> 1.0.1
Maxin B. John [Mon, 14 Dec 2015 14:34:10 +0000 (16:34 +0200)]
libical: Upgrade 1.0.0 -> 1.0.1

* Build system changed to cmake
* Patch build system to not check for perl (we use host
  perl which won't be found)
* Patch build system to not break on parallel builds

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibxslt: use proper SRC_URI
Maxin B. John [Mon, 14 Dec 2015 14:34:09 +0000 (16:34 +0200)]
libxslt: use proper SRC_URI

Remove extra / from SRC_URI

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokexec-tools: added the script kdump
Wenlin Kang [Fri, 11 Dec 2015 06:16:53 +0000 (14:16 +0800)]
kexec-tools: added the script kdump

Added the script file kdump,it provides the follow support:
1. Load a kdump kernel image into memory;
2. Copy away vmcore when system panic.

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoltp: Upgrade 20150420 -> 20150903
Fan Xin [Mon, 14 Dec 2015 08:29:24 +0000 (17:29 +0900)]
ltp: Upgrade 20150420 -> 20150903

1. Upgrade from 20150420 to 20150903

https://github.com/linux-test-project/ltp/releases/tag/20150903

2. Replace the patch file 0001-replace-inline-with-static-inline-for-gcc-5.x.patch due to the ltp original source code is changed.

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomusl: Update to latest 1.1.12 release
Khem Raj [Mon, 14 Dec 2015 00:09:56 +0000 (00:09 +0000)]
musl: Update to latest 1.1.12 release

point to maintained github mirror in comments

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoutil-linux: Upgrade to 2.27.1
Khem Raj [Sat, 12 Dec 2015 19:38:39 +0000 (19:38 +0000)]
util-linux: Upgrade to 2.27.1

Patches that are dropped are already available upstream in 2.27 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackagegroup-core-sdk: Disable sanitizers for uclibc
Khem Raj [Mon, 14 Dec 2015 00:13:54 +0000 (00:13 +0000)]
packagegroup-core-sdk: Disable sanitizers for uclibc

They dont build for non-glibc C libraries yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsolv: add new recipe
Alejandro del Castillo [Sat, 12 Dec 2015 00:14:31 +0000 (18:14 -0600)]
libsolv: add new recipe

Required by the optional opkg 0.3.1 libsolv backend.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocurl: upgrade to 7.45
Fan Xin [Mon, 14 Dec 2015 01:13:38 +0000 (10:13 +0900)]
curl: upgrade to 7.45

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibsndfile1: 1.0.25 -> 1.0.26
Tanu Kaskinen [Sat, 12 Dec 2015 02:23:12 +0000 (04:23 +0200)]
libsndfile1: 1.0.25 -> 1.0.26

Main points from the release announcement:

  * Fix for CVE-2014-9496, SD2 buffer read overflow.
  * Fix for CVE-2014-9756, file_io.c divide by zero.
  * Fix for CVE-2015-7805, AIFF heap write overflow.
  * Add support for ALAC encoder in a CAF container.
  * Add support for Cart chunks in WAV files.
  * Minor bug fixes and improvements.

All patches we had are included in the new release.

Dropped PR from the recipe.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowget: Upgrade 1.16.3 -> 1.17
Fan Xin [Mon, 14 Dec 2015 09:24:12 +0000 (18:24 +0900)]
wget: Upgrade 1.16.3 -> 1.17

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agounifdef: upgrade to 2.11
Ross Burton [Mon, 14 Dec 2015 11:18:24 +0000 (11:18 +0000)]
unifdef: upgrade to 2.11

Add COPYING to the license checksums, and update the checksum for unifdef.c as
the copyright dates changed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosstate-sysroot-cruft: Add php, python, lua, fontcache generated files to whitelist
Martin Jansa [Thu, 10 Dec 2015 13:02:15 +0000 (14:02 +0100)]
sstate-sysroot-cruft: Add php, python, lua, fontcache generated files to whitelist

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest: Added testcase decorators for 2 testcases
Daniel Istrate [Fri, 11 Dec 2015 09:58:15 +0000 (11:58 +0200)]
oeqa/selftest: Added testcase decorators for 2 testcases

bblayers: test_bitbakelayers_showrecipes    1384
wic:      test_directdisk_bootloader_config 1385

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agouninative.bbclass: Choose the correct loader based on BUILD_ARCH
Randy Witt [Wed, 9 Dec 2015 20:50:44 +0000 (12:50 -0800)]
uninative.bbclass: Choose the correct loader based on BUILD_ARCH

Previously UNINATIVE_LOADER was always ld-linux-x86-64.so.2. That is
incorrect when the host is 32-bit.

This change also changes to using ?= so the user can override
UNINATIVE_LOADER if so desired.

[YOCTO #8124]

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolicense: Fix BB_TASKDEPDATA references
Richard Purdie [Tue, 15 Dec 2015 16:40:36 +0000 (16:40 +0000)]
license: Fix BB_TASKDEPDATA references

We shouldn't try and expand what is a python dict object
and we don't want it to influence the task hashes, task
dependencies are already accounted for.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocoreutils/procps: Revert priority change since coreutils > busybox
Richard Purdie [Tue, 15 Dec 2015 16:34:04 +0000 (16:34 +0000)]
coreutils/procps: Revert priority change since coreutils > busybox

In 2ce514a394e1e062172bb097aa92a1792a0f8eaf, "coreutils: fix
ALTERNATIVE_PRIORITY conflict with procps and mktemp" the priority was
lowered from 100 to 30. Unfortunately this lowered coreutils past
busybox which means busybox was ending up in our SDK images. This isn't
what users expect.

1c0cfffee21e99a7356c9046c86628bc0acf654c raises the priority of mktemp
to 200, do the same for procps and make the system consistent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa: more removals of redunant FILES_${PN}-dbg
Ross Burton [Tue, 15 Dec 2015 16:32:43 +0000 (16:32 +0000)]
meta: more removals of redunant FILES_${PN}-dbg

In some recipes overly-split -dbg packages were merged into PN-dbg.  Unless
there's a very good reason, recipes should have a single -dev and -dbg package.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa: Drop now pointless manual -dbg packaging
Richard Purdie [Tue, 15 Dec 2015 15:40:23 +0000 (15:40 +0000)]
meta: Drop now pointless manual -dbg packaging

With the autodebug package generation logic, specifically setting FILES_${PN}-dbg
isn't needed in most cases, we can remove them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackage: Add auto package splitting of .debug files
Richard Purdie [Tue, 15 Dec 2015 15:38:54 +0000 (15:38 +0000)]
package: Add auto package splitting of .debug files

Creating FILES_${PN}-dbg is tedious and also pretty pointless. We might as well
assume ".debug" is a special directory name and split into -dbg automatically.

This change does so without changing the rest of the splitting logic too much.
It can be disabled for the cases where we really do want manual control of
the -dbg packages (e.g. qt4) with NOAUTOPACKAGEDEBUG = "1".

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa/conf/toasterconf.json: remove SDKMACHINE variable as it no longer used
brian avery [Wed, 2 Dec 2015 18:36:17 +0000 (10:36 -0800)]
meta/conf/toasterconf.json: remove SDKMACHINE variable as it no longer used

Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonopackages: Add class for recipes which don't generate packages
Richard Purdie [Thu, 10 Dec 2015 22:50:56 +0000 (22:50 +0000)]
nopackages: Add class for recipes which don't generate packages

It turns out writing the same list of packaging tasks multiple
times in multiple places is error prone. Move this to a new class
'nopackages", migrate existing users and add glibc-initial and
libgcc-initial since we don't want packages for those recipes.

This means the sstate for those recipes won't be installed, saving
small amounts of build time and bandwidth.

A reference to the old package_write task is also dropped.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate: Ensure populate_lic dependencies are not followed
Richard Purdie [Thu, 10 Dec 2015 22:49:38 +0000 (22:49 +0000)]
sstate: Ensure populate_lic dependencies are not followed

It was observed that do_fetch dependencies (e.g. subversion-native of tremor)
were being installed even when sstate was available and hence no fetch was
needed. This turned out to be due to the recursive nature of the rootfs
dependencies which include populate_lic.

We can explicitly whitelist these dependencies as being ones we don't
need to follow when installing sstate (the code defaults to being paranoid).

[YOCTO #8746]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_ext/sign_rpm/sign_package_feed: Add missing getVar parameter
Richard Purdie [Thu, 10 Dec 2015 22:48:35 +0000 (22:48 +0000)]
populate_sdk_ext/sign_rpm/sign_package_feed: Add missing getVar parameter

We should always pass a parameter to getVar, add missing default value.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautoconf: Disable macro which causes excessive delays when using dash as sh
Richard Purdie [Mon, 7 Dec 2015 18:28:56 +0000 (18:28 +0000)]
autoconf: Disable macro which causes excessive delays when using dash as sh

At the start of every configure script, the check for solaris 'print' causes
significant problems on a linux machine with dash as /bin/sh since it triggers
the execution of "print" which on some linux systems is a perl script which is
part of mailcap. Worse, this perl script calls "which file" and if successful
ignores the path file was found in and just runs "file" without a path. Each
execution causes PATH to be searched. In something like gettext with multiple
configure scripts, this is worth something like 30,000 syscalls of which 3,000
are execs.

Simply assuming the shell's printf function works cuts out all the fork overhead
and when parallel tasks are running, this overhead appears to be significant.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautomake: Remove delays in configure scripts using automake
Richard Purdie [Mon, 7 Dec 2015 18:28:05 +0000 (18:28 +0000)]
automake: Remove delays in configure scripts using automake

By default automake puts "sleep 1" into the start of configure scripts
which adds pointless delays to them. Rather than do this, lets just assume
our systems are sane.

Since this means our patches touch m4 files, we need to stop automake running
autoreconf so we tweak the do_configure to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosite/common-linux: Add some macros to avoid sleeps during configure
Richard Purdie [Mon, 7 Dec 2015 18:27:29 +0000 (18:27 +0000)]
site/common-linux: Add some macros to avoid sleeps during configure

If you profile gettext do_configure you notice it has some "sleep 1"
type events occurring. This patch ensures we cache the right values to
avoid those pointless delays there and in any other configure scripts
using the same macros.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-tools: Revert wrong enforcement of Python 3.0 use
Otavio Salvador [Fri, 11 Dec 2015 17:32:56 +0000 (15:32 -0200)]
lttng-tools: Revert wrong enforcement of Python 3.0 use

The code has support and checks for Python 2 and Python 3 however
during the development of 2.7 release a requirement for Python 3 was
included.

The Python 3 is required for runtime tests to run however those are
not in use now so we can just disable the enforcement for now.

This reverts the commit restoring the Python 2 support.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoattr: Add patch to account for use of internal glibc header
Khem Raj [Thu, 19 Nov 2015 01:07:21 +0000 (01:07 +0000)]
attr: Add patch to account for use of internal glibc header

based on suggestions on musl FAQ
http://wiki.musl-libc.org/wiki/FAQ

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpam: Fix build with musl
Khem Raj [Thu, 19 Nov 2015 01:04:49 +0000 (01:04 +0000)]
libpam: Fix build with musl

Define strndupa if not available in libc additionally fix headers
to explicitly needed include files which glibc was including indirectly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: Add musl configuration support
Khem Raj [Thu, 19 Nov 2015 01:03:14 +0000 (01:03 +0000)]
openssl: Add musl configuration support

use termios instead of termio

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox: Add config for musl
Khem Raj [Thu, 19 Nov 2015 00:59:33 +0000 (00:59 +0000)]
busybox: Add config for musl

Default config is enabling additional features that dont compile with
musl so lets disable them for musl case

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogettext: Delete libintl.h and charset.alias
Khem Raj [Thu, 19 Nov 2015 00:26:26 +0000 (00:26 +0000)]
gettext: Delete libintl.h and charset.alias

libintl.h is already provided by musl and charset.alias is regenerated
by packages themselves

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosysvinit: Fix build with musl
Khem Raj [Thu, 19 Nov 2015 00:10:03 +0000 (00:10 +0000)]
sysvinit: Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomusl: Add recipe
Khem Raj [Thu, 19 Nov 2015 00:07:58 +0000 (00:07 +0000)]
musl: Add recipe

musl is posix compliant C library for linux

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomtools: Use proper glibc override to add glibc packages to recommendations
Khem Raj [Wed, 18 Nov 2015 23:26:12 +0000 (23:26 +0000)]
mtools: Use proper glibc override to add glibc packages to recommendations

Helps building mtools on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosquashfs-tools: Define FNM_EXTMATCH if not defined
Khem Raj [Wed, 18 Nov 2015 23:25:24 +0000 (23:25 +0000)]
squashfs-tools: Define FNM_EXTMATCH if not defined

helps compiling when using musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomtd-utils: Backport and create patches to support musl
Khem Raj [Wed, 18 Nov 2015 23:24:32 +0000 (23:24 +0000)]
mtd-utils: Backport and create patches to support musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogdb: Fix build with musl
Khem Raj [Wed, 18 Nov 2015 23:23:46 +0000 (23:23 +0000)]
gdb: Fix build with musl

This is a patch that has been submitted upstream as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoautoconf: Add musl support
Khem Raj [Wed, 18 Nov 2015 23:23:03 +0000 (23:23 +0000)]
autoconf: Add musl support

Support musl triplets

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc: Add support for building musl configuration
Khem Raj [Wed, 18 Nov 2015 17:10:48 +0000 (17:10 +0000)]
gcc: Add support for building musl configuration

Most of these patches are already in gcc 6.0/master but we still need them for
older gcc, they have been tested in meta-musl for quite some time

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0: Split bash completion information into separate package
Mike Crowe [Thu, 10 Dec 2015 13:59:46 +0000 (13:59 +0000)]
gstreamer1.0: Split bash completion information into separate package

Many targets won't even have bash installed so the completion
information is completely useless. Follow the lead of other recipes and
put it in a separate -bash-completion package.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoattr: add attr dependency to attr-ptest
Ross Burton [Thu, 10 Dec 2015 15:49:27 +0000 (15:49 +0000)]
attr: add attr dependency to attr-ptest

If attr-ptest is explicitly installed it will fail as attr isn't a dependency.

[ YOCTO #8766 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: import Debian link_tool patch for MIPS
Andre McCurdy [Wed, 9 Dec 2015 18:52:48 +0000 (10:52 -0800)]
valgrind: import Debian link_tool patch for MIPS

Without this patch, valgrind 3.10.1 fails to run on MIPS:

 | root@bcm97425vms:~# valgrind /bin/ls
 | valgrind: mmap(0x400000, 700416) failed in UME with error 22 (Invalid argument).
 | valgrind: this can be caused by executables with very large text, data or bss segments.

Original Debian bug report:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777704

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoslang: update upstream URI to (official) jedsoft.org
Alexander Kanavin [Mon, 7 Dec 2015 17:47:17 +0000 (19:47 +0200)]
slang: update upstream URI to (official) jedsoft.org

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosubversion: update to 1.9.2
Alexander Kanavin [Mon, 7 Dec 2015 17:46:49 +0000 (19:46 +0200)]
subversion: update to 1.9.2

Drop backported CVE fix patches
libtool2.patch has been rebased and renamed to 0001-Fix-libtool-name-in-configure.ac.patch
LICENSE checksum has been updated because more 3rd party attributions have been added to it,
it's otherwise still Apache 2.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agojson-c: add manual upstream version check
Alexander Kanavin [Fri, 4 Dec 2015 13:42:13 +0000 (15:42 +0200)]
json-c: add manual upstream version check

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomirrors: replace references to archive.apache.org
Alexander Kanavin [Fri, 4 Dec 2015 13:40:27 +0000 (15:40 +0200)]
mirrors: replace references to archive.apache.org

archive.apache.org does not contain current releases, only historical ones,
so upstream checks aren't accurate. It's replaced with official mirrors
containing current versions.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>