]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
11 years agogrep: fix for CVE-2012-5667
Ming Liu [Wed, 15 May 2013 05:56:50 +0000 (05:56 +0000)]
grep: fix for CVE-2012-5667

Multiple integer overflows in GNU Grep before 2.11 might allow
context-dependent attackers to execute arbitrary code via vectors
involving a long input line that triggers a heap-based buffer overflow.

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

Signed-off-by: Ming Liu <ming.liu@windriver.com>
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 agoinitscripts: let status return 0 when proc is running well
Jesse Zhang [Wed, 20 Feb 2013 03:12:02 +0000 (03:12 +0000)]
initscripts: let status return 0 when proc is running well

Ensure that the status returns 0 instead of the last shell command result,
otherwise the calling script can not properly detect the status of pid.

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
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 agodbus-glib: use BPN instead of PN
Jesse Zhang [Tue, 19 Feb 2013 08:58:15 +0000 (08:58 +0000)]
dbus-glib: use BPN instead of PN

Fix warnings in multilib build:

  WARNING: For recipe lib32-dbus-glib, the following files/directories were installed but not shipped in any package:
  WARNING:   /usr/share/dbus-glib
  WARNING:   /usr/share/dbus-glib/tests

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
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 agoacpid: modify CFLAGS
Joe Slater [Sun, 10 Feb 2013 19:55:06 +0000 (19:55 +0000)]
acpid: modify CFLAGS

Override the hard-coded CFLAGS used in Makefile to reference our CFLAGS.

Without this patch if the DEBUG_OPTIMIZATION is enabled (using -O0) the
compile log shows acpid still using -O2 because the Makefile has various
hard coded CFLAGS defined.  Instead of using the hard coded CFLAGS,
we simply define the proper set within the recipe itself.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
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 agolibxpm: inherit gettext
Jesse Zhang [Mon, 27 Aug 2012 06:01:56 +0000 (06:01 +0000)]
libxpm: inherit gettext

libxpm requires the xgettext command to build.

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
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 agoguile: added runtime dependency on glibc-gconv-iso8859-1
Bogdan Marinescu [Wed, 29 May 2013 13:40:10 +0000 (13:40 +0000)]
guile: added runtime dependency on glibc-gconv-iso8859-1

