scm/bb/tizen-distro.git
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>
10 years agolttng-tools: make ptest able to work on target
Roy.Li [Wed, 30 Oct 2013 06:05:06 +0000 (14:05 +0800)]
lttng-tools: make ptest able to work on target

The paths of executable files in test cases are the source code path,
need to fix to make them work on target

(From OE-Core rev: 48067c2093e397255e41b0222da3b7612f1458a7)

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 agoelfutils-native: Update the patch to include the missing pieces needed for tests
Khem Raj [Wed, 30 Oct 2013 04:42:39 +0000 (21:42 -0700)]
elfutils-native: Update the patch to include the missing pieces needed for tests

In the last patch we missed similar update for test/line2addr.c
which meant that the build still failed.

(From OE-Core rev: cb966afe86a5856d846fb0d4fb627cdce2ae0670)

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 agosyslinux.bbclass: Fix default serial port string
Jason Wessel [Wed, 30 Oct 2013 03:04:32 +0000 (22:04 -0500)]
syslinux.bbclass: Fix default serial port string

The default value of SYSLINUX_SERIAL_TTY is not correct.

It should be console=ttyS0,115200 else the boot string generated in
the syslinux menus for the serial choice is not correct.  The kernel
boot parameters will get set to:

/vmlinuz initrd=/initrd LABEL=boot root=/dev/ram0 ttyS0,115200

Note that the above is missing the "console="

The default value will now work the same as the value found in
grub-efi.bbclass.

(From OE-Core rev: fbc864241933c6f40814f47e7a85dd71ce255393)

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 agocross-canadian: Improve comment
Richard Purdie [Thu, 17 Oct 2013 11:35:04 +0000 (11:35 +0000)]
cross-canadian: Improve comment

The previous cross-canadian change was missing some tweaks
to the comments. This clarifies them slightly.

(From OE-Core rev: 154ecc40c289b15fe9cbb33befb20dd10112e788)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotelepathy-glib: upgrade to 0.23.0
Cristian Iorga [Wed, 30 Oct 2013 13:55:04 +0000 (15:55 +0200)]
telepathy-glib: upgrade to 0.23.0

(From OE-Core rev: f8c52949aba97d1b4d8c0f5c9f6d40dc5a857e03)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotelepathy-mission-control: upgrade to 5.16.0
Cristian Iorga [Wed, 30 Oct 2013 08:53:11 +0000 (10:53 +0200)]
telepathy-mission-control: upgrade to 5.16.0

(From OE-Core rev: 6bae01a04a375906731555b997766d41f887b496)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoiproute2: upgrade to 3.11.0
Cristian Iorga [Tue, 29 Oct 2013 17:25:14 +0000 (19:25 +0200)]
iproute2: upgrade to 3.11.0

(From OE-Core rev: 6c2f95c1cce38de2905a69b79f132eb28f0a64f6)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibuser: upgrade to 0.60
Cristian Iorga [Thu, 24 Oct 2013 15:40:13 +0000 (18:40 +0300)]
libuser: upgrade to 0.60

(From OE-Core rev: 2a89bcf6f604b14ccc9aa98c674b6a4632015c52)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsb: add begin function to lsb_log_message
Paul Barrette [Tue, 29 Oct 2013 20:52:04 +0000 (16:52 -0400)]
lsb: add begin function to lsb_log_message

Some init scripts call a "begin" action to log early init phase
messages, e.g. openvswitch-controller.  Add the "begin" function to
lsb_log_message.

(From OE-Core rev: c956290902afd0e4f6d8f545dfe0a55796deec5e)

Signed-off-by: Paul Barrette <paul.barrette@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibx11: upgrade to 1.6.2
Valentin Popa [Tue, 29 Oct 2013 12:50:44 +0000 (14:50 +0200)]
libx11: upgrade to 1.6.2

Adapted X18NCMSstubs.diff to correctly apply.

Tested on core-image-sato (for both libx11 and
libx11-diet)

(From OE-Core rev: 1179a6dc039fc4ce7a540450de55f5a39681370e)

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 agoshared-mime-info: upgrade to 1.2
Valentin Popa [Tue, 29 Oct 2013 13:14:05 +0000 (15:14 +0200)]
shared-mime-info: upgrade to 1.2

Adapted parallelmake.patch to the new Makefile.am.

