scm/bb/tizen-distro.git
10 years agorunqemu-internal: fix to start X correctly in live images
Chen Qi [Tue, 23 Jul 2013 02:58:04 +0000 (10:58 +0800)]
runqemu-internal: fix to start X correctly in live images

The QEMUOPTIONS for ISOFS was not complete, leading to failures when
trying to start X in live images.

This patch fixes this problem.

[YOCTO #4103]
[YOCTO #4884]

(From OE-Core rev: 08947869917dc5a9dfff05b0ee19279f60cf6d2b)

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 agopopulate-volatile.sh: don't spawn background process at rootfs time
Chen Qi [Sat, 27 Jul 2013 14:21:57 +0000 (22:21 +0800)]
populate-volatile.sh: don't spawn background process at rootfs time

If we're building a read-only rootfs, we'll get the following error now
and then.

    tar: .: file changed as we read it

The root cause is that we spawn background process at rootfs time.
When the tar command is running, it's possible that files under rootfs
are changed by background processes, thus this error.

[YOCTO #4937]

(From OE-Core rev: 4bd419f95868d5b8707a45cee5f6c5c6a840a65b)

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 agopopulate-volatile.sh: use $ROOT_DIR/var/volatile/tmp as TMPDIR
Chen Qi [Tue, 23 Jul 2013 02:56:33 +0000 (10:56 +0800)]
populate-volatile.sh: use $ROOT_DIR/var/volatile/tmp as TMPDIR

It's possible that a 'No such directory' error occurs when doing
check_requirement in populate-volatile.sh at rootfs time. This is
because the $ROOT_DIR/var/tmp might be a dead link.

Use $ROOT_DIR/var/volatile/tmp as the TMPDIR instead to avoid this
error.

[YOCTO #4883]
[YOCTO #4103]

(From OE-Core rev: 7c2c36a97bab46c73a3a1fb743ad3ec67a4c072e)

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 agoudev: remove implicit dependency on initscripts
Chen Qi [Tue, 23 Jul 2013 02:55:20 +0000 (10:55 +0800)]
udev: remove implicit dependency on initscripts

At some point, the udev was modified to source the functions from
initscripts or lsbinitscripts. This dependency is actually not needed.
If we use udev in a system where initscripts from oe-core is not available,
there will be errors.

This patch fixes this problem by removing the implicit dependency.

[YOCTO #4882]
[YOCTO #4103]

(From OE-Core rev: 72d6825c24f4c3e4a7a907cf0a09e2e8f7720ae8)

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 agoinit-live.sh: make $ROOT_MOUNT/media writable when necessary
Chen Qi [Mon, 29 Jul 2013 02:05:04 +0000 (10:05 +0800)]
init-live.sh: make $ROOT_MOUNT/media writable when necessary

If the live image is mounted as read-only, we cannot make necessary
directories under $ROOT_MOUNT/media, so trying to move the mount points
lead to errors.

So in case that no unification filesystem mechanism is available in kernel
and the rootfs is mounted as read-only, we mount tmpfs on $ROOT_MOUNT/media
so that it's possible to make necessary directories under it.

[YOCTO #4881]
[YOCTO #4103]

(From OE-Core rev: aeeb3418ff08dfd29edc0ce8a41cb6887d4e11fe)

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 agodevice_table-minimal.txt: use user/group names instead of uid/gid
Chen Qi [Tue, 13 Aug 2013 06:11:51 +0000 (14:11 +0800)]
device_table-minimal.txt: use user/group names instead of uid/gid

Instead of hard coding the uid/gid, we prefer the way of using user/group
names.

Note the way of using uid/gid is still supported.

[YOCTO #1159]

(From OE-Core rev: c5ef0294a9b8d178896a47c9f5d6e3dd6797e343)

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 agoimage.bbclass: create device table after package installation
Chen Qi [Tue, 13 Aug 2013 06:11:50 +0000 (14:11 +0800)]
image.bbclass: create device table after package installation

Now that the makedevs supports using user/group names in the devcie
table files, and it uses passwd and group files under the rootfs which
is provided by the base-passwd package, we should let package installation
finish first, so that makedevs can get a correct mapping from user/group
names to uid/gid.

The check for existence of ${IMAGE_ROOTFS}/dev is removed. This is because
do_rootfs doesn't have 'nostamp' flag any more, so the do_rootfs task will
not be rerun for every build. Checking for the existence of ${IMAGE_ROOTFS}/dev
is not necessary any more. Besides, as base-files package also installs the
/dev directory, this checking does not serve as a good criteria.

[YOCTO #1159]

(From OE-Core rev: d073ca77ba886c7912abd3ec0640881c00aea3bb)

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 agomakedevs: support using user/group names in device table files
Chen Qi [Tue, 13 Aug 2013 06:11:49 +0000 (14:11 +0800)]
makedevs: support using user/group names in device table files

Compared to hard coding the numeric group and user ids in the device
table files, the way of using user/group names is preferred.

This patch adds the ability to makedevs to correctly deal with device
table files with user/group names in them.

To maintain backward compatibility, the way of using uid/gid is still
supported.

[YOCTO #1159]

(From OE-Core rev: 1fcf718e3a1e50446ab61972069566e5016bc625)

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 agowipe-sysroots: don't assume TMPDIR is under BUILDDIR
Ross Burton [Wed, 14 Aug 2013 14:13:44 +0000 (15:13 +0100)]
wipe-sysroots: don't assume TMPDIR is under BUILDDIR

The previous code used the environment variable BUILDDIR and assumed that TMPDIR
was a subdirectory. This often isn't the case, so instead ask bitbake where the
directories we're about to delete are.

(From OE-Core rev: 29491a72acac81ebb7e9ecfbc9392fbeb9a7ea26)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu, default-providers: Add mesa as default virtual/egl
Martin Jansa [Wed, 14 Aug 2013 12:49:04 +0000 (14:49 +0200)]
qemu, default-providers: Add mesa as default virtual/egl

* it's safer to select it consistently with virtual/libgl* providers

(From OE-Core rev: d9321da1bf01175a9e3721607df31055e3765bc6)

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 agocmake.bbclass: Don't use packages from the native build machine
Stefan Herbrechtsmeier [Wed, 14 Aug 2013 08:47:44 +0000 (10:47 +0200)]
cmake.bbclass: Don't use packages from the native build machine

(From OE-Core rev: 044037d8add3556a90ac4da5991e1e5975d62e25)

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomatchbox-wm: fix icon handling on 64-bit hosts
Ross Burton [Wed, 14 Aug 2013 11:40:12 +0000 (12:40 +0100)]
matchbox-wm: fix icon handling on 64-bit hosts

Xlib has a historical quirk where 32-bit values are returned in longs (but
always hidden through a cast).  On 32-bit machines this doesn't matter but on
64-bit this leads to problems.  Bump SRCREV to integrate a fix from upstream.

Also, drop the conditional configure_fix.patch, it was integrated long ago.

[ YOCTO #4917 ]

(From OE-Core rev: 09c609afbfb6e9a2504166d0fe8c7ae3d8ae9ebd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibmatchbox: upgrade to 1.11
Ross Burton [Wed, 14 Aug 2013 11:40:11 +0000 (12:40 +0100)]
libmatchbox: upgrade to 1.11

Remove check.m4 as libmatchbox uses the check.pc instead of a m4 file now.

(From OE-Core rev: 4f51bf23346947cd47e7ac9e1290e799f3c20708)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxrestop: add dependency on ncurses
Martin Jansa [Wed, 14 Aug 2013 11:13:54 +0000 (13:13 +0200)]
xrestop: add dependency on ncurses

* fails without it
  | xrestop.c:50:20: fatal error: curses.h: No such file or directory
  |  #include <curses.h>
  |                     ^
  | compilation terminated.

(From OE-Core rev: c709fcd7e5f81707ece5f7d085c8c43eed165f7e)

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 agoxeyes: add dependency on libxrender
Martin Jansa [Wed, 14 Aug 2013 11:13:53 +0000 (13:13 +0200)]
xeyes: add dependency on libxrender

* fails without:
  | configure:10604: error: Package requirements (xrender >= 0.4) were not met:
  | No package 'xrender' found

(From OE-Core rev: ceb69dce2cff26153c6e17614a934b9fa8f9f2a5)

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 agogst-plugins-gl: add dependency on glew
Martin Jansa [Wed, 14 Aug 2013 11:18:45 +0000 (13:18 +0200)]
gst-plugins-gl: add dependency on glew

* fails without:
  | ./gstglshader.h:30:21: fatal error: GL/glew.h: No such file or directory

(From OE-Core rev: a3c58aaeb84c711431e78458afabed2f7054d937)

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 agoat-spi2-core: add intltool-native dependency
Martin Jansa [Wed, 14 Aug 2013 11:13:51 +0000 (13:13 +0200)]
at-spi2-core: add intltool-native dependency

* configure fails without it
  at-spi2-core/2.8.0-r0/temp/run.do_configure.372: intltoolize: not found

(From OE-Core rev: 483abbe91c1320d6c6e3e7a5824de80e427aa50e)

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 agonfs-utils: Replace spaces with tabs in shell function
Muhammad Shakeel [Tue, 13 Aug 2013 06:52:38 +0000 (11:52 +0500)]
nfs-utils: Replace spaces with tabs in shell function

As per OE-Core convention, indentation should be TAB for shell.

(From OE-Core rev: 91b6d2cf08c5c6ad58f0f9a85a3536a9034342b8)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpcbind: Replace spaces with tabs in shell function
Muhammad Shakeel [Tue, 13 Aug 2013 06:52:37 +0000 (11:52 +0500)]
rpcbind: Replace spaces with tabs in shell function

As per OE-Core convention, indentation should be TAB for shell.

(From OE-Core rev: a92376f2daf10baf45d99a3de9502b52cbce8b7e)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolighttpd: Replace spaces with tabs in shell function
Muhammad Shakeel [Tue, 13 Aug 2013 06:52:36 +0000 (11:52 +0500)]
lighttpd: Replace spaces with tabs in shell function

As per OE-Core convention, indentation should be TAB for shell.

(From OE-Core rev: d73a0d00554cc197d2eb7e95432252af267d7bca)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg.inc: remove the obsolete POSTLOG variable
Chen Qi [Tue, 13 Aug 2013 07:34:00 +0000 (15:34 +0800)]
opkg.inc: remove the obsolete POSTLOG variable

With the current implementation of postinst logging mechanism, the
location for log file is configured via the POSTINST_LOGFILE variable.

The POSTLOG variable is obsolete now, thus removing it.

(From OE-Core rev: 6aaf2d5c51eb4ee6acbb85fd4aa5f44406907bc2)

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 agocogl: GL/GLX feature cleanup
Ross Burton [Tue, 13 Aug 2013 09:45:16 +0000 (10:45 +0100)]
cogl: GL/GLX feature cleanup

Separate GL and GLX flags don't make sense, as on Linux GL means GLX and GLX
means GL.

So, default to GLESv2 and GLX if X11 is enabled.  EGL on X11 doesn't have
feature parity yet so leave it disabled by default.

(From OE-Core rev: e5f8f6c6191505d731c4672353e811d6729d424a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-dtb: Use kernel build system to generate the dtb files
Otavio Salvador [Tue, 13 Aug 2013 13:52:35 +0000 (10:52 -0300)]
linux-dtb: Use kernel build system to generate the dtb files

As the Linux kernel, unconditionally, builds the dtc application and
it is the compatible version with the DeviceTree files shipped within
the kernel it is better to use it and the kernel build system to
generate the dtb files.

Some DeviceTree files rely on CPP and kernel headers to be able to
generate the dtb binary contents and it is harder to replicate it
outside of Linux kernel build system so we /use/ it.

To comply with these assumptions we need to use the dtb file when
calling 'make' instead of pointing to the DeviceTree source file; the
code has been made backward compatible but it is advised to move to
the new definition to avoid warnings as:

,----[ Original definition ]
| KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6q-sabresd.dts"
`----

Becomes:

,----[ New definition ]
| KERNEL_DEVICETREE = "imx6q-sabresd.dtb"
`----

(From OE-Core rev: 72980d5bb465f0640ed451d1ebb9c5d2a210ad0c)

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>
10 years agosystemtap: upgrade to 2.3
Cristiana Voicu [Tue, 13 Aug 2013 07:39:26 +0000 (10:39 +0300)]
systemtap: upgrade to 2.3

Disabled javac and jar.

(From OE-Core rev: 0308bf2619734f07814f55c0adae17937f77afbd)

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 agometa-skeleton: layer.conf Should also have .bbappend in example
Saul Wold [Tue, 13 Aug 2013 15:32:49 +0000 (08:32 -0700)]
meta-skeleton: layer.conf Should also have .bbappend in example

This will allow for an example recipe with a .bbappend, such as
busybox or kernel configure fragments.

(From OE-Core rev: 2a2a2540b37880cdd866f01d8e4077cbd0378749)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa-skeleton: Add busybox config fragment example
Saul Wold [Tue, 13 Aug 2013 18:01:50 +0000 (11:01 -0700)]
meta-skeleton: Add busybox config fragment example

This shows an example of the config fragment support that
both the linux-yocto and busybox recipes use. This example
is specific to busybox.

By adding busybox CONFIG options into a .cfg file and then
adding that .cfg file to SRC_URI the merge_config.sh script will
correctly handle these CONFIG options during the do_configure task.
The merge_config.sh script uses a last-in wins method.

For more details about this, see the Kernel Development Manual Section 2.2.3
http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#changing-the-configuration

(From OE-Core rev: 57662d4f813d5795cac1529633db80a09efdb089)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: Skip it for mips64 target
Khem Raj [Tue, 13 Aug 2013 17:49:01 +0000 (10:49 -0700)]
qemu: Skip it for mips64 target

We should not skip it always since same recipes provide
qemu-native too so user class-target override to make it
only skip for target recipes

(From OE-Core rev: 23d633cc65cf31486263f120c71df82186cfdd22)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodpkg: fix include header caused compile error
Kai Kang [Tue, 13 Aug 2013 09:57:49 +0000 (17:57 +0800)]
dpkg: fix include header caused compile error

Build dpkg-native on Fedora 19, it fails with:

/usr/include/c++/4.8.1/cstdlib: In function ‘long long int std::abs(long long int)’:
/usr/include/c++/4.8.1/cstdlib:174:20: error: declaration of C function ‘long long int std::abs(long long int)’ conflicts with
   abs(long long __x) { return __builtin_llabs (__x); }
                    ^
/usr/include/c++/4.8.1/cstdlib:166:3: error: previous declaration ‘long int std::abs(long int)’ here
   abs(long __i) { return __builtin_labs(__i); }
   ^

That because header cstdlib is included in a 'extern "C"' block that gcc
4.8 doesn't support. Fix it by move the header file out of the 'extern "C"'
block.

(From OE-Core rev: 7de61ecc3efc43c625dde9a66f5c05e980a82e34)

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>
10 years agooe-setup-builddir: substitute ##OEROOT## when using templates
Ross Burton [Mon, 12 Aug 2013 10:41:49 +0000 (11:41 +0100)]
oe-setup-builddir: substitute ##OEROOT## when using templates

oe-setup-builddir substitutes ##COREBASE## which seems like it should have the
same value as the variable ${COREBASE}.  In reality it doesn't as ##COREBASE##
is substituted with the value of $OEROOT (the location of the oe-init-build-env
script), whereas ${COREBASE} is set by oe-core to the parent directory of meta/.
If oe-core's meta/ isn't a top-level directory then ##COREBASE## and ${COREBASE}
have different values, which can lead to confusion.

To resolve this, deprecate (but still substitute) ##COREBASE## and substitute
 ##OEROOT# for $OEROOT.

(From OE-Core rev: 1890783928dd1c73105fae32fb6c588afc287ff6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoprocps: Add cgroup support
Jukka Rissanen [Mon, 12 Aug 2013 07:22:24 +0000 (10:22 +0300)]
procps: Add cgroup support

(From OE-Core rev: 767383ac80bd52a51d52655f95bb503cd0bb827b)

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>
10 years agoblacklist.bbclass: Avoid blacklist specific handle in base.bbclass
Otavio Salvador [Sat, 10 Aug 2013 20:19:30 +0000 (17:19 -0300)]
blacklist.bbclass: Avoid blacklist specific handle in base.bbclass

base.bbclass had code which handled the PNBLACKLIST in case of
multilib use. This is better to be done in the blacklist.bbclass so it
has all logic in a single place.

(From OE-Core rev: 04f0fefeccc1e7e3af8a1f741350492ae3f171fc)

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>
10 years agoopkg: Fix possible installation of GPLv3 header
Paul Barker [Mon, 5 Aug 2013 21:31:00 +0000 (22:31 +0100)]
opkg: Fix possible installation of GPLv3 header

opkg is GPLv2+ licensed but it has optional support for sha256 checksums which
was GPLv3+ licensed. This code is not built unless '--enable-sha256' is passed
to the configure script, the default is equivalent to '--disable-sha256'.

However, the header 'sha256.h', which is GPLv3+ licensed, is in the list of
header files to be installed and thus could end up in the libopkg-dev package.
As this header is installed to '/usr/include/libopkg' it is very unlikely that
it will ever be used. However, if you're uncomfortable with GPLv3 code going
anywhere near your target filesystem you won't want this to happen.

The simplest solution is to replace the sha256 implementation in opkg with the
implementation from coreutils-6.9 which is licensed under GPLv2+. This is
committed to the opkg subversion repository as r652/r653.

The only intervening commit between r650 (previous SRCREV) and this is r651,
which integrates 'obsolete_automake_macros.patch' into the opkg sources. Thus
this patch isn't needed in oe-core anymore.

(Note: Before 873689bbabba25e7be5c12317c04519a7bc8d0ef, this header is only
installed if opkg is built in its source tree (ie. ${B}=${S}). After that commit
the header will always be installed)

(From OE-Core rev: 3c6a8a39d820f14f9eb3df3d719cef2c469769da)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass: Correct post(inst|rm) package association
Darren Hart [Fri, 9 Aug 2013 17:58:42 +0000 (10:58 -0700)]
kernel.bbclass: Correct post(inst|rm) package association

Fixes [YOCTO #4991]

The kernel image is installed as part of the kernel-image package, but
the symlink creation/removal via alternatives is being done in
pkg_post(inst|rm)_kernel-base.

Move the postinst alternatives logic into the kernel-image functions.

(From OE-Core rev: 35f538b117e3387354d2dab1f22c3de28ab1322b)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: Add GPLv2 version
Saul Wold [Fri, 9 Aug 2013 15:36:04 +0000 (08:36 -0700)]
groff: Add GPLv2 version

Apparrently a LICENSE change was missed, so we add the GPLv2 version back in

(From OE-Core rev: 002818712fab5c6325b1f7205512945ea87ad76c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: Fix License to be GPLv3
Saul Wold [Fri, 9 Aug 2013 15:38:04 +0000 (08:38 -0700)]
groff: Fix License to be GPLv3

(From OE-Core rev: 4090c4d9b204118ec9826db02b0739ce60563dd4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>