]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agosanity.bbclass: bblayers.conf should be updated automatically
Constantin Musca [Thu, 27 Sep 2012 12:39:55 +0000 (15:39 +0300)]
sanity.bbclass: bblayers.conf should be updated automatically

- add check_bblayers_conf bitbake function which does the bblayers.conf
v4 -> v5 update if necessary (every layer should make its specific
bblayers.conf upgrades appending to the check_bblayers_conf function)
- we ask the user to re-run bitbake because we can't trigger reparsing
without being invasive

[YOCTO #3082]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorunqemu-internal: don't append an empty element to PATH
Scott Garman [Wed, 26 Sep 2012 18:02:27 +0000 (11:02 -0700)]
runqemu-internal: don't append an empty element to PATH

Bitbake fails to run when an empty element exists in $PATH. Avoid
creating this situation when $CROSSPATH is not set.

This fixes bug [YOCTO #3101]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agooe-find-native-sysroot: show bitbake errors to user
Scott Garman [Wed, 26 Sep 2012 18:02:26 +0000 (11:02 -0700)]
oe-find-native-sysroot: show bitbake errors to user

Ran into another bug that was masked by hiding a bitbake error message.
This catches this situation and displays the error to the user.

Also includes whitespace fixes.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogst-plugins-good: make pulseaudio support dependent on DISTRO_FEATURES
Paul Eggleton [Wed, 26 Sep 2012 14:01:40 +0000 (15:01 +0100)]
gst-plugins-good: make pulseaudio support dependent on DISTRO_FEATURES

This should be no change to the previous situation unless you
explicitly have pulseaudio in DISTRO_FEATURES_BACKFILL_CONSIDERED
(currently).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxserver-xorg: merge version-specific .inc into .bb
Ross Burton [Mon, 24 Sep 2012 12:30:02 +0000 (13:30 +0100)]
xserver-xorg: merge version-specific .inc into .bb

The version-specific .inc was shared with the xserver-xorg-lite package, but
that doesn't exist anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: Fix for dynamic linker broken offset
Andrei Dinu [Mon, 24 Sep 2012 15:12:28 +0000 (18:12 +0300)]
eglibc: Fix for dynamic linker broken offset

Solution provided by Donn Seeley in bug 1443:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=1443

worked when testing with core-image-sato-sdk for qemuarm.

[YOCTO #2577]

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocogl: Add a missing depends on libxdamage
Otavio Salvador [Mon, 24 Sep 2012 18:23:19 +0000 (15:23 -0300)]
cogl: Add a missing depends on libxdamage

During a from scratch build test, cogl build failed due a missing
dependency on libxdamage.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoRevert "autotools.bbclass: using relative paths for acpaths"
Richard Purdie [Thu, 27 Sep 2012 16:56:56 +0000 (17:56 +0100)]
Revert "autotools.bbclass: using relative paths for acpaths"

This reverts commit aa66ef6598c84231577d139ec7be413e73fac2b1 since
bdwgc-native fails to build after it. Anything which runs with a
sub-configure will fail after this change. It therefore needs
rethinking.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate-cache-management: hide error message when one of possible layer location doesn...
Martin Jansa [Thu, 27 Sep 2012 07:36:13 +0000 (09:36 +0200)]
sstate-cache-management: hide error message when one of possible layer location doesn't exist

* fixes [YOCTO #3116]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-keyring: include unpackaged files with PAM enabled
Constantin Musca [Thu, 27 Sep 2012 08:17:37 +0000 (11:17 +0300)]
gnome-keyring: include unpackaged files with PAM enabled

Include missing files/dirs:
    ${base_libdir}/security/*.la
    ${base_libdir}/security/*${SOLIBSDEV}
    ${base_libdir}/security/.debug/

[YOCTO #2805]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautotools.bbclass: using relative paths for acpaths
Wenzong Fan [Thu, 27 Sep 2012 08:23:37 +0000 (16:23 +0800)]
autotools.bbclass: using relative paths for acpaths

Fix autotools.bbclass to use relative paths for acpaths instead of
absolute ones. Since absolute paths may cause potential autoreconf
error like:

    Can't exec "/bin/sh": Argument list too long ...

This error occurs while building coreutils with long TMPDIR, because
it has bunch of m4 files need to be expanded.

[YOCTO #2766]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: Fix nativesdk install path
Christian Glindkamp [Thu, 27 Sep 2012 12:20:57 +0000 (14:20 +0200)]
perl: Fix nativesdk install path

Commit 38234f2e276356b1d77a87ceabc486107e336d19 tried to fix the sed
expressions by anchoring the left side of the search regexp to prevent
$prefix$prefix type expression in the perl config. For nativesdk this is
not enough. Adding anchors on both side fixes this.

Signed-off-by: Christian Glindkamp <christian.glindkamp@taskit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus: disable all X11 when native
Ross Burton [Wed, 26 Sep 2012 20:25:19 +0000 (21:25 +0100)]
dbus: disable all X11 when native

Without --without-x the X11 detection would still go ahead and find the host X11
headers, which seems to cause problems at link time.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Remove bogus PACKAGES_DYNAMIC setting
Phil Blundell [Thu, 27 Sep 2012 11:44:31 +0000 (12:44 +0100)]
eglibc: Remove bogus PACKAGES_DYNAMIC setting

It transpires that eglibc has been setting PACKAGES_DYNAMIC = "libc6*" for
some time.  However, this is bogus for at least two reasons:

1. Bitbake interprets PACKAGES_DYNAMIC as a regex, not a glob, so this will
match against any package whose name starts "libc" plus zero or more sixes.
This is particularly toxic because the nativesdk variant picks up the same
value and will, consequently, start trying to build itself at the slightest
excuse.

2. eglibc doesn't actually build any packages named "libc6<anything>", other
than the ones that are named in PACKAGES anyway, so the dynamic provider
declaration is in any case useless.

Simply deleting the line is not sufficient since then we get the default
value from bitbake.conf which causes eglibc.bb to fight with eglibc-locale.bb.
So instead we must set it to the empty string for good results.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-xorg: use EXTENDPKGV instead of PV in RCONFLICTS_${PN}-module-exa
Martin Jansa [Sat, 22 Sep 2012 17:13:14 +0000 (19:13 +0200)]
xserver-xorg: use EXTENDPKGV instead of PV in RCONFLICTS_${PN}-module-exa

* it doesn't make much sense with PV, because xserver-xorg-module-exa
  was introduced in
  http://git.openembedded.org/openembedded-core/commit/meta/recipes-graphics/xorg-xserver?id=1a666ee1cda3c0b74daba5881fc5f62e13deec66
  so our xserver-xorg-module-exa RCONFLICTS with xserver-xorg (<= 1.11.2-r4)
  and (< 1.11.2) is not good enough

* because we don't know how many PRINC are in BSP/DISTRO layers,
  then it's safer to RCONFLICTS with every older version then current
  EXTENDPKGV

Also fixes whitespace to work correctly with opkg

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
--

* I haven't really tested this with IPK, since it was changed from
  RREPLACES to RCONFLICTS (because of RPM) and all my installed devices
  are already upgraded
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocml1.bbclass: Convert tab indentation in python functions into four-space
Jason Wessel [Thu, 27 Sep 2012 13:52:46 +0000 (08:52 -0500)]
cml1.bbclass: Convert tab indentation in python functions into four-space

Based on the previous commit 604d46c686d06d62d5a07b9c7f4fa170f99307d8
(Convert tab indentation in python functions into four-space), the
cml.bbclass was not converted, and in order to properly extend it
with external bbappend's it needs to be converted.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: Fix misplaced quote
Richard Purdie [Wed, 26 Sep 2012 17:28:17 +0000 (18:28 +0100)]
busybox: Fix misplaced quote

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Remove static libraries from -dev packages
Phil Blundell [Tue, 25 Sep 2012 12:54:49 +0000 (13:54 +0100)]
util-linux: Remove static libraries from -dev packages

Fixes the QA warnings:

WARNING: QA Issue: non -staticdev package contains static .a library: util-linux-libblkid-dev path '/work/mips32el-oe-linux/util-linux/2.21.2-r3micro3/packages-split/util-linux-libblkid-dev/lib/libblkid.a'
WARNING: QA Issue: non -staticdev package contains static .a library: util-linux-libuuid-dev path '/work/mips32el-oe-linux/util-linux/2.21.2-r3micro3/packages-split/util-linux-libuuid-dev/lib/libuuid.a'

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Don't package chkdupexe
Phil Blundell [Tue, 25 Sep 2012 13:04:02 +0000 (14:04 +0100)]
util-linux: Don't package chkdupexe

The chkdupexe utility is fairly worthless and drags perl in as a build dependency
of the whole util-linux recipe.  If anybody actually wants to use this script
then we should package it separately, but for the time being let's just delete it.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: change the arch's "-" to "_" for platform
Robert Yang [Tue, 25 Sep 2012 13:38:36 +0000 (21:38 +0800)]
package_rpm.bbclass: change the arch's "-" to "_" for platform

The platform and platform_extra will be written to /etc/rpm/platform,
the rpm's arch has changed the "-" to "_", so the value in platform
should also be updated.

[YOCTO #3159]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: no initial_solution in the second build
Robert Yang [Tue, 25 Sep 2012 13:38:37 +0000 (21:38 +0800)]
package_rpm.bbclass: no initial_solution in the second build

There is no initial_solution.manifest in the second build when
incremental rpm image generation, since the initial solution has been
skipped. So we should check it before cat it.

[YOCTO #3128]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolayer.conf: allow other layers to depend on this version
Paul Eggleton [Tue, 25 Sep 2012 14:58:32 +0000 (15:58 +0100)]
layer.conf: allow other layers to depend on this version

Set LAYERVERSION and rename the collection to "core". Given changes such
as the tabs to spaces cleanup for python functions in the current
version, this allows other layers to depend on this version of OE-Core
specifically should they choose to do so, by specifying the following
in their own layer.conf:

LAYERDEPENDS_layername = "core:1"

Where layername is whatever value is being added to BBFILE_COLLECTIONS.

(This change does nothing unless a layer has LAYERDEPENDS set.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoiproute2: Use configured values for ${base_sbindir} and ${libdir}
Phil Blundell [Tue, 25 Sep 2012 16:38:06 +0000 (17:38 +0100)]
iproute2: Use configured values for ${base_sbindir} and ${libdir}

These were previously being hard-coded to "/sbin" and "/usr/lib" respectively,
resulting in unpackaged files if the configured values were something else.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSDK: trap any IO errors in the relocate script
Laurentiu Palcu [Tue, 25 Sep 2012 16:35:46 +0000 (19:35 +0300)]
SDK: trap any IO errors in the relocate script

If the files being relocated are already used by other processes the
relocate script will fail with a traceback. This patch will trap any IO
errors when opening such a file and gracefully report them to the user.

Also change the exit code from 1 to -1 for a better adt-installer user
experience (like pointing the user to the adt_installer.log).

[YOCTO #3164]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoossp-uuid: LICENSE type corrections.
Elizabeth Flanagan [Tue, 25 Sep 2012 22:32:07 +0000 (15:32 -0700)]
ossp-uuid: LICENSE type corrections.

The LICENSE for ossp-uuid is MIT. As well, the LIC_FILES_CHKSUM
was missing the license text within uuid_md5.c

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoat: atd remove useless --make-pidfile option.
Xin Ouyang [Wed, 26 Sep 2012 07:09:13 +0000 (15:09 +0800)]
at: atd remove useless --make-pidfile option.

For start-stop-daemon, --make-pidfile is used when starting a
program that does not create its own pid file.
atd would create its own /var/run/atd.pid, so remove this option.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysvinit-inittab: fix hang issue of series consoles check
Zhenhua Luo [Wed, 26 Sep 2012 07:18:37 +0000 (15:18 +0800)]
sysvinit-inittab: fix hang issue of series consoles check

The kernel boot process hangs when /proc/consoles doesn't exists, therefore
check the existence of /proc/consoles before executing pkg_postinst script.

Following is the log when /proc/consoles doesn't exist:
        Running postinst /etc/rpm-postinsts/102...
        cat: /proc/consoles: No such file or directory
        cat: /proc/consoles: No such file or directory
        cat: /proc/consoles: No such file or directory
        INIT: Entering runlevel: 5
        Starting OpenBSD Secure Shell server: sshd
          generating ssh RSA key...
          generating ssh ECDSA key...
          generating ssh DSA key...
        done.
        Starting network benchmark server: netserver.
        Starting system log daemon...0
        Starting kernel log daemon...0
        Stopping Bootlog daemon: bootlogd.
        INIT: no more processes left in this runlevel

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_ipk: Remove spurious '-i' in grep command for log_check
Phil Blundell [Wed, 26 Sep 2012 11:55:19 +0000 (12:55 +0100)]
package_ipk: Remove spurious '-i' in grep command for log_check

ipk_log_check uses a case-sensitive grep (which is correct) when deciding
whether there were any errors or not.  But if it decides that there were, it
then uses a case-insensitive grep to display them.  This results in a large
amount of irrelevant and confusing output which makes it hard to see the real
errors amongst the noise.

Suppress this by removing the unwanted -i.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-configure-cross: factor out --enable-threads argument into ${GCCTHREADS}
Phil Blundell [Wed, 26 Sep 2012 09:45:18 +0000 (10:45 +0100)]
gcc-configure-cross: factor out --enable-threads argument into ${GCCTHREADS}

This allows BSPs for architectures with no thread support to set (for
example) "GCCTHREADS=no" without having to override all the other configure
parameters.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Remove master manifest usage
Richard Purdie [Wed, 26 Sep 2012 13:32:13 +0000 (14:32 +0100)]
sstate: Remove master manifest usage

This was added to allow detection of duplicate files being installed by sstate.
There is a much simpler way, just check if the file already exists. This
effectively uses the kernel VFS as the cache which is much more efficient.

This resolves a significant performance bottleneck (lock contention on a
single file) when running builds that are just being generated from sstate
cache files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagedata/multilib: Fix search patch for multilib builds
Richard Purdie [Wed, 26 Sep 2012 11:56:58 +0000 (12:56 +0100)]
packagedata/multilib: Fix search patch for multilib builds

The current multilib search path code for packagedata is flawed since it
doesn't correctly handle changes in the TARGET_VENDOR/TARGET_OS that
multilib may make. This patch enhances the code to correctly build the
search paths so multilib packagedata is found correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Fix SSTATE_DUPWHITELIST variable usage
Richard Purdie [Wed, 26 Sep 2012 11:45:17 +0000 (12:45 +0100)]
sstate: Fix SSTATE_DUPWHITELIST variable usage

We need to split this variable before using it. Otherwise a single "/"
character in the list whitelists every overlapping sysroot file which
was not the intention making the whole thing useless.

We'll start seeing warnings about overlapping files now this is working
correctly after this patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokexec-tools: admit mips as a COMPATIBLE_HOST
Phil Blundell [Mon, 24 Sep 2012 11:49:35 +0000 (12:49 +0100)]
kexec-tools: admit mips as a COMPATIBLE_HOST

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: update beagleboard configs
Bruce Ashfield [Mon, 24 Sep 2012 20:25:46 +0000 (16:25 -0400)]
linux-yocto/3.4: update beagleboard configs

Updating to pickup a couple of configuration tweaks that were done
as part of a bump to the 3.4 linux-yocto tree for the beagleboard.

In particular, this updates DVI and USB settings to enable the
perhipherals out of the box.

Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: update kver to v3.4.11
Bruce Ashfield [Mon, 24 Sep 2012 20:25:45 +0000 (16:25 -0400)]
linux-yocto/3.4: update kver to v3.4.11

Updating the machine and meta SRCREVs to the latest 3.4.x -stable
release.

See git whatchanged v3.4.10..v3.4.11 for the full changelog.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd and use 'localedir' variable
Christopher Larson [Mon, 24 Sep 2012 19:00:41 +0000 (12:00 -0700)]
Add and use 'localedir' variable

This avoids the hardcoding of ${libdir}/locale which is all over the place,
and will facilitate use of ${exec_prefix}/lib/locale instead of
${libdir}/locale.

This doesn't actually change any output at this time. Verified this with
buildhistory against the packages produced from core-image-base.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-common.inc: Consider multilib when renaming libgcc for debian'ness
Khem Raj [Mon, 24 Sep 2012 22:24:42 +0000 (15:24 -0700)]
gcc-common.inc: Consider multilib when renaming libgcc for debian'ness

When doing multilib builds rpm does not find libgcc1 for lib32
multilib because its not honoring the debian renaming scheme for
libgcc-multilib. Lets add MLPREFIX to fix it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Add base-files as RDEPENDS
Saul Wold [Tue, 25 Sep 2012 00:04:55 +0000 (17:04 -0700)]
rpm: Add base-files as RDEPENDS

This solves a problem when installing rpm using the ipk pkg-management
system where /var/cache was conflicting with the existing /var/cache from
base-files.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibcap: Fix erroneous path in last commit
Phil Blundell [Mon, 24 Sep 2012 21:43:05 +0000 (22:43 +0100)]
libcap: Fix erroneous path in last commit

The directory used as SBINDIR should be ${sbindir} not ${base_sbindir}.
Reported by Martin Jansa <martin.jansa@gmail.com>

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoterminal: Send LogExecTTY event to spawn screen
Jason Wessel [Mon, 17 Sep 2012 22:43:51 +0000 (17:43 -0500)]
terminal: Send LogExecTTY event to spawn screen

Bitbake has the ability to request to run a command
and if it is not possible fall back to emitting a
log message.  This can be used to start a screen
client automatically on the controling tty if
the UI has an interactive tty.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoterminal: pass data store all the way through to terminal class
Jason Wessel [Mon, 17 Sep 2012 22:43:50 +0000 (17:43 -0500)]
terminal: pass data store all the way through to terminal class

Passing the data store will be needed for firing a custom event
for the screen class.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoFix Upstream-Status
Saul Wold [Mon, 24 Sep 2012 03:56:20 +0000 (20:56 -0700)]
Fix Upstream-Status

These were not getting fixed by orignal committer!

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobinutils-2.22: Disable recent gold backports from 2.22 branch
Khem Raj [Mon, 24 Sep 2012 02:46:17 +0000 (19:46 -0700)]
binutils-2.22: Disable recent gold backports from 2.22 branch

This patch has been causing some regressions on gold.
e.g. systemd based images segfault and uclibc based images
dont boot. There has been few other reports on the mailing
list. Considering this lets withdraw this patch.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoinitscripts/sysfs.sh: mount debugfs if present
Tom Zanussi [Fri, 21 Sep 2012 19:11:45 +0000 (14:11 -0500)]
initscripts/sysfs.sh: mount debugfs if present

debugfs is another kernel virtual file system that should be mounted
if configured, so if it's configured into the kernel, mount it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_ipk: Avoid leaving run-postinsts around if online package management is disabled
Phil Blundell [Fri, 21 Sep 2012 19:42:38 +0000 (20:42 +0100)]
rootfs_ipk: Avoid leaving run-postinsts around if online package management is disabled

If all postinsts have already been run during rootfs construction then
there's no point in having run-postinsts in the installed system.
Clean it up at the same time that update-rc.d and suchlike are being
removed.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: work with tap device names that end with a colon
Scott Garman [Fri, 21 Sep 2012 22:06:02 +0000 (15:06 -0700)]
runqemu: work with tap device names that end with a colon

On Fedora systems (and likely others), ifconfig returns interface
names that end with a colon. Make sure we strip the colon off the
tap device name before using it.

This fixes [YOCTO #3028]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu-native: fix build on hosts without libX11 installed
Martin Jansa [Sat, 22 Sep 2012 10:30:32 +0000 (12:30 +0200)]
qemu-native: fix build on hosts without libX11 installed

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibcap: respect ${base_sbindir}
Phil Blundell [Sat, 22 Sep 2012 13:25:19 +0000 (14:25 +0100)]
libcap: respect ${base_sbindir}

Need to pass the path explicitly to "make install" to ensure that the binaries end up
in the right locations.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosqlite3: enable USE_PREAD
Phil Blundell [Sat, 22 Sep 2012 16:50:21 +0000 (17:50 +0100)]
sqlite3: enable USE_PREAD

This gives a small but measureable performance improvement for
I/O heavy workloads.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/multilib: prevent multilib extension of nativesdk recipes
Paul Eggleton [Sat, 22 Sep 2012 12:29:57 +0000 (13:29 +0100)]
classes/multilib: prevent multilib extension of nativesdk recipes

It isn't supported to mix multilib and nativesdk in the same target, so
explicitly skip multilib processing if nativesdk is inherited. As a
bonus this fixes a bunch of related "missing file" warnings from the
file checksum code during parsing because BPN was not correctly stripped
for these targets.

Second half of the fix for [YOCTO #3146].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/multilib: ensure MLPREFIX is set for image recipes
Paul Eggleton [Sat, 22 Sep 2012 12:29:56 +0000 (13:29 +0100)]
classes/multilib: ensure MLPREFIX is set for image recipes

We need MLPREFIX to be set so that oe.utils.prune_suffix() (as used for
the value of BPN) can derive the bare name from the multilib-extended
name for image recipes. BPN being set correctly avoids missing file
warnings during parse from the file checksum code for (unusual) images
that set SRC_URI, such as build-appliance-image.

First half of the fix for [YOCTO #3146].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopulseaudio: Ensure openssl is disabled
Phil Blundell [Sat, 22 Sep 2012 18:37:04 +0000 (19:37 +0100)]
pulseaudio: Ensure openssl is disabled

We don't DEPEND on openssl but configure will try to use it if
pkg-config thinks it might be installed.  This can lead to failing
and/or nondeterministic builds, so let's force it off.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautotools: Remove special handling for autoconf* and automake*
Phil Blundell [Sat, 22 Sep 2012 16:18:08 +0000 (17:18 +0100)]
autotools: Remove special handling for autoconf* and automake*

For reasons that are now shrouded in obscurity, autotools.bbclass
has long contained a special heuristic to avoid attempting to run
autoreconf when building autoconf or automake themselves.  However,
the wildcard test against PN which is used there is problematic when
trying to build another package whose name happens to start with
"autoconf", and in any case it is silly to do this test at runtime
for every package.  The individual recipes for autoconf and automake
can just as easily suppress the behaviour that they don't want by
providing a custom do_configure() method which just runs configure.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus: Remove hardcoded reference to /usr in System V startup script
Phil Blundell [Sat, 22 Sep 2012 18:42:17 +0000 (19:42 +0100)]
dbus: Remove hardcoded reference to /usr in System V startup script

Use ${bindir} to locate the binary instead.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoarch-armv7a.inc: Don't disable vectorization
Khem Raj [Mon, 24 Sep 2012 02:55:40 +0000 (19:55 -0700)]
arch-armv7a.inc: Don't disable vectorization

We have been adding this option to paper over a bug in old toolchain
http://hardwarebug.org/2008/11/28/codesourcery-fails-again/
e.g. is one but these have been weeded out. Therefore let gcc
take the default vectorization optimizations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: Update fri2 and sys940x to emgd-1.14
Bruce Ashfield [Mon, 24 Sep 2012 03:06:58 +0000 (23:06 -0400)]
linux-yocto/3.4: Update fri2 and sys940x to emgd-1.14

Bumping the meta SRCREV to pickup a newer emgd for the fri2 and
sys940x.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbtest: update list file
Kang Kai [Mon, 24 Sep 2012 05:38:14 +0000 (13:38 +0800)]
lsbtest: update list file

Update the lsbtest's list file that we can download the latest
sub-packages of LSB suite 4.1.0 and then run the test with them.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Ensure that ${sbindir} is respected
Phil Blundell [Mon, 24 Sep 2012 06:24:51 +0000 (07:24 +0100)]
util-linux: Ensure that ${sbindir} is respected

The configure script uses a hard-coded value for ${usrsbin_execdir},
which is the path that we know as ${sbindir}.  Adjust configure to take
this from the environment if it's set there, and have do_configure()
pass it in.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobash: Make it possible to run bash 3.2.48 instead of 4.2.
Martin Ertsaas [Wed, 19 Sep 2012 07:16:55 +0000 (09:16 +0200)]
bash: Make it possible to run bash 3.2.48 instead of 4.2.

bash-3.2.48 did not provide the linking from sh to bash, making it unusable.
Moving the license part out of the bash.inc file, and into bash_4.2.bb file makes
us able to use that file also for bash_3.2.48.bb, which makes maintaining both
at the same time a lot easier.

Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadt-installer: add sudo when relocating symlinks
Laurentiu Palcu [Sun, 23 Sep 2012 14:14:27 +0000 (17:14 +0300)]
adt-installer: add sudo when relocating symlinks

This is needed if installation is done in a directory that needs root
privileges.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Use 4.7.2 release tarball
Khem Raj [Thu, 20 Sep 2012 20:54:35 +0000 (13:54 -0700)]
gcc: Use 4.7.2 release tarball

This avoids the SVN or git fetcher issues for gcc
and the tar is mirrored around the world so it will
not be slow

Fixes [YOCTO #2908]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf/gcc-common.inc: Fix STAMPCLEAN expression
Richard Purdie [Fri, 21 Sep 2012 13:18:05 +0000 (14:18 +0100)]
bitbake.conf/gcc-common.inc: Fix STAMPCLEAN expression

The globs used for STAMPCLEAN were too greedy matching gcc-cross-initial
stamps for gcc-cross for example. This patch resolves that problem making
the assumption that PV starts with something numeric. This assumption
should hold in most cases and has a better failure case that the current
situation.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: Improve ability to detect enabled tests
Richard Purdie [Fri, 21 Sep 2012 10:16:24 +0000 (11:16 +0100)]
insane.bbclass: Improve ability to detect enabled tests

Define an ALL_QA variable which can be used to determine which tests to
run. Improve the libdir test to work in the case it is set to raise an
error rather than a warning.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: add library dir sanity check
Radu Moisan [Wed, 19 Sep 2012 09:32:39 +0000 (12:32 +0300)]
insane.bbclass: add library dir sanity check

Check in ${PKGD} for libraries in wrong locations.
Trigger a warning if so.
Eg. Catch recipe installing /lib/bar.so when ${base_libdir}="lib32"
or installing in /usr/lib64 when ${libdir}="/usr/lib"

[Yocto #2038]

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-yocto/3.4: use profiling and latencytop features in yocto bsps
Bruce Ashfield [Thu, 20 Sep 2012 17:34:43 +0000 (13:34 -0400)]
linux-yocto/3.4: use profiling and latencytop features in yocto bsps

Updating the meta SRCREVs to pickup the following configuration change:

    594994c meta: use profiling and latencytop features in yocto bsps

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoSDK: allow toolchain installation from another directory
Laurentiu Palcu [Thu, 20 Sep 2012 12:52:30 +0000 (15:52 +0300)]
SDK: allow toolchain installation from another directory

This patch will allow one to run the installer from another directory
than the one where it's actually located.

Suppose the installer is in /home/user/test/my/sdk and the current
directory is in a different place. With this patch, one can run the
installer like this:

$ sh ~/test/my/sdk/poky-eglibc-x86_64-arm-toolchain-gmae-1.2+snapshot-20120920.sh

[YOCTO #3135]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoSDK: relocate symlinks too
Laurentiu Palcu [Thu, 20 Sep 2012 11:58:48 +0000 (14:58 +0300)]
SDK: relocate symlinks too

The directory usr/libexec/ in the SDK sysroot contains the default
symlinks to the toolchain binaries and these, too, need to point to the
correct toolchain path.

[YOCTO #3090]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoSDK: remove references to Poky distro from tarball installer
Laurentiu Palcu [Tue, 18 Sep 2012 09:07:26 +0000 (12:07 +0300)]
SDK: remove references to Poky distro from tarball installer

The installer should be generic.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoadt-installer: ensure directory exists before copying/removing
Laurentiu Palcu [Tue, 18 Sep 2012 07:34:35 +0000 (10:34 +0300)]
adt-installer: ensure directory exists before copying/removing

If the installation is done in a directory which already contains a
valid installation, opkg will not install anything and the moving the
contents of /install/dir/opt/poky/1.2 (for example) to /install/dir will
throw some errors. However, the install directory will not be affected.
This patch will ensure that the /install/dir/opt/poky/1.2 exists.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoSDK: fix installation into symlinked directories
Laurentiu Palcu [Mon, 17 Sep 2012 08:19:08 +0000 (11:19 +0300)]
SDK: fix installation into symlinked directories

The SDK installation scripts should not canonicalize symlinked
directories because the entire relocation would be done to the directory
to which the symlink points. Instead, if the installation is a symlink,
use that path to relocate the binaries.

For example, if we have the following symlink: /opt/sdk -> ~/my/test/sdk
the binaries will be relocated to /opt/sdk not ~/my/test/sdk as it is
done now.

[YOCTO #3102]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoadt-installer: fix package installation issue
Laurentiu Palcu [Mon, 17 Sep 2012 08:06:49 +0000 (11:06 +0300)]
adt-installer: fix package installation issue

When the cross canadian toolchains are installed, for different
architectures, they might contain common files. This leads to
installation failures since the opkg, by default, does not overwrite
files. This issue happens, for example, for binutils packages (that
contain the same locale files) or gdb (which installs some syscalls xml
files). The locale files could be removed from the binutils
cross-canadian package but we cannot do the same for the syscalls GDB
files which are used by GDB to display user friendly names for the
syscall numbers. Hence, the best solution is to force opkg to overwrite
these files.

[YOCTO #3109]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agointltool: include intltool.m4 and add missing rdepends
Constantin Musca [Wed, 19 Sep 2012 09:59:14 +0000 (12:59 +0300)]
intltool: include intltool.m4 and add missing rdepends

- include /usr/share/aclocal/intltool.m4 into the intltool
package (the files from intltool-dev must be included into the
main package, as intltool is a development tool)
- add missing rdepends: gettext-dev, libxml-parser-perl

[YOCTO #2597]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopkg svn: respect to the arch priority
Robert Yang [Thu, 20 Sep 2012 07:47:55 +0000 (15:47 +0800)]
opkg svn: respect to the arch priority

This is for fixing the problem:
1) bitbake core-image-sato-sdk with MACHINE=qemux86
2) bitbake core-image-sato with with MACHINE=crownbay

The qemux86's PACKAGE_ARCH is i586, the crownbay's is core2, but several
i586 packages will be installed into crownbay's rootfs though there are
core2 packages. For example, there are:

xserver-xorg*_1.11.2-r7_i586.ipk
xserver-xorg*_1.9.3-r1_core2.ipk

The crownbay.conf says:
PREFERRED_VERSION_xserver-xorg ?= "1.9.3"

What the crownbay's image needs is xserver-xorg*_1.9.3-r1_core2.ipk, but
the xserver-xorg*_1.11.2-r7_i586.ipk will be installed, this is
incorrect.

This is caused by opkg's selecting mechanism: when more than one
candidate is found, it will use the higher version one and ignore the
arch priority.

we have several conf files which set the PREFERRED_VERSION_pkg = "..." ,
but there is no such a mechanism which can let us tell the opkg to
install the preferred version. When the preferred version is higher,
this is OK, but if the preferred version is lower, there would be
problems:

1) Most of the packages are core2 in the image, but several of them are
   i586, though we have built the core2 ones, this seems strange.

2) What's worse is that the image may not work since the preferred
   version pkg is not installed.

We have set the arch priority clearly in the opkg.conf, I think that
respect to the arch priority is reasonable during the image generation.

Add the "--select-higher-version" option to let the user have another
choice, the default is no.

[YOCTO #2575]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogdb: Upgrade 7.4 -> 7.5
Khem Raj [Wed, 19 Sep 2012 21:57:32 +0000 (14:57 -0700)]
gdb: Upgrade 7.4 -> 7.5

This is a simple upgrade. Dropping the unneeded patches
and adding --disable-werror to configure since thats is
what one of the patch was doing which was dropped.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopkg-nogpg: drop SRCREV
Martin Jansa [Wed, 19 Sep 2012 17:16:31 +0000 (19:16 +0200)]
opkg-nogpg: drop SRCREV

* use SRCREV from opkg_svn.bb, because with 596 patches we have won't apply

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopkg: add patch to fix SIGSEGV when printing status file
Martin Jansa [Wed, 19 Sep 2012 17:40:52 +0000 (19:40 +0200)]
opkg: add patch to fix SIGSEGV when printing status file

* it was triggered by c02364f36e228835ea5d7fd4e1d347fd451f8544 when new package had 2 entries in Provides and old version just 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopkg: replace local patches with git patches submitted upstream
Martin Jansa [Wed, 19 Sep 2012 17:41:13 +0000 (19:41 +0200)]
opkg: replace local patches with git patches submitted upstream

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopkg 0.1.8: remove it since it doesn't work
Robert Yang [Wed, 19 Sep 2012 09:33:03 +0000 (17:33 +0800)]
opkg 0.1.8: remove it since it doesn't work

Remove opkg_0.1.8.bb and the related files since it doesn't work:

- It doesn't support the "--force_postinstall" option which is used by
  package_ipk.bbclass.

- It still doesn't work after remove the "--force_postinstall" option,
  it can't install the packages in complementary_pkgs.txt.

[YOCTO #3136]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemux86-64: Support for KVM, paravirt and virtio added
Cristian Iorga [Wed, 19 Sep 2012 07:06:55 +0000 (10:06 +0300)]
qemux86-64: Support for KVM, paravirt and virtio added

    KVM, paravirtualization and virtio drivers are now activated
    in runqemu using the kvm option flag for qemux86-64.
    Host CPU features are also exported to guest OS (Yocto Linux).
    Usage example: runqemu qemux86-64 core-image-x11 kvm

    Implements [YOCTO #2550].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemux86: Support for KVM, paravirt and virtio added
Cristian Iorga [Wed, 19 Sep 2012 07:06:54 +0000 (10:06 +0300)]
qemux86: Support for KVM, paravirt and virtio added

KVM, paravirtualization and virtio drivers are now activated
in runqemu using the kvm option flag for qemux86.
Host CPU features are also exported to guest OS (Yocto Linux).
Usage example: runqemu qemux86 core-image-x11 kvm

Implements [YOCTO #2550].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorunqemu: show bitbake errors to user
Scott Garman [Wed, 19 Sep 2012 05:50:50 +0000 (22:50 -0700)]
runqemu: show bitbake errors to user

In certain edge cases, bitbake may fail to run and cause setup_tmpdir()
within runqemu to fail, and not give the user a helpful error message.
Catch this case and show the user the output of bitbake -e.

This fixes [YOCTO #3112]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibrsvg: make the libcroco dependency a PACKAGECONFIG option
Ross Burton [Fri, 7 Sep 2012 09:55:55 +0000 (10:55 +0100)]
librsvg: make the libcroco dependency a PACKAGECONFIG option

Default to enabling it as we were build-depending on it already.  If a user
needs the disk space and the limitations imposed by not using libcroco are
acceptable they can override this.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomkefidisk.sh: Add script to do an EFI install on the host
Darren Hart [Tue, 18 Sep 2012 18:45:14 +0000 (11:45 -0700)]
mkefidisk.sh: Add script to do an EFI install on the host

Sometimes it is convenient to prepare a bootable image from the
host rather than using a live-image to install to a disk on the
target.

This script takes a live image as input, partitions a device, and
performs the installation just as the installer would if run on
the target.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpm 5.4.9: DEPENDS on bison-native
Robert Yang [Tue, 18 Sep 2012 11:26:17 +0000 (19:26 +0800)]
rpm 5.4.9: DEPENDS on bison-native

The rpm should depend on bison-native, otherwise errors when "bitbake
rpm-native" in a fresh build:

| make[4]: Entering directory `/path/to/rpm-native-5.4.9-r46/rpm-5.4.9/syck/lib'
| bison -d -t -v -p syck -o gram.c gram.y
| make[4]: bison: Command not found

Basically, both the rpm-native and rpm should depend on bison-native,
but don't need depend on bison, but it seems that it isn't necessary
to add another depend line:

DEPENDS_virtclass-native = "libpcre-native ... bison-native"

So just add it to the DEPENDS.

[YOCTO #3123]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogtk+: enable gtk+-native
Laurentiu Palcu [Wed, 19 Sep 2012 11:49:19 +0000 (14:49 +0300)]
gtk+: enable gtk+-native

This is needed in order to run postinst scriplets at do_rootfs time
rather than first boot time.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoReplace "echo -e" with "printf" to have the same behavior in dash or bash
Andrei Gherzan [Thu, 20 Sep 2012 09:56:59 +0000 (12:56 +0300)]
Replace "echo -e" with "printf" to have the same behavior in dash or bash

oe-core removed the prerequisite to have sh as bash. POSIX doesn't define
any options and furthermore allows 'echo -e' to be the default behavior.
This means that in dash 'echo -e' will actually print '-e' and interpret
backslashes by default. We use instead 'printf' builtin command with or
without '\n' to simulate 'echo -e' or 'echo -n'.
'printf' needs format while 'echo' can be used without any arguments. So
'echo >' was replaced by 'printf "" >'.
'echo' without '-n' flag adds a new line by default so to keep the same
behavior of two new lines while using 'echo "\n"', 'printf "\n\n"' is
used.

[YOCTO #3138]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobyacc: update config.{sub, guess} before running configure
Marcin Juszkiewicz [Thu, 20 Sep 2012 10:56:34 +0000 (12:56 +0200)]
byacc: update config.{sub, guess} before running configure

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcursor-transparent-theme: switch SRC_URI as matchbox-project is dead
Marcin Juszkiewicz [Thu, 20 Sep 2012 11:02:59 +0000 (13:02 +0200)]
xcursor-transparent-theme: switch SRC_URI as matchbox-project is dead

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf/gcc: Add clean masks for stamp files
Richard Purdie [Mon, 17 Sep 2012 10:04:27 +0000 (10:04 +0000)]
bitbake.conf/gcc: Add clean masks for stamp files

This takes advantage of new bitbake functionality to clean up stale stamp
files when creating new stamp files.

[YOCTO #2961]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types: fix squashfs-lzma image creation
Saul Wold [Wed, 19 Sep 2012 15:28:05 +0000 (08:28 -0700)]
image_types: fix squashfs-lzma image creation

This removes the dependency on a seperate binary which we
don't seem to have. So, use mksquashfs's -comp lzma to
replace that functionality

[YOCTO #3126]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_rpm: Add Multilib prefix to installed_packages list
Saul Wold [Wed, 19 Sep 2012 16:47:06 +0000 (09:47 -0700)]
rootfs_rpm: Add Multilib prefix to installed_packages list

RPM does not name it's packages with the Multilib prefix,
but the rootfs_rpm class keeps track of the Multilib prefixs
in a list. Use that list to re-attach the prefix for use with
the license bbclass, buildhistory bbclass will also use this
and make it more accurate between multilib and non-multilib.
Use the embedded "Platform" information to ensure we get all
the correct matching.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Do not use fsqrt in libm when building for fsl ppc with fpu
Khem Raj [Tue, 11 Sep 2012 23:38:20 +0000 (16:38 -0700)]
eglibc: Do not use fsqrt in libm when building for fsl ppc with fpu

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: Fix fcntl.h for powerpc
Khem Raj [Sun, 9 Sep 2012 06:06:13 +0000 (23:06 -0700)]
eglibc: Fix fcntl.h for powerpc

This fix is needed for systemd to work on powerpc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonfs-utils: add x32 patch to fix nfsctl issue
Saul Wold [Mon, 17 Sep 2012 17:58:06 +0000 (10:58 -0700)]
nfs-utils: add x32 patch to fix nfsctl issue

nfsservctl syscall does not exist for x32, so return an error.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxserver-xorg: Modify RREPLACES for RCONFLICTS
Saul Wold [Mon, 17 Sep 2012 16:17:01 +0000 (09:17 -0700)]
xserver-xorg: Modify RREPLACES for RCONFLICTS

fix bad runtime dependency that was causing -exa to be a suitable candidate for xserver-xorg, thus resulting in no X server in some situations

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoutil-linux: Fix bloken swapoff symlink
Andrei Gherzan [Mon, 17 Sep 2012 10:49:58 +0000 (13:49 +0300)]
util-linux: Fix bloken swapoff symlink

There were 2 issues with this symlink.
1. Is was installed in base_bindidir but packaged in bindir. Fixed to
be packaged in base_bindir
2. The symlink swapoff was created to point to swapon. The problem is
that swapoff is an alternative so it would end up pointing to
swapoff.util-linux which was an inexistent file. The fix is to create
a symlink swapoff.util-linux to swapon.util-linux.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogrub: disable lzma, device-mapper, zfs and nvpair
Constantin Musca [Fri, 14 Sep 2012 09:48:27 +0000 (12:48 +0300)]
grub: disable lzma, device-mapper, zfs and nvpair

check-if-liblzma-is-disabled.patch: added
- add support for the --enable_liblzma option

[YOCTO #2750]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibtelepathy: PR bump to rebuild after libffi5 -> libffi6
Martin Jansa [Mon, 17 Sep 2012 17:17:01 +0000 (19:17 +0200)]
libtelepathy: PR bump to rebuild after libffi5 -> libffi6

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorecipes: few more PR bumps to rebuild after libffi5 -> libffi6
Martin Jansa [Mon, 17 Sep 2012 10:54:00 +0000 (12:54 +0200)]
recipes: few more PR bumps to rebuild after libffi5 -> libffi6

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorecipes: bump PR to rebuild after libffi5 -> libffi6
Martin Jansa [Sun, 16 Sep 2012 18:47:26 +0000 (20:47 +0200)]
recipes: bump PR to rebuild after libffi5 -> libffi6

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>