(From OE-Core rev: 30a3dba92f38b8877954e2c7da0c9c18be420d8a)

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 agoncurses-terminfo: Remove bashism from basic terminfo installation
Seth Bollinger [Sat, 26 Oct 2013 14:23:24 +0000 (09:23 -0500)]
ncurses-terminfo: Remove bashism from basic terminfo installation

The vtX terminfo files aren't being copied on systems where bash isn't
the default shell (debian, etc.).  I removed the bash specific syntax
so the files are properly copied on these systems.

(From OE-Core rev: edd7d53c6149b27d5636a458db91650c8c400612)

Signed-off-by: Seth Bollinger <seth.boll@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: Escape filenames in populate-extfs.sh
Søren Holm [Mon, 28 Oct 2013 23:16:49 +0000 (00:16 +0100)]
e2fsprogs: Escape filenames in populate-extfs.sh

Without this patch filenames containing spaces do not get into the final
ext2/3/4 filsystem.

[YOCTO #5401]

(From OE-Core rev: 1350b461ed0c9d4afa1ab909a5b1ff60fb160c97)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocoreutils: support command arch
Hongxu Jia [Tue, 29 Oct 2013 07:12:17 +0000 (15:12 +0800)]
coreutils: support command arch

The "arch" is removed in util-linux 2.23, but some old
software and devs look for arch:
http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00010.html

Use coreutils version.
[YOCTO #5404]

(From OE-Core rev: 9df8591a6e18afa592673cb454dc699a1341461d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
[sgw: fixed ordering to be alphabetized]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovala.bbclass: add dependency on vala
Joe Slater [Tue, 29 Oct 2013 17:17:04 +0000 (10:17 -0700)]
vala.bbclass: add dependency on vala

This class points the inheritor, if it is a target,
to directories in the target sysroot, so we want to
be sure the .vapi files are there.

(From OE-Core rev: 2da8bbd47686f54efeec521d521f176f6aeb8d39)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocross-canadian: Handle powerpc linux verses linux-gnuspe
Richard Purdie [Thu, 17 Oct 2013 11:22:35 +0000 (12:22 +0100)]
cross-canadian: Handle powerpc linux verses linux-gnuspe

PowerPC toolchains can use the OS "linux" or "linux-gnuspe". This
patch links them together so the one cross-canadian toolchain can support
both.

GCC_FOR_TARGET is set for the GCC recipe as otherwise configure
can pick up an incorrect value.

[YOCTO #5354]

(From OE-Core rev: a1d6331238982b0c5d39b0a18794f6654b00d46a)

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 agosystemd-compat-units: run-postinsts fix script link
Andreas Müller [Wed, 16 Oct 2013 11:27:55 +0000 (13:27 +0200)]
systemd-compat-units: run-postinsts fix script link

in

commit fe039170236080291c0220476a5809774f82ee5c
Author: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Date:   Wed Oct 2 10:55:32 2013 +0000

    systemd-compat-units: Use correct run-postinsts script link

    OE-Core commit 75a14923da1ba91eddde47f0907345c19c82d6f0 has moved
    run-postinsts script execution from S98 to S99 in rcS.d. run-postinsts.service
    should check for this script and run it on first boot rather than
    S98run-postinsts, which is for opkg/dpkg.

the link was corrected but the mentioned commit is not available. Instead of
reverting, we use the same variable as opkg for init script ordering and drop
a note in case somebody wants to change default.

(From OE-Core rev: 7aabc9408fb382f0ae39f9932b6d9ac391528b76)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonfs-utils: modify nfsserver init script indent
Qiang Chen [Tue, 22 Oct 2013 05:14:21 +0000 (13:14 +0800)]
nfs-utils: modify nfsserver init script indent

Using sysvinit testing service status, nfsserver status
allways display as [?] unknown.

This is because sysvinit package check whether service's
init script supporting status function or not by:
grep -qs "\Wstatus)" "$SERVICE"

So, this commit modified the indent for status etc, as
most service's init script does.

(From OE-Core rev: a6b02fe439fa13c8482383fba2bfdcb0e9742141)

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>
10 years agoclasses/ptest: do not set EXCLUDE_FROM_WORLD
Paul Eggleton [Wed, 30 Oct 2013 15:41:42 +0000 (15:41 +0000)]
classes/ptest: do not set EXCLUDE_FROM_WORLD

Various normal recipes that we expect to build during a world build now
inherit this class; it cannot therefore set EXCLUDE_FROM_WORLD.

(From OE-Core rev: 80f29b04b1d0a9357f193085224ccf2bf8f530fa)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/ptest: fix quoting
Paul Eggleton [Wed, 30 Oct 2013 15:41:43 +0000 (15:41 +0000)]
classes/ptest: fix quoting

BitBake currently allows using the same quotes outside and inside the
value, but it isn't really right, looks odd and might stop working in
future.

(From OE-Core rev: 0af9cf31851896276a219170001047406f45de50)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocore-image-basic.bb: Allow user extensions
Gary Thomas [Wed, 30 Oct 2013 16:09:25 +0000 (10:09 -0600)]
core-image-basic.bb: Allow user extensions

Allow the user to provide additional packages to this image.
This lets core-image-basic behave like all other core-image*
recipes (which do support CORE_IMAGE_EXTRA_INSTALL), as well
as match the documentation which suggests this as the mode to
extend any core-image* image.

v2 - drop redundant setting of CORE_IMAGE_EXTRA_INSTALL

(From OE-Core rev: 5faabf398819d40b55c46bc83ae03942d115024b)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes: Remove PR = r0 from all recipes
Richard Purdie [Tue, 29 Oct 2013 11:14:13 +0000 (11:14 +0000)]
recipes: Remove PR = r0 from all recipes

Remove all PR = "r0" from all .bb files in oe-core. This was done
with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i

We've switching to the PR server, PR bumps are no longer needed and
this saves people either accidentally bumping them or forgetting to
remove the lines (r0 is the default anyway).

(From OE-Core rev: 58ae94f1b06d0e6234413dbf9869bde85f154c85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: create package for openssl configuration file
Qiang Chen [Mon, 28 Oct 2013 05:15:54 +0000 (13:15 +0800)]
openssl: create package for openssl configuration file

* Add the openssl-conf package to the list of packages to
  be created.  This package contains the openssl.cnf file
  which is used by both the openssl executable in the
  openssl package and the libcrypto library.

* This is to avoid messages like:
    WARNING: can't open config file: /usr/lib/ssl/openssl.cnf

* When running "openssl req" to request and generate a certificate
  the command will fail without the openssl.cnf file being
  installed on the target system.

* Made this package an RRECOMMENDS for libcrypto since:
* libcrypto is a RDEPENDS for the openssl package
* Users can specify a configuration file at another
      location so it is not stricly required and many
      commands will work without it (with warnings)

(From OE-Core rev: 5c3ec044838e23539f9fe4cc74da4db2e5b59166)

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
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>
10 years agodbus: no messages of status command print
Lu Chong [Tue, 22 Oct 2013 09:40:22 +0000 (17:40 +0800)]
dbus: no messages of status command print

/etc/init.d/dbus-1 use "set -e" to let the script exit when any command failes.
This will cause "/etc/init.d/dbus-1 status" command can't display messages when dbus is stopped.

(From OE-Core rev: 9844b5e2a544b2c2f76aac497c3a2cdfcc46577c)

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 agoattr: upgrade to 2.4.47
Saul Wold [Sun, 27 Oct 2013 01:31:49 +0000 (03:31 +0200)]
attr: upgrade to 2.4.47

Remove the patch that has been integrated upstream

(From OE-Core rev: 39c556756d1af274d7868710ef80663ae8042f97)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognupg: upgrade to 2.0.22
Saul Wold [Sat, 26 Oct 2013 23:00:57 +0000 (02:00 +0300)]
gnupg: upgrade to 2.0.22

(From OE-Core rev: 87800b8941cd96265d2c3dd25c25d0b4fd9a3572)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: upgrade to 1.7.0
Saul Wold [Sat, 26 Oct 2013 22:42:18 +0000 (01:42 +0300)]
cups: upgrade to 1.7.0

Rename and consolidate cups16.inc to cups.inc use PACKAGECONFIG
for pam.

(From OE-Core rev: b749bed86efcdc063d720fa095ffa7a7984cd53c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: Update touchscreen rule for ID_INPUT_TOUCHSCREEN
Tom Rini [Tue, 22 Oct 2013 16:37:10 +0000 (12:37 -0400)]
udev: Update touchscreen rule for ID_INPUT_TOUCHSCREEN

Since udev 174 udev has been running input_id as a built-in command and
setting this value in the environment for touchscreens.  Use this logic
to detect when to make a touchscreen0 symlink.

(From OE-Core rev: 5abcfcd4380aacafc45d776f557738fb18089113)

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconnman: upgrade to 1.19
Cristian Iorga [Tue, 22 Oct 2013 14:10:03 +0000 (17:10 +0300)]
connman: upgrade to 1.19

Improvements:
- On startup keep interfaces already configured
with static IPv4 addresses if there is a
service configuration file containing
the very same static values. If not,
take the interface down and flush
the old configuration as before (Jukka Rissanen).
- Handle FallbackNameservers properly;
use them when no other nameservers have been
configured for a service (Patrik Flykt).

(From OE-Core rev: 2d0840780525e9a911e567f45b764850419d49f3)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcap: fix CAP_LAST_CAP
Roy Li [Wed, 23 Oct 2013 09:05:41 +0000 (17:05 +0800)]
libcap: fix CAP_LAST_CAP

(From OE-Core rev: 9032c10cc882a96acdfd0739f090d121ab625a18)

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 agoglib-2.0: upgrade to 2.38.1
Cristian Iorga [Wed, 23 Oct 2013 16:59:38 +0000 (19:59 +0300)]
glib-2.0: upgrade to 2.38.1

(From OE-Core rev: a738580b108ae11519176e9302913dbd06f0742d)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez5: upgrade to 5.10
Cristian Iorga [Wed, 23 Oct 2013 16:59:39 +0000 (19:59 +0300)]
bluez5: upgrade to 5.10

(From OE-Core rev: d0ebb8382a6799774634252cd615de0787bc6409)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopixbufcache.bbclass: gdk-pixbuf-query-loaders depends on libz
Konrad Scherer [Wed, 23 Oct 2013 18:33:18 +0000 (14:33 -0400)]
pixbufcache.bbclass: gdk-pixbuf-query-loaders depends on libz

ldd sysroots/x86_64-linux/usr/bin/gdk-pixbuf-query-loaders.real
<snip>
libz.so.1 => /sysroots/x86_64-linux/usr/bin/../../usr/lib/libz.so.1 (0x00007fab55393000)

If zlib-native has not been unpacked, host libz is used which can fail.

(From OE-Core rev: 8422c759ae674856aaaee176eab5a395a620443c)

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosudo: upgrade to 1.8.8
Cristiana Voicu [Thu, 24 Oct 2013 08:01:50 +0000 (11:01 +0300)]
sudo: upgrade to 1.8.8

License checksum updated to reflect additional Copyright for
file getopt_long.c, owned by The NetBSD Foundation, Inc

(From OE-Core rev: e78a5cf3af993d87300d6a527fa14ec6ef9ed79a)

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 agocurl: upgrade to 7.33.0
Cristiana Voicu [Thu, 24 Oct 2013 08:01:49 +0000 (11:01 +0300)]
curl: upgrade to 7.33.0

(From OE-Core rev: 5b7ae85d1de82de0e78f7aaec01c5510445ceb21)

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 agoat: upgrade to 3.1.14
Cristiana Voicu [Thu, 24 Oct 2013 08:01:48 +0000 (11:01 +0300)]
at: upgrade to 3.1.14

Removed 2 patches because they were merged upstream

(From OE-Core rev: ff1707449d851a365e686e6d2cbe822631001147)

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 agoopkg: putting the service files into PN
Roy Li [Thu, 24 Oct 2013 09:04:12 +0000 (17:04 +0800)]
opkg: putting the service files into PN

(From OE-Core rev: f0ec7f81c1951211f049c342fd6bd1cad424564a)

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 agoqt4: add upstream QTBUG-34218/QTBUG-34234 misaligned selection patch
Jonathan Liu [Thu, 24 Oct 2013 10:39:52 +0000 (21:39 +1100)]
qt4: add upstream QTBUG-34218/QTBUG-34234 misaligned selection patch

(From OE-Core rev: 3af8f2e0697a9523d3b505ba4c48eca35f6de3a9)

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 agowic: Remove selinux_check()
Tom Zanussi [Thu, 24 Oct 2013 03:49:01 +0000 (22:49 -0500)]
wic: Remove selinux_check()

This seems to be an obsolete check - we don't have any problems with
image creation under selinux, so remove it.

(From OE-Core rev: 12e81eceab9e0a483765566ad3791b14718195b5)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: remove += assignment of a OVERRIDES variable
Ming Liu [Mon, 21 Oct 2013 00:41:34 +0000 (08:41 +0800)]
strace: remove += assignment of a OVERRIDES variable

In some cases, it's unfit to use "+=" in a conditional appending, we would
end up with the variable being set rather than being appended, which is not
it mean to.

(From OE-Core rev: 7eae843aaa4eaa534a2b825949563ca11bd3680c)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>