scm/bb/tizen-distro.git
10 years agosystemd: Upgrade 206 -> 208
Khem Raj [Mon, 11 Nov 2013 05:45:03 +0000 (21:45 -0800)]
systemd: Upgrade 206 -> 208

Remove patches accepted upstream
Forward-port uclibc patches
Create additional packages to bundle zsh support files

(From OE-Core rev: 9131cd014443243dc41c828efdcc8d87b179940d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoelfutils: remove eu-objdump if it does not work
Roy Li [Mon, 11 Nov 2013 07:52:27 +0000 (15:52 +0800)]
elfutils: remove eu-objdump if it does not work

[YOCTO #5283]

eu-objdump does not work on mips, arm and ppc, so remove it from these
unsupported architectures

(From OE-Core rev: abf01e2f36943b5a5c5d2d827186054a51902130)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomklibs: add dependency on dpkg-native
Lei Liu [Mon, 11 Nov 2013 09:27:41 +0000 (17:27 +0800)]
mklibs: add dependency on dpkg-native

mklibs requires the "dpkg-architecture" utility to work.
Add dependency on dpkg-native.

(From OE-Core rev: 9811641e95dd7e1514eb41900e033a0548bd13d8)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage-mklibs: Fix grep pattern when mklibs collects executables in rootfs
Lei Liu [Mon, 11 Nov 2013 09:27:42 +0000 (17:27 +0800)]
image-mklibs: Fix grep pattern when mklibs collects executables in rootfs

File command in some version could print extra space between
"LSB" and "executable" - it causes mklibs can't find any executables
using grep "LSB executable".  Fix the grep pattern to catch
multiple spaces.

(From OE-Core rev: a52ef8c5dcd71f39bb48c71fb868cc0db662560e)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston-init: use /run instead of /var/run
Ross Burton [Mon, 11 Nov 2013 12:21:32 +0000 (12:21 +0000)]
weston-init: use /run instead of /var/run

/var/run is just a symlink to /run now, so use /run directly.

(From OE-Core rev: b6201d2a27639f9d384ba1137096a05f6795797a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: upgrade to 6.4p1
Paul Eggleton [Mon, 11 Nov 2013 13:59:12 +0000 (13:59 +0000)]
openssh: upgrade to 6.4p1

(From OE-Core rev: 19a483c157e783ded40e8dacac338a4d770a2d1a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoethtool: upgrade to 3.12.1
Paul Eggleton [Mon, 11 Nov 2013 13:59:10 +0000 (13:59 +0000)]
ethtool: upgrade to 3.12.1

(From OE-Core rev: 3241f767e08df95f3d839fd50f53e6b88e39e094)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: upgrade to 1.2.9
Paul Eggleton [Mon, 11 Nov 2013 13:59:11 +0000 (13:59 +0000)]
nfs-utils: upgrade to 1.2.9

(From OE-Core rev: 6ded53ea2bfa80bf0a7b4edd460e739123b96c86)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocmake: upgrade to 2.8.12.1
Paul Eggleton [Mon, 11 Nov 2013 13:59:09 +0000 (13:59 +0000)]
cmake: upgrade to 2.8.12.1

(From OE-Core rev: c38fe8e31d5c84e56f18a7c1b4709cc239e579d7)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclutter-gtk-1.0: upgrade to 1.4.4
Ross Burton [Mon, 11 Nov 2013 17:25:23 +0000 (17:25 +0000)]
clutter-gtk-1.0: upgrade to 1.4.4

(From OE-Core rev: 779f5b13dce5b86ce7e6518928b9f53de46eb9bc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofreetype: upgrade to 2.5.0.1
Ross Burton [Mon, 11 Nov 2013 17:25:22 +0000 (17:25 +0000)]
freetype: upgrade to 2.5.0.1

Add disabled-by-default PACKAGECONFIG for pixmap glyphs (floating dependency on
libpng).

(From OE-Core rev: 7cbf6060ac14b0f4d2f038f821ca980be0d46cb0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: add APPEND to dependency list
Ross Burton [Fri, 8 Nov 2013 12:35:02 +0000 (12:35 +0000)]
syslinux: add APPEND to dependency list

Changing APPEND wasn't causing syslinux to re-run, so add a manual dependency.

(From OE-Core rev: 3c2d7ae5d59cb76a838f227c4cb0c64cea0d9e03)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel: Use hardlinks for do_populate_sysroot for speed
Richard Purdie [Fri, 8 Nov 2013 15:18:00 +0000 (15:18 +0000)]
kernel: Use hardlinks for do_populate_sysroot for speed

The kernel tree is large and doesn't need to be copied. Override
the default sysroot handling function to use a hardlink copying
function in python.

This commit also drops the copying of the /lib directory which
just contains the kernel modules. We never use those in the sysroot
so there is little point in carrying those around.

For linux-yocto this takes the do_populate_sysroot time 24s -> 14s.

(From OE-Core rev: 13259459e200a237ca486cbe1123a0b0a4d1eebf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: move more logic to the .inc
Ross Burton [Fri, 8 Nov 2013 16:06:38 +0000 (16:06 +0000)]
glib-2.0: move more logic to the .inc

The .bb was getting larger with configuration being arbitarily split between .bb
and .inc.  To help adding a glib_git recipe, strip the .bb down to SRC_URI.

Also don't remove $libdir/gio as it should be owned by glib.

(From OE-Core rev: 55b950500fd9d944042e3c2b0872685f0a60e8eb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/path: Fixup handling of .* files in top level paths for copyhardlinktree()
Richard Purdie [Fri, 8 Nov 2013 22:13:38 +0000 (22:13 +0000)]
lib/oe/path: Fixup handling of .* files in top level paths for copyhardlinktree()

Files named .* in the top level of directories handled by this function
were getting lost after the directory copying command was fixed. Rather
than complicate the function further, use cpio instead.

(From OE-Core rev: 59612905e9bb865762667aa7b3cb06e53c3a4071)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/path: Fix performance issue got copyhardlinktree()
Richard Purdie [Fri, 8 Nov 2013 15:19:05 +0000 (15:19 +0000)]
lib/oe/path: Fix performance issue got copyhardlinktree()

With the directory copy was added to avoid race issues, it wasn't noticed that
tar was recursing the directories and copying files too. This is completely
crazy when we hardlink those files in the next command.

Resolve the issue by telling tar not to recurse. This gives a significant
performance boost to various parts of the system (do_package for linux-yocto
256s -> 178s for example).

(From OE-Core rev: 8b90ed084d59b4e07aa547255d327b25cfb2ee2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel: Use hardlinks during do_install for speed
Richard Purdie [Fri, 8 Nov 2013 15:17:07 +0000 (15:17 +0000)]
kernel: Use hardlinks during do_install for speed

Whilst the comment says we can't do this, its incorrect, install operates
on WORKDIR and its hard for different parts of WORKDIR to be on different
filesystems. Hardlinking instead of copying is therefore a nice performance
gain.

Also, completely skip the Documentation directory (adding a dummy Makefile
to keep make happy) and tweak the other cp commands to link since if we
don't we'd get "this is the same file" type errors from cp for some kernel
versions.

For do_install on linux-yocto, this takes it from 227s -> 84s.

(From OE-Core rev: 0727e510f8533216518563b1533e804a1dc44402)

(From OE-Core rev: f6e98af6b9f6729bb61f17e3b4203c3c79829205)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokbd: Fix stdarg related errors on uclibc
Khem Raj [Thu, 7 Nov 2013 05:35:00 +0000 (05:35 +0000)]
kbd: Fix stdarg related errors on uclibc

It does not get stdarg.h included indirectly as it happens
on uclibc due to different include chain

(From OE-Core rev: eac8cb7cacab7f2fb392128aa5ebc2046ca4a793)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliburcu: upgrade to 0.8.0
Cristiana Voicu [Thu, 31 Oct 2013 08:17:08 +0000 (08:17 +0000)]
liburcu: upgrade to 0.8.0

Fix case where ${B} != ${S}; add patch to allow out
of tree doc exemples build to work
Add patch to remove CC=gcc when CC is defined, in order to
use the cross compiler.

(From OE-Core rev: 4b2aa17a5c5d2ccf9824a4d2fd71f600b18ba2f2)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: upgrade to 1.14.4
Ross Burton [Thu, 7 Nov 2013 12:06:04 +0000 (12:06 +0000)]
xserver-xorg: upgrade to 1.14.4

The xinerama and dixstruct patches are merged in 1.14.4, so drop them.

Also drop explicit PR statement.

(From OE-Core rev: 60973d0584e2533f0debfcd8e80c5e29beb68e37)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoavahi: fix avahi status command error prompt
Lu Chong [Thu, 7 Nov 2013 12:40:18 +0000 (12:40 +0000)]
avahi: fix avahi status command error prompt

service --status-all command will display wrong status for avahi-daemon.
This commit fix this error prompt and make service display right status
for avahi-daemon.

(From OE-Core rev: a0525f3da109848e4b1989247b07fac411b270ce)

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston-init: start weston on a new VT
Ross Burton [Thu, 7 Nov 2013 11:55:35 +0000 (11:55 +0000)]
weston-init: start weston on a new VT

Weston 1.3 needs to run on a VT, which is typically handled by weston-launch.
Currently weston-init doesn't use weston-launch as that depends on the
(non-default) pam DISTRO_FEATURE, so depend on kbd and use openvt directly.

This also fixes problems caused by the init script blocking until Weston exits,
which meant that later init scripts were not actually running.

(From OE-Core rev: 3726eb29cfa79a4a1fbdbcaa96f770063c482858)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: upgrade to 1.3.0
Ross Burton [Thu, 7 Nov 2013 11:55:34 +0000 (11:55 +0000)]
weston: upgrade to 1.3.0

Remove backported patches that are now integrated.

No need to patch build to install examples with --enable-demo-clients, update
FILES now that all examples are being installed.

Remove cairo-gl option as our cairo doesn't support GL (yet), remove
--disable-android-compositor as it was dropped upstream, and add PACKAGECONFIG
for the VAAPI-based recorder as otherwise it's a floating dependency (libva is
in meta-intel).

Based on work by Ewan Le Bideau-Canevet <Ewan.LEBIDEAU-CANEVET@eurogiciel.fr>.

(From OE-Core rev: 7508b61d1cb869233f3d841183edd6fd19d5102e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowayland: upgrade to 1.3.0
Ross Burton [Thu, 7 Nov 2013 11:55:33 +0000 (11:55 +0000)]
wayland: upgrade to 1.3.0

wayland-scanner now uses pkg-config instead of hard-coding paths, so edit the
script to use pkg-config-native.

Based on work by Ewan Le Bideau-Canevet <Ewan.LEBIDEAU-CANEVET@eurogiciel.fr>.

(From OE-Core rev: 97a3c3bc969ffb7f0c21755c733111d2f4ef8d20)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclutter: upgrade
Ross Burton [Thu, 7 Nov 2013 11:55:32 +0000 (11:55 +0000)]
clutter: upgrade

Delete fix-wayland-deps.patch, it was a backport from upstream.

Delete enable_tests which installed the non-inuititive interactive test suite,
instead install the examples.

(From OE-Core rev: 927a0065c7ce03465125b5b91258c337d2ac7bd2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocogl: upgrade to 1.16.0
Ross Burton [Thu, 7 Nov 2013 11:55:31 +0000 (11:55 +0000)]
cogl: upgrade to 1.16.0

Drop two patches that were backported from upstream.

(From OE-Core rev: 598918602cbd65c6d54a6257cd0952c958a93046)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocross-canadian: Let cross-canadian packages build for uclibc
Khem Raj [Thu, 7 Nov 2013 03:52:25 +0000 (03:52 +0000)]
cross-canadian: Let cross-canadian packages build for uclibc

Fixes errors like

Parsing recipes...ERROR: Building cross-candian powerpc for an unknown
TARGET_SYS (powerpc-angstrom-linux-uclibc), please update
cross-canadian.bbclass
ERROR: Building cross-candian powerpc for an unknown TARGET_SYS
(powerpc-angstrom-linux-uclibc), please update cross-canadian.bbclass

(From OE-Core rev: 7928a9e54dfa85cbfd042e25ed883a9795f09f1b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: HOB: HIG compliant message dialogs
Valentin Popa [Mon, 4 Nov 2013 10:53:12 +0000 (12:53 +0200)]
bitbake: HOB: HIG compliant message dialogs

"More" HIG compliant dialogs for HOB.

(Bitbake rev: a1ccb5e70523be6af7f4bcaabd728af1ddaf6dc5)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: depexp: Improve wording on requirements
Gary Thomas [Thu, 7 Nov 2013 17:04:21 +0000 (10:04 -0700)]
bitbake: depexp: Improve wording on requirements

Since -g is required, tell the user exactly so.

(Bitbake rev: f05f74e98b0dd567a8b0cb85dc8183716619991b)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoorc: version 0.4.18 migrated from meta-oe
Carlos Rafael Giani [Wed, 6 Nov 2013 22:59:43 +0000 (23:59 +0100)]
orc: version 0.4.18 migrated from meta-oe

(From OE-Core rev: 1a4af1bf5952fd2f706fd42fdbfeaf2a09960f4f)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: remove embedspu
Saul Wold [Wed, 6 Nov 2013 21:56:12 +0000 (13:56 -0800)]
binutils: remove embedspu

This is only built for PPC and not needed, so remove it to fix the QA Issue

ERROR: QA Issue: binutils: Files/directories were installed but not shipped
  /usr/bin/embedspu

(From OE-Core rev: 98c2b40b64785db99b4f02765212ff40301d3034)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonspr: Update to 4.10.1
Saul Wold [Mon, 4 Nov 2013 22:39:14 +0000 (14:39 -0800)]
nspr: Update to 4.10.1

Move patch directory files to nspr

(From OE-Core rev: 7227ce313586503c0939d0c916464e623ad9c238)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokbd: upgrade to 2.0.1
Saul Wold [Sat, 2 Nov 2013 10:15:15 +0000 (12:15 +0200)]
kbd: upgrade to 2.0.1

(From OE-Core rev: e1dc714593d3773f27973b4c9cc09495fa00e013)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysvinit: adjust boot sequence and remove hack from udev
Chen Qi [Sat, 2 Nov 2013 05:22:00 +0000 (13:22 +0800)]
sysvinit: adjust boot sequence and remove hack from udev

Adjust the boot sequence in sysvinit based systems.

The mountall.sh (mounting the local file system) needs to be started
before udev and bootlogd.

This patch makes mountall.sh start before udev and removes the hack of
mounting tmpfs in the udev init script.

This patch also adds some comments to the udev init script to make it
clear why we create the '/var/volatile/tmp' directory.

[YOCTO #5273]

(From OE-Core rev: f6a9df6b7cd411b52e71022b8f7bf8bda6395649)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobootlogd: create log file if not present
Chen Qi [Sat, 2 Nov 2013 05:21:59 +0000 (13:21 +0800)]
bootlogd: create log file if not present

Previously, our system had no boot log even if the bootlogd daemon was
started correctly. The root cause is that the log file doesn't exist
when starting the bootlogd.

Add '-c' option to bootlogd so that it will create the boot log if
it doesn't exist.

[YOCTO #5273]

(From OE-Core rev: 6059be3ab60b8ab463d438c47bb17553d184a790)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oeqa/utils: sshcontrol: make timeout depend on output
Stefan Stanacar [Sun, 3 Nov 2013 12:27:16 +0000 (14:27 +0200)]
lib/oeqa/utils: sshcontrol: make timeout depend on output

Instead of running the commands with a fixed timeout,
we should kill the command if there is no output
for timeout seconds.
Also changed some strings/comments.

(From OE-Core rev: beea86fa9637fd629719980e14beea758847b8f3)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/sstatesig: Ensure packagegroups don't continually rebuild
Richard Purdie [Tue, 5 Nov 2013 22:15:22 +0000 (22:15 +0000)]
lib/oe/sstatesig: Ensure packagegroups don't continually rebuild

packagegroups are allarch and shouldn't change depending on the target
or machine selected. In general they should have good stable namespaces
for their dependencies. As such we can exclude them from rebuilding when
dependency checksums change.

(From OE-Core rev: 80b065ff46322ec0cad039dfd9eb2d010168dba6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoppp: Fix compilation errors in Makefile
Lu Chong [Tue, 5 Nov 2013 10:39:26 +0000 (18:39 +0800)]
ppp: Fix compilation errors in Makefile

This patch fixes below issues:

1. Make can't exit while compilation error occurs in subdir for plugins building.

2. If build ppp with newer kernel (3.10.10), it will pick 'if_pppox.h' from sysroot-dir and
   'if_pppol2tp.h' from its own source dir, this cause below build errors:

        bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/if_pppox.h:84:26:
        error: field 'pppol2tp' has incomplete type
          struct pppol2tpin6_addr pppol2tp;
                                  ^
        bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/if_pppox.h:99:28:
        error: field 'pppol2tp' has incomplete type
          struct pppol2tpv3in6_addr pppol2tp;
                                    ^

The 'sysroot-dir/if_pppox.h' enabled ipv6 support but the 'source-dir/if_pppol2tp.h' lost
related structure definitions, we should use both header files from sysroots to fix this
build failure.

(From OE-Core rev: b536824ea64b8d6729b830738bce637fc815e832)

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc_2.17.bb: accept make versions 4.0 and greater
Jonathan Liu [Mon, 4 Nov 2013 06:31:39 +0000 (17:31 +1100)]
eglibc_2.17.bb: accept make versions 4.0 and greater

(From OE-Core rev: a678243d6e4add90c1e9459da42de34d3724db5d)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc_2.18.bb: accept make versions 4.0 and greater
Jonathan Liu [Mon, 4 Nov 2013 06:31:15 +0000 (17:31 +1100)]
eglibc_2.18.bb: accept make versions 4.0 and greater

[YOCTO #5391]

(From OE-Core rev: 1969ff9081d06109b7e8e7f9331f31fcb611c393)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomakedevs: several fixes
Lu Chong [Tue, 5 Nov 2013 11:49:30 +0000 (19:49 +0800)]
makedevs: several fixes

This patch fixes below issues:

1. In makedevs.c file, it lost related functions definition about "-q" and
"--squash" options. So we should remove help information of these options
from makedevs.c to fix this issue.

2. Previously, It returned nothing when makedevs command be executed with
none or invalid option. We hope to print help information and return non-zero
value.

3. If use '-d' option to pick non-existent dir, error messages should be returned.

(From OE-Core rev: 24089364c3d11665c9ac3210c1fa2488017b6b73)

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosqlite3: Add support for column metadata API
Alex J Lennon [Wed, 6 Nov 2013 18:15:39 +0000 (18:15 +0000)]
sqlite3: Add support for column metadata API

I found that Mono.Data.SQlite has a dependency on the column meta-data API, thus enabling this API enables use of Hibernate / Mono with SQLite and no doubt enables other ORMs / utility libraries.

ref: https://bugzilla.xamarin.com/show_bug.cgi?id=6333

The API is present in the used SQLite3 sqlite-autoconf-3080002 source-base. Thus we are enabling pre-existing SQLite support rather than introducing new code.

I am not aware of any issues that enabling this SQLite functionality introduces, other than a slightly increased library size of circa 1.5KB , i.e. coretexa9_vfp_neon i.MX6

- with column meta-data API        610360 libsqlite3.so.0.8.6
- without column meta-data API  608880 libsqlite3.so.0.8.6

(From OE-Core rev: 9fb82ebab552d1808bae3b4898dd05022913165b)

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Drop binutils-symlinks
Peter Seebach [Thu, 10 Oct 2013 19:01:40 +0000 (14:01 -0500)]
binutils: Drop binutils-symlinks

The -symlinks package doesn't really add any value if we're
using update-alternatives. Drop it, leaving a spare RPROVIDES
in case anyone thought they needed it.

(From OE-Core rev: 24093e26f246f222c385dc37a2f8cf8b0f183175)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobinutils: Use alternatives for the binutils-symlinks package.
Peter Seebach [Wed, 9 Oct 2013 00:03:57 +0000 (19:03 -0500)]
binutils: Use alternatives for the binutils-symlinks package.

The ar and strings utilities are provided as alternatives, but
the rest of binutils is being done with binutils-symlinks. This
has the side effect that if you want "as", and you install
binutils-symlinks to get it, you don't get "ar" from it, because
it's not in the symlinks package.

Solution: Use the same mechanisms for everything, putting
everything in ALTERNATIVES, so installing binutils on a target
produces the expected behavior of having the various utilities in place.
(We do this only for class-target, though.)

Issues: The "embedspu" and "ld.gold" binaries may or may not exist,
but the determination of whether to list them as alternatives is
being made before the point at which we can easily check for them,
so that can produce warnings.

(From OE-Core rev: 1395aefcaeac94dd0e6ed3a718b7e58dd43b355e)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-scripts/meta-environment: Further cleanup code duplication
Richard Purdie [Wed, 6 Nov 2013 10:55:55 +0000 (10:55 +0000)]
toolchain-scripts/meta-environment: Further cleanup code duplication

There was still duplicated code in toolchain-scripts, this further cleans
up the functions to remove it. The now unused includedir parameter is also
dropped.

The final scripts do end up reordered slightly and the sysroot is parametrised
for the IDE scripts which is an improvement but should have no functional
difference.

(From OE-Core rev: 1dbd65b4d14319e784a66776c1e9943d0179d3ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_deb/package_ipk: Cleanup control file handling/races
Richard Purdie [Tue, 5 Nov 2013 22:08:56 +0000 (22:08 +0000)]
package_deb/package_ipk: Cleanup control file handling/races

If you Ctrl+C ppackage_write_{deb/ipk} control files can get left lying around
and make it into another packaging format. This ensures we cleanup all known
control files before starting packaging. We can simplify some of the globbing
as a result.

(From OE-Core rev: 7f8c728c82a17621461be2114c1afab3713a808e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_rpm: Remove need for locking
Richard Purdie [Tue, 5 Nov 2013 22:08:04 +0000 (22:08 +0000)]
package_rpm: Remove need for locking

Currently if multiple package tasks are running against a recipe, package_rpm
is restricted to the slowest speed of them due to the locking. This patch
explicitly ignores the opkg/debian artefacts and hence allows a speedup.

It also removes an issue were a Ctrl+C interrupting a deb.ipk packaging task
would end up with CONTROL/DEBIAN files in the spec file resulting in a build
failure.

(From OE-Core rev: 4c3b3a57aa9ced231f5c0340920195c15a26f2b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-scripts: Drop darwin8 code
Richard Purdie [Tue, 5 Nov 2013 22:10:30 +0000 (22:10 +0000)]
toolchain-scripts: Drop darwin8 code

The code was clearly broken and isn't used, even by meta-darwin so we
might as well remove it.

(From OE-Core rev: b9d51bfe0d4821f5de75085ba8af732c46de3328)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-scripts/meta-environment: Merge toolchain_create_sdk_env_script and the...
Richard Purdie [Tue, 5 Nov 2013 22:09:51 +0000 (22:09 +0000)]
toolchain-scripts/meta-environment: Merge toolchain_create_sdk_env_script and the for_installer variant

Having two scripts which do basically the same thing is a nightmare. This merges
them together. It also makes the sysroot location a variable in its own right
which may be more useful for end users wanting to change sysroot.

(From OE-Core rev: 213e0c67e938b802e6bb2246f00b7343a6f77b99)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoextrausers.bbclass: avoid infinite loop
Chen Qi [Wed, 6 Nov 2013 02:50:43 +0000 (10:50 +0800)]
extrausers.bbclass: avoid infinite loop

Avoid infinite loop if the last record in EXTRA_USRES_PARAMS doesn't
end with a semicolon.

It's possible the the users will write configurations like below.

INHERIT += "extrausers"
EXTRA_USERS_PARAMS = "useradd tester; useradd developer"

In such situation, the do_rootfs task will enter an infinite loop.
An infinite loop is never acceptable.

This patch fixes the above problem.

(From OE-Core rev: bf4fb345a9db306fa4c7211b7e6795334a649dd5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: Disable the RUN_DIR check
Saul Wold [Mon, 4 Nov 2013 22:07:40 +0000 (14:07 -0800)]
mdadm: Disable the RUN_DIR check

This check was looking for /run/mdadm on the host system, this check is optional so disable it.

[YOCTO #5447]

(From OE-Core rev: d62882794890eeee8e8d5c9ba4837ec77a58d787)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agozisofs-tools-native: add missing DEPENDS on zlib-native
Paul Eggleton [Tue, 5 Nov 2013 10:15:19 +0000 (10:15 +0000)]
zisofs-tools-native: add missing DEPENDS on zlib-native

zisofs-tools links against zlib.

Fixes [YOCTO #5420].

(From OE-Core rev: 6058a34f4f0d907a3a065a0323ca085df690bd9b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agozisofs-tools-native: fix meta fields
Paul Eggleton [Tue, 5 Nov 2013 10:15:20 +0000 (10:15 +0000)]
zisofs-tools-native: fix meta fields

* Drop redundant DESCRIPTION (same as SUMMARY)
* Set SUMMARY to slightly more descriptive value borrowed from Fedora
* Fix HOMEPAGE URL (repeated http://)

(From OE-Core rev: 0346375152761b2aaa897a546ae9ba2d386d5267)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-pycurl: upgrade to 7.19.0.2
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:17 +0000 (11:25 +0200)]
python-pycurl: upgrade to 7.19.0.2

Refreshed no-static-link.patch to work with this release and changed the
lines/checksum (and the file) where the license can be found.

(From OE-Core rev: beaa98867954898f75c8a0987218a2caffb8daba)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodiffstat: upgrade to 1.58
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:16 +0000 (11:25 +0200)]
diffstat: upgrade to 1.58

Adjusted aclocal.patch to apply correctly.

(From OE-Core rev: f5bf674d0497a094682609b74da018e040f8d150)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxz: upgrade to 5.1.3alpha
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:15 +0000 (11:25 +0200)]
xz: upgrade to 5.1.3alpha

(From OE-Core rev: c93a2f6cb61d7a94249ef6097b3cacac66324fcd)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogit: upgrade to 1.8.4.2
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:14 +0000 (11:25 +0200)]
git: upgrade to 1.8.4.2

(From OE-Core rev: 0288d4337533e32124ff040701d2ef012970e8f2)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxtrans: upgrade to 1.3.0
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:13 +0000 (11:25 +0200)]
xtrans: upgrade to 1.3.0

(From OE-Core rev: 2a69e7cb48e32b2a6077c4d3738d09254463e54a)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-input-keyboard: upgrade to 1.8.0
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:12 +0000 (11:25 +0200)]
xf86-input-keyboard: upgrade to 1.8.0

(From OE-Core rev: 460440c7dc55bb6dcf44509cfd0400a68f469178)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-setuptools: upgrade to 1.1.7
Laurentiu Palcu [Tue, 5 Nov 2013 09:25:11 +0000 (11:25 +0200)]
python-setuptools: upgrade to 1.1.7

(From OE-Core rev: 427e822b0a89d730a1715c37b36b30f26028b0ea)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: fix qemuarm boot and spurious mips build warning
Bruce Ashfield [Tue, 5 Nov 2013 18:47:50 +0000 (13:47 -0500)]
linux-yocto/3.10: fix qemuarm boot and spurious mips build warning

This update fixes two issues:

a) qemuarm boot failure

v3.10.13 picked up a patch for arm versatile interrupt mappings that fixes
the emulator boot out of the box. But it interacts badly with our previous
fix for the issue. Reverting the existing patch and going with the mainline
solution fixes the boot.

b) qemumips build warning and failure

Depending on the build host and compiler, the build of menuconfig throws
an potentially uninitialized variable warning. That warning causes an
error on archs with -Werror. We can do a trivial change to avoid the
warning all together (initilize it to null), and keep everyone happy.

[YOCTO #5460]

(From OE-Core rev: 8d1a041891c87d0c2003c80f84b0501bdc9403a1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: upgrade to 1.6.1
Chris Patterson [Sat, 2 Nov 2013 19:52:13 +0000 (15:52 -0400)]
qemu: upgrade to 1.6.1

This update also drops the following patches which appear to have
been resolved upstream:
- ftd_header.patch
- target-i386-Fix-aflag-logic-for-CODE64-and-the-0x67-.patch
- target-ppc_fix_bit_extraction.patch

Qemu no longer uses the i386.ld and x86_64.ld linker scripts
and the .interp section should now have a 0x1000 size with the
proper path.  Therefore, for nativesdk-qemu, the following
patch should no longer be required and is also dropped:
- relocatable_sdk.patch

(From OE-Core rev: 8e22b08de2745e08421b38f8ba215bcc1de4b423)

Signed-off-by: Chris Patterson <cjp256@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoppp: Add two structures in if_pppol2tp.h
Lu Chong [Sat, 2 Nov 2013 08:30:28 +0000 (16:30 +0800)]
ppp: Add two structures in if_pppol2tp.h

Some further structure definitions are needed in include/linux/if_pppol2tp.h for
IPv6 support, else we would get the error as below:

In file included from plugin.c:53:0:
bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/if_pppox.h:84:26:
error: field 'pppol2tp' has incomplete type
     struct pppol2tpin6_addr pppol2tp;
                   ^
bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/if_pppox.h:99:28:
error: field 'pppol2tp' has incomplete type
  struct pppol2tpv3in6_addr pppol2tp;
                     ^
make[2]: *** [plugin.o] Error 1

(From OE-Core rev: 73d08c4bf12e2cc4f291cb018d00b26a5a573be4)

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc-locale: Does not create {localedir} if the toolchain has no files under it
Roy Li [Fri, 1 Nov 2013 07:03:53 +0000 (15:03 +0800)]
eglibc-locale: Does not create {localedir} if the toolchain has no files under it

This will kill the not shipped Error:
    ERROR: QA Issue: eglibc-locale: Files/directories were installed but not shipped
       /usr/lib/locale

(From OE-Core rev: 168630394b3af47b7a914475865eed17b6a3b1a2)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oeqa: add oeTest superclass
Stefan Stanacar [Fri, 1 Nov 2013 10:37:56 +0000 (12:37 +0200)]
lib/oeqa: add oeTest superclass

Add oeTest superclass, make oeRuntimeTest inherit that and
make the necesarry adjustments. Tests in lib/oeqa/runtime don't
change, they still inherit oeRuntimeTest.
We should do this because oetest.py in the future can be a base module
for more stuff than oeRuntimeTest.

(From OE-Core rev: cd4ed41a070bd52c446ac3df8337f17ab9421145)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoiproute2: de-bash its scripts to remove the bash dependency
Chen Qi [Fri, 1 Nov 2013 08:21:06 +0000 (16:21 +0800)]
iproute2: de-bash its scripts to remove the bash dependency

If we build a minimal image with iproute2 installed, the following
error will appear during rootfs.

error: Can't install iproute2-3.10.0-r0.0@i586: no package provides /bin/bash

The problem is that iproute2 has an implicit dependency on 'bash'.
This dependency is from per-file dependency checking.

Patch two scripts, ifcfg and rtpr, from iproute2 to remove the bash
specific syntax.

[YOCTO #5415]

(From OE-Core rev: 1132c4210eddd59b22b2640935ab0bb8f48c0124)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass: Delay rm_work to run after do_bundle_initramfs
Xufeng Zhang [Fri, 1 Nov 2013 04:25:17 +0000 (12:25 +0800)]
kernel.bbclass: Delay rm_work to run after do_bundle_initramfs

Since kernel will build twice when we are trying to bundle kernel
and initramfs together after commit 609d5a9ab("kernel.bbclass,
image.bbclass: Implement kernel INITRAMFS dependency and bundling"),
thus, the second building for kernel would fail if rm_work is done
previously.

To fix this problem, we need to make do_bundle_initramfs task run
before do_rm_work task.

[YOCTO #5416]

(From OE-Core rev: 8308e22a44a2dea7d1bbfb429b9df9c63714a649)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage.bbclass: Fix split_and_strip_files when file has single quote (')
Felipe F. Tonello [Fri, 1 Nov 2013 03:51:51 +0000 (20:51 -0700)]
package.bbclass: Fix split_and_strip_files when file has single quote (')

Fix false error report when a file that has a single quote by escaping
the single quote. Some packages might install files with quotes, such
as music files and other types, that will cause the problem.

(From OE-Core rev: 212471f81d210e596798db5e5d927418090a63a2)

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodb: Fix build with high PARALLEL_MAKE
Martin Jansa [Thu, 31 Oct 2013 18:59:54 +0000 (19:59 +0100)]
db: Fix build with high PARALLEL_MAKE

* sometimes it fails with:
  libtool: link: `util_log.lo' is not a valid libtool object
  make: *** [db_replicate] Error 1

(From OE-Core rev: 0a1efeb6260a565b6ce3abd523eabb15384570d1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix target package information
Alexandru DAMIAN [Tue, 5 Nov 2013 12:26:46 +0000 (12:26 +0000)]
bitbake: toaster: fix target package information

Toaster needs to record information about packages
installed on a built target image, and dependencies
between these packages.

This patch fixes a bug where the variable from the
server wasn't read correctly leading which caused
the buildhistory to not be processed correctly.

Additionally, two display issues in the package table
were fixed, issues that lead to package information
being displayed incorrectly.

    [YOCTO #5197]

(Bitbake rev: ab4bc18409d80de6d069e3dd76c3c54964fe5764)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: enable required classes in the toaster startup script
Alexandru DAMIAN [Fri, 1 Nov 2013 15:58:35 +0000 (15:58 +0000)]
bitbake: toaster: enable required classes in the toaster startup script

In order to use toaster, now you have to set INHERIT+="toaster buildhistory"
To keep it simple, I've done some changes in order to automate it. When toaster
is started, this line is added to a new file called toaster.conf.

This file is passed to the bitbake server with the --postread parameter.

Based on a patch by Cristiana Voicu <cristiana.voicu@intel.com>

(Bitbake rev: 029e868044989eda370340f8bf4200cfd2670fca)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add variable description for prefixed/suffixed variables
Cristiana Voicu [Fri, 1 Nov 2013 15:58:34 +0000 (15:58 +0000)]
bitbake: toaster: add variable description for prefixed/suffixed variables

In the Configuration table, we need to link prefixed / suffixed
variables to the corresponding variable descriptions in documentation.conf.

[YOCTO #5198]

(Bitbake rev: 641d9c4fda5fe978154fdfab978c3c09e3906eab)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: server shutdown on terminal exit
Alexandru DAMIAN [Fri, 1 Nov 2013 15:58:33 +0000 (15:58 +0000)]
bitbake: toaster: server shutdown on terminal exit

If the terminal where the server was started is closed,
the bitbake server should shutdown. Currently the system
is left in hanging state.

This patch uses "trap" command to make sure the servers
are closed on terminal exit.

[YOCTO #5376]

(Bitbake rev: 5f8b97010f7b465753b6ff6275d18426006ee14b)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix timezone settings
Alexandru DAMIAN [Fri, 1 Nov 2013 15:58:32 +0000 (15:58 +0000)]
bitbake: toaster: fix timezone settings

This patch fixes an issue where, if not defined,
the timezone defaults to 'America/Chicago'.

The solution is to set the timezone to current computer's
timezone.

[YOCTO #5186]

(Bitbake rev: a4102b549f04a9b52cdcd318bf511a18ab48067d)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cooker: do not recreate recipecache in buildfile mode
Alexandru DAMIAN [Fri, 1 Nov 2013 15:58:30 +0000 (15:58 +0000)]
bitbake: cooker: do not recreate recipecache in buildfile mode

When building a single file, the cooker will recreate
the recipecache from scratch.

I suspect this is a remnant of past code, since:
* the current recipecache works fine
* the new recipecache will not have all the fields as
requested by HOB_EXTRA_CACHES setting

This patch disables recreating the recipecache, leading
to shorter times when building single build files
(-b option) and better compatibility with Toaster.

(Bitbake rev: 618d69b00075981b8553513130d7deb1aed61578)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: build, toaster: record proper task type
Alexandru DAMIAN [Fri, 1 Nov 2013 15:58:31 +0000 (15:58 +0000)]
bitbake: build, toaster: record proper task type

Bitbake tasks may be of type 'python' or 'shell',
or they may not be executed at all, which is record
as task type 'noexec'.

In order to record proper task type, this patch:

* creates no exec task type as the default value in
the toaster model definition

* adds full task flags to the bb.build.TaskStarted event
in build.py

* if the task actually starts, the toaster ui will
record the type of the task as either 'python' or 'shell'
based on the task flags.

[YOCTO #5073]
[YOCTO #5075]
[YOCTO #5327]

(Bitbake rev: 6648c57e6d369fc009ea3a9fe939def5d2c67bf5)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cooker: add data to the dependency tree dump
Alexandru DAMIAN [Fri, 1 Nov 2013 15:58:29 +0000 (15:58 +0000)]
bitbake: cooker: add data to the dependency tree dump

Toaster needes to record extra data that needs to
be moved at the time of the dependency tree dump.

This data includes:
* layer priorities for recording in the layer section
* the inherit list for each PN which allows to determine
the type of the PN (regular package, image, etc).

This patch adds this data to the dependency tree dump.

(Bitbake rev: 7636aba37320aaf9b044d3832ddc21af51ccd69c)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fixes for null values from events
Alexandru DAMIAN [Fri, 1 Nov 2013 15:58:28 +0000 (15:58 +0000)]
bitbake: toaster: fixes for null values from events

Some of the data values may come of as None through the event system,
and the UI would encounter a problem saving the Configuration.
It would be trying to save these values as NULL in the
database, which is not allowed.

This patch adds more verification for data coming through
the event system.

Other minor updates:
* update for the event model from toaster.bbclass
* minor code flow fix in the event system

(Bitbake rev: 03fafd086381723c6486522873671515824e49f2)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster: add class to dump toaster-tracked data
Alexandru DAMIAN [Fri, 1 Nov 2013 16:09:44 +0000 (16:09 +0000)]
toaster: add class to dump toaster-tracked data

Adding a new bbclass that will collect and send relevant
data from the task context to the Toaster UI.

This bbclass consists of postfuncs that get executed
right after the main task func, and in the same context.
This allows data gathering in a synchronous manner during
the build, guaranteeing data integrity. This approach also
preserves the task signatures.

The data is moved to the UI through the event system.

There is no performance impact if the class is disabled.

License is MIT.

(From OE-Core rev: 1d2d37d579492b63d20ff8aa890a43b9a1576cf0)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodocumentation.conf: update contents
Belen Barros Pena [Fri, 1 Nov 2013 16:09:43 +0000 (16:09 +0000)]
documentation.conf: update contents

This patch updates descriptions and brings more
info for the variable configurations as documented
in the OE-Core manual.

This file is used by Toaster to display help for
the configuration variables.

(From OE-Core rev: 98405beddb93490c8a2e9903adc2a510969ed6a9)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types: Improve dependency handling between types (and use for sum.jffs2)
Richard Purdie [Tue, 29 Oct 2013 15:26:54 +0000 (15:26 +0000)]
image_types: Improve dependency handling between types (and use for sum.jffs2)

We're seeing a pattern of one image type needing to depend on another
type. A good example is jffs2 and sum.jffs2. This patch makes sum.jffs2
depend on jffs2 which will then allow a EXTRA_IMGAGECMD to be set for
sum.jffs2 individually without changing the jffs2 command. This allows the
-pad option to be configured differently.

(From OE-Core rev: 4a05f4f03b7d710e9e19a97f5d2c35d101e2c648)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: common-pc: add missing dependencies for BRCMSMAC
Bruce Ashfield [Mon, 4 Nov 2013 05:56:26 +0000 (00:56 -0500)]
linux-yocto/3.10: common-pc: add missing dependencies for BRCMSMAC

Updating the meta branch SRCREV to import some configuration updates
for the common-pc-wifi feature:

   CONFIG_WEXT_CORE=y
   CONFIG_WEXT_PROC=y
   CONFIG_CFG80211_WEXT=y

   CONFIG_BCMA=m
   CONFIG_BCMA_HOST_PCI_POSSIBLE=y
   CONFIG_BCMA_HOST_PCI=y
   CONFIG_BCMA_DRIVER_GMAC_CMN=y

   CONFIG_CRC8=m
   CONFIG_CORDIC=m

(From OE-Core rev: cdd8145a7f4abc75c4089a30206c277db2712649)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.8: add crystalforest bsp legacy block drivers configurations
Bruce Ashfield [Mon, 4 Nov 2013 05:56:25 +0000 (00:56 -0500)]
linux-yocto/3.8: add crystalforest bsp legacy block drivers configurations

Updating the meta SRCREV to include the latest crystalforest configuration
updates.

(From OE-Core rev: 9480e5b7231a2923b5ebff9623827c5d90334df3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.10: haswell-wc and crystalforest support
Bruce Ashfield [Mon, 4 Nov 2013 05:56:24 +0000 (00:56 -0500)]
linux-yocto/3.10: haswell-wc and crystalforest support

Updating the 3.10 SRCREVs to add support for the haswell-sc and crystalforest
boards.

(From OE-Core rev: 47ebe8677ac0dc4f8799d0af75f5b7bc611fd882)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto-3.10: bump to 3.10.17 and -rt11
Bruce Ashfield [Mon, 4 Nov 2013 05:56:23 +0000 (00:56 -0500)]
linux-yocto-3.10: bump to 3.10.17 and -rt11

Updating the SRCREVs to reflect the integration of the .17 -stable release
and the preempt-rt up date to -rt11.

(From OE-Core rev: cefa022b814b8b4f9afacecf3bb035d211a0f3bf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: hob: do not display the "Package list may be incomplete!" dialog
Cristiana Voicu [Mon, 28 Oct 2013 13:30:21 +0000 (15:30 +0200)]
bitbake: hob: do not display the "Package list may be incomplete!" dialog

This dialog is not needed. Instead "Edit packages" button should
redirect to Packages list.

[YOCTO #5257]
(Bitbake rev: aa2e86a2ac28414f6d25fcd541a6ed2b50f15a2c)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch/hg: Improve user/password handling
Volker Vogelhuber [Fri, 1 Nov 2013 17:53:09 +0000 (17:53 +0000)]
bitbake: fetch/hg: Improve user/password handling

Trying to use a server with username and password authentication
within the URL of the SRC_URI variable doesn't appear to work.

This patch adds the missing parts to the hg fetcher to make this
work properly.

(Bitbake rev: dc3d6d73e44802c203b3f7247f6f212acc2f69bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: hob: populate error_msg when hob receives a CommandFailed event
Cristiana Voicu [Fri, 1 Nov 2013 09:18:45 +0000 (11:18 +0200)]
bitbake: hob: populate error_msg when hob receives a CommandFailed event

When Hob receives a bb.command.CommandFailed event, it doesn't show any error,
because the error_msg is empty. If so, it is hard to detect the issue, because
Hob continues to run till it blocks because of an information gap.

[YOCTO #5097]
(Bitbake rev: a5abd1826f34e6a7eefa837620b846e9b62ae758)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2/svn.py: use log instead of info to retrieve revision
Nicolas Dechesne [Fri, 1 Nov 2013 00:36:25 +0000 (17:36 -0700)]
bitbake: fetch2/svn.py: use log instead of info to retrieve revision

We have faced a corner case situation where the 'last changed
revision' returned from svn info is wrong. It happens when the last
revision is a directory move. e.g. if we assume that the svn
repository at revA has root/x/y/z/foo/bar and it is moved to
root/a/b/c/foo/bar in revB, then svn info 'last change revision' will
return revA. As such when using AUTOREV, we are going to attempt to
retrieve root/a/b/c/foo/bar (as per SRC_URI) but at revA when it did
not exist.

So this patch changes how we retrieve the latest revision and uses
'svn log --limit 1' which gives correct result in all tested cases.

(Bitbake rev: 17d8ef0b813a05c231e3dbe6e8bc82a4a9b1d2f8)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosgml-common: make postinst run successfully at rootfs time
Chen Qi [Thu, 31 Oct 2013 06:00:12 +0000 (14:00 +0800)]
sgml-common: make postinst run successfully at rootfs time

Take $D into consideration and make postinst run successfully at
rootfs time.

(From OE-Core rev: 0636093711547957a8f5b25322bd3e0da367cfc4)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: fix pkg_postinst and remove unneeded do_install_prepend
Chen Qi [Thu, 31 Oct 2013 06:00:11 +0000 (14:00 +0800)]
groff: fix pkg_postinst and remove unneeded do_install_prepend

Fix to take $D into consideration in pkg_postinst so that the postinst
script could run at rootfs time.

The existence of ${D} is ensured by the in base.bbclass.
    do_install[dirs] = "${D} ${S} ${B}"
So there's no need for this do_install_prepend.

(From OE-Core rev: 4facf4df0bc0d71d11ba53737faff6f2c6e5863b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agojpeg: enable postinst to run at rootfs time successfully
Chen Qi [Thu, 31 Oct 2013 06:00:13 +0000 (14:00 +0800)]
jpeg: enable postinst to run at rootfs time successfully

(From OE-Core rev: 41eda2f5a256f495b788e1ced22e6d19c007e34e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: fix sed auto insert newline testcase
Jackie Huang [Thu, 31 Oct 2013 08:16:28 +0000 (16:16 +0800)]
busybox: fix sed auto insert newline testcase

backport the patch from busybox upstream to fix the
auto insert newline issue.

busybox defect:
https://bugs.busybox.net/show_bug.cgi?id=6584

(From OE-Core rev: db00fa405c025c61844df2e9589fe635fc5df0e2)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: fix typo in local.rules
Saul Wold [Wed, 30 Oct 2013 22:38:44 +0000 (15:38 -0700)]
udev: fix typo in local.rules

(From OE-Core rev: b8e6b73d4ef6aa957bfcae299f754c2dcb702b84)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi.bbclass: Fix startup.nsh to work on more EFI revs
Jason Wessel [Wed, 30 Oct 2013 17:35:17 +0000 (12:35 -0500)]
grub-efi.bbclass: Fix startup.nsh to work on more EFI revs

Some revs of the EFI firmware + shell do not automatically setup the
path in a such a way as to execute a binary without an absolute
reference like "FS0:\EFI\BOOT\bootx64.efi".  All the versions that I
have tested work properly by simply calling the binary which is in the
EFI\BOOT directory by name like "bootx64.efi".

The error you see on the console looks like the following:

startup.nsh> EFI\BOOT\bootx64.efi
'EFI\BOOT\bootx64.efi' is not recognized as an internal or external command, operable program, or batch file
Shell>

This patch simply drops the EFI\BOOT for greater compatibility.

(From OE-Core rev: 754b52ea7a3cdf8e7e939a314525d16c4dfb52cb)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-rc.d.bbclass: Cleanup package scripts
Jacob Kroon [Wed, 30 Oct 2013 00:57:11 +0000 (01:57 +0100)]
update-rc.d.bbclass: Cleanup package scripts

* Add proper preinst script
* Use -n "$D"/-z "$D" checks throughout the scripts
* Only set OPT in cases where its used
* Don't pass unnecessary -f to update-rc.d in postrm script
* Remove outdated comment

(From OE-Core rev: 2d9114aaf130179cb13c20c8b045c2694eca6fd9)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorxvt-unicode: upgrade to 9.19
Cristiana Voicu [Wed, 30 Oct 2013 15:35:50 +0000 (17:35 +0200)]
rxvt-unicode: upgrade to 9.19

(From OE-Core rev: a896ac91109ab3f2a6b8c7253c6da3e3e60203b6)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-efi.bbclass: Fixes GRUB_IMAGE when using boot-directdisk class
Joao Henrique Ferreira de Freitas [Wed, 30 Oct 2013 10:37:42 +0000 (08:37 -0200)]
grub-efi.bbclass: Fixes GRUB_IMAGE when using boot-directdisk class

When boot-directdisk class is used and EFI boot is set the
grub-efi-${TRANSLATED_TARGET_ARCH}-native need to be dependent.
Allowing GRUB_IMAGE to be created and bootia32.efi got from the
image directory.

(From OE-Core rev: b9778975db410b8cd01ef6854c7cd3ea22a0b5b7)

Signed-off-by: Joao Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoMesa: upgrade to 9.2.2
Valentin Popa [Wed, 30 Oct 2013 10:27:39 +0000 (12:27 +0200)]
Mesa: upgrade to 9.2.2

* License is still MIT
* removed patches were already merged or
  another solution was backported.

(From OE-Core rev: 263e654e5d28fa7f6b0c8cc23f57a31448e88a40)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoirda-utils: restart irda daemon correctly
Qiang Chen [Wed, 30 Oct 2013 09:12:29 +0000 (17:12 +0800)]
irda-utils: restart irda daemon correctly

irattach init script restart faulty logic prevents irda daemon
from restart correctly.

root@qemu0:~# /etc/init.d/irattach restart
Restarting IrDA: Terminated
root@qemu0:~# ps aux | grep irattach
root       541  0.0  0.2   2400   612 ttyS0    S+   09:05   0:00 grep irattach

As above shows, irattach not started after executing restart command.
This commit changed the restart command logic: firstly stop, then
start.
Prompt telling user irattach start successfully or failure also
added.

(From OE-Core rev: 39f266138b972b550979909b235a5779828d7d89)

Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>