]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agolibtool: remove build host paths from installed libtool
Shiqun Lin [Mon, 3 Nov 2014 09:08:42 +0000 (17:08 +0800)]
libtool: remove build host paths from installed libtool

Resulted libtool contains references about paths from the build host

Below variables contains hard coded build paths from the host:
LTCC=
lt_sysroot=
sys_lib_search_path_spec=
LD=
CC=
compiler_lib_search_dirs=
predep_objects=
postdep_objects=
compiler_lib_search_path=

Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobeecrypt: add option --with-dev-dsp
Kai Kang [Wed, 29 Oct 2014 11:16:07 +0000 (19:16 +0800)]
beecrypt: add option --with-dev-dsp

Add this configure option for developer to control if the
/dev/dsp should be used on target. Instead of judging it
based on the very device file of build server.

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoscripts: use '/usr/bin/env' in shebangs with python
Martin Hundebøll [Thu, 30 Oct 2014 10:43:24 +0000 (11:43 +0100)]
scripts: use '/usr/bin/env' in shebangs with python

To support yocto on systems with python3 as default version, scripts
should use /usr/bin/env python in the shebang, as this allows the use of
a fake env to mimic python2 as default version.

This patch simply replaces occurrences of #!/usr/bin/python with
 #!/usr/bin/env python and was done with this oneliner:

     git grep -lE '^#!/usr/bin/python' | xargs \
         sed -i 's|/usr/bin/python|/usr/bin/env python|'

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooprofile: 0.9.9 -> 1.0.0
Richard Purdie [Tue, 4 Nov 2014 11:39:07 +0000 (11:39 +0000)]
oprofile: 0.9.9 -> 1.0.0

opcontrol is now dropped and replaced with the operf interface. As such, we drop
the opstart/opstop commands and any patches related to the old removed interfaces.

Some patches were also mered upstream so those are also dropped.

There is also a problem found on mips with the security flags enabled, the
patch has more specific details.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-pygtk: Clean up incorrect "fix"
Gary Thomas [Wed, 5 Nov 2014 14:57:38 +0000 (07:57 -0700)]
python-pygtk: Clean up incorrect "fix"

This patch removes most of "dirty fix #1" which is no longer needed
(no dependency on python-pygobject-dev exists).  A side effect is
that the pygtk code generator will also be installed.

Merge 'fix-path.inc' into this recipe as it is not used by any other
recipe.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopopulate_sdk_base: improve POSIXLY_CORRECT compat
Richard Tollerton [Wed, 5 Nov 2014 21:06:16 +0000 (15:06 -0600)]
populate_sdk_base: improve POSIXLY_CORRECT compat

The install script is sometimes called under POSIXLY_CORRECT. This
requires two fixes be made:

1. `find -perm /0000` is a gnuism; replace with an equivalent boolean
expression using `-perm -0000`.

2. POSIX grep requires that all options be passed on the command line
before all files; otherwise, the options must be parsed as filenames.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agotcl: Upgrade to 8.6.2
Chong Lu [Tue, 30 Sep 2014 09:33:04 +0000 (17:33 +0800)]
tcl: Upgrade to 8.6.2

libgcc_s.so.1 is needed by running ptest, so add libgcc to
RDEPENDS_${PN}-ptest.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agostrace: Upgrade to 4.9
Chong Lu [Tue, 30 Sep 2014 09:33:05 +0000 (17:33 +0800)]
strace: Upgrade to 4.9

Remove two backported patches:
0001-Work-around-conflict-between-sys-ptrace.h-and-linux-.patch
strace-fix-64-bit-process-detection.patch

Update two patches to fit new version:
Makefile-ptest.patch
strace-add-configure-options.patch

Add coreutils, grep and gawk to RDEPENDS_${PN}-ptest for making
ptest pass.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobyacc: Upgrade to 20140715
Chong Lu [Tue, 30 Sep 2014 09:33:06 +0000 (17:33 +0800)]
byacc: Upgrade to 20140715

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibpcre: Upgrade to 8.36
Chong Lu [Wed, 8 Oct 2014 06:44:40 +0000 (14:44 +0800)]
libpcre: Upgrade to 8.36

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolz4: update to version r123
Armin Kuster [Wed, 1 Oct 2014 14:23:38 +0000 (07:23 -0700)]
lz4: update to version r123

Makefile md5sum changed since version is hardcode in it.

Added : experimental lz4frame API; special thanks to Takayuki Matsuoka and
Christopher Jackson for testings and suggestions
Fix : s390x support, thanks to Nobuhiro Iwamatsu

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopinentry: update 0.9
Armin Kuster [Sat, 1 Nov 2014 19:35:16 +0000 (12:35 -0700)]
pinentry: update 0.9

removed  some EXTRA_OECONF to  fix:
WARNING: QA Issue: pinentry: configure was passed unrecognised options: --disable-glibtest --disable-pinentry-gtk --disable-pinentry-qt [unknown-configure-option]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoncurses, busybox, cml1.bbclass: Fix menuconfig display corruption
Jason Wessel [Fri, 7 Nov 2014 09:15:45 +0000 (17:15 +0800)]
ncurses, busybox, cml1.bbclass: Fix menuconfig display corruption

Previously there was a change to the ncurses compile to make it more
like the typical way it was compiled on a host system.  This fixed a
whole class of host machines, but masked the real underlying problem
with the display corruption issues and menuconfig.

The corner case that led to the discovery that the wrong curses.h file
was getting used was when there was no curses libraries at all on one
of the development hosts.  What had happened before was that
/usr/include/curses.h on the host system had to match closely enough
to the curses.h in the sysroot and then linking against the sysroot
version of curses.so was ok (meaning no display corruption).  But on
some systems with ncurses.h vs curses.h such as SuSE hosts, there were
still issues.

