scm/bb/tizen-distro.git
11 years agoimage.bbclass: Move runtime_mapping_rename to avoid conflict w/ multilib
Mark Hatle [Fri, 9 Aug 2013 23:41:05 +0000 (18:41 -0500)]
image.bbclass: Move runtime_mapping_rename to avoid conflict w/ multilib

[YOCTO #4993]

Move the runtime_mapping_rename into a prefunc for the do_rootfs function.
Otherwise doing it in the python section could occur BEFORE the multilib
classes renaming.

If the package 'b' is a kernel module, then lib32-b and b should both
point to the same package.  The runtime_mapping code will do this
automatically.

Before if you ran: bitbake lib32-<image>

It may do:

start PACKAGE_INSTALL (a b c)
remap  (a b c)
MULTILIB naming (lib32-a lib32-b lib32-c)

What we want is:

start PACKAGE_INSTALL (a b c)
MULTILIB naming (lib32-a lib32-b lib32-c)
remap (lib32-a b lib32-c)

(From OE-Core rev: 836662c9a9c175521dbcd29cdfc0a7c144d8770f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: Enable compatibility with older RPM packages that have invalid platforms
Mark Hatle [Fri, 9 Aug 2013 22:51:30 +0000 (17:51 -0500)]
rpm: Enable compatibility with older RPM packages that have invalid platforms

Some LSB packages appear to have the platform set to '%{_target_platform}'
which is not a valid platform field.  This causes a failure of the type:

warning: package lsb-test-core-4.1.15-1.x86_64 is intended for a %{_target_platform} platform

When we detect an invalid platform, fall back and try to construct a new
platform name that may be valid based on the arch and os contents of the
package.  (This should only ever be needed by invalid or older RPM packages.)

(From OE-Core rev: 6513fa327aeb7e9fdd313290c205917952eed226)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: Change references from RPM_VENDOR_POKY to RPM_VENDOR_OE
Mark Hatle [Fri, 9 Aug 2013 22:51:29 +0000 (17:51 -0500)]
rpm: Change references from RPM_VENDOR_POKY to RPM_VENDOR_OE

Change the #define references to match RPM_VENDOR_OE.

(From OE-Core rev: a84ecc5ad158a7529a904785de25ebfedf5767a7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-dtb.inc: Replace /boot/ with /${KERNEL_IMAGEDEST}/
Mike Looijmans [Fri, 9 Aug 2013 10:53:39 +0000 (12:53 +0200)]
linux-dtb.inc: Replace /boot/ with /${KERNEL_IMAGEDEST}/

Devicetree files were installed hard-coded in /boot. When KERNEL_IMAGEDEST
is anything else but "boot", the postinstall script and the file locations
no longer match and the postinstall will fail.

Replace "boot" with "${KERNEL_IMAGEDEST}" to fix this problem, and to allow
the devicetree files to be installed in another location.

(From OE-Core rev: 0f589b9a38397fdf55025062a45889b19d1c83c4)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrub_0.97: Fix to correctly ship files under /usr/lib
Chen Qi [Fri, 9 Aug 2013 07:12:32 +0000 (15:12 +0800)]
grub_0.97: Fix to correctly ship files under /usr/lib

The grub_fix_for_automake-1.12.patch replaced pkglib with pkgdata to
make grub_0.97 build with automake-1.12. However, it forgot to set up
the pkgdatadir, thus causing grub_0.97 not shipping files under /usr/lib.
This in turn resulted in an unworkable grub.

This patch fixes this problem by setting up the pkgdatadir correctly.

[YOCTO #4997]

(From OE-Core rev: 883b1b396328e6cd67dcb4ca6fd8975b6e716c0a)

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>
11 years agolib/oeqa/runtime: add new systemd tests
Alexandru Palalau [Fri, 9 Aug 2013 07:59:12 +0000 (10:59 +0300)]
lib/oeqa/runtime: add new systemd tests

New systemd runtime tests for enable/disable service, start/stop service and list services.

(From OE-Core rev: 6386dc718f85210c9b6b9f69878ec9a7847b78de)

Signed-off-by: Alexandru Palalau <alexandrux.palalau@intel.com>
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>
11 years agolib/oeqa/runtime: rework syslog test
Stefan Stanacar [Fri, 9 Aug 2013 13:26:40 +0000 (16:26 +0300)]
lib/oeqa/runtime: rework syslog test

Add separate tests for restarting syslog and using logger, and
skip the configuration test for systemd images which always fail
because syslog's systemd service doesn't read a config by default
(see YB#4860).

(From OE-Core rev: c75f3e2385dde44ee96e33f4e5d064894dfb7d52)

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>
11 years agooeqa/utils/qemurunner: get ip old fashioned way and use tcp serial console
Stefan Stanacar [Tue, 13 Aug 2013 14:47:12 +0000 (17:47 +0300)]
oeqa/utils/qemurunner: get ip old fashioned way and use tcp serial console

The way we read data from the serial console was unreliable and blocking (AutoBuilder
seems to hit that often), so change the serial console type from unix socket to tcp
and reverse the connection - don't let qemu act as server (wait for a connection).
So now the serial console is used to save the boot log and make sure that we reached
the login prompt. Until a better way is found this should solve some of the AutoBuilder
failures (one being YB#4904).

Also we need to use the same method as the old qemuimagetest to get the ip
(from the qemu process arguments), because that it's more reliable.
The first version used here was to log into the target and use the output of
"ip addr show eth0" but then systemd decides that it should rename interfaces,
so that was changed to get the ip of the interface that has the default gw,
but if there is no default gw we'll get the loopback ip and we end up trying to
ssh into the host machine (some recent AutoBuilder runs showed that).

Changed in V2:
 - use -ww for ps, as output might get truncated

(From OE-Core rev: 55e78185110937b7e2b143cf1020426d8df58b72)

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>
11 years agoclasses/testimage: create a link for qemu boot log
Stefan Stanacar [Thu, 8 Aug 2013 13:41:11 +0000 (16:41 +0300)]
classes/testimage: create a link for qemu boot log

The full name for the log is confusing when there are multiple files.
Also move the ssh log path stuff where it's needed.

(From OE-Core rev: 1dbef61a0776ec6c9ac9209442bb4c346e706d7d)

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>
11 years agomesa: fix and enable out-of-tree builds
Ross Burton [Fri, 9 Aug 2013 15:32:24 +0000 (16:32 +0100)]
mesa: fix and enable out-of-tree builds

One patch (submitted upstream) for when Gallium is enabled, and another
(inappropriate for upstream) to fix out-of-tree builds with
0003-EGL-Mutate-NativeDisplayType-depending-on-config.

(From OE-Core rev: fbc7092f0ae07538d4363679b1597ba4e556d1a8)

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>
11 years agogst-ffmpeg: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Mon, 5 Aug 2013 17:14:09 +0000 (18:14 +0100)]
gst-ffmpeg: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION will be
defaulted from it.

(From OE-Core rev: 33fc0caa169c8d0c707977e387bda6a23630ee12)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-ffmpeg: enable using yasm during build
Paul Eggleton [Mon, 5 Aug 2013 17:11:35 +0000 (18:11 +0100)]
gst-ffmpeg: enable using yasm during build

A recipe is now available for this, and it should enhance performance on
x86/x86-64.

(From OE-Core rev: 39aab68c1d60cb071bbd0c5d21b94222c89209a3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-ffmpeg: merge in bbappend from meta-oe
Paul Eggleton [Mon, 5 Aug 2013 17:08:23 +0000 (18:08 +0100)]
gst-ffmpeg: merge in bbappend from meta-oe

* Enable external libav for better optimisations/additional bugfixes
  (internal ffmpeg copy is quite old), default enabled but can be
  disabled using PACKAGECONFIG
* Add a PACKAGECONFIG for orc, disabled by default in line with other
  gstreamer recipes
* Bump PR to r7 so the bbappend can be dropped without PR going
  backwards

(From OE-Core rev: aab668fbba25d3e590e4182224b7b064d7705c5b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibav: add from meta-oe, update and tweak
Paul Eggleton [Mon, 5 Aug 2013 16:47:39 +0000 (17:47 +0100)]
libav: add from meta-oe, update and tweak

Changes from the meta-oe recipe:
* Update stable recipe to 0.8.8
* Update git recipe to the tag for 9.8 (for now)
* Switch over to a tarball for the release version recipe
* Add LICENSE_FLAGS = "commercial"
* Set SUMMARY instead of DESCRIPTION
* Add yasm-native to DEPENDS since there is now a recipe for it
* Remove libvpx from DEPENDS and add a PACKAGECONFIG option for it,
  disabled by default since it wasn't actually being enabled
* Add a PACKAGECONFIG option for x11 to enable/disable x11grab, and
  add the proper DEPENDS if so (still defaults to enabled)
* Add a number of other PACKAGECONFIG options, replacing some old
  comments as well as offering the ability to disable x264.
* Hide text relocation warning when building for i586 (PIC can't be
  enabled for 32-bit x86).
* Drop PR

Notes for the git recipe:
* This hasn't been able to be built recently in meta-oe since there was
  a circular dependency between libav and libpostproc. libpostproc is
  part of libav 0.8.x but was split out in 9+ and is not needed at all
  anymore by libav itself, so this dependency was removed.
* Additionally the recipe was filtering out the option to enable
  libpostproc but this option wasn't being added by the inc file and
  thus the filter wasn't doing anything, so I dropped this as well.

(From OE-Core rev: 9a670f780b1f1204d426017ff9a95842ad85800e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agox264: add from meta-oe, update and tweak
Paul Eggleton [Mon, 5 Aug 2013 16:42:58 +0000 (17:42 +0100)]
x264: add from meta-oe, update and tweak

This is required by the default configuration of libav being brought over
from meta-oe. Changes from the meta-oe recipe:

* Update to the latest revision from the stable branch (upstream does
  not seem to provide stable releases.)
* Add LICENSE_FLAGS = "commercial"
* Enable PIC to fix text relocation warnings and disable warning for
  i586 (since PIC can't be used there)
* Make SUMMARY value slightly shorter
* Indent SRC_URI consistently with other recipes in OE-Core

(From OE-Core rev: a3ca077285003fbc04d134e875a58a745271e47f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyasm: add from meta-oe and tweak
Paul Eggleton [Mon, 5 Aug 2013 16:35:18 +0000 (17:35 +0100)]
yasm: add from meta-oe and tweak

This is needed for x264. Enabling it for libav also improves performance
on x86 and x86-64. Two minor changes from the meta-oe recipe:

* Set SUMMARY instead of DESCRIPTION
* Drop setting of S - it was setting it to the same as the default

(From OE-Core rev: 2619c81d6641ef5d4dee58c128a1af140429c248)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocheckroot.sh: respect the value of ENABLE_ROOTFS_FSCK
Chen Qi [Thu, 8 Aug 2013 10:26:47 +0000 (18:26 +0800)]
checkroot.sh: respect the value of ENABLE_ROOTFS_FSCK

Previously, fsck is always disabled because the value of rootcheck in
the checkroot.sh script is always set to 'no'.

We should respect the value of ENABLE_ROOTFS_FSCK in /etc/default/rcS
to allow for filesystem check.

(From OE-Core rev: 5c11cf4db8f43003fb7132b92a78659f70f07ce0)

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>
11 years agobuild-appliance-image: upgrade to ac60aa8cf707eec58e2cb51e7c406250d0b43ef1 commit.
Cristian Iorga [Thu, 8 Aug 2013 19:02:11 +0000 (22:02 +0300)]
build-appliance-image: upgrade to ac60aa8cf707eec58e2cb51e7c406250d0b43ef1 commit.

Fixes [YOCTO #4977].

(From OE-Core rev: b278ec950088b465860b6c7797707fe973973956)

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>
11 years agomkfontscale: upgrade to 1.1.1
Cristiana Voicu [Mon, 5 Aug 2013 10:51:53 +0000 (13:51 +0300)]
mkfontscale: upgrade to 1.1.1

(From OE-Core rev: d3fcee05e0b3a1ecc9f7481fb41c5c5a29cf9abd)

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>
11 years agoed: upgrade to 1.9
Cristiana Voicu [Mon, 5 Aug 2013 11:48:58 +0000 (14:48 +0300)]
ed: upgrade to 1.9

LIC_FILES_CHKSUM changed because some lines were
in addition in main.c file. Those lines are related to exit
status.

(From OE-Core rev: bbd59e73f576a7e89bea6480c81116cee7d8d2e8)

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>
11 years agosystemtap: fix build failure on host system with dyninst installed
Victor Kamensky [Thu, 8 Aug 2013 16:14:29 +0000 (09:14 -0700)]
systemtap: fix build failure on host system with dyninst installed

On host system where dyninst installed (i.e Fedora 18 with SystemTap)
builds fails with the error from do_qa_configure "This autoconf log
indicates errors, it looked at host include and/or library paths
while determining system capabilities." Problematic config.log
indicates inclusion of /usr/include/dyninst/dyntypes.h

Fix for now - disable dyninst in oe builds

(From OE-Core rev: c4d4fb198d56b26661cc2f98ade6a57f60d9c514)

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: remove syslog-startup.conf if sysvinit not in DISTRO_FEATURES
Chen Qi [Wed, 7 Aug 2013 08:43:40 +0000 (16:43 +0800)]
busybox: remove syslog-startup.conf if sysvinit not in DISTRO_FEATURES

sysvinit and systemd have different ideas about configuration files (or
environment files in systemd), so basically we can't use the same one in
both cases.

To avoid confusion, this patch removes syslog-startup.conf if 'sysvinit'
is not in DISTRO_FEATURES.

[YOCTO #4837]
[YOCTO #4860]

(From OE-Core rev: 89f62147a61108b4be40001e1fbe3be33bacf00b)

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>
11 years agoqemu: pass CFLAGS via ./configure instead of a patch
Riku Voipio [Tue, 6 Aug 2013 14:04:53 +0000 (17:04 +0300)]
qemu: pass CFLAGS via ./configure instead of a patch

OE carries a patch to pass CFLAGS to qemu. However, we can avoid
patching by passing CFLAGS with qemu's --extra-cflags option.

Tested that building qemu-native still works without zlib-dev
on host, and that qemu builds.

(From OE-Core rev: 67b6d8d9f987a59090a9a8af61cf740207703dff)

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoseparatebuilddir: add comments
Ross Burton [Tue, 6 Aug 2013 11:23:49 +0000 (12:23 +0100)]
separatebuilddir: add comments

Add a comment explaining the libproxy failure, and note that wpa-supplicant doesn't support B!=S.

(From OE-Core rev: ba9b3465bcd639a78328e9d2540c14cddf53cae5)

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>
11 years agotzdata: upgrade to 2013d
Cristiana Voicu [Mon, 5 Aug 2013 08:28:10 +0000 (11:28 +0300)]
tzdata: upgrade to 2013d

(From OE-Core rev: 1e055f184e7ac62118fe04dfa9860cd7819eaddb)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
[sgw: Fix up tzdata to 2013d]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-fluendo-mpegdemux: upgrade to v0.10.72
Cristian Iorga [Wed, 7 Aug 2013 14:53:48 +0000 (17:53 +0300)]
gst-fluendo-mpegdemux: upgrade to v0.10.72

(From OE-Core rev: b7b114c507166625356645cf719daddd4fac2fea)

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>
11 years agonet-tools: upgrade to v1.60-25
Cristian Iorga [Wed, 7 Aug 2013 14:53:47 +0000 (17:53 +0300)]
net-tools: upgrade to v1.60-25

(From OE-Core rev: 2277b106b947248b06a257a90420d8d69fe522f9)

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>
11 years agosudo: quote BUILD_CC
Kai Kang [Wed, 7 Aug 2013 09:30:13 +0000 (17:30 +0800)]
sudo: quote BUILD_CC

BUILD_CC is assigned to CC when do compile. If BUILD_CC has multi-items
such as "ccache gcc", compilation fails with:

make: *** No rule to make target `gcc'.  Stop.

Double quote BUILD_CC to avoid this error.

(From OE-Core rev: 4f1fcdbea1629ebf506fb0dbd5df71a588f0372b)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobash: reference acl*.m4 from ${S}
Bian Naimeng [Wed, 7 Aug 2013 03:33:19 +0000 (11:33 +0800)]
bash: reference acl*.m4 from ${S}

bash: reference acl*.m4 from ${S}.

The build directory had been moved to ${WORKDIR}/build,
so we should reference acl*.m4 from ${S}.
Otherwise, the following configure error will be caught.

  | cat: aclocal.m4: No such file or directory
  | ERROR: Function failed: do_configure (log file is located at ...)

(From OE-Core rev: b296e7412a45f0c07b4f843784211ef0f66221e6)

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory: use bb.utils.mkdirhier instead of os.makedirs
Martin Jansa [Tue, 6 Aug 2013 22:09:49 +0000 (00:09 +0200)]
buildhistory: use bb.utils.mkdirhier instead of os.makedirs

* Multiple do_fetch[prefunc] can happen at the same time and
  if not os.path.exists(pkghistdir):
    os.makedirs(pkghistdir)
  isn't safe
* Use bb.utils.mkdirhier which doesn't raise error when directory exists

(From OE-Core rev: 9aac194d7db79129dcbed29cfb89c57dccf33729)

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>
11 years agobuildhistory: use package_qa_handle_error for version-going-backwards
Martin Jansa [Tue, 6 Aug 2013 22:08:08 +0000 (00:08 +0200)]
buildhistory: use package_qa_handle_error for version-going-backwards

* this way it's easier for distro to select if such issue should be
  error, warning or ignored and also it gets recorded in qa.log

(From OE-Core rev: 44624853de8c88abdcae2ccd0902b390ff546d4c)

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>
11 years agobitbake: hob: Add missing file from previous commit
Richard Purdie [Mon, 12 Aug 2013 09:22:40 +0000 (10:22 +0100)]
bitbake: hob: Add missing file from previous commit

This should have been part of 'hob: implement the "retrieve image dialog" +
changes to image combo box' but got lost in the merge process. This adds
the missing file.

(Bitbake rev: 0eadcc073f270c0b323955cf7719b77195cf4890)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosubversion: Add patch to use neon 0.30
Saul Wold [Tue, 6 Aug 2013 20:55:28 +0000 (13:55 -0700)]
subversion: Add patch to use neon 0.30

The neon update is not recognized but subversion, so we need to patch the configure.ac
to know about 0.30, otherwise we don't have http/https support in subversion.

(From OE-Core rev: 291ab168fac15eae0e4c9234e16f394b0e1547a0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: depexp: fix typo in variable name
Ross Burton [Mon, 5 Aug 2013 15:39:47 +0000 (15:39 +0000)]
bitbake: depexp: fix typo in variable name

(Bitbake rev: e3b8585738abea96a9fd1d1204731004a35e0bc9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: depexp: insert data instead of append/set, for speed
Ross Burton [Mon, 5 Aug 2013 15:22:11 +0000 (15:22 +0000)]
bitbake: depexp: insert data instead of append/set, for speed

(Bitbake rev: 9f50a841f4929e68333ccf2ace32f5d3ca1e7d0d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: depexp: make parse() a member function
Ross Burton [Mon, 5 Aug 2013 15:16:32 +0000 (15:16 +0000)]
bitbake: depexp: make parse() a member function

(Bitbake rev: e5709f2b5592eb6448c7d10b9aeb7cf3bef4864e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/imageconfigurationpage: changes to image combobox
Cristiana Voicu [Thu, 25 Jul 2013 08:25:29 +0000 (08:25 +0000)]
bitbake: hob/imageconfigurationpage: changes to image combobox

Place the "Create your own image recipe" field to the
end of the image recipes list.

[YOCTO #4193]
(Bitbake rev: 288bbda31164efffd07a370a728a7682db775c08)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/imagedetailspage: add tooltip for save image recipe button
Cristiana Voicu [Thu, 25 Jul 2013 08:24:47 +0000 (08:24 +0000)]
bitbake: hob/imagedetailspage: add tooltip for save image recipe button

[YOCTO #4193]
(Bitbake rev: de3cb77ec7ceb8e0671cf3edfd3713f907d1d0bc)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: set focus on entry name when the name is not correct
Cristiana Voicu [Tue, 16 Jul 2013 14:17:10 +0000 (14:17 +0000)]
bitbake: hob: set focus on entry name when the name is not correct

[YOCTO #4193]
(Bitbake rev: bbae370bc57296723cc87e48d64da79882f1e5b6)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: save packages in IMAGE_INSTALL instead of PACKAGE_INSTALL
Cristiana Voicu [Tue, 16 Jul 2013 13:35:22 +0000 (13:35 +0000)]
bitbake: cooker: save packages in IMAGE_INSTALL instead of PACKAGE_INSTALL

Hob retrieves the list of recipes and packages using the IMAGE_INSTALL
variable, so a custom image should be saved using this variable.
Changed how the image is saved in a bb file

[YOCTO #4193]
(Bitbake rev: edf3f52c05d86d49b71770cdafde583213e2034d)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: implement the "retrieve image dialog" + changes to image combo box
Cristiana Voicu [Tue, 16 Jul 2013 13:33:21 +0000 (13:33 +0000)]
bitbake: hob: implement the "retrieve image dialog" + changes to image combo box

Tha changes related to the image combo box are related to the
action done in the retrieveImageDialog. When the user wants to select
a customize image, but then he cancels the action, the combo box is set to
--select a base image--.
If the user selects an image using the new dialog, a new item with its name
is added to the combo box list and then it is activated.

[YOCTO #4193]
(Bitbake rev: f25322de7e47719b31808397174e5c4f6d8649f2)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: retrieve file name of an image
Cristiana Voicu [Thu, 25 Jul 2013 11:37:51 +0000 (11:37 +0000)]
bitbake: hob: retrieve file name of an image

The entire file name (with the path) is needed to know
if the image is located in the "build" directory or it comes
from layers. According to this information, the image is placed
differently in the combobox.

[YOCTO #4193]
(Bitbake rev: 7d15eccc25b6c96851e4d01401f9f9b7821730b1)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: changes to image combo box
Cristiana Voicu [Thu, 25 Jul 2013 07:50:33 +0000 (07:50 +0000)]
bitbake: hob: changes to image combo box

Added an item for the custom images.
Added a separator in the combo box.

[YOCTO #4193]
(Bitbake rev: 1eed84c11269c25c13bb444871d84c5dfeabcb73)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/bitbake: when an image is saved, it should require an image from layers
Cristiana Voicu [Thu, 25 Jul 2013 07:45:28 +0000 (07:45 +0000)]
bitbake: hob/bitbake: when an image is saved, it should require an image from layers

Saving an image that requires another image will cause issues when
the second on is removed. So, we have agreed to "require" only the images
from layers.
The functionality is implemented in bitbake, in order to be more abstract,
and it is used by Hob when an image recipe is saved.

[YOCTO #4193]
(Bitbake rev: 28296ca78507ba2e414eb136c81afee65a8e25e5)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: the saved image should be editable
Cristiana Voicu [Tue, 16 Jul 2013 13:25:52 +0000 (13:25 +0000)]
bitbake: hob: the saved image should be editable

Also, the image can be saved when the a name is filled.

[YOCTO #4193]
(Bitbake rev: 0edad0ab3ccd165125726d2aa3dfeb19dad246c9)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: change the name and description for the saveimagedialog
Cristiana Voicu [Thu, 25 Jul 2013 07:40:49 +0000 (07:40 +0000)]
bitbake: hob: change the name and description for the saveimagedialog

The image name and description should be saved for a future
save.

[YOCTO #4193]
(Bitbake rev: 6dc0fc243ac6046714523d08df4d8f88c48698cc)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob & bitbake: append a value to a variable from hob throught bitbake
Cristiana Voicu [Mon, 29 Jul 2013 11:44:58 +0000 (11:44 +0000)]
bitbake: hob & bitbake: append a value to a variable from hob throught bitbake

It was necessary to append ${TOPDIR}/recipes/images to BBFILES.
Implemented the mechanism to append a value to a variable: a command and
the method in cooker.

[YOCTO #4193]
(Bitbake rev: 4aedbee90bd92395c2460a68702e6ede00e256c9)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: make changes in order to permit from UI to edit an image after saving it
Cristiana Voicu [Thu, 25 Jul 2013 07:37:34 +0000 (07:37 +0000)]
bitbake: hob: make changes in order to permit from UI to edit an image after saving it

Added the image name to the list model, in order to show the image name as
the user named it.

[YOCTO #4193]
(Bitbake rev: 0aba493103d1fe50026a47db16529febbbbd77a2)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/bitbake: save the description of a custom image
Cristiana Voicu [Mon, 29 Jul 2013 10:02:24 +0000 (10:02 +0000)]
bitbake: hob/bitbake: save the description of a custom image

When an new image is saved, the dialog for this action has
a field for the description. Changed how an image is saved, by
appending the DESCRIPTION variable at the end of the .bb file.

[YOCTO #4193]
(Bitbake rev: 5629007f2b984005e3a8ac5d9b71422cbc2f1409)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/bitbake: create a template (a .bb file) from hob through bitbake
Cristiana Voicu [Mon, 29 Jul 2013 09:55:06 +0000 (09:55 +0000)]
bitbake: hob/bitbake: create a template (a .bb file) from hob through bitbake

Modified generateNewImage function from cooker, in order to be used to
save a template in Hob.
Created a command to ensure that some dirs are created. The templates
(recipes) will be saved in {TOPDIR}/recipes/images folder.
Called these methods from Hob.

[YOCTO #4193]
(Bitbake rev: 96ffa00945c7eb09a0132fa47159aef3ef20fb3e)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: create save image dialog used to save a template
Cristiana Voicu [Thu, 25 Jul 2013 07:25:38 +0000 (07:25 +0000)]
bitbake: hob: create save image dialog used to save a template

Implemented a new dialog used by Hob. This dialog was desinged
in order to permit to save only in a particular directory.
Also, it has a field where the user can type a description
for the image.
Implemented in the handler a method to retrieve the topdir variable,
because the changes will be saved in {topdir}/recipes/images directory.

[YOCTO #4193]
(Bitbake rev: 117d4809a62e28ffe7e9dcda5433993d76f7d934)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: labelling changes in Hob
Cristiana Voicu [Thu, 25 Jul 2013 07:21:06 +0000 (07:21 +0000)]
bitbake: hob: labelling changes in Hob

When the design document for templates in Hob was created, we've noticed
that some labels need to change.

[YOCTO #4193]
(Bitbake rev: fcbadbb73a8a94a3d5e330e1a5fa9550130d2c62)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/packageslist: change image size label to estimated image size
Cristiana Voicu [Tue, 30 Jul 2013 12:00:08 +0000 (12:00 +0000)]
bitbake: hob/packageslist: change image size label to estimated image size

On the "Edit packages list" page, the image size may be computed before
building. We didn't find another way to give a more accurate size, so
we have agreed to inform the user that this an estimated size.

[YOCTO #4388]
(Bitbake rev: 136eda2dcbc32aba4f59783049352dc1375cc945)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob/advancedsettings: change toolchain labels to sdk labels
Cristiana Voicu [Fri, 2 Aug 2013 14:57:55 +0000 (14:57 +0000)]
bitbake: hob/advancedsettings: change toolchain labels to sdk labels

In order to be easier for the user to understand, we have changed the
toolchain labels to sdk.

[YOCTO #3808]
(Bitbake rev: 008afbcf6b1b315eb5463ecfb39fc50e6303687e)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoman-pages: upgrade to 3.53
Saul Wold [Sat, 3 Aug 2013 10:54:52 +0000 (13:54 +0300)]
man-pages: upgrade to 3.53

(From OE-Core rev: 8dbb6fdca32785d91d6380e3722720714f8140e8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: upgrade to 2.23.2
Saul Wold [Sat, 3 Aug 2013 10:10:40 +0000 (13:10 +0300)]
util-linux: upgrade to 2.23.2

(From OE-Core rev: aad043ee25e2cc9f4429cd97d9b5ff274f821068)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomc: upgrade to 4.8.10
Saul Wold [Sat, 3 Aug 2013 08:53:27 +0000 (11:53 +0300)]
mc: upgrade to 4.8.10

(From OE-Core rev: 3f41ed2ecad488c94c16b8717e3f361f039b6a82)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolist-packageconfig-flags.py: add a script to list all PACKAGECONFIG flags
Hongxu Jia [Mon, 5 Aug 2013 11:42:09 +0000 (19:42 +0800)]
list-packageconfig-flags.py: add a script to list all PACKAGECONFIG flags

- This script will list available pkgs which have PACKAGECONFIG flags.
- If option '-f' is used, it will list available PACKAGECONFIG flags
  and all affected pkgs.
- If option '-a' is used, it will list all pkgs and PACKAGECONFIG
  information
- If option '-p' is used, it means list the pkgs with preferred version

EXAMPLE:
list-packageconfig-flags.py
PACKAGE NAME                               PACKAGECONFIG FLAGS
==============================================================
alsa-tools-1.0.26.1                        defaultval gtk+
avahi-ui-0.6.31                            defaultval python
bluez4-4.101                               alsa defaultval pie

list-packageconfig-flags.py -f
PACKAGECONFIG FLAG     PACKAGE NAMES
====================================
3g                     connman-1.16
avahi                  cups-1.6.3  pulseaudio-4.0
beecrypt               rpm-5.4.9  rpm-native-5.4.9

list-packageconfig-flags.py -a
==================================================
gtk+-2.24.18
/home/jiahongxu/yocto/poky/meta/recipes-gnome/gtk+/gtk+_2.24.18.bb
PACKAGECONFIG x11
PACKAGECONFIG[x11] --with-x=yes --with-gdktarget=x11,--with-x=no,${X11DEPENDS}

xf86-video-intel-2.21.9
/home/jiahongxu/yocto/poky/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.21.9.bb
PACKAGECONFIG None
PACKAGECONFIG[xvmc] --enable-xvmc,--disable-xvmc,libxvmc
PACKAGECONFIG[sna] --enable-sna,--disable-sna

[YOCTO #4368]

(From OE-Core rev: 8d9e55e1fb073820c959f1797f3ad5a8932b441b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase.bbclass: Fix PACKAGECONFIG usage comment
Otavio Salvador [Mon, 5 Aug 2013 14:02:43 +0000 (11:02 -0300)]
base.bbclass: Fix PACKAGECONFIG usage comment

(From OE-Core rev: eb54badb971eff34dcbf8c111bf1ab9deae3a149)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: fix typo
Javier Viguera [Mon, 5 Aug 2013 17:08:25 +0000 (19:08 +0200)]
kernel.bbclass: fix typo

(From OE-Core rev: 8e8ea9294078526a4bb3ade54482cf4d2213b497)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocurl: upgrade to 7.31.0
Cristiana Voicu [Mon, 5 Aug 2013 08:28:12 +0000 (11:28 +0300)]
curl: upgrade to 7.31.0

(From OE-Core rev: f4a1257c20d3de9969d4cfe2d5240791d0d22d37)

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>
11 years agoliburcu: upgrade to 0.7.7
Cristiana Voicu [Mon, 5 Aug 2013 08:28:11 +0000 (11:28 +0300)]
liburcu: upgrade to 0.7.7

(From OE-Core rev: ef19932a66ed222007b0943970470da884d8bf64)

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>
11 years agoqt4: add upstream QTBUG-32534 patch for QHttpMultiPart upload corruption
Jonathan Liu [Sat, 3 Aug 2013 07:56:43 +0000 (17:56 +1000)]
qt4: add upstream QTBUG-32534 patch for QHttpMultiPart upload corruption

(From OE-Core rev: 59c02272fe77589e265da6fc3fa3db0c76bcdf52)

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>
11 years agotelepathy-glib: upgrade to v0.20.4
Cristian Iorga [Mon, 5 Aug 2013 09:41:43 +0000 (12:41 +0300)]
telepathy-glib: upgrade to v0.20.4

pkgconfig.patch removed; already integrated in upstream.

(From OE-Core rev: 8e1d380ad30161c358aef22fb8ad7b1d35afa520)

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>
11 years agogstreamer1.0-plugins-ugly: upgrade to v1.0.9
Cristian Iorga [Mon, 5 Aug 2013 08:18:52 +0000 (11:18 +0300)]
gstreamer1.0-plugins-ugly: upgrade to v1.0.9

(From OE-Core rev: af57aefef26a9659ff23abda57a244bc68cc7f9c)

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>
11 years agoneon: upgrade to v0.30.0
Cristian Iorga [Mon, 5 Aug 2013 07:55:41 +0000 (10:55 +0300)]
neon: upgrade to v0.30.0

(From OE-Core rev: 4f689b16bc087cf0c15856a61e2ef3ca3bc24181)

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>
11 years agolibpng: package new tools into a libpng-tools package
Saul Wold [Sun, 4 Aug 2013 22:09:19 +0000 (15:09 -0700)]
libpng: package new tools into a libpng-tools package

These tools are useful for fixing older or corrupted
PNG files.

(From OE-Core rev: b587073c088b31ca9490b82dba4df3e460ca6058)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotexinfo: Fix path to perl for scripts
Saul Wold [Sun, 4 Aug 2013 22:39:02 +0000 (15:39 -0700)]
texinfo: Fix path to perl for scripts

The 2 scripts texti2any and pod2tex referenced the /bin/perl directly, they
shoule be using ${USRBINPATH}/env perl.

(From OE-Core rev: 6c4dda740fb7e05cb35c16db10a87426bc3ae3b3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agooeqa/utils/qemurunner: fix wrong var in message
Stefan Stanacar [Sun, 4 Aug 2013 09:15:40 +0000 (12:15 +0300)]
oeqa/utils/qemurunner: fix wrong var in message

If nothing matches we should print the text not
the match, else we get a nice traceback.

Changed in V2:
 - commit message

(From OE-Core rev: 601738fee3e9b7909b63714ca725576c10eec1e3)

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>
11 years agobtrfs-tools: upgrade to upstream revision.
Yevhen Kyriukha [Sun, 4 Aug 2013 16:00:11 +0000 (19:00 +0300)]
btrfs-tools: upgrade to upstream revision.

Two patches were removed because changes that they provide are already exist.

(From OE-Core rev: 6de68622c0658e1bba509c66c137eb419cdbdabf)

Signed-off-by: Yevhen Kyriukha <kirgene@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: update to 9.1.6
Jonathan Liu [Sat, 3 Aug 2013 09:28:04 +0000 (19:28 +1000)]
mesa: update to 9.1.6

(From OE-Core rev: 7ea8da1f692721ddb6f28088820d159c86c6c61a)

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>
11 years agopackagegroup-core-boot: correct runtime dependencies for non-sysvinit system
Saul Wold [Fri, 2 Aug 2013 01:40:07 +0000 (18:40 -0700)]
packagegroup-core-boot: correct runtime dependencies for non-sysvinit system

hwclock, ifup-down and modutils are all sysvinit scripts that
are available in systemd also.

[YOCTO #4969]

(From OE-Core rev: ad6230c6e33cc76d735319d0f12ff6630655c288)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrub-efi-native: add flex patch to efi-native version also
Saul Wold [Sun, 4 Aug 2013 00:04:00 +0000 (17:04 -0700)]
grub-efi-native: add flex patch to efi-native version also

(From OE-Core rev: 60f845774d62b76c09602df299cef922edfea3c4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapt-native: fix SRC_URI Checksum for update
Saul Wold [Sat, 3 Aug 2013 13:58:25 +0000 (06:58 -0700)]
apt-native: fix SRC_URI Checksum for update

(From OE-Core rev: c07c477ff96358d3b40cc743ec4adf92193bb336)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdk-pixbuf: upgrade to 2.28.2
Ionut Radu [Fri, 2 Aug 2013 12:37:54 +0000 (15:37 +0300)]
gdk-pixbuf: upgrade to 2.28.2

(From OE-Core rev: 18400a147cbc3db608212c966f1b20474a8a5cb8)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogstreamer1.0-plugins-bad: upgrade to v1.0.9
Cristian Iorga [Fri, 2 Aug 2013 15:11:05 +0000 (18:11 +0300)]
gstreamer1.0-plugins-bad: upgrade to v1.0.9

(From OE-Core rev: d0fa44fab723f5082d7ceb9902987abadd676ace)

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>
11 years agogstreamer1.0-libav: upgrade to v1.0.9
Cristian Iorga [Fri, 2 Aug 2013 13:04:58 +0000 (16:04 +0300)]
gstreamer1.0-libav: upgrade to v1.0.9

(From OE-Core rev: 33b904998ea8dfa87cbe11e75d233907282f6dd6)

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>
11 years agogstreamer1.0-plugins-good: upgrade to v1.0.9
Cristian Iorga [Thu, 1 Aug 2013 13:56:53 +0000 (16:56 +0300)]
gstreamer1.0-plugins-good: upgrade to v1.0.9

(From OE-Core rev: 886e4ad191853aa150f48a28ae4b3454b8a4c322)

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>
11 years agogstreamer1.0-plugins-base: upgrade to v1.0.9
Cristian Iorga [Thu, 1 Aug 2013 11:23:55 +0000 (14:23 +0300)]
gstreamer1.0-plugins-base: upgrade to v1.0.9

(From OE-Core rev: d1af596d9c0c8b3d6a0a7da3391a5c8a3d5b10be)

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>
11 years agogstreamer1.0: upgrade to v1.0.9
Cristian Iorga [Thu, 1 Aug 2013 10:40:02 +0000 (13:40 +0300)]
gstreamer1.0: upgrade to v1.0.9

(From OE-Core rev: d2052a78b42a7381a2440060e45bfe80d8fd499c)

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>
11 years agotelepathy-idle: upgrade to v0.1.16
Cristian Iorga [Thu, 1 Aug 2013 08:45:25 +0000 (11:45 +0300)]
telepathy-idle: upgrade to v0.1.16

(From OE-Core rev: b235b9ddeba8bf8d406f4ac172d1e2e383f91a09)

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>
11 years agotelepathy-mission-control: upgrade to v5.15.0
Cristian Iorga [Thu, 1 Aug 2013 08:04:06 +0000 (11:04 +0300)]
telepathy-mission-control: upgrade to v5.15.0

(From OE-Core rev: 5f09a5e077ccbd938877dad026c26f20cab8b0ff)

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>
11 years agolibc-package.bbclass: Add armeb architecture to locale_arch_options
Fathi Boudra [Fri, 2 Aug 2013 09:08:20 +0000 (12:08 +0300)]
libc-package.bbclass: Add armeb architecture to locale_arch_options

Fix gconv build failure on ARM big-endian architecture:
ERROR: locale_arch_options not found for target_arch=armeb
ERROR: Function failed: unknown arch:armeb for locale_arch_options

(From OE-Core rev: a714cdf431635c4a344d3a135a71061e5629eed8)

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory: add a note when committing to buildhistory
Ross Burton [Fri, 2 Aug 2013 12:15:07 +0000 (13:15 +0100)]
buildhistory: add a note when committing to buildhistory

If there's been a lot of changes the commit to buildhistory can take a
significant amount of time, so print a note so there's some indication of
progress.

(From OE-Core rev: ccd911ba8887f5c9a72d5178617c2a3ee73264ff)

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>
11 years agobuildtools-tarball: do not export OECORE_NATIVE_SYSROOT
Chen Qi [Fri, 2 Aug 2013 03:37:08 +0000 (11:37 +0800)]
buildtools-tarball: do not export OECORE_NATIVE_SYSROOT

When building a qemu image inside the environment created by the
buildtools-tarball, the qemu image cannot be started, as the runqemu
script uses the tunctl binary which cannot be found inside the sysroot
directory of the buildtools-tarball.

The buildtools-tarball is inherently a tool set instead of a fully
functional SDK, so leaving the OECORE_NATIVE_SYSROOT variable in the
environment will mess things up.

However, we do need a line of 'OECORE_NATIVE_SYSROOT=xxx' in the environment
setup script so that the SDK can be extracted and relocated correctly.
Thus, instead of exporting OECORE_NATIVE_SYSROOT, we use a comment here.

[YOCTO #4939]

(From OE-Core rev: d4a4c764a844a7e61f866af9361f139684037336)

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>
11 years agoinitramfs-framework: fix bashism
Chen Qi [Fri, 2 Aug 2013 07:48:47 +0000 (15:48 +0800)]
initramfs-framework: fix bashism

(From OE-Core rev: e6039e6e3b98d6ab91252a5012d76279b1fac6e8)

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>
11 years agoxtscal: fix bashism
Chen Qi [Fri, 2 Aug 2013 07:47:58 +0000 (15:47 +0800)]
xtscal: fix bashism

(From OE-Core rev: 53d87253ac53a1ee54843f52c38a116cdcb86f7e)

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>
11 years agoqtdemo-init: fix bashism
Chen Qi [Fri, 2 Aug 2013 07:46:49 +0000 (15:46 +0800)]
qtdemo-init: fix bashism

(From OE-Core rev: 4758e71de8589bc85d317ee6abb187d563771633)

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>
11 years agoscripts/contrib/mkefidisk.sh: fix bashism
Chen Qi [Fri, 2 Aug 2013 06:29:31 +0000 (14:29 +0800)]
scripts/contrib/mkefidisk.sh: fix bashism

Remove the function keyword.

(From OE-Core rev: 0eb9dd29b89449e2b9a10bf57f34c09a8bed40bc)

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>
11 years agogrep: Add patch for texinfo 5.1
Saul Wold [Fri, 2 Aug 2013 01:30:59 +0000 (18:30 -0700)]
grep: Add patch for texinfo 5.1

(From OE-Core rev: bc6258f88705b0e7989089a8666ac5e5d2355823)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.8: Fix meta-fsl-arm iperf build issue
Khem Raj [Thu, 1 Aug 2013 22:07:55 +0000 (15:07 -0700)]
gcc-4.8: Fix meta-fsl-arm iperf build issue

This should fix the problem seen where gcc ICE
was happening when compiling iperf with older 2.6.x
kernel

Test this patch by reverting below commit in meta-fsl-arm

commit daf582c93a7283fb0af3b25fe2ada48f4c9985c4
Author: Otavio Salvador <otavio@ossystems.com.br>
Date:   Tue Jul 2 11:52:51 2013 -0300

    perf: Disable FPU tune for i.MX5 SoCs to workaround GCC ICE

(From OE-Core rev: 8ab1d16b6c6d946b625b6872e5d0f155206f4bad)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
CC: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoofono: Enable test scripts by default
Jukka Rissanen [Thu, 1 Aug 2013 15:01:39 +0000 (18:01 +0300)]
ofono: Enable test scripts by default

oFono test scripts are very useful so enable those by default.

(From OE-Core rev: 79af25c3f45f57c1dd44db2ef4011a3e768badd6)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoofono: Move bluetooth enabling to .inc file
Jukka Rissanen [Thu, 1 Aug 2013 15:01:38 +0000 (18:01 +0300)]
ofono: Move bluetooth enabling to .inc file

Moving the bluetooth enabling to ofono.inc from .bb file as
it makes more sense to have bluetooth always checked.

(From OE-Core rev: c7d27f4626f6763ec348c390cc907f30c102f96d)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoofono: Add systemd support
Jukka Rissanen [Thu, 1 Aug 2013 15:01:37 +0000 (18:01 +0300)]
ofono: Add systemd support

(From OE-Core rev: 1fb3560749a750884eafabc2d0b1cfb7fa56308a)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrub: disable floating ncurses dependency for GPLv2 version
Paul Eggleton [Thu, 1 Aug 2013 17:17:59 +0000 (18:17 +0100)]
grub: disable floating ncurses dependency for GPLv2 version

A dependency was being added on ncurses conditionally upon whether it
had been built first. Explicitly disable this dependency to stop this
from happening.

Note that grub 2.x does not need this same fix because there ncurses is only
used when building grub-emu, which is only built when the specified
target platform is "emu" which we do not use.

(From OE-Core rev: 2ca75dd0718ec37d7f131b8bcd841de6e876bd07)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/sanity: fix some grammatical errors in messages
Paul Eggleton [Thu, 1 Aug 2013 17:17:17 +0000 (18:17 +0100)]
classes/sanity: fix some grammatical errors in messages

(From OE-Core rev: e2cccd73e480318461641d8bc26d538178ff628a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/sanity: check for suid root command evility
Paul Eggleton [Thu, 1 Aug 2013 17:17:16 +0000 (18:17 +0100)]
classes/sanity: check for suid root command evility

Some users have been found to have an unnamed third-party piece of
software installed which sets chmod, chown and mknod as suid root as
part of its installation process. This interferes with the operation of
pseudo and can result in files really being owned by root within the
build output, and therefore breaks the build, apart from being a
security issue. Check for this and bail out if it is found.

Reported-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(From OE-Core rev: 08d61529f3c7a48ec82e1f8c9c28c7b2e5238934)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: inherit gettext
Martin Jansa [Thu, 1 Aug 2013 16:26:17 +0000 (18:26 +0200)]
mesa: inherit gettext

* build in clean tmpdir fails with:
  | make[6]: Entering directory `/OE/mesa/2_9.1.3-r9.0/git/src/mesa/drivers/dri/common/xmlpool'
  | Updating (de) de/LC_MESSAGES/options.mo from de.po.
  | Updating (es) es/LC_MESSAGES/options.mo from es.po.
  | Updating (nl) nl/LC_MESSAGES/options.mo from nl.po.
  | Updating (fr) fr/LC_MESSAGES/options.mo from fr.po.
  | /bin/bash: line 4: msgfmt: command not found
  | make[6]: *** [de/LC_MESSAGES/options.mo] Error 127
  | Updating (sv) sv/LC_MESSAGES/options.mo from sv.po.
  | make[6]: *** Waiting for unfinished jobs....
  | /bin/bash: line 4: msgfmt: command not found
  | make[6]: *** [es/LC_MESSAGES/options.mo] Error 127
  | /bin/bash: line 4: msgfmt: command not found
  | make[6]: *** [nl/LC_MESSAGES/options.mo] Error 127
  | /bin/bash: line 4: msgfmt: command not found
  | /bin/bash: line 4: msgfmt: command not found
  | make[6]: *** [fr/LC_MESSAGES/options.mo] Error 127
  | make[6]: *** [sv/LC_MESSAGES/options.mo] Error 127
  | make[6]: Leaving directory `/OE/mesa/2_9.1.3-r9.0/git/src/mesa/drivers/dri/common/xmlpool'

(From OE-Core rev: c30c8820828ea5a7ed99d58a9b400eeee916bf72)

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>
11 years agooe-find-native-sysroot: minor optimization
Joe MacDonald [Thu, 1 Aug 2013 14:29:19 +0000 (10:29 -0400)]
oe-find-native-sysroot: minor optimization

The middle 'cut' in OECORE_NATIVE_SYSROOT isn't doing anything useful, so
remove it from the pipeline.

(From OE-Core rev: 94495c5a11d31e258a42cabb5ca1487421fe5495)

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-tools-testapps: isolate x11 dependent tools
Rogerio Nunes [Wed, 31 Jul 2013 21:15:15 +0000 (17:15 -0400)]
packagegroup-core-tools-testapps: isolate x11 dependent tools

This patch groups x11 dependent tools in a separete variable,
and when DISTRO_FEATURES does not contain x11, this group is
not included in the package RDEPENDS.

(From OE-Core rev: 8253abeee10189b828336b791c3421d240a2e69b)

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>