]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agosbc: Fix PN -> BPN for multilib
Saul Wold [Thu, 21 Feb 2013 16:02:51 +0000 (08:02 -0800)]
sbc: Fix PN -> BPN for multilib

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosbc: SBC audio codec
Cristian Iorga [Mon, 18 Feb 2013 12:50:29 +0000 (14:50 +0200)]
sbc: SBC audio codec

recipe added;
needed by pulseaudio.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agognome-common: upgrade to 3.7.4
Constantin Musca [Mon, 18 Feb 2013 13:43:35 +0000 (15:43 +0200)]
gnome-common: upgrade to 3.7.4

- gnome-common finally is GPLv2+
- omf.patch is included in the new version

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxvinfo: upgrade to 1.1.2
Laurentiu Palcu [Mon, 18 Feb 2013 15:20:17 +0000 (17:20 +0200)]
xvinfo: upgrade to 1.1.2

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxrandr: upgrade to 1.4.0
Laurentiu Palcu [Mon, 18 Feb 2013 15:20:16 +0000 (17:20 +0200)]
xrandr: upgrade to 1.4.0

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocurl: update to upstream version 7.29.0
Marko Lindqvist [Sun, 17 Feb 2013 08:53:10 +0000 (10:53 +0200)]
curl: update to upstream version 7.29.0

- obsolete_automake_macros.patch removed as it's part of upstream.
- dont_override_ac_config_macro_dir.patch removed as no longer needed.
- pkgconfig_fix.patch updated to apply cleanly

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agooprofileui-server: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 17 Feb 2013 08:52:21 +0000 (10:52 +0200)]
oprofileui-server: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogtk-sato-engine: update to git repository head
Marko Lindqvist [Sun, 17 Feb 2013 08:51:58 +0000 (10:51 +0200)]
gtk-sato-engine: update to git repository head

The only new commit this pulls fixes build with automake-1.13.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowebkit-gtk: replace obsolete automake macros with working ones
Marko Lindqvist [Sun, 17 Feb 2013 08:51:23 +0000 (10:51 +0200)]
webkit-gtk: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomatchbox-session-sato: start the keyboard applet if we have no keyboard
Ross Burton [Fri, 15 Feb 2013 17:02:42 +0000 (17:02 +0000)]
matchbox-session-sato: start the keyboard applet if we have no keyboard

If the formfactor says we have no physical keyboard, add the keyboard applet so
the user can force the keyboard to show/hide on demand.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomatchbox-keyboard: add RRECOMMENDS to matchbox-keyboard-applet
Ross Burton [Thu, 14 Feb 2013 21:38:09 +0000 (21:38 +0000)]
matchbox-keyboard: add RRECOMMENDS to matchbox-keyboard-applet

The keyboard is more useful with the applet, as it means that you can hide it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomatchbox-keyboard: general clean up
Ross Burton [Thu, 14 Feb 2013 21:36:59 +0000 (21:36 +0000)]
matchbox-keyboard: general clean up

Re-order variables, use $PN more, and merge the -dbg packages together.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopakcage.bbclass:use a better way to cut -dev/-dbg suffix
Song.Li [Fri, 22 Feb 2013 10:52:19 +0000 (18:52 +0800)]
pakcage.bbclass:use a better way to cut -dev/-dbg suffix

In pakcage.bbclass,function replace('-dev', '') is
used to cut '-dev' suffix. but it will cause the
name "lib32-device-dev" to "lib32ice",
so change it to [:-4].

Signed-off-by: Song.Li <Song.Li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_ipkg: fix BAD_RECOMMENDATIONS handling
Ross Burton [Tue, 19 Feb 2013 21:31:52 +0000 (21:31 +0000)]
rootfs_ipkg: fix BAD_RECOMMENDATIONS handling

If multiple versions of the same package are in the package feed then the
generate status file would only contains a "deinstall" status for the last one,
which meant that BAD_RECOMMENDATIONS wouldn't actually work.

Use awk instead of grep and stop reading when we reach a newline, so we only
ever output a single stanza.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotoolchain-scripts.bbclass: add PYTHONHOME variable to environment-setup
Laurentiu Palcu [Tue, 19 Feb 2013 14:15:03 +0000 (16:15 +0200)]
toolchain-scripts.bbclass: add PYTHONHOME variable to environment-setup

When relocating the SDK, applications using python will search for
python modules in the default location and will fail to start.
The below errors are thrown by gdb, for example:

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site

In order to overcome this, add the PYTHONHOME variable to the
environment-setup script for both standalone toolchain and
adt-installer. No need to do that for meta-ide-support environment
script since this toolchain does not get relocated.