guile needs to be able to convert strings from ISO-8859-1 in order
to work properly. This patch adds a runtime dependency to the required
convert package, but only when glibc is used. The fix for uClibc depends
on another bug (#4530).

[YOCTO #4019]

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibrsvg: add sstate dependencies so that the SVG loader works at staging time
Ross Burton [Wed, 29 May 2013 10:57:33 +0000 (10:57 +0000)]
librsvg: add sstate dependencies so that the SVG loader works at staging time

Add more sstate dependencies that were missing from the merge into master.

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 agopixbufcache: add more documentation
Ross Burton [Wed, 29 May 2013 10:57:32 +0000 (10:57 +0000)]
pixbufcache: add more documentation

Add some more documentation to the PIXBUFCACHE_SYSROOT_DEPS variable to clarify
the usage.

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 agoutils: add trim_version() function
Ross Burton [Thu, 23 May 2013 18:45:01 +0000 (18:45 +0000)]
utils: add trim_version() function

Add a helper function that returns just the first <num_parts> of <version>,
split by periods.  For example, trim_version("1.2.3", 2) will return "1.2".

This should help reduce the spread of numerous copies of this idea across
classes and recipes.

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 agopython-scons-native: fix invoking scons failed on Fedora-17
Hongxu Jia [Tue, 28 May 2013 13:13:48 +0000 (13:13 +0000)]
python-scons-native: fix invoking scons failed on Fedora-17

While the destro didn't install scons, build scons by python-scons-native,
and invoke it with the error:
...
$scons -h
Traceback (most recent call last):
  File "/buildarea2/hongxujia/build-20130520-udev-emenlow/tmp/sysroots/x86_64-linux/usr/bin/scons", line 188, in <module>
    import SCons.Script
ImportError: No module named SCons.Script
...

1, While building scons as default, scons's lib will be install in the dir of
`scons' or `scons-2.3.0' if the option `--install-lib' is not set explicitly.

2, While build python-scons-native, `--install-lib' is explicitly set, and
scons's lib was not installed in the dir of `scons' or `scons-2.3.0'.

3, While invoke scons-native, the scons searches the lib in ${STAGING_DIR_HOST}/
${PYTHON_SITEPACKAGES_DIR}/scons, ${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}/
scons-2.3.0 rather than ${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}.

Use create_wrapper to relocate scons-native to add `${STAGING_DIR_HOST}/${PYTHON
_SITEPACKAGES_DIR}' to PYTHONPATH, so scons-native could find out the lib.

[YOCTO #4562]

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 agoqt4: fix path to demos documentation
Jonathan Liu [Tue, 28 May 2013 08:29:52 +0000 (08:29 +0000)]
qt4: fix path to demos documentation

The qt4-demos-doc package is not created when building qt4-x11-free
because ${docdir}/qtopia/qch/qt.qch doesn't exist.

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 agopowerpc64-linux: Update cached autoconf value for apr on powerpc64
Zhenhua Luo [Tue, 28 May 2013 09:53:27 +0000 (09:53 +0000)]
powerpc64-linux: Update cached autoconf value for apr on powerpc64

Fix below apr configure issue of powerpc64 targets.
| configure:27173: checking whether TCP_NODELAY and TCP_CORK can both be
| enabled
| configure:27179: error: in `/home/yocto/workspace/sdk-devel/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/apr/1.4.6-r2/apr-1.4.6':
| configure:27181: error: cannot run test program while cross compiling

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu: Replaced "stty sane" with saved stty settings
Andrei Dinu [Tue, 28 May 2013 08:59:38 +0000 (08:59 +0000)]
runqemu: Replaced "stty sane" with saved stty settings

stty manual says :

"sane - Resets all modes to reasonable values for interactive terminal use."

But reasonable isn't the most viable solution, because we want to keep the
original stty settings before running runqemu. Saving the stty settings and
setting them at the end of the runqemu script solves the terminal
settings differences after the script ran.

[Yocto #4512]

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
[Added filename info in commit subject - sgw]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopkg-config: remove obsolete AM_PROG_CC_STDC
Marko Lindqvist [Fri, 24 May 2013 22:25:38 +0000 (22:25 +0000)]
pkg-config: remove obsolete AM_PROG_CC_STDC

Add patch obsolete_automake_macros.patch that removes
AM_PROG_CC_STDC from included glib tree.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopatch: use PACKAGECONFIG to ensure correct dependency for xattr
Saul Wold [Wed, 22 May 2013 02:14:23 +0000 (02:14 +0000)]
patch: use PACKAGECONFIG to ensure correct dependency for xattr

This will enable or disable xattr with the correct dependency
on attr as needed.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: add udev-utils dependency for udev-hwdb
Laurentiu Palcu [Tue, 21 May 2013 11:00:13 +0000 (11:00 +0000)]
systemd: add udev-utils dependency for udev-hwdb

udev-hwdb needs udevadm tool to compile the hardware index.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobind: add ipv6 support
Li Wang [Wed, 29 May 2013 15:09:58 +0000 (10:09 -0500)]
bind: add ipv6 support

Make ipv6 configure dependent on DISTRO_FEATURES.

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: Add ability to compile with nativesdk
Jason Wessel [Wed, 29 May 2013 15:09:48 +0000 (10:09 -0500)]
util-linux: Add ability to compile with nativesdk

Some of the tools in the util-linux are used for disk and text file
operations in the nativesdk so as to get around different versions
that may exist on the host system.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpam: Avoid wildcards in the SRC_URI
Mark Hatle [Wed, 29 May 2013 15:09:47 +0000 (10:09 -0500)]
libpam: Avoid wildcards in the SRC_URI

Remove the wildcard from the SRC_URI.  This causes problems when you .bbappend
and add a FILESEXTRAPATHS entry.  The unpack task may be unable to find the
files to unpack leading to an error.

Avoid wildcards at all costs...

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocmake.bbclass: modify construction of compiler flags
Joe Slater [Wed, 29 May 2013 15:09:45 +0000 (10:09 -0500)]
cmake.bbclass: modify construction of compiler flags

Use CFLAGS instead of CPPFLAGS for C_FLAGS variants.

When debug optimization is enabled in the local.conf, the debug (-O0) vs
production (-O2) does not change in the builds.  As the CPPFLAGS do not
contain the optimization settings.

Also the CXX_FLAGS are based on CXXFLAGS, so it makes sense to similarly
set the C_FLAGS based on CFLAGS.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodpkg-native: Fix native perl path
Ming Liu [Wed, 29 May 2013 15:09:54 +0000 (10:09 -0500)]
dpkg-native: Fix native perl path

The path to the native perl was incorrect leading to rootfs failures. This
patch corrects that problem, it's a complementary fix for commit:04432446.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoguile: don't search for libreadline in host libdir
Jackie Huang [Wed, 29 May 2013 15:09:53 +0000 (10:09 -0500)]
guile: don't search for libreadline in host libdir

Fix the QA warning:
WARNING: guile: The compile log indicates that host include and/or library paths were used.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqmake_base.bbclass: Add linux-gnun32-oe-g++ to QMAKESPEC
Xin Ouyang [Wed, 29 May 2013 15:09:55 +0000 (10:09 -0500)]
qmake_base.bbclass: Add linux-gnun32-oe-g++ to QMAKESPEC

For some mips targets, TARGET_OS is set to linux-gnun32, while
linux-gnun32-oe-g++ is not listed in the default QMAKESPEC list of
qmake in oe-core/wrlinux. This would cause build failures for qt
apps, so add a matching rule to fix this.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agositeinfo.bbclass: Add mips64 common siteinfo
Mark Hatle [Wed, 29 May 2013 15:10:01 +0000 (10:10 -0500)]
siteinfo.bbclass: Add mips64 common siteinfo

There is no mips64-common file, replace the definition with mips-common.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconsolekit: remove /var/run from package
Jonathan Liu [Sun, 26 May 2013 08:14:13 +0000 (18:14 +1000)]
consolekit: remove /var/run from package

The /var/run/ConsoleKit directory doesn't need to be included in the
package as it is created by console-kit-daemon if it doesn't exist.
The /var/run directory is already created by base-files.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoresolvconf: remove /var/volatile/run/resolvconf/interface from package
Jonathan Liu [Sun, 26 May 2013 07:40:58 +0000 (17:40 +1000)]
resolvconf: remove /var/volatile/run/resolvconf/interface from package

- Remove /etc/resolvconf/run/interface from package as it actually uses
/etc/resolvconf/run/interface
- Create /var/run/resolvconf/interface on startup using
populate-volatiles.sh and tmpfiles.d for systemd
- Create symbolic link from /etc/resolvconf/run to /var/run/resolvconf

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocups: remove /var/run from package as cupsd will populate it on startup
Jonathan Liu [Sun, 26 May 2013 06:24:28 +0000 (16:24 +1000)]
cups: remove /var/run from package as cupsd will populate it on startup

The /var/run/cups and /var/run/cups/certs directories don't need to be
included in the package as they are created by cupsd with the proper
permissions if they don't exist. The /var/run directory is already
created by base-files.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobind: remove empty /var/run directory
Jonathan Liu [Sun, 26 May 2013 03:57:33 +0000 (13:57 +1000)]
bind: remove empty /var/run directory

The /var/run directory is already created by base-files.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoudev: do not create symbolic link from /run to /var/run
Jonathan Liu [Sun, 26 May 2013 11:13:06 +0000 (21:13 +1000)]
udev: do not create symbolic link from /run to /var/run

The /run directory is now a tmpfs with /var/run as a symbolic link
pointing to /run.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoudev: do not create /var/volatile/run in init script
Jonathan Liu [Sun, 26 May 2013 11:13:05 +0000 (21:13 +1000)]
udev: do not create /var/volatile/run in init script

Previously in udev init, /var/volatile/run had to be created after
mounting all tmpfs filesystems so that udevd can write to /var/run
(a symbolic link to /var/volatile/run). This is because udev is
started before populate-volatile.sh.

Now that /var/run is a symbolic link to /run (a tmpfs filesystem),
/var/volatile/run doesn't need to be created anymore.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosystemd: remove old /var/run workarounds
Jonathan Liu [Sun, 26 May 2013 11:13:04 +0000 (21:13 +1000)]
systemd: remove old /var/run workarounds

Do not clear /var/run on startup as it is a tmpfs.
Do not create empty /var/run/utmp on startup as it no longer seems
needed for systemd-update-utmp-runlevel.service to start properly.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosystemd: do not create symbolic link from /run to /var/run
Jonathan Liu [Sun, 26 May 2013 11:13:03 +0000 (21:13 +1000)]
systemd: do not create symbolic link from /run to /var/run

The /run directory already exists as a tmpfs with /var/run as a symbolic
link pointing to /run.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosystemd: do not create /var/volatile/run and /var/volatile/lock
Jonathan Liu [Sun, 26 May 2013 11:13:02 +0000 (21:13 +1000)]
systemd: do not create /var/volatile/run and /var/volatile/lock

The directories are not needed anymore.

Previously:
/var/run  -> /var/volatile/run
/var/lock -> /var/volatile/lock

Now:
/var/run  -> /run
/var/lock -> /run/lock

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobase-files: add /run directory from FHS 3 draft specification
Jonathan Liu [Sun, 26 May 2013 11:13:01 +0000 (21:13 +1000)]
base-files: add /run directory from FHS 3 draft specification

This adds the /run directory from the Filesystem Hierarchy Standard 3.0
Draft [1] and refactors the filesystem as follows:
- Remove creation of /var/volatile/run
- Remove creation of /var/volatile/lock
- Remove symbolic link from /var/run to /var/volatile/run
- Remove symbolic link from /var/lock to /var/volatile/lock
- Add symbolic link from /var/run to /run
- Add symbolic link from /var/lock -> /run/lock
- Add /run to /etc/fstab for sysvinit compatibility

[1] http://www.linuxbase.org/betaspecs/fhs/fhs.html#runRuntimeVariableData

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agofindutils: backport fixes for documentation build errors
Jonathan Liu [Mon, 27 May 2013 01:07:06 +0000 (11:07 +1000)]
findutils: backport fixes for documentation build errors

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocracklib: Allow byte order patch to work on older Linux hosts
Mark Hatle [Fri, 24 May 2013 15:03:54 +0000 (10:03 -0500)]
cracklib: Allow byte order patch to work on older Linux hosts

Older hosts don't have the htobe* and be*toh functions defined.
Instead we fall back to checking the endian and calling bswap_*
directly.  This works on both old and new hosts.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogdb-cross-canadian: use correct exec-prefix path for python
Samuli Piippo [Mon, 27 May 2013 10:24:45 +0000 (13:24 +0300)]
gdb-cross-canadian: use correct exec-prefix path for python

Incorrect exec-prefix path was given to gdb which leads to gdb
startup failure when SDK is not installed to its original destination.
Gdb relocates the exec-prefix path, so it will work for SDKs that
are installed to different location. PYTHONHOME env in no longer
neeeded for gdb.

[YOCTO #3839]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobinutils: add two AArch64 related backports to 2.23.2
Marcin Juszkiewicz [Mon, 27 May 2013 14:49:50 +0000 (16:49 +0200)]
binutils: add two AArch64 related backports to 2.23.2

Update required to pass "movi" related build errors when gcc-4.8 is
used.

libgcrypt, slang, mysql5 were failing like this:

| {standard input}: Assembler messages:
| {standard input}:316: Error: immediate value out of range 0 to 255 at operand 2 -- `movi v3.8b,-106'
| {standard input}:348: Error: immediate value out of range 0 to 255 at operand 2 -- `movi v3.8b,-8'
| {standard input}:352: Error: immediate value out of range 0 to 255 at operand 2 -- `movi v3.8b,-27'

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibdrm: fix packaging after last upgrade
Martin Jansa [Thu, 23 May 2013 08:55:03 +0000 (10:55 +0200)]
libdrm: fix packaging after last upgrade

* 2.4.44 adds 2 more tests kmstest and vbltest which got packaged
  to PN, causing PKG rename and breaking upgrade path
  * check_data_file_clashes: Package libdrm wants to install file /usr/lib/libdrm.so.2
         But that file is already provided by package  * libdrm2
  * check_data_file_clashes: Package libdrm wants to install file /usr/lib/libdrm.so.2.4.0
         But that file is already provided by package  * libdrm2
  put them to PN-tests where they belong

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agofreetype: update to upstream version 2.4.12
Marko Lindqvist [Fri, 24 May 2013 07:41:13 +0000 (10:41 +0300)]
freetype: update to upstream version 2.4.12

LICENSE.TXT md5sum changed as there's mention about part
of the code being in public domain added.

no-hardcode.patch removed as upstream has no longer the
problematic code to patch at all.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocurl: update to upstream version 7.30.0
Marko Lindqvist [Fri, 24 May 2013 07:42:14 +0000 (10:42 +0300)]
curl: update to upstream version 7.30.0

0001-Fix-NULL-pointer-reference-when-closing-an-unused-mu.patch now
part of upstream.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogtk+: update to upstream version 2.24.18
Marko Lindqvist [Fri, 24 May 2013 07:41:55 +0000 (10:41 +0300)]
gtk+: update to upstream version 2.24.18

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoharfbuzz: update to upstream version 0.9.17
Marko Lindqvist [Fri, 24 May 2013 07:41:36 +0000 (10:41 +0300)]
harfbuzz: update to upstream version 0.9.17

avoid_double_version_h.patch removed as the problems seems
to be fixed different way in upstream, and this patch was
now removing necessary header install.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoautogen-native: upgraded to 5.17.4
Bogdan Marinescu [Mon, 27 May 2013 12:14:48 +0000 (15:14 +0300)]
autogen-native: upgraded to 5.17.4

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopython-dbus: upgraded to 1.2.0
Bogdan Marinescu [Mon, 27 May 2013 11:41:50 +0000 (14:41 +0300)]
python-dbus: upgraded to 1.2.0

The license itself didn't modify, just some comments regarding the license.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogit: upgraded to 1.8.3
Bogdan Marinescu [Mon, 27 May 2013 07:44:50 +0000 (10:44 +0300)]
git: upgraded to 1.8.3

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosettings-daemon: Update to git HEAD 9a99528b02255450db81176abd9bbcc1dab9a4c1
Ionut Radu [Wed, 22 May 2013 17:14:08 +0000 (20:14 +0300)]
settings-daemon: Update to git HEAD 9a99528b02255450db81176abd9bbcc1dab9a4c1

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibtasn1: Updated from 2.14 to 3.3
Ionut Radu [Wed, 22 May 2013 07:56:30 +0000 (10:56 +0300)]
libtasn1: Updated from 2.14 to 3.3

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoapt: Updated from 0.9.7.8 to 0.9.8.1
Ionut Radu [Mon, 13 May 2013 14:55:12 +0000 (17:55 +0300)]
apt: Updated from 0.9.7.8 to 0.9.8.1

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosystemd: fix ordering for machineid and run-postinsts services
Jonathan Liu [Thu, 16 May 2013 02:59:47 +0000 (12:59 +1000)]
systemd: fix ordering for machineid and run-postinsts services

The remount-rootfs.service unit has been renamed to
systemd-remount-fs.service in systemd v183 and later.

The run-postinsts script writes to /var/log (a symbolic link to
/var/volatile/log), so systemd-tmpfiles-setup.service is added to After=
in run-postinsts.service to ensure /var/volatile/log is created before
running the script.

[YOCTO #4490]

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agodropbear: a fix for hang in dropbearkey, built for x32
Nitin A Kamble [Thu, 23 May 2013 16:09:20 +0000 (16:09 +0000)]
dropbear: a fix for hang in dropbearkey, built for x32

This commit fixes runtime hang of 'dropbearkey' utility, built for a x32
target abi system. The hang was observed while generating ssh keys, with
this command:
  dropbearkey -t dss -f private

The issue is fixed by changing the code, where 'long' in x86_64 mode is
assumed as 64bit quantity. With the x32 abi, the processor is in x86_64
mode, but the 'long' is a 32bit quantity. Hence the fix uses 'long long'
instead of 'long' to define/access 64bit data variables.

Fixes bug:
[YOCTO #4496]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolinux-firmware: Split 'ar3k' in a linux-firmware-ar3k package
Otavio Salvador [Thu, 23 May 2013 21:43:29 +0000 (18:43 -0300)]
linux-firmware: Split 'ar3k' in a linux-firmware-ar3k package

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosystemd: forward port uclibc patches to 204
Khem Raj [Thu, 23 May 2013 18:36:55 +0000 (11:36 -0700)]
systemd: forward port uclibc patches to 204

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agorm_work.bbclass: ignore failure for removing pseudo folder
Ming Liu [Thu, 23 May 2013 07:33:43 +0000 (15:33 +0800)]
rm_work.bbclass: ignore failure for removing pseudo folder

When building over NFS2/3 server, removal of pseudo folders will fail in
some cases for there are files in it still used by pseudo daemon, thus
cause ".nfsXXXXX" files generated which can't be removed by clients. This
will lead rm_work task fo fail.

These failures could be safely ignored because ".nfsXXXXX" files would be
automatically cleared by NFS server when no clients keep opening them.

[YOCTO #4531]
[ CQID: WIND00412051 ]

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosystemd: update to 204
Jonathan Liu [Thu, 23 May 2013 09:15:11 +0000 (19:15 +1000)]
systemd: update to 204

Removed patches integrated upstream.
Added backport of fix for utmp not running at shutdown.
Updated serial-getty service.
Added missing util-linux dependency.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopopulate-volatile.sh: remove repeated leading slashes in TNAME
Jonathan Liu [Wed, 22 May 2013 23:37:07 +0000 (09:37 +1000)]
populate-volatile.sh: remove repeated leading slashes in TNAME

This avoids triple slashes in the generated /etc/volatile.cache to
reduce disk usage and in the output when verbose mode is enabled.

As all the paths for volatiles start with a slash, we can change
TNAME=${ROOT_DIR}/${TNAME} to TNAME=${ROOT_DIR}${TNAME}. To avoid
a double slash when ROOT_DIR is /, we strip the extra slash from
ROOT_DIR.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agodbus: remove /var/run from package as it is created on startup
Jonathan Liu [Thu, 23 May 2013 04:02:14 +0000 (14:02 +1000)]
dbus: remove /var/run from package as it is created on startup

/var/run is a tmpfs that is created on startup.
For sysvinit, /var/run/dbus is created by populate-volatiles.sh.
For systemd, /var/run/dbus is created implicitly by dbus.socket when
creating a listen stream socket at /var/run/dbus/system_bus_socket.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobinutils: the cat should always succeed when building config.cache
Saul Wold [Thu, 23 May 2013 17:13:09 +0000 (10:13 -0700)]
binutils: the cat should always succeed when building config.cache

There is a race condition between when the CONFIG_SITE list is generated and
then used here via the cat to create the config.cache and in *all* configure
scripts when reading from CONFIG_SITE.

The race in this case is that the sstate setscene task runs on a package that
contains a site config file (ncurses in this case) and then bitbake decides
that it needs to rebuild and cleans out the site config file, so it existed
for siteinfo_get_files() to find in SITECONFIG_SYSROOTCACHE and then was removed
for the rebuild. When bintuils tried to run the do_configure() task which creates
the binutil's version of config.cache it reads from CONFIG_SITE which now contains
the non-existant site config file. (confused yet ;-)?

Currently the configure script does a test -r to ensure the file is readable
before using it, therefore having the cat succeed regardless of the file being
available is consistent behaviour.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agowget: disable uuid by default
Saul Wold [Thu, 23 May 2013 00:51:40 +0000 (17:51 -0700)]
wget: disable uuid by default

This will ensure a consistent build and not add additional dependency of
util-linux to wget

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocross: Clear do_populate_sysroot[stamp-extra-info] so that stamps are not MACHINE...
Phil Blundell [Tue, 21 May 2013 10:40:06 +0000 (11:40 +0100)]
cross: Clear do_populate_sysroot[stamp-extra-info] so that stamps are not MACHINE specific

Otherwise we will try to run the setscene task once per MACHINE which will lead to
file conflicts in the sysroot for packages like gcc-cross.  The stamps
are already namespaced by TARGET_ARCH which should be sufficient.

Signed-off-by: Phil Blundell <philb-mXXj517/zsQ@public.gmane.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobusybox: backport sulogin empty root password fix
Jonathan Liu [Wed, 22 May 2013 22:18:21 +0000 (08:18 +1000)]
busybox: backport sulogin empty root password fix

This allows system maintenance login if the root password is empty.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoqemu: Updated from 1.4.0 to 1.4.1
Ionut Radu [Wed, 8 May 2013 14:41:56 +0000 (17:41 +0300)]
qemu: Updated from 1.4.0 to 1.4.1

0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch and 3f08ffb4a4741d147634761dc053ed386243a0de.patch were backported in 1.4.1

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosqlite3: update to 3.7.17
Jack Mitchell [Wed, 22 May 2013 12:45:12 +0000 (13:45 +0100)]
sqlite3: update to 3.7.17

build and runtime tested on armv7a

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agokernel: Remove unnecessary cd and rm, fix MODULE_TARBALL_SYMLINK_NAME creation
Martin Jansa [Tue, 21 May 2013 22:18:53 +0000 (00:18 +0200)]
kernel: Remove unnecessary cd and rm, fix MODULE_TARBALL_SYMLINK_NAME creation

* DEPLOYDIR is used as target for every other file deployed by do_deploy,
  this was just unnecessary switching CWD to create relative symlink and I
  have no idea why rm -f was used together with ln -sf.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopatch: diable xattr as default
Saul Wold [Tue, 21 May 2013 23:51:25 +0000 (16:51 -0700)]
patch: diable xattr as default

There is a optional dependency on xattr (and thus the attr package),
disable it by default, to ensure it builds correctly.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoconnman: upgrade to 1.14
Cristian Iorga [Tue, 21 May 2013 07:16:07 +0000 (10:16 +0300)]
connman: upgrade to 1.14

- switched to archive releases;

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoperl-tests: convert to ptest
Jesse Zhang [Tue, 21 May 2013 02:43:04 +0000 (10:43 +0800)]
perl-tests: convert to ptest

On 05/17/2013 05:31 PM, Björn Stenberg wrote:
> Unless there are clear advantages with patching t/TEST that I have overlooked, I suggest using sed in run-ptest instead.

Ok.. Here is the new commit.

Removed the patch and added a call to sed in run-ptest. See attachment
for the test log.

From: Jesse Zhang <sen.zhang@windriver.com>
Date: Tue, 14 May 2013 02:53:30 -0400
Subject: [PATCH 1/1] perl-tests: convert to ptest

Replace PERL_TEST_DIR with PTEST_PATH, and rename "tests" with "ptest"
in various places. Also add a run-ptest script.

[YOCTO #4292]

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosudo: set CFLAGS for build mksigname and mksiglist
Kang Kai [Tue, 21 May 2013 09:11:58 +0000 (17:11 +0800)]
sudo: set CFLAGS for build mksigname and mksiglist

mksigname and mksiglist are compiled by BUILD_CC for build host. When
there are some options in CFLAGS that BUILD_CC doesn't support,
compilation fails.

Build for arm on a x86 host, if option "-mapcs-frame" is provided, error
occurs with:

| cc1: error: unrecognized command line option "-mapcs-frame"

Pass BUILD_CFLAGS to CFLAGS to fix that kind of failure.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoclutter-gst: removed no longer required configure fragment
Tomas Frydrych [Tue, 21 May 2013 15:08:43 +0000 (16:08 +0100)]
clutter-gst: removed no longer required configure fragment

The current package no longer use DOLT, so the DOLT configure frament is no
longer required.

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoclutter: further improvements
Tomas Frydrych [Tue, 21 May 2013 15:08:42 +0000 (16:08 +0100)]
clutter: further improvements

 * Removed unnecessary gtk-doc related depends/configure options (handled in
   gtk-doc class),
 * Moved more configure options into PACKAGECONFIG,
 * Fixed missing comma in PACKAGECONFIG[glx] setup,
 * Removed no longer required DOLT-related config fragment.

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoclutter.bbclass: removed unused function
Tomas Frydrych [Tue, 21 May 2013 15:08:40 +0000 (16:08 +0100)]
clutter.bbclass: removed unused function

Clutter and cogl no longer use --with-fpu configure option, so we no longer
require the get_fpu_settings() function.

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocogl: further improvements
Tomas Frydrych [Tue, 21 May 2013 15:08:41 +0000 (16:08 +0100)]
cogl: further improvements

 * Removed unnecessary gtk-doc related depends/configure options (handled in
   gtk-doc class)
 * Moved more configure options into PACKAGECONFIG
 * Fixed typo in RDEPENDS of PACKAGECONFIG[gl] setup
 * Removed no longer needed DOLT-related configure fragment

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agorunqemu: fix networking issues
Laurentiu Palcu [Tue, 21 May 2013 07:38:40 +0000 (10:38 +0300)]
runqemu: fix networking issues

After switching from ifconfig to ip, networking stopped working. This
commit contains the following fixes:

 * set a decent broadcast address for the tap device;
 * bring up the device;
 * add the route using ip tool instead of the old route tool;

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoresolvconf: Update to 1.72
Saul Wold [Tue, 21 May 2013 02:19:43 +0000 (19:19 -0700)]
resolvconf: Update to 1.72

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocmake: Update to 2.8.11
Saul Wold [Tue, 21 May 2013 02:20:39 +0000 (19:20 -0700)]
cmake: Update to 2.8.11

Rebased support-oe-qt4-tools-names as some of the changes where
added in the upstream code.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agomc: Update to 4.8.8
Saul Wold [Tue, 21 May 2013 02:19:22 +0000 (19:19 -0700)]
mc: Update to 4.8.8

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibnl: Update to 3.2.22
Saul Wold [Tue, 21 May 2013 02:19:08 +0000 (19:19 -0700)]
libnl: Update to 3.2.22

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agomklibs: Update to 0.1.37
Saul Wold [Tue, 21 May 2013 02:18:49 +0000 (19:18 -0700)]
mklibs: Update to 0.1.37

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agodesktop-file-utils: Update to 0.21
Saul Wold [Mon, 20 May 2013 21:25:01 +0000 (14:25 -0700)]
desktop-file-utils: Update to 0.21

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agognupg: Update to 2.0.20
Saul Wold [Mon, 20 May 2013 21:24:35 +0000 (14:24 -0700)]
gnupg: Update to 2.0.20

Removed obsolete patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxserver-xorg: enable xvfb
Riku Voipio [Mon, 20 May 2013 13:02:30 +0000 (16:02 +0300)]
xserver-xorg: enable xvfb

Currently Xvfb has been enabled in openembedded-core. Xvfb is needed
for example in Mauve testsuite.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoSLiRP support in runqemu
Andrei Dinu [Mon, 20 May 2013 13:16:30 +0000 (16:16 +0300)]
SLiRP support in runqemu

runqemu script now takes argument "slirp" in order to
run networking on the qemu machine, without root privileges.

changed the runqemu-internal script in order not to activate
the tap devices if the option is set.

[YOCTO #1474]

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agokernel.bbclass: Add dependency on binutils
Mike Crowe [Mon, 20 May 2013 12:22:45 +0000 (13:22 +0100)]
kernel.bbclass: Add dependency on binutils

Compiling the Linux kernel requires binutils; kernel.bbclass uses
INHIBIT_DEFAULT_DEPS so it had better depend on binutils explicitly.

(The lack of this dependency isn't always a problem because binutils
is required to build gcc-cross but if gcc-cross is reconstructed from
the sstate cache then gcc-cross's dependency on binutils-cross is
ignored due to being in the safe dependency list in
setscene_depvalid.)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Acked-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoglib-networking: update to 2.36.2
Andreas Müller [Sat, 18 May 2013 08:42:53 +0000 (10:42 +0200)]
glib-networking: update to 2.36.2

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoglib-2.0: update to 2.36.2
Andreas Müller [Sat, 18 May 2013 08:42:52 +0000 (10:42 +0200)]
glib-2.0: update to 2.36.2

This patch was build- (gcc 4.7.2/4.8.0) and run-tested with my standard
xfce-/gnome2-images

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibrsvg: add sstate dependencies so that the SVG loader works at staging time
Ross Burton [Fri, 17 May 2013 17:48:55 +0000 (18:48 +0100)]
librsvg: add sstate dependencies so that the SVG loader works at staging time

Add additional dependencies so that when the sysroot is populated the gdk-pixbuf
SVG module can be loaded.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibrsvg: small cleanups
Ross Burton [Thu, 16 May 2013 16:57:13 +0000 (17:57 +0100)]
librsvg: small cleanups

Re-order fields to a more logical order.

Remove the unrecognised --disable-mozilla-plugin option.

Remove the unrequired setting of GDK_PIXBUF_QUERYLOADERS, it's found
automatically.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibrsvg: clean up native depends
Ross Burton [Thu, 16 May 2013 16:54:08 +0000 (17:54 +0100)]
librsvg: clean up native depends

inherit gnome was only used for the SRC_URI, so just inherit gnomebase and
remove the native-specific DEPENDS which was only required as the gnome class
pulls in an impossible hicolor-icon-theme-native dependency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibrsvg: add more PACKAGECONFIG options
Ross Burton [Thu, 16 May 2013 16:52:00 +0000 (17:52 +0100)]
librsvg: add more PACKAGECONFIG options

Add options for the gdk-pixbuf loaders and the GTK+ 2 theme engine.  The theme
engine is generally unused so don't enable that by default, but enable the
gdk-pixbuf loader and also enable the croco feature which is required for
parsing CSS embedded into SVG.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogdk-pixbuf: remove native loader cache generation, use the class
Ross Burton [Fri, 17 May 2013 08:54:39 +0000 (09:54 +0100)]
gdk-pixbuf: remove native loader cache generation, use the class

We assumed that the only relevant gdk-pixbuf loaders in the native environment
were the ones in gdk-pixbuf itself, as the icon cache is only for PNG files.
However, glib-compile-resources can transform SVG files to raw image data, and
done natively this requires the SVG loader to be registered.  The current
implementation relies on this assumption by generating the cache based on the
staging directory during install, so if gdk-pixbuf-native is re-installed to the
sysroot after librsvg-native it will overwrite the loader cache.

So, remove the code in do_install that updated the cache, and rely on the new
logic in pixbufcache.bbclass that updates the cache when it's installed into the
sysroot itself.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopixbufcache: update the loader cache when installing natively
Ross Burton [Fri, 17 May 2013 08:52:04 +0000 (09:52 +0100)]
pixbufcache: update the loader cache when installing natively

Register a sstate postinst function so that when installing a native package,
the gdk-pixbuf loader cache is updated.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoutil-linux: Update to 2.23
Jonathan Liu [Sat, 18 May 2013 02:34:40 +0000 (12:34 +1000)]
util-linux: Update to 2.23

Remove license patch as it is integrated upstream.
Add backports of upstream loopdev regression fixes.
Updated uclibc-__progname-conflict.patch because it didn't apply.
Added bash-completion and partx sub-packages.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosanity.bbclass: Drop dubious print
Richard Purdie [Fri, 24 May 2013 09:27:39 +0000 (09:27 +0000)]
sanity.bbclass: Drop dubious print

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory: Sync with bitbake changes
Richard Purdie [Thu, 23 May 2013 10:40:40 +0000 (10:40 +0000)]
buildhistory: Sync with bitbake changes

Adjust to the recent changes in the git fetcher. This code should work
with current and previous versions of bitbake and can be cleaned up when
we move to new bitbake versions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm-postinsts.bb: enable postinst logging
Chen Qi [Thu, 23 May 2013 04:43:36 +0000 (12:43 +0800)]
rpm-postinsts.bb: enable postinst logging

Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuild
if IMAGE_FEATURES is changed.

[YOCTO #4262]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopkg: modify the run-postinst script to enable postinst logging
Chen Qi [Thu, 23 May 2013 04:43:35 +0000 (12:43 +0800)]
opkg: modify the run-postinst script to enable postinst logging

Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuilt
if IMAGE_FEATURES is changed.

[YOCTO #4262]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodpkg: modify the run-postinst script to enable postinst logging
Chen Qi [Thu, 23 May 2013 04:43:34 +0000 (12:43 +0800)]
dpkg: modify the run-postinst script to enable postinst logging

Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuilt
if IMAGE_FEATURES is changed.

[YOCTO #4262]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage.bbclass: add postinst_enable_logging
Chen Qi [Thu, 23 May 2013 04:43:33 +0000 (12:43 +0800)]
image.bbclass: add postinst_enable_logging

Add a function postinst_enable_logging, so that when 'debug-tweaks'
is in IMAGE_FEATURES, we create ${sysconfdir}/default/postinst config
file, which is sourced by run-postinst scripts to determine whether
to log or not, and where to log.

[YOCTO #4262]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/bitbake: Handle the case where git isn't installed cleanly
Richard Purdie [Tue, 21 May 2013 09:05:48 +0000 (10:05 +0100)]
scripts/bitbake: Handle the case where git isn't installed cleanly

Currently the user sees ugly errors if git isn't installed, this patch
cleans up the code to correctly handle that case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotask.bbclass: Drop deprecated class
Richard Purdie [Tue, 21 May 2013 07:36:42 +0000 (08:36 +0100)]
task.bbclass: Drop deprecated class

Any users have had time to adapt to this change by now, drop the old class.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>