If we fix the root of the problem and force the mconf and lxdialog to
use the correct headers and libraries from the sysroot there is no
further issues and the menuconfig target works properly.  It also
means we can back out the custom compilation flags to the ncurses
recipe because they are no longer needed.

For the kernel part of the menuconfig / nconfig changes it will be
merged separately and this is all based on:

https://lkml.org/lkml/2013/3/3/103

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agonfs-utils: change owner/group of directories in do_install
Chen Qi [Fri, 7 Nov 2014 08:47:19 +0000 (16:47 +0800)]
nfs-utils: change owner/group of directories in do_install

Previously, the owners/groups of directories like /var/lib/nfs/statd
are changed in the init script, /etc/init.d/nfscommon. This is actually
a workaround. We need to change them at do_install time.

This patch fixes the above problem by changing owners/groups at do_install
time.

Besides, configuration option '--with-staduser=nobody' is changed to be
'--with-statduser=rpcuser'. And /var/lib/nfs/statd/state is modified to have
permission 0644, just like other distros (ubuntu, fedora, etc.) do.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoperl: set the perl libraries search path
Jackie Huang [Thu, 6 Nov 2014 05:33:38 +0000 (00:33 -0500)]
perl: set the perl libraries search path

The default value for this is ../../lib which ends up with
something like:
| ./sysroots/x86_64-linux/usr/bin/perl-native/perl5.20.0.real \
| "-I../../lib" "-I../../lib" "-MExtUtils::Command::MM" -e pod2man \
| "--" --section=0 --perm_rw=644 perldoc.pod blib/man1/perldoc.1

in this case, nativeperl will find libraries from the target build,
When using an x86-64 host to target Haswell, you can end up with
../../lib including precompiled modules which use Haswell
instructions, it fails with:
| Running pm_to_blib for dist/if directly
| Skip ../../lib/if.pm (unchanged)
| Makefile:457: recipe for target 'manifypods' failed
| make[1]: *** [manifypods] Illegal instruction

So set it to use the -native ones instead of those from the target
build.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoapt: Add missing running depency debianutils
Ricardo Ribalda Delgado [Mon, 3 Nov 2014 10:13:51 +0000 (11:13 +0100)]
apt: Add missing running depency debianutils

apt-file calls run-parts with options --list and --regex:

root@neopili:~/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/work/bobcat_64-poky-linux/apt/0.9.9.4-r0/apt-0.9.9.4# grep run-parts cmdline/apt-key -rn
187: for trusted in $(run-parts --list $TRUSTEDPARTS --regex '^.*\.gpg$'); do

busybox implementation of run-parts does not support --regex. And --list option is not enabled on yocto busybox configuration.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agodebianutils: Add recipe from meta-oe
Ricardo Ribalda Delgado [Mon, 3 Nov 2014 10:13:50 +0000 (11:13 +0100)]
debianutils: Add recipe from meta-oe

This recipe is a running dependency of recipe apt

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackage_manager: DpkgPM fix populate_sdk
Aníbal Limón [Mon, 3 Nov 2014 22:16:25 +0000 (16:16 -0600)]
package_manager: DpkgPM fix populate_sdk

DpkgPM change all_arch_list variable set from PACKAGE_ARCHS to passed
archs variable because is different when is executed from rootfs.py
and sdk.py.

Credits to: Ricardo Ribalda <ricardo.ribalda@gmail.com>

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoimage-buildinfo.bbclass: new class, writes build information to image
Alejandro Hernandez [Wed, 5 Nov 2014 19:21:58 +0000 (13:21 -0600)]
image-buildinfo.bbclass: new class, writes build information to image

Writes build information to target filesystem on /etc/build such as enabled
layers, their current status and commit.

squashspaces was moved to oe/utils.py to make it available to different classes
and avoid code duplication.

[YOCTO #6770]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowatchdog: Upgrade to 5.14
Saul Wold [Fri, 7 Nov 2014 00:19:44 +0000 (16:19 -0800)]
watchdog: Upgrade to 5.14

Move the patches from generic files to watchdog
Rebased the fix-ping due to code reorg on the source

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: Upgrade to 3.75
Saul Wold [Fri, 7 Nov 2014 00:19:43 +0000 (16:19 -0800)]
man-pages: Upgrade to 3.75

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsbinitscripts: Upgrade to 9.56.1
Saul Wold [Fri, 7 Nov 2014 00:19:42 +0000 (16:19 -0800)]
lsbinitscripts: Upgrade to 9.56.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoless: Upgrade to 470
Saul Wold [Fri, 7 Nov 2014 00:19:41 +0000 (16:19 -0800)]
less: Upgrade to 470

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agohdparm: Upgrade to 9.45
Saul Wold [Fri, 7 Nov 2014 00:19:40 +0000 (16:19 -0800)]
hdparm: Upgrade to 9.45

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agohelp2man: Upgrade to 1.46.4
Saul Wold [Fri, 7 Nov 2014 00:19:39 +0000 (16:19 -0800)]
help2man: Upgrade to 1.46.4

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: Upgrade to 2.0.0
Saul Wold [Fri, 7 Nov 2014 00:19:38 +0000 (16:19 -0800)]
cups: Upgrade to 2.0.0

Remove backported patch and rebase gcrypt patch

Licence change updates the date and removes the OpenSSL exception

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat: Upgrade to 3.1.16
Saul Wold [Fri, 7 Nov 2014 00:19:37 +0000 (16:19 -0800)]
at: Upgrade to 3.1.16

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoresolvconf: Upgrade to 1.76
Saul Wold [Fri, 7 Nov 2014 00:19:36 +0000 (16:19 -0800)]
resolvconf: Upgrade to 1.76

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxkbcommon: Upgrade to 0.5.0
Saul Wold [Fri, 7 Nov 2014 00:19:35 +0000 (16:19 -0800)]
libxkbcommon: Upgrade to 0.5.0

COPYING has additional MIT section

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemtap: Upgrade to 2.6 Git Version
Saul Wold [Fri, 7 Nov 2014 00:19:33 +0000 (16:19 -0800)]
systemtap: Upgrade to 2.6 Git Version

Remove backported patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibksba: Ugrade to 1.3.1
Saul Wold [Fri, 7 Nov 2014 00:19:31 +0000 (16:19 -0800)]
libksba: Ugrade to 1.3.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcrypt: Ugrade to 1.6.2
Saul Wold [Fri, 7 Nov 2014 00:19:30 +0000 (16:19 -0800)]
libgcrypt: Ugrade to 1.6.2

Remove backported patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliburcu: Ugrade to 0.8.5
Saul Wold [Fri, 7 Nov 2014 00:19:29 +0000 (16:19 -0800)]
liburcu: Ugrade to 0.8.5

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonpth: Upgrade to 1.0
Saul Wold [Fri, 7 Nov 2014 00:19:28 +0000 (16:19 -0800)]
npth: Upgrade to 1.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobtrfs: Update to 3.17 version
Saul Wold [Fri, 7 Nov 2014 00:19:27 +0000 (16:19 -0800)]
btrfs: Update to 3.17 version

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcap: Upgrade to 2.24
Saul Wold [Fri, 7 Nov 2014 00:19:26 +0000 (16:19 -0800)]
libcap: Upgrade to 2.24

Tarballs moved to kernel.org
Deleted upstream'ed patch
merged minimal .bb with .inc

Check for security dir before moving it when pam is enabled.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Fix intermittent failures during configure
Mark Hatle [Fri, 7 Nov 2014 19:21:57 +0000 (13:21 -0600)]
gcc: Fix intermittent failures during configure

If configure or any of the components it uses from the shared work directory
change, do_configure may fail.

An existing do_preconfigure was created to handle these conditions, but
a 'sed' operation was missed, and a call to gnu-configize was also missed.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdb: 7.7.1 -> 7.8.1
Richard Purdie [Tue, 4 Nov 2014 11:39:08 +0000 (11:39 +0000)]
gdb: 7.7.1 -> 7.8.1

Drop patch merged upstream.

Also drop old arm/thumb patch which breaks the compile on arm. We've
had this since 2010 (or longer) and the issue has likely been fixed
upstream by now. If not someone with more knowledge will need to
figure out the fix against the current codebase.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage/prserv: Merge two similar functions into one
Richard Purdie [Wed, 5 Nov 2014 18:44:24 +0000 (18:44 +0000)]
package/prserv: Merge two similar functions into one

Having these two separate functions handling PR values seems pointless,
and worse, there are impossible code branches mixed within them.

Merge them into one function and tweak comments so at least you
don't have to read both functions to figure out what is going on.

This does restructure the conditionals to try and aid readability.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase: Make PRINC warning an error
Richard Purdie [Wed, 5 Nov 2014 18:43:03 +0000 (18:43 +0000)]
base: Make PRINC warning an error

Apparently 1.5 years of warnings isn't enough to get anyone to take any
notice. We therefore make this an error so people can ignore it for
another 6 months whereafter we can finally give up and remove the
obsolete code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl: Enable rebuilds to account for configuration changes
Richard Purdie [Wed, 5 Nov 2014 18:49:03 +0000 (18:49 +0000)]
perl: Enable rebuilds to account for configuration changes

If configure/compile was rerun for perl, changes such as libdir changes
were not being picked up. To fix this we we add "make clean"
functionality, if the makefile is present.

We also in this case need to delete the .so file, else some perl modules
try and load the target arch libraries leading to build failures. I'd
love it if there were a better way to do this and am open to better
proposals but this was the best I could find, not being a perl expert.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase: Improve makefile clean handling, introduce CLEANBROKEN variable
Richard Purdie [Wed, 5 Nov 2014 18:46:35 +0000 (18:46 +0000)]
base: Improve makefile clean handling, introduce CLEANBROKEN variable

It turns out we have quite a number of Makefiles out there without a
clean target. Rather than have all cases code an empty do_configure, add
a CLEANBROKEN variable which when set to "1" will disable the attempt to
"make clean".

This patch also adjusts various recipes which either have this problem
fixed, or have been reported to have make clean failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoltp: update to 20140828 release
Fathi Boudra [Wed, 5 Nov 2014 10:03:33 +0000 (12:03 +0200)]
ltp: update to 20140828 release

bump SRCREV to 20140828 tag
drop automake-foreign patch - fixed upstream (commit 18594de and edbae29)
add add-know-for-tirpc patch - workaround ftbfs with libtirpc found
update realtime tests fixes upstream status from submitted to backported -
merged upstream

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreadline: Patch for readline multikey dispatch issue
Saul Wold [Fri, 7 Nov 2014 13:52:31 +0000 (13:52 +0000)]
readline: Patch for readline multikey dispatch issue

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types.bbclass: whitespace and reorder
Peter A. Bigot [Sun, 2 Nov 2014 10:48:37 +0000 (04:48 -0600)]
image_types.bbclass: whitespace and reorder

Use a multi-line value to set IMAGE_TYPES and put all the compressed
versions of a format on one line.  Other than moving ext2.lzma this is
just whitespace.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoweston: update to version 1.6.0, add libinput PACKAGECONFIG
Denys Dmytriyenko [Tue, 23 Sep 2014 19:31:54 +0000 (15:31 -0400)]
weston: update to version 1.6.0, add libinput PACKAGECONFIG

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowayland: update version to 1.6.0
Denys Dmytriyenko [Tue, 23 Sep 2014 19:31:53 +0000 (15:31 -0400)]
wayland: update version to 1.6.0

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibinput: add 0.6.0 version
Denys Dmytriyenko [Tue, 23 Sep 2014 19:31:52 +0000 (15:31 -0400)]
libinput: add 0.6.0 version

libinput is an optional dependency for Weston to handle input devices
externally, which provides better support especially for touch devices.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agonss: Upgrade to 3.17
Saul Wold [Thu, 4 Sep 2014 20:42:08 +0000 (13:42 -0700)]
nss: Upgrade to 3.17

CVE patches removed since they have been implemented upstream
Rename patch dir (files) to generic PN name

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agofindutils: Upgrade to 4.5.14
Saul Wold [Thu, 4 Sep 2014 20:41:09 +0000 (13:41 -0700)]
findutils: Upgrade to 4.5.14

Move findutils-4.4.2 directory to more generic findutils
Removed backported patches

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agovala: Update to 0.24.0
Saul Wold [Thu, 4 Sep 2014 20:39:55 +0000 (13:39 -0700)]
vala: Update to 0.24.0

Remove un-needed PR and INC_PR
Rename vala-0.16 to more geneic vala

Now correctly supports seperate build/source directorys so drop -sepbuild tag

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agotexinfo: integrate texinfo 4.8
Roy Li [Thu, 11 Sep 2014 02:28:28 +0000 (10:28 +0800)]
texinfo: integrate texinfo 4.8

It is a GPLv2 package

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoinsane.bbclass: add condition for build-deps
Chong Lu [Fri, 31 Oct 2014 09:15:45 +0000 (17:15 +0800)]
insane.bbclass: add condition for build-deps

Add condition for build-deps, then we can use it in INSANE_SKIP.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogst-plugin-bluetooth: remove systemd service file
Chong Lu [Fri, 31 Oct 2014 03:22:10 +0000 (11:22 +0800)]
gst-plugin-bluetooth: remove systemd service file

The service file should be included in bluez4 package, not in plugin package.

This solves the following warning:

WARNING: QA Issue: gst-plugin-bluetooth: Files/directories were installed but not shipped
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/bluetooth.service [installed-vs-shipped]

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoqemu: upgrade to 2.1.2
Cristian Iorga [Fri, 31 Oct 2014 14:36:07 +0000 (16:36 +0200)]
qemu: upgrade to 2.1.2

Mainly a bug fix release.

- Patch 0001-Back-porting-security-fix-CVE-2014-5388.patch removed,
included upstream.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopsplash: update to latest git version
Paul Eggleton [Fri, 31 Oct 2014 15:33:30 +0000 (15:33 +0000)]
psplash: update to latest git version

Include two enhancement patches from Olaf Mandel <o.mandel@menlosystems.com>

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogcc: backport two patches to fix ICE in dwarf2out_var_location
Jackie Huang [Fri, 31 Oct 2014 14:41:49 +0000 (10:41 -0400)]
gcc: backport two patches to fix ICE in dwarf2out_var_location

The first patch fixes the ICE in dwarf2out_var_location, at
dwarf2out.c.

r212171:
    * except.c (emit_note_eh_region_end): New helper function.
    (convert_to_eh_region_ranges): Use emit_note_eh_region_end to
    emit EH_REGION_END note.
    * jump.c (cleanup_barriers): Do not split a call and its
    corresponding CALL_ARG_LOCATION note.

But it introduced a regression issue:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63348

so backport the fix for the regression as well:

r215613:
    PR rtl-optimization/63348
    * emit-rtl.c (try_split): Do not emit extra barrier.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoconnman: upgrade to 1.26
Cristian Iorga [Fri, 31 Oct 2014 17:44:26 +0000 (19:44 +0200)]
connman: upgrade to 1.26

- WiFi P2P support in ConnMan has been significantly improved;
- Applications can now register WiFi Display, UPnP or Bonjour P2P services;
- Various bug fixes.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agowget: upgrade to 1.16
Paul Eggleton [Fri, 31 Oct 2014 18:05:08 +0000 (18:05 +0000)]
wget: upgrade to 1.16

Among other things, fixes CVE-2014-4877:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-4877

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoacl: add acl dependency to acl-ptest
Ross Burton [Fri, 31 Oct 2014 21:49:19 +0000 (21:49 +0000)]
acl: add acl dependency to acl-ptest

The acl test suite doesn't work without the acl binaries, so add an explicit
dependency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agotoaster.bbclass: read elapsed time from the stats file
Alexandru DAMIAN [Fri, 31 Oct 2014 19:15:48 +0000 (19:15 +0000)]
toaster.bbclass: read elapsed time from the stats file

We read the elapsed time fromt the build stats file, instead
of computing it independently.

[YOCTO #6833]
[YOCTO #6685]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl: Fix bug when installs SDK in custom directory
Aníbal Limón [Mon, 3 Nov 2014 23:43:00 +0000 (17:43 -0600)]
perl: Fix bug when installs SDK in custom directory

Add site_perl and vendor_perl directories in create_wrapper
this fix bug when searching for libraries in these directories.

[YOCTO #6890]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-self-hosted: add git-perltools
Jackie Huang [Tue, 4 Nov 2014 07:39:01 +0000 (02:39 -0500)]
packagegroup-self-hosted: add git-perltools

git-perltools provides some usefull git tools like:
git-submodule, git-request-pull, git-send-email, git-am, etc.

We should have it added in self-hosted image.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: 1.8.9 -> 1.8.10
Richard Purdie [Tue, 4 Nov 2014 07:17:24 +0000 (07:17 +0000)]
subversion: 1.8.9 -> 1.8.10

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokexec-tools: 2.0.7 -> 2.0.8
Richard Purdie [Tue, 4 Nov 2014 11:39:06 +0000 (11:39 +0000)]
kexec-tools: 2.0.7 -> 2.0.8

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: 3.3.1 -> 3.3.2
Richard Purdie [Tue, 4 Nov 2014 11:39:05 +0000 (11:39 +0000)]
mdadm: 3.3.1 -> 3.3.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-pycurl: 7.19.3.1 -> 7.19.5
Richard Purdie [Tue, 4 Nov 2014 11:39:02 +0000 (11:39 +0000)]
python-pycurl: 7.19.3.1 -> 7.19.5

Lines in the readme referring to the license moved, license is unchanged.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunistring: 0.9.3 -> 0.9.4
Richard Purdie [Tue, 4 Nov 2014 11:39:04 +0000 (11:39 +0000)]
libunistring: 0.9.3 -> 0.9.4

Drop two patches merged upstream.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonasm: 2.11.05 -> 2.11.06
Richard Purdie [Tue, 4 Nov 2014 11:39:01 +0000 (11:39 +0000)]
nasm: 2.11.05 -> 2.11.06

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildtools-tarball: package all of Python
Ross Burton [Wed, 5 Nov 2014 20:34:40 +0000 (20:34 +0000)]
buildtools-tarball: package all of Python

Instead of cherry-picking pieces of Python to put into the buildtools tarball,
ship all of it.  We can't predict what bits of Python will be needed in the
future.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: Security Advisory - curl - CVE-2014-3620
Chong Lu [Tue, 4 Nov 2014 01:35:18 +0000 (09:35 +0800)]
curl: Security Advisory - curl - CVE-2014-3620

libcurl wrongly allows cookies to be set for Top Level Domains (TLDs), thus
making them apply broader than cookies are allowed. This can allow arbitrary
sites to set cookies that then would get sent to a different and unrelated site
or domain.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
10 years agodocbook-xsl-stylesheets: add perl to RDEPENDS
Chong Lu [Fri, 31 Oct 2014 08:59:54 +0000 (16:59 +0800)]
docbook-xsl-stylesheets: add perl to RDEPENDS

This solves the following warning:

docbook-xsl-stylesheets-1.78.1: docbook-xsl-stylesheets requires /usr/bin/perl,
/bin/bash, but no providers in its RDEPENDS [file-rdeps]

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agorootfs.py: tweak inner warn message catching
Hongxu Jia [Wed, 29 Oct 2014 05:54:51 +0000 (13:54 +0800)]
rootfs.py: tweak inner warn message catching

The fix filters out irrelevant messages, and makes the catching more
accurate, the inner warn message in do_rootfs usually comes from the
output of complementary install, and pattern the format to catch it.

Here is the example of irrelevant messages:
...
|WARNING: log_check: There is a warn message in the logfile
|WARNING: log_check: Matched keyword: [warn]
|WARNING: log_check: `tmp/deploy/rpm/core2_64/pam-plugin-warn
-1.1.6-r5.0.core2_64.rpm' -> `tmp/work/intel_x86_64-wrs-linux/
wrlinux-image-installer/1.0-r0/rootfs/Packages.intel/./core2_64/
pam-plugin-warn-1.1.6-r5.0.core2_64.rpm'
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopython-smartpm: report warn rather than error during install with --attempt
Hongxu Jia [Wed, 29 Oct 2014 05:54:50 +0000 (13:54 +0800)]
python-smartpm: report warn rather than error during install with --attempt

With the following config and build image:
...
IMAGE_INSTALL_append = "shadow man-pages"
EXTRA_IMAGE_FEATURES += "doc-pkgs"
...

There is an error during install with --attempt, and it breaks the build.
...
|error: file /usr/share/man/man5/passwd.5 from install of
shadow-doc-4.2.1-r0.i586 conflicts with file from package
man-pages-3.71-r0.i586
...

For complementary and 'attemptonly' package processing, we should make sure
the warn rather than error messages reported.

[YOCTO #6769]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoman-pages/shadow: resolve man pages confliction
Hongxu Jia [Wed, 29 Oct 2014 05:54:49 +0000 (13:54 +0800)]
man-pages/shadow: resolve man pages confliction

Invoke smart/rpm to install man-pages and shadow-doc, there
is a build failure:
...
|error: file /usr/share/man/man5/passwd.5 from install of
shadow-doc-4.2.1-r0.0.core2_64 conflicts with file from
package man-pages-3.70-r0.0.core2_64
|error: file /usr/share/man/man3/getspnam.3 from install of
shadow-doc-4.2.1-r0.0.core2_64 conflicts with file from
package man-pages-3.70-r0.0.core2_64
...
Use alternatives mechanism to fix it.

As README in man-pages said: "Note that sometimes these
pages are duplicates of pages also distributed in other
packages. Be careful not to overwrite more up-to-date
versions. So we set man-pages with lower priority.

[YOCTO #6769]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoshadow: enable support for subordinate IDs
Bogdan Purcareata [Mon, 27 Oct 2014 15:51:34 +0000 (11:51 -0400)]
shadow: enable support for subordinate IDs

The subordinate IDs support in pkg-shadow allows unprivileged users to manage a
set of UIDs and GIDs. These subordinate IDs are specified by root, and can be
further used by the unprivileged user they have been assigned to. This user can
then create an e.g. user namespace, where he is allowed to manage his own set of
users and group from the pool of subordinate IDs. More details can be found at
http://lwn.net/Articles/533617/.

Pull a required change from upstream in order to make shadow cross-compile with
subordinate IDs support. Enable flag in recipe.

Changes since v1:
- update changelog

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoiproute2: backport a patch to make adding vxlan link success
Roy.Li [Wed, 29 Oct 2014 06:01:07 +0000 (14:01 +0800)]
iproute2: backport a patch to make adding vxlan link success

If without this patch:
    $ ip link add vxlan0 type vxlan id 51 group 238.1.1.1 dev eth0
    Error: argument "vxlan0" is wrong: Unknown device
    $

With this patch;
    $ ip link add vxlan0 type vxlan id 51 group 238.1.1.1 dev eth0
    $ ifconfig -a |grep vxlan0
    vxlan0    Link encap:Ethernet  HWaddr da:61:56:2e:c2:20
    $

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopython-pygtk: Restore pkg-config file
Gary Thomas [Tue, 28 Oct 2014 15:05:47 +0000 (09:05 -0600)]
python-pygtk: Restore pkg-config file

Some previous version of this recipe was errantly removing the pygtk-2.0.pc
(pkg-config) file.  This is needed for other packages to be able to build
against this library.

Also update the .pc file to match current pkg-config use (libdir was missing).

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopciutils: Fix multilib header conflict - pci/config.h
Ming Liu [Thu, 30 Oct 2014 02:59:18 +0000 (10:59 +0800)]
pciutils: Fix multilib header conflict - pci/config.h

pci/config.h conflicts between 32-bit and 64-bit versions.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopython-2.7.3:remove BOM insertion code
Kai Kang [Wed, 29 Oct 2014 11:16:08 +0000 (19:16 +0800)]
python-2.7.3:remove BOM insertion code

Backport patch from:
https://hg.python.org/cpython/rev/af46a001d5ec

SysLogHandler converts message to utf8 and adds BOM, supposedly
to conform with RFC5424, but the implementation is broken:
the RFC specifies that the BOM should prefix only unstructured
message part, but current Python implementation puts it in the
middle of structured part, thus confusing RFC-compliant receivers.

Signed-off-by: yzhu1 <yanjun.zhu@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoimage_types.bbclass: Make ubi depend on ubifs
Pascal Bach [Mon, 27 Oct 2014 07:42:36 +0000 (08:42 +0100)]
image_types.bbclass: Make ubi depend on ubifs

The ubi command assumes the ubifs file is present.
This makes sure this is really the case.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolicense.bbclass: canonicalise the licenses named with 'X+'
Jackie Huang [Mon, 27 Oct 2014 07:37:41 +0000 (03:37 -0400)]
license.bbclass: canonicalise the licenses named with 'X+'

If INCOMPATIBLE_LICENSE=GPLv3, GPLv3+ should be excluded
as well but not now since there is no SPDXLICENSEMAP for
licenses named with 'X+', we can add all the SPDXLICENSEMAP
settings for licenses named with 'X+' in licenses.conf,
but it's more like a duplication, so improve the canonical_license
function to auto map for 'X+' if SPDXLICENSEMAP for 'X' is
available, so GPLv3+ becomes GPL-3.0+.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocurl: Security Advisory - curl - CVE-2014-3613
Chong Lu [Fri, 24 Oct 2014 08:26:41 +0000 (16:26 +0800)]
curl: Security Advisory - curl - CVE-2014-3613

By not detecting and rejecting domain names for partial literal IP addresses
properly when parsing received HTTP cookies, libcurl can be fooled to both
sending cookies to wrong sites and into allowing arbitrary sites to set cookies
for others.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
10 years agokmod: fix debuginfo is missing in shared library
Chong Lu [Mon, 27 Oct 2014 05:24:23 +0000 (13:24 +0800)]
kmod: fix debuginfo is missing in shared library

INHIBIT_PACKAGE_STRIP variable will make debuginfo lose in shared library.
The test cases of kmod contain kernel modules for many different architectures,
strip and arch gets confused and throws errors. Pack kernel modules in test
cases to avoid strip command failed.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosystemd: don't add files and dependencies from units Conflicts
Ross Burton [Mon, 6 Oct 2014 22:09:15 +0000 (23:09 +0100)]
systemd: don't add files and dependencies from units Conflicts

Adding dependencies and moving files based on Conflicts tags in unit files isn't
right, mainly as it means that systemd depends on systemd-binfmt, because the
latter ends up containing the shutdown.target unit.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackage_manager: Fix BAD_RECOMMENDATIONS for opkg
Paul Barker [Sun, 26 Oct 2014 19:36:22 +0000 (19:36 +0000)]
package_manager: Fix BAD_RECOMMENDATIONS for opkg

In package_manager.py, when using opkg as the packager, the command 'opkg <args>
info <pkg>' is called to get information about each pkg in BAD_RECOMMENDATIONS
in a format that can be written to the status file. The 'Status: ...' line is
modified and all other lines are passed through. Changing the verbosity level
argument for this command will change what it written into the status file.
Crucially, with the default verbosity level, no blank lines are being printed by
the opkg command and so no blank lines are being written to the status file to
separate each package entry.

The package parsing code in opkg expects package entries in the status file to
be separated by at least one blank line. If no blank line is seen, the next
package entry is interpreted as a continuation of the last package entry, but
the new values overwrite the old values.

So with the default verbosity level, a blank line follows some package entries
and these are parsed. The others are dropped due to the lack of blank lines. As
the verbosity increases, more debugging messages add blank lines and more
packages are parsed.

The solution to ensure that this works correctly regardless of the verbosity
level is simply add a blank line after the output of 'opkg info' is written to
the status file, ensuring that the next package is separated from the current
package.

[YOCTO #6816]

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Cc: Chris Carr <chris.carr@ge.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobind: fix to use correct environment file in service file
Chen Qi [Sun, 26 Oct 2014 12:03:44 +0000 (20:03 +0800)]
bind: fix to use correct environment file in service file

Use /etc/default/bind9 as the environment file in named.service.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoudev: fix uevent-helper disable
Johan Hovold [Fri, 24 Oct 2014 15:39:40 +0000 (17:39 +0200)]
udev: fix uevent-helper disable

Make sure that /proc/sys/kernel/hotplug exists before trying to disable
the uevent-helper mechanism.

Since kernel commit 86d56134f1b6 ("kobject: Make support for
uevent_helper optional.") the kernel can be built without uevent-helper
support. In this case /proc/sys/kernel/hotplug does not exist and the
current sysvinit script fails with

/etc/rcS.d/S04udev: line 132: can't create /proc/sys/kernel/hotplug: nonexistent directory

when trying to disable the uevent-helper mechanism during boot.

Note that a single NULL-character has always been sufficient to disable.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoBusyBox: Fixing broadcast address is not fed and rightly initialized
yadi.hu@windriver.com [Fri, 24 Oct 2014 00:33:27 +0000 (08:33 +0800)]
BusyBox: Fixing broadcast address is not fed and rightly initialized

When using udhcpc along with ip command(/sbin/ip), broadcast address is not
assigned. Broadcast address is successfully assigned when using udhcpc without
ip command existence.

with ip command:
    $ifconfig eth0|grep Bcast
          inet addr:128.224.162.141  Bcast:0.0.0.0  Mask:255.255.254.0
    $
without ip command:
    $ifconfig eth0|grep Bcast
          inet addr:128.224.162.141  Bcast:128.224.163.255  Mask:255.255.254.0
    $

/etc/udhcp.d/50default[simple.script] is called to set ip address by dhcp
client, In case of ifconfig, it doesn't care of it's existence because it
will automatically calculate broadcast address then assign it if there is
no broadcast option. However in case of ip command, it requires broadcast
address statically.

Signed-off-by: Hu <yadi.hu@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
10 years agoldconfig-native: fix a endian-ness bug
Shan Hai [Fri, 24 Oct 2014 06:05:36 +0000 (14:05 +0800)]
ldconfig-native: fix a endian-ness bug

Some header fields of ELF were read with wrong size on 64bit
big-endian machine, fix it by reading the fields with read64
instead of read32.

Signed-off-by: Par Olsson <Par.Olsson@windriver.com>
Signed-off-by: Shan Hai <shan.hai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoxinetd: add systemd unit file
Chong Lu [Tue, 9 Sep 2014 05:32:36 +0000 (13:32 +0800)]
xinetd: add systemd unit file

Add systemd unit file for xinetd.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogdb-cross: build with python support
Andreas Müller [Tue, 7 Oct 2014 15:50:30 +0000 (17:50 +0200)]
gdb-cross: build with python support

variable contents are displayed properly when debugging qt applications remotely

see [1] for further details

[1] http://qt-project.org/doc/qtcreator-2.6/creator-debugging-helpers.html#debugging-helpers-based-on-python

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosystemd: don't move libgudev around, it breaks libgudev-1.0.la
Martin Jansa [Sat, 4 Oct 2014 02:27:55 +0000 (04:27 +0200)]
systemd: don't move libgudev around, it breaks libgudev-1.0.la

* libgudev-1.0.la still references /usr/lib and this change was breaking gypsy (detected in navit) and
  network-manager-applet

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agomultilib.bbclass/package_manager.py: fix <multilib>-meta-toolchain build failure
Hongxu Jia [Wed, 15 Oct 2014 12:31:14 +0000 (20:31 +0800)]
multilib.bbclass/package_manager.py: fix <multilib>-meta-toolchain build failure

There is a failure to build lib32-meta-toolchain:
...
|ERROR: lib32-packagegroup-core-standalone-sdk-target not found in the base
feeds (qemux86_64 x86 noarch any all).
...

In package_manager.py, the variable 'DEFAULTTUNE_virtclass-multilib-lib32'
is used to process multilib image/toolchain. But for the build of lib32-
meta-toolchain, the value of 'DEFAULTTUNE_virtclass-multilib-lib32' is
deleted. In 'bitbake lib32-meta-toolchain -e', we got:
...
|# $DEFAULTTUNE_virtclass-multilib-lib32 [2 operations]
|#   set? /home/jiahongxu/yocto/build-20141010-yocto/conf/local.conf:237
|#     "x86"
|#   del data_smart.py:406 [finalize]
|#     ""
|# pre-expansion value:
|#   "None"
...

The commit 899d45b90061eb3cf3e71029072eee42cd80930c in oe-core deleted
it at DataSmart.finalize
...
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Tue May 31 23:52:50 2011 +0100

    bitbake/data_smart: Change overrides behaviour to remove
       expanded variables from the datastore
...

We add an internal variable 'DEFAULTTUNE_ML_<multilib>', assign it with the
value of 'DEFAULTTUNE_virtclass-multilib-lib32' before deleting.

For rpm backend in package_manager.py, we use DEFAULTTUNE_virtclass-multilib
-lib32 first, if it is not available, and try to use DEFAULTTUNE_ML_<multilib>

[YOCTO #6842]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoopkg: fix remove pkg with --force-removal-of-dependent-packages failed
Hongxu Jia [Wed, 8 Oct 2014 12:16:36 +0000 (20:16 +0800)]
opkg: fix remove pkg with --force-removal-of-dependent-packages failed

opkg remove perl --force-removal-of-dependent-packages
...
Removing package perl-module-extutils-mm-dos from root...
...
Removing package perl-module-extutils-mm-dos from root...
You can force removal of packages with failed prerm scripts with the option:
--force-remove
No packages removed.
Collected errors:
 * pkg_run_script: Internal error: perl-module-extutils-mm-dos has a
NULL tmp_unpack_dir.
 * opkg_remove_pkg: not removing package "perl-module-extutils-mm-dos",
prerm script failed
...

While remove pkg with '--force-removal-of-dependent-packages',
pkg may be added to remove list multiple times, add status
check to make sure pkg only be removed once.

[YOCTO #6819]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agotzdata: update to 2014i
Armin Kuster [Wed, 22 Oct 2014 20:29:14 +0000 (13:29 -0700)]
tzdata: update to 2014i

Changes affecting future time stamps

Pacific/Fiji will observe DST from 2014-11-02 02:00 to
2015-01-18 03:00.  (Thanks to Ken Rylander for the heads-up.)
Guess that future years will use a similar pattern.

A new Zone Pacific/Bougainville, for the part of Papua New
Guinea that plans to switch from UTC+10 to UTC+11 on
2014-12-28 at 02:00.  (Thanks to Kiley Walbom for the
heads-up.)

Changes affecting time zone abbreviations

Since Belarus is not changing its clocks even though Moscow
is, the time zone abbreviation in Europe/Minsk is changing
from FET to its more-traditional value MSK on 2014-10-26 at
01:00.  (Thanks to Alexander Bokovoy for the heads-up about
Belarus.)

The new abbreviation IDT stands for the pre-1976 use of UT+8
in Indochina, to distinguish it better from ICT (UT+7).

Changes affecting past time stamps

Many time stamps have been corrected for Asia/Ho_Chi_Minh
before 1976 (thanks to Trần Ngọc Quân for an indirect pointer
to Trần Tiến Bình's authoritative book).  Asia/Ho_Chi_Minh has
been added to zone1970.tab, to give tzselect users in Vietnam
two choices, since north and south Vietnam disagreed after our
1970 cutoff.

Asia/Phnom_Penh and Asia/Vientiane have been turned into
links, as they differed from existing zones only for older
time stamps.  As usual, these changes affect pre-1970 time
stamps only.  Their old contents have been moved to the
'backzone' file. `

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agotzcode: update to 2014i
Armin Kuster [Wed, 22 Oct 2014 20:29:13 +0000 (13:29 -0700)]
tzcode: update to 2014i

Changes affecting code

The time-related library functions now set errno on failure,
and some crashes in the new tzalloc-related library functions
have been fixed.  (Thanks to Christos Zoulas for reporting
most of these problems and for suggesting fixes.)

If USG_COMPAT is defined and the requested time stamp is
standard time, the tz library's localtime and mktime functions
now set the extern variable timezone to a value appropriate
for that time stamp; and similarly for ALTZONE, daylight
saving time, and the altzone variable.  This change is a
companion to the tzname change in 2014h, and is designed to
make timezone and altzone more compatible with tzname.

The tz library's functions now set errno to EOVERFLOW if they
fail because the result cannot be represented.  ctime and
ctime_r now return NULL and set errno when a time stamp is out
of range, rather than having undefined behavior.

Some bugs associated with the new 2014g functions have been
fixed.  This includes a bug that largely incapacitated the new
functions time2posix_z and posix2time_z.  (Thanks to Christos
Zoulas.)  It also includes some uses of uninitialized
variables after tzalloc.  The new code uses the standard type
'ssize_t', which the Makefile now gives porting advice about.

Changes affecting commentary
Updated URLs for NRC Canada (thanks to Matt Johnson and Brian
Inglis).

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agomtd-utils: Fix alignment trap triggered by NEON instructions
Yuanjie Huang [Wed, 22 Oct 2014 08:47:57 +0000 (04:47 -0400)]
mtd-utils: Fix alignment trap triggered by NEON instructions

NEON instruction VLD1.64 was used to copy 64 bits data after type
casting, and they will trigger alignment trap.
This patch uses memcpy to avoid alignment problem.

Signed-off-by: Yuanjie Huang <Yuanjie.Huang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopython3: do not replace ccache in the middle of a path
Roy Li [Wed, 22 Oct 2014 08:35:43 +0000 (16:35 +0800)]
python3: do not replace ccache in the middle of a path

Python recipe did a sed s/ccache/$(CCACHE) on the Makefile, which
replaces all "ccache" including ones that consist of a full path.
This leads to build error when building in a project path with
"ccache" in its name. Fix it by only replacing "ccache " with
"$(CCACHE) ".

Same fix on python 2.xx is:
1181112cf65bc[python: do not replace ccache in the ]

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosubversion: Security Advisory - subversion - CVE-2014-3528
Yue Tao [Wed, 22 Oct 2014 07:37:29 +0000 (03:37 -0400)]
subversion: Security Advisory - subversion - CVE-2014-3528

Apache Subversion 1.0.0 through 1.7.x before 1.7.17 and 1.8.x before
1.8.10 uses an MD5 hash of the URL and authentication realm to store
cached credentials, which makes it easier for remote servers to obtain
the credentials via a crafted authentication realm.

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3528

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>