[YOCTO #3839]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsdl: Use 'virtual/nativesdk-libx11' instead of hardcoding nativesdk-libx11
Otavio Salvador [Sun, 17 Feb 2013 17:53:10 +0000 (17:53 +0000)]
libsdl: Use 'virtual/nativesdk-libx11' instead of hardcoding nativesdk-libx11

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus: Drop x11 support from nativesdk
Otavio Salvador [Sun, 17 Feb 2013 17:53:09 +0000 (17:53 +0000)]
dbus: Drop x11 support from nativesdk

This avoid a libx11 dependency for nativesdk as it is not intended to
be run in the toolchain. We also remove the dbus-launch as without x11
support it might case trouble for user

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodevshell.bbclass: Allow running devshell and fakeroot together
Richard Purdie [Mon, 18 Feb 2013 13:19:50 +0000 (13:19 +0000)]
devshell.bbclass: Allow running devshell and fakeroot together

Currently its hard to run a devshell complete with fakeroot context. This
patch allows the fakeroot flag on the task to do this, as with any other
task. Since we may need to start X terminal applications, we need to
only start the fakeroot session on the final command, hence the hoops
this code jumps through.

As always with fakeroot, you can break out and run a command without
the fake permissions with syntax like "PSEUDO_UNLOAD=1 <command>"

[YOCTO #3374]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base.bbclass: fix SDKTARGETSYSROOT value
Laurentiu Palcu [Mon, 18 Feb 2013 11:40:12 +0000 (11:40 +0000)]
populate_sdk_base.bbclass: fix SDKTARGETSYSROOT value

Currently, SDKTARGETSYSROOT points to PACKAGE_ARCH which, sometimes, can
be set to MACHINE_ARCH. When this happens, the default target sysroot
passed to the cross-canadian toolchain, which points to TUNE_PKGARCH,
will be different from the directory where the target sysroot has been
deployed.

In order to fix this, use REAL_MULTIMACH_TARGET_SYS variable instead of
MULTIMACH_TARGET_SYS.

[YOCTO #3784]

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>
12 years agosanity: check_path_length: replace tab with 8 spaces
Martin Jansa [Mon, 18 Feb 2013 23:20:11 +0000 (23:20 +0000)]
sanity: check_path_length: replace tab with 8 spaces

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo.inc: pseudo 1.5 uprev, support extra config flags
Peter Seebach [Sun, 17 Feb 2013 23:31:33 +0000 (23:31 +0000)]
pseudo.inc: pseudo 1.5 uprev, support extra config flags

The pseudo 1.5 update is a moderately experimental set of changes
which ought to improve performance. With these changes, pseudo
uses an in-memory sqlite database which is lushed on exit,
the protocol is changed to reduce waiting for server responses,
and pseudo can suppress any and all fsync/fdatasync type operations.

This last feature is optional, and not on by default, so we need
to pass in an extra configure argument, but that argument wouldn't
be known to an older configure, so... Enter PSEUDO_EXTRA_OPTS which
is passed to configure, and which pseudo_1.5.bb sets by default to
"--enable-force-async". (I haven't added it in pseudo_git.bb, but
maybe it should be changed; I'm not quite as sure there.)

The justification for these changes is that, for most of the real-world
build cases I deal with, they produce a 25% or more reduction in the
build time of a project. This increases when a system is heavily
loaded.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa-toolchain-qt.inc: Use CXX when linking
Otavio Salvador [Sun, 17 Feb 2013 17:53:12 +0000 (17:53 +0000)]
meta-toolchain-qt.inc: Use CXX when linking

We should use CXX compiler when linking objects as done in regular
builds inside of OE-Core. This fixes issues we've been seeing in field
where we needed to change it byhand so the toolchain could work.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_tar: Fix so it actually works
Richard Purdie [Sun, 17 Feb 2013 09:04:31 +0000 (09:04 +0000)]
package_tar: Fix so it actually works

This tells us how long the code hasn't been used for :/

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_tar: Remove completely pointless code
Richard Purdie [Sun, 17 Feb 2013 09:03:28 +0000 (09:03 +0000)]
package_tar: Remove completely pointless code

Remove/simply overcomplicated code. No functionality change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_tar: bb.mkdirhier -> bb.utils.mkdirhier
Richard Purdie [Sun, 17 Feb 2013 09:02:25 +0000 (09:02 +0000)]
package_tar: bb.mkdirhier -> bb.utils.mkdirhier

Fix deprecated function reference.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_tar: Fix whitespace
Richard Purdie [Sun, 17 Feb 2013 09:01:35 +0000 (09:01 +0000)]
package_tar: Fix whitespace

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm/dev/ipk/tar: Drop unused functions
Richard Purdie [Sun, 17 Feb 2013 09:00:29 +0000 (09:00 +0000)]
package_rpm/dev/ipk/tar: Drop unused functions

The package_xxx_install functions date from a different era and are not used by
anything. In the rpm case, they're simply unimplemented, in the tar case they're
using broken whitespace and deprecated functions. We might as well clean
out the old broken unused code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm/deb/ipk: Error if we don't find packages when creating the package index
Richard Purdie [Sun, 17 Feb 2013 08:57:17 +0000 (08:57 +0000)]
package_rpm/deb/ipk: Error if we don't find packages when creating the package index

If for whatever reason the package directory is empty of packages, it
makes sense to error early rather than later in what become much
more obtuse errors. This adds in a sanity check to each of the packaging
backends. It also removes the duplicate createrepo call since the
core index creation function now uses this directly after the switch
to smart.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses: Drop none package specific packaging variable accesses
Richard Purdie [Sun, 3 Feb 2013 22:10:21 +0000 (22:10 +0000)]
classes: Drop none package specific packaging variable accesses

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconf: Remove unused ROOT_FLASH_SIZE variable from the config
Holger Hans Peter Freyther [Sat, 16 Feb 2013 22:41:00 +0000 (23:41 +0100)]
conf: Remove unused ROOT_FLASH_SIZE variable from the config

This variable is set but never used in OE-core and meta-oe. It
was historically used for the Opie collection but seems to be
unused now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: Add auto/XS/Typemap in perl-doc package
Otavio Salvador [Sat, 16 Feb 2013 21:20:41 +0000 (19:20 -0200)]
perl: Add auto/XS/Typemap in perl-doc package

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodropbear: use pidfile for daemon start/stop/restart
Roman I Khimov [Mon, 19 Jul 2010 13:08:08 +0000 (13:08 +0000)]
dropbear: use pidfile for daemon start/stop/restart

Old init script killed all dropbear processes when doing stop/restart
including open SSH sessions which is very annoying.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzcode-native: Fix SRC_URI checksum typo
Richard Purdie [Fri, 15 Feb 2013 12:48:54 +0000 (12:48 +0000)]
tzcode-native: Fix SRC_URI checksum typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolocal.conf.sample: Enhance the SSTATE_MIRRORS example
Richard Purdie [Fri, 15 Feb 2013 12:28:54 +0000 (12:28 +0000)]
local.conf.sample: Enhance the SSTATE_MIRRORS example

By using downloadfilename in the url, symlinks in the download
directory can be avoided and hence directories with large numbers
of files are less likely.

[YOCTO #3220]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemd.bbclass: Dont use libdir and base_libdir for units
Khem Raj [Thu, 14 Feb 2013 04:02:00 +0000 (04:02 +0000)]
systemd.bbclass: Dont use libdir and base_libdir for units

systemd always uses /lib and /usr/lib to store unit files
so using libdir and base_libdir is incorrect. It will work
where libdir is usr/lib and base_libdir is /lib but wont work
when say its /lib64

Add a check to make sure that SYSTEMD_PACKAGES are part of PACKAGES
too, otherwise error out

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg: fix CVE-2012-6085
Saul Wold [Thu, 14 Feb 2013 23:55:12 +0000 (15:55 -0800)]
gnupg: fix CVE-2012-6085

Code taken from Redhat

[YOCTO #3813]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosanity.bbclass: when bblayers.conf is updated, it invokes a reparse
Cristiana Voicu [Tue, 12 Feb 2013 13:27:32 +0000 (15:27 +0200)]
sanity.bbclass: when bblayers.conf is updated, it invokes a reparse

When bblayers.conf is updated(when sanity check is running), it should
tell to bitbake to reparse configuration files. I will send a patch to
bitbake-devel, with the actions needed in bitbake and hob.

[YOCTO #3213]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage_ipk: check CONFFILES exist before adding them to metadata
Ross Burton [Tue, 5 Feb 2013 21:12:50 +0000 (21:12 +0000)]
package_ipk: check CONFFILES exist before adding them to metadata

opkg-build verifies that conffiles exist, so verify that the specified files
actually exist before writing them to conffiles.

This mirrors the behaviour of FILES and package_rpm's CONFFILES handling.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoscripts/bitbake: Remove all instances of paths to a layer's scripts directory.
Franklin S. Cooper Jr [Sat, 9 Feb 2013 17:08:10 +0000 (11:08 -0600)]
scripts/bitbake: Remove all instances of paths to a layer's scripts directory.

* Currently the assumption is made that only oe-core can include a scripts
  directory.

* However, when other layers create a scripts directory the bitbake script
  freaks out causing a infinite recursive loop until it crashes.

* Simply changing the regular expression to remove all instances of scripts path
  instead of just the first one fixes this problem.

 [Yocto Bug 3872]

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoalsa-lib: upgrade to 1.0.26
Cristian Iorga [Fri, 18 Jan 2013 11:39:30 +0000 (13:39 +0200)]
alsa-lib: upgrade to 1.0.26

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosystemd: add udev-extraconf and USB/PCI IDs to RRECOMMENDS
Ross Burton [Wed, 13 Feb 2013 18:12:42 +0000 (18:12 +0000)]
systemd: add udev-extraconf and USB/PCI IDs to RRECOMMENDS

The standalone udev has these dependencies and extraconf is required to have
working automount amongst other things.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpng: update to upstream version 1.5.14
Marko Lindqvist [Wed, 13 Feb 2013 11:26:18 +0000 (13:26 +0200)]
libpng: update to upstream version 1.5.14

obsolete_automake_macros.patch removed as it's not part of upstream.
The only changes to license texts are latest libpng version number
and release dates.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoharfbuzz: update to upstream version 0.9.12
Marko Lindqvist [Wed, 13 Feb 2013 11:25:55 +0000 (13:25 +0200)]
harfbuzz: update to upstream version 0.9.12

Fixed license declaration to have AND between all the licenses
instead of OR.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogtk+: update to upstream version 2.24.15
Marko Lindqvist [Wed, 13 Feb 2013 11:25:32 +0000 (13:25 +0200)]
gtk+: update to upstream version 2.24.15

- configure-nm.patch updated to apply
- hardcoded_libtool.patch updated to apply
- obsolete_automake_macros.patch removes as it's now part of upstream

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowebkit-gtk: update to upstream version 1.8.3
Marko Lindqvist [Wed, 13 Feb 2013 11:25:07 +0000 (13:25 +0200)]
webkit-gtk: update to upstream version 1.8.3

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxev: upgrade to 1.2.1
Laurentiu Palcu [Wed, 13 Feb 2013 09:33:32 +0000 (11:33 +0200)]
xev: upgrade to 1.2.1

Licence didn't change, the end line for computing the licence md5sum was
inside the actual code which, eventually changed. Adjust it to the right
line.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxf86-video-vmware: upgrade to 13.0.0
Laurentiu Palcu [Wed, 13 Feb 2013 08:50:30 +0000 (10:50 +0200)]
xf86-video-vmware: upgrade to 13.0.0

Removed backported patch.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxf86-input-synaptics: upgrade to 1.6.3
Laurentiu Palcu [Wed, 13 Feb 2013 08:48:33 +0000 (10:48 +0200)]
xf86-input-synaptics: upgrade to 1.6.3

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxkeyboard-config: upgrade to 2.8
Laurentiu Palcu [Wed, 13 Feb 2013 08:48:08 +0000 (10:48 +0200)]
xkeyboard-config: upgrade to 2.8

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibdrm: upgrade to 2.4.42
Laurentiu Palcu [Wed, 13 Feb 2013 08:47:13 +0000 (10:47 +0200)]
libdrm: upgrade to 2.4.42

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxf86-input-vmmouse: upgrade to 13.0.0
Laurentiu Palcu [Wed, 13 Feb 2013 08:46:51 +0000 (10:46 +0200)]
xf86-input-vmmouse: upgrade to 13.0.0

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxf86-video-intel: upgrade to 2.21.0
Laurentiu Palcu [Wed, 13 Feb 2013 08:34:29 +0000 (10:34 +0200)]
xf86-video-intel: upgrade to 2.21.0

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu: upgrade to 1.3.1
Constantin Musca [Mon, 11 Feb 2013 13:01:48 +0000 (15:01 +0200)]
qemu: upgrade to 1.3.1

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotzcode/tzdata: Update to 2012j
Saul Wold [Fri, 8 Feb 2013 18:50:57 +0000 (18:50 +0000)]
tzcode/tzdata: Update to 2012j

Readme update to indicate status of project and authorship

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzdata: Simplify code removing not used cases
Otavio Salvador [Fri, 8 Feb 2013 14:52:20 +0000 (14:52 +0000)]
tzdata: Simplify code removing not used cases

We shouldn't have an use-case where we'd use 'FUBAR' timezone so
instead of adding postinst handling for this use case we handle it at
install time and keep the Universal as fallback if user did something
wrong.

This also ensure the /etc/localtime file is kept as a symbolic link.
This will make timezone not available when /usr is in separated
partition (and not mounted) however the applications ought to fallback
to GMT timezone in this case and when /usr is made availble timezone
will work fine.

Change-Id: I9a4f05db7a0bdc06511deb5693d1d16569d2fc63
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotzdata: We shouldn't override the localtime if it is valid
Otavio Salvador [Fri, 8 Feb 2013 14:52:19 +0000 (14:52 +0000)]
tzdata: We shouldn't override the localtime if it is valid

The code where mistakenly replacing the localtime file setting so we
end with a copy of file instead of a symbolic link. This fixes it so
now, we'll only do that in case the link is pointing to invalid data.

Change-Id: I16dfa5ea4f293c48bb396f4e23a2ea53e6c9e745
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSolved package namespace errors in PRS
Emilia Ciobanu [Thu, 14 Feb 2013 15:52:40 +0000 (17:52 +0200)]
Solved package namespace errors in PRS

For some packages PRS reported incorrect upstream version
as it was either the raw string or it mismatched some
alternative groups.

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane: remove unused variable
Ross Burton [Thu, 14 Feb 2013 18:02:02 +0000 (18:02 +0000)]
insane: remove unused variable

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoremake: do not create po files
Saul Wold [Thu, 14 Feb 2013 22:12:51 +0000 (14:12 -0800)]
remake: do not create po files

The 'make update' was using wget to get the gmo and other gnu files from
upstream, since need to work cleanly in a non-networked or proxy environment
this does not so well.  Remove the list of languages from the LINGUAS file.

[YOCTO #3745]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomulitilib_header: Avoid sstate checksum issues for -native recipes
Richard Purdie [Thu, 14 Feb 2013 11:20:49 +0000 (11:20 +0000)]
mulitilib_header: Avoid sstate checksum issues for -native recipes

The use of arch specific variables like MIPSPKGSFX_ABI was creeping
into the -native sstate checksums of package like ncurses-native.

This is pointless and undesireable. We could add specific variable
exclusions but we might as well just brute force the code to be disabled
in the -native case since we don't use multilibs in the native case.

[YOCTO #3827]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokconfig-frontends: Depend on pkgconfig-native
Richard Purdie [Thu, 14 Feb 2013 12:24:30 +0000 (12:24 +0000)]
kconfig-frontends: Depend on pkgconfig-native

We were seeing errors like:

| autoreconf: running: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf --force
| configure.ac:27: error: possibly undefined macro: AS_IF
|       If this token and others are legitimate, please use m4_pattern_allow.
|       See the Autoconf documentation.
| configure.ac:100: error: possibly undefined macro: AC_MSG_ERROR
| autoreconf: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf failed with exit status: 1
| ERROR: autoreconf execution failed.

which turns out to mean the pkgconfig macros were unavailable (thanks for clear
error messages autoconf).

This patch adds in the missing dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Remove -systemd package
Khem Raj [Thu, 14 Feb 2013 04:02:01 +0000 (20:02 -0800)]
util-linux: Remove -systemd package

unit files are added to util-linux itself when selected

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoPython: Add missing dependency "textutils" to "io" package
MiLo [Thu, 14 Feb 2013 07:10:30 +0000 (08:10 +0100)]
Python: Add missing dependency "textutils" to "io" package

Modify the include file and script to generate a missing RDEPENDS.

Install python on target with python-io. Import ssl:

Python 2.7.3 (default, Feb  9 2013, 16:04:35)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/ssl.py", line 58, in <module>
ImportError: No module named textwrap

Installing python-textutils solves the issue.

Signed-off-by: MiLo <milo-software@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib: Fix an OVERRIDES expansion order issue
Richard Purdie [Wed, 13 Feb 2013 00:21:53 +0000 (00:21 +0000)]
multilib: Fix an OVERRIDES expansion order issue

There were problems where a SRC_URI with:

SRC_URI_append_powerpc = " xxx"
SRC_URI_append_powerpc64 = " xxx2"

would end up with *both* xxx and xxx2 being added when using a multilib
which is clearly incorrect and undesirable.

The issue is that OVERRIDES has virtclass-multilib-xxxx added to it,
this eventually changed DEFAULTTUNE which then changes
TRANSLATED_TARGET_ARCH which is in OVERRIDES meaning we then need to
re-evaluate the overides and the TRANSLATED_TARGET_ARCH gets applied
twice since once you apply an override, it doesn't get undone.

Expanding DEFAULTTUNE to the correct value in advance avoids the issue
and means only the correct overrides get applied.

[YOCTO #3874]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo_1.4.5.bb: Finish fixing linkat()
Peter Seebach [Wed, 13 Feb 2013 19:43:17 +0000 (19:43 +0000)]
pseudo_1.4.5.bb: Finish fixing linkat()

The 1.4.4 fix replaced possible double-prepending of chroot paths
with possible non-prepending of chroot paths. After significant
evaluation, have settled on a single prepending of the chroot
path as a workable compromise.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: add config fragments
Chen Qi [Tue, 5 Feb 2013 06:36:40 +0000 (14:36 +0800)]
busybox: add config fragments

Add config fragments to busybox.

The implementation makes use of merge_config.sh script in kern-tools-native.
The use case is similar to the yocto kernel's configuration fragments.

We also add kern-tools-native to busybox's DEPENDS variable to ensure
that merge_config.sh is available when required.

[YOCTO #3379]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtkhtml2: remove, nothing depends on it
Ross Burton [Tue, 12 Feb 2013 17:26:56 +0000 (17:26 +0000)]
gtkhtml2: remove, nothing depends on it

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoweb: remove gtkhtml2 version
Ross Burton [Tue, 12 Feb 2013 17:26:55 +0000 (17:26 +0000)]
web: remove gtkhtml2 version

The gtkhtml2 version of Web is even older than the webkitgtk port, remove it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo_git.bb: Bump to pseudo 1.4.4.
Peter Seebach [Tue, 12 Feb 2013 22:52:07 +0000 (16:52 -0600)]
pseudo_git.bb: Bump to pseudo 1.4.4.

The pseudo 1.4.2 linkat() implementation had a broken edge case
in which you could end up with chroot paths being doubled when
using plain link() calls instead of linkat() calls.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtool-native_2.4.2.bb: Always use /bin/sed for SED
Jason Wessel [Tue, 12 Feb 2013 19:36:44 +0000 (13:36 -0600)]
libtool-native_2.4.2.bb: Always use /bin/sed for SED

If you never use sstate and always build everything from scratch you
will never see this problem.  However, if you use sstate and build
directories that last a long time eventually you can end up with the
scenario where libtool gets a hard coded path in it for sed, and sed
may not exist.  The reason you don't see this problem to often if you
generally build from scratch is that libtool builds before sed and
will pickup the host's /bin/sed.

The way to reproduce the issue is:

bitbake some_image
bitbake -c cleansstate libtool-native
bitbake sed-native
bitbake libtool-native
bitbake -c clean sed-native
bitbake ANY_PACKAGE_THAT_USES_LIBTOOL_NATIVE

In my case I used modphp, which doesn't exist in the oe-core. You will
end up with a strange looking error like:

| make[1]: *** [buckets/apr_buckets_alloc.lo] Error 1
| /opt/build/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux-libtool: line 981: /opt/build/bitbake_build/tmp/sysroots/x86_64-linux//bin/sed: No such file or directory

The solution is to always use /bin/sed for libtool-native.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosite/x32-linux: Specify double alignment
Richard Purdie [Wed, 13 Feb 2013 00:16:40 +0000 (00:16 +0000)]
site/x32-linux: Specify double alignment

Double alignment is 8 bytes on x32 but it is defaulting to 4 currently.
This leads to various issues and fontconfig fails to build due to the
mismatch triggering assert failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/qemuimage-testlib: Use wide option to ps calls
Michael Halstead [Wed, 13 Feb 2013 16:31:03 +0000 (08:31 -0800)]
scripts/qemuimage-testlib: Use wide option to ps calls

Forcing ps to display unlimited column width allows the qemu IP address to
be discovered during sanity testing when the command line is extremely long.

This seems to fix the sanity testing problem on AB05 which was recently updated
to OpenSUSE 12.2. I'm not sure what about qemu or process listing is different
on that distribution but this simpile fix seems to work and my help on other
distro's as well.

Signed-off-by: Michael Halstead <michael@yoctoproject.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: use gtk-immodules-cache class
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:46 +0000 (18:12 +0200)]
gtk+: use gtk-immodules-cache class

In order to have the proper postinst/postrm scriptlets generated for
gtk+ immodules packages, use the already existing class.

[YOCTO #3853]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-immodules-cache: add weak asignment for GTKIMMODULES_PACKAGES
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:45 +0000 (18:12 +0200)]
gtk-immodules-cache: add weak asignment for GTKIMMODULES_PACKAGES

This is needed if the GTKIMMODULES_PACKAGES is changed later, in
do_populate_packages for example. This way, we don't have to add another
dumb asignment in the recipe inheriting this.

[YOCTO #3853]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-keyring: compile schemas on host
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:44 +0000 (18:12 +0200)]
gnome-keyring: compile schemas on host

gsettings.bbclass offers just that.

[YOCTO #3854]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibrsvg: use the new pixbufcache class
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:43 +0000 (18:12 +0200)]
librsvg: use the new pixbufcache class

Also, fix the GDK_PIXBUF_QUERYLOADERS path.

[YOCTO #3582]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdk-pixbuf: use the new pixbufcache class
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:42 +0000 (18:12 +0200)]
gdk-pixbuf: use the new pixbufcache class

[YOCTO #3582]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd pixbufcache class
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:41 +0000 (18:12 +0200)]
Add pixbufcache class

All packages exporting pixbuf loaders should inherit this class in order
to generate the correct postinst/postrm scriptlets.

[YOCTO #3852]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofontcache.bbclass: use the postinst_intercept script
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:40 +0000 (18:12 +0200)]
fontcache.bbclass: use the postinst_intercept script

"Link" the package to the postinstall hook by running the
postinst_intercept script.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-icon-cache.bbclass: use postinst_intercept script
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:39 +0000 (18:12 +0200)]
gtk-icon-cache.bbclass: use postinst_intercept script

Since the hook has been made a standalone script, use postinst_intercept
script in order to "link" the package to the hook.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_(ipk|deb|rpm).bbclass: check package installation status after ROOTFS_POSTPROC...
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:38 +0000 (18:12 +0200)]
rootfs_(ipk|deb|rpm).bbclass: check package installation status after ROOTFS_POSTPROCESS_COMMAND

Since the intercept fall-back procedure will change the package
installation status, do the checking after ROOTFS_POSTPROCESS_COMMAND
ends.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage.bbclass: add fall-back functionality when running intercepts
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:37 +0000 (18:12 +0200)]
image.bbclass: add fall-back functionality when running intercepts

If an intercept script fails, it would be helpful to fall-back to
running the postinstall on target's first boot. In order to achieve
that, the postinstalls that install a host intercept hook will have to
return 1, so that the postinstall is marked as unpacked only. If the
intercept hook fails, then we're ok, the postinstalls will be run on
target anyway. If it succeeds, then mark the packages as installed.

This logic was chosen mainly because of rpm backend which saves the
failed postinstalls in /etc/rpm-postinsts. Hence, in order to mark the
packages as installed, all we have to do is delete the scriptlets from
there.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd separate directory for postinstall intercepts
Laurentiu Palcu [Tue, 12 Feb 2013 16:12:36 +0000 (18:12 +0200)]
Add separate directory for postinstall intercepts

The scripts/postinst-intercepts will contain all postinstall hooks that
we need to run after all packages have been installed.

If one wants to install such a postinst hook, all it needs to do is put
the hook in this directory and, from the package postinstall scriptlet,
call:
postinst_intercept <hook_name> <package_name> <var1=...> ...

This will, practically, add the package_name in the list of packages
that need the hook to run and, also, set any variables that would be
needed in the hook. For example, variables like ${libdir}, ${bindir},
etc. that might depend on distribution can be passed on to the script in
this way.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_check: Remove creation of empty Meego filelist.
Anders Roxell [Mon, 11 Feb 2013 13:26:28 +0000 (14:26 +0100)]
distro_check: Remove creation of empty Meego filelist.

This fixes permissions errors when running distrodata.

Signed-off-by: Anders Roxell <anders.roxell@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomesa: upgrade to 9.0.2
Constantin Musca [Mon, 11 Feb 2013 12:59:55 +0000 (14:59 +0200)]
mesa: upgrade to 9.0.2

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopixman: upgrade to 0.29.2
Constantin Musca [Mon, 11 Feb 2013 12:58:33 +0000 (14:58 +0200)]
pixman: upgrade to 0.29.2

obsolete_automake_macros.patch: removed
- included in the new version

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocairo: upgrade to 1.12.12
Constantin Musca [Mon, 11 Feb 2013 12:57:42 +0000 (14:57 +0200)]
cairo: upgrade to 1.12.12

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogamin: replace obsolete automake macros with working ones
Marko Lindqvist [Mon, 11 Feb 2013 04:02:25 +0000 (06:02 +0200)]
gamin: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodiffutils: replace obsolete automake macros with working ones
Marko Lindqvist [Mon, 11 Feb 2013 04:02:02 +0000 (06:02 +0200)]
diffutils: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosystemtap: replace obsolete automake macros with working ones
Marko Lindqvist [Mon, 11 Feb 2013 04:01:36 +0000 (06:01 +0200)]
systemtap: replace obsolete automake macros with working ones

Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibidn: remove help2man dependency
Marko Lindqvist [Mon, 11 Feb 2013 04:01:10 +0000 (06:01 +0200)]
libidn: remove help2man dependency

Remove manpage creation. It wasn't working because of help2man
missing when libidn is being built. This attempt to create
manpages without help2man turns from no-op to hard error with
automake-1.13.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotexinfo: remove help2man dependency
Marko Lindqvist [Mon, 11 Feb 2013 04:00:48 +0000 (06:00 +0200)]
texinfo: remove help2man dependency

Remove manpage creation. It wasn't working because of help2man
missing when texinfo is being built. This attempt to create
manpages without help2man turns from no-op to hard error with
automake-1.13.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibevent: fix build with automake-1.13
Marko Lindqvist [Mon, 11 Feb 2013 04:00:18 +0000 (06:00 +0200)]
libevent: fix build with automake-1.13

- Add obsolete_automake_macros.patch that replaces automake macros
  no longer supported by automake-1.13 with modern constructs.

- Use of $(top_srcdir) in TESTS is an error causing automake-1.13
  to abort. Disable the tests completely.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoWrite DPKG_ARCH to /etc/apt/apt.conf
Stefan Eichenberger [Fri, 8 Feb 2013 14:30:13 +0000 (15:30 +0100)]
Write DPKG_ARCH to /etc/apt/apt.conf

Apt does not recognize the architecture if a different one is set with
DPKG_ARCH (e.g. armel). This patch writes the correct architecture to
/etc/apt/apt.conf.

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@netmodule.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorelocate_sdk.py: allow relocate_sdk.py to work with python 2.4.x
Jason Wessel [Tue, 12 Feb 2013 11:08:23 +0000 (05:08 -0600)]
relocate_sdk.py: allow relocate_sdk.py to work with python 2.4.x

Avoid the chicken / egg problem of an SDK that provides a working
python but requires that version of python to extract itself.  The
RHEL 5.x systems and some other enterprise Linux systems ship with
python 2.4.x as the default python.  We need to at least be able to
extract work executables even if we never use the the host provided
python again.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base.bbclass: Improve debugging capabilities for SDK installer
Jason Wessel [Tue, 12 Feb 2013 11:08:22 +0000 (05:08 -0600)]
populate_sdk_base.bbclass: Improve debugging capabilities for SDK installer

After having to debug the SDK installer a few times in
addition to the relocation code the following patch was created
to improve the capabilities around debugging the SDK installer.

1) Add a verbose mode -D which set a set -x to see what
   the SDK installer is doing.

2) Add a mode -S to save the relocation scripts for the purpose
   of debugging them in conjunction with -D

3) Add a mode -R to not execute the relocation scripts for the
   purpose of debugging the relocations.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorelocate_sdk.py: Fix corruption of sdk binaries
Jason Wessel [Tue, 12 Feb 2013 11:08:21 +0000 (05:08 -0600)]
relocate_sdk.py: Fix corruption of sdk binaries

There are two cases of corruption that the relocate_sdk.py was not correctly
dealing with.

1) SDK Extras should be left alone
   Extra external binaries included in an SDK that were linked against the
   host's version of /usr/lib/ld-so.so should not get a relocation applied.
   In the case that was discovered these were LSB compliant binaries that
   already worked on many hosts.

2) If the interp section is too small generate an error
   In the case of the qemu user code, it was using its own .ld file
   to link the executables which overrides the default in the nativesdk
   binutils.  This generated host executables which had a interp section
   that was too small to relocate.

   Now the relocate_sdk.py will print an error and continue on such that
   the error can be fixed by a developer without having to do the
   difficult task of debugging why it is crashing or not loading correctly.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooe-git-proxy*: Remove previous git proxy solutions
Darren Hart [Fri, 8 Feb 2013 22:27:24 +0000 (14:27 -0800)]
oe-git-proxy*: Remove previous git proxy solutions

The new oe-git-proxy should address all git proxying needs, remove
the previous scripts.

V2: Separate the removal of the old scripts into their own patch

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooe-git-proxy: Use socat instead of BSD nc
Darren Hart [Fri, 8 Feb 2013 22:27:25 +0000 (14:27 -0800)]
oe-git-proxy: Use socat instead of BSD nc

BSD nc was commonly available on the current distros until Fedora 18
appears to have dropped it. socat appears to be a reasonable replacement
with availability on Fedora and Ubuntu and going back some time as well.

Update the script to use the socat syntax.
Simplify the logic a bit by using exec for the no-proxy-needed cases.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooe-git-proxy: Add a new comprehensive git proxy script
Darren Hart [Fri, 8 Feb 2013 22:27:22 +0000 (14:27 -0800)]
oe-git-proxy: Add a new comprehensive git proxy script

oe-git-proxy.sh is a simple tool to be used via GIT_PROXY_COMMAND. It
uses BSD netcat to make SOCKS5 or HTTPS proxy connections. It uses
ALL_PROXY to determine the proxy server, protocol, and port. It uses
NO_PROXY to skip using the proxy for a comma delimited list of hosts,
host globs (*.example.com), IPs, or CIDR masks (192.168.1.0/24). It is
known to work with both bash and dash shells.

V2: Implement recommendations by Enrico Scholz:
    o Use exec for the nc calls
    o Use "$@" instead of $* to avoid quoting issues inherent with $*
    o Use bash explicitly and simplify some of the string manipulations
    Also:
    o Drop the .sh in the name per Otavio Salvador
    o Remove a stray debug statement

V3: Implement recommendations by Otavio Salvador
    o GPL license blurb
    o Fix minor typo in comment block

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
git-proxy cleanup

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>