scm/bb/tizen-distro.git
12 years agou-boot-fw-utils: update 2012.04 to 2012.04.01 release
Otavio Salvador [Wed, 25 Apr 2012 19:28:07 +0000 (16:28 -0300)]
u-boot-fw-utils: update 2012.04 to 2012.04.01 release

(From OE-Core rev: e6a6f2fb4bae146fc3077f782090e91904e00a08)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking_fields: manual checks for some recipes
Shane Wang [Wed, 25 Apr 2012 09:26:19 +0000 (17:26 +0800)]
distro_tracking_fields: manual checks for some recipes

(From OE-Core rev: d3db94fe50c0da90d751112a083a39c872030897)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu-ifup: enable ip masquerading for QEMU NAT addresses
Scott Garman [Wed, 25 Apr 2012 00:11:26 +0000 (17:11 -0700)]
runqemu-ifup: enable ip masquerading for QEMU NAT addresses

Fix the IP masquerading settings so that networked QEMU sessions can
reach external networks.

This is a partial fix for [YOCTO #2329].

(From OE-Core rev: 14c4ce77b5c3738a8a9ea7d724de7ce9efff18c4)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssl: upgrade to 1.0.0i
Scott Garman [Wed, 25 Apr 2012 05:13:13 +0000 (22:13 -0700)]
openssl: upgrade to 1.0.0i

Addresses CVE-2012-2110

Fixes bug [YOCTO #2368]

(From OE-Core rev: 88d17caf6d0eb241f54b1af1704405d5f47eadc5)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpng: upgrade to 1.2.49
Scott Garman [Wed, 25 Apr 2012 05:13:12 +0000 (22:13 -0700)]
libpng: upgrade to 1.2.49

License hasn't changed, just updated the md5 checksums due to trivial
date changes within the text (and the position of the license text
within png.h).

Addresses CVE-2011-3045

Fixes [YOCTO #2352]

(From OE-Core rev: a2009fd8548d818c4e647dae554b98074bd3eecd)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Add patch to avoid warning about sunaudiodev module
Andrei Gherzan [Thu, 5 Apr 2012 20:54:25 +0000 (23:54 +0300)]
python: Add patch to avoid warning about sunaudiodev module

sunaudiodev module is sunos specific so we avoid a warning by not.
adding this module to missing variable.

[YOCTO #1937]

(From OE-Core rev: a92847ed7671386225c0738d62780a9f1b043789)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Add patch to avoid warning about _tkinter
Andrei Gherzan [Thu, 5 Apr 2012 20:54:24 +0000 (23:54 +0300)]
python: Add patch to avoid warning about _tkinter

_tkinter module needs tk module along with tcl. tk is not yet integrated
in yocto so we skip the check for this module.
Avoid a warning by not adding this module to missing variable.

[YOCTO #1937]

(From OE-Core rev: 3f1be431054b3947bee9a2503eea1a3cefb38f4c)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Add patch to avoid warning about bsddb module
Andrei Gherzan [Thu, 5 Apr 2012 20:54:23 +0000 (23:54 +0300)]
python: Add patch to avoid warning about bsddb module

_bsddb module can be built only with db version between 4.1 and 4.7.
Avoid a warning by not adding this module to missing variable.

[YOCTO #1937]

(From OE-Core rev: d974ad03c58d7a221ebe3d59c57607928fbbd435)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Add patch to search for db.h in inc_dirs and remove warning
Andrei Gherzan [Thu, 5 Apr 2012 20:54:22 +0000 (23:54 +0300)]
python: Add patch to search for db.h in inc_dirs and remove warning

python should search for db.h in inc_dirs and not in a hardcoded path.
If db.h is found but HASHVERSION is not 2 we avoid a warning by not.
adding this module to missing variable.

[YOCTO #1937]

(From OE-Core rev: 79d0332f21769338a9f904308d8a808486e10fea)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Add patch for 64bit platform
Andrei Gherzan [Thu, 5 Apr 2012 20:54:21 +0000 (23:54 +0300)]
python: Add patch for 64bit platform

This patch was added for 64bit host machines. In the compile process python
is checking if platform is a 64bit platform using sys.maxint which is the host's
value. The patch fixes this issue so that python would check if TARGET machine
is 64bit not the HOST machine. In this way will have "dl" and "imageop" modules
built if HOST machine is 64bit but the target machine is 32bit.

[YOCTO #1937]

(From OE-Core rev: 4993f50744882ee384cb8fb106ad209f0d887b3f)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboost: set python-root correctly
Tasslehoff Kjappfot [Wed, 25 Apr 2012 00:12:04 +0000 (02:12 +0200)]
boost: set python-root correctly

[RP: Fix whitespace]
(From OE-Core rev: 7bd803c9535afe5933d41f92da5208ae773e2abb)

Signed-off-by: Tasslehoff Kjappfot <tasskjapp@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years ago{kernel, module}.bbclass: don't run depmod for module packages during do_rootfs
Andreas Oberritter [Mon, 23 Apr 2012 21:48:32 +0000 (23:48 +0200)]
{kernel, module}.bbclass: don't run depmod for module packages during do_rootfs

* depmod already gets executed by pkg_postinst_kernel-image.

* If you build a module using module.bbclass, pkg_postinst returns 1 in
  do_rootfs, causing pkg_postinst to run again on first boot. To improve
  this situation, I copied pkg_postinst from kernel.bbclass to module.bbclass.
  This was rejected by Koen, because he doesn't like the code from
  kernel.bblcass, which uses ${STAGING_DIR_KERNEL}. Richard then suggested
  that calling depmod during do_rootfs wasn't necessary at all, because
  it already gets done by kernel-image.

(From OE-Core rev: c7809c03080925b5e9171df5c9175c7c6420b376)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: unify white spaces
Martin Jansa [Thu, 29 Mar 2012 14:08:55 +0000 (16:08 +0200)]
kernel.bbclass: unify white spaces

* indentation was with spaces and tabs, unify to use tabs instead of
  spaces, for shell code and populate_packages_preppend,
  because "python populate_packages" expects tabs (or 8 spaces)
* and use 4 spaces for anonymous python

(From OE-Core rev: 24472a794e1787ebcd700dde66018a31069aa50b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: merge uboot_mkimage improvements from meta-oe
Martin Jansa [Thu, 29 Mar 2012 14:08:54 +0000 (16:08 +0200)]
kernel.bbclass: merge uboot_mkimage improvements from meta-oe

* allows to detect ENTRYPOINT from kernel binary marked with UBOOT_ENTRYSYMBOL
  used e.g. by ben-nanonote

(From OE-Core rev: 9ce6bd1d58b4418d3a53be417c18a0e57314462a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutils.bbclass: Testing via env in create_wrapper is a nice idea but breaks things
Richard Purdie [Thu, 19 Apr 2012 21:52:10 +0000 (21:52 +0000)]
utils.bbclass: Testing via env in create_wrapper is a nice idea but breaks things

For example, pseudo-native wants to set LD_LIBRBARY_PATH but setting this
into the environment here causes the existing pseudo (running during do_install)
to poke into paths in /opt and this breaks builds.

The simplest fix is simply not to do this. Comments tweaks to match the code.

(From OE-Core rev: 1efa999ed02186c9c58cb48418e0c62ecdc82ac7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibproxy: fix compilation with gcc 4.7
Nitin A Kamble [Fri, 20 Apr 2012 16:14:22 +0000 (09:14 -0700)]
libproxy: fix compilation with gcc 4.7

(From OE-Core rev: 7298e0c48198587d41319d0068aa3511afa6d1c5)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: manual check updates
Scott Garman [Fri, 20 Apr 2012 22:27:03 +0000 (15:27 -0700)]
distro_tracking: manual check updates

Manual check updates for the following recipes:

libpng
libgdbus
expat
chrpath
e2fsprogs
opensp
nfs-utils

(From OE-Core rev: a6d331ffb25ce81f7e42b18e12068413aab1358c)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot: add 2012.04 release
Otavio Salvador [Sun, 22 Apr 2012 17:56:53 +0000 (14:56 -0300)]
u-boot: add 2012.04 release

(From OE-Core rev: 146439ca1ef1da55769363cde012ed8b279e79dd)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot-mkimage: add 2012.04 release
Otavio Salvador [Sun, 22 Apr 2012 18:11:08 +0000 (15:11 -0300)]
u-boot-mkimage: add 2012.04 release

(From OE-Core rev: e1b1b6313b57d069ef77bc6e1e1ebbb8f6fdda4e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot-fw-utils: add 2012.04 release
Otavio Salvador [Sun, 22 Apr 2012 18:09:14 +0000 (15:09 -0300)]
u-boot-fw-utils: add 2012.04 release

(From OE-Core rev: 0f4552cde971a0de247b865b25136b03be91dc39)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot.inc: fix compilation when using 'gold' as linker
Otavio Salvador [Sun, 22 Apr 2012 18:01:32 +0000 (15:01 -0300)]
u-boot.inc: fix compilation when using 'gold' as linker

(From OE-Core rev: 2e79fcd673dadeab6358fe22d47c8534c14de03e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodpkg-native: fix deb-based rootfs construction failure on Fedora 16
Paul Eggleton [Tue, 24 Apr 2012 09:25:25 +0000 (10:25 +0100)]
dpkg-native: fix deb-based rootfs construction failure on Fedora 16

Backport a fix from 1.16.x upstream to use fd instead of stream-based
I/O in dpkg-deb, which avoids the use of fflush() on an input stream
(the behaviour of which is undefined by POSIX, and appears to have
changed in the version of glibc introduced in Fedora 16 and presumably
other systems).

Fixes [YOCTO #1858].

(From OE-Core rev: 2aefac2a2c508da11a73e29d82947ac627d31118)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobootimg.bbclass: Tweak iso images to become hybrid images
Damien Lespiau [Thu, 19 Apr 2012 21:54:25 +0000 (21:54 +0000)]
bootimg.bbclass: Tweak iso images to become hybrid images

This allows iso images to be written to usb keys and booted on systems which
have a BIOS which support this. There is no real down side to tweaking the iso
images in this way.

[YOCTO #1763 partial]

(From OE-Core rev: 9a946554e4843841c2ec3cbb2575e80d0ccdc29f)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel: Fix packaging issue
Saul Wold [Thu, 19 Apr 2012 19:01:48 +0000 (12:01 -0700)]
kernel: Fix packaging issue

Remove /etc since it is empty, when creating a machine that does not
deliver any module config files, the /etc is empty and is then warned
about not being shipped, so we remove it.

This occurs in the routerstationpro with the following warning:
WARNING: For recipe linux-yocto, the following files/directories were installed but not shipped in any package:
WARNING:   /etc

(From OE-Core rev: 963742f5a9bce2dfedd58350af754d256e2211cb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: Update Manual Check
Saul Wold [Wed, 18 Apr 2012 22:26:39 +0000 (15:26 -0700)]
distro_tracking: Update Manual Check

Update the manual check dates for:
sqlite3
libcap
libcheck
console-tools
psmisc
boost
sysfsutils
less
unzip
zip
usbutils
sysstat
cracklib
libexif
qemugl
glew
squashfs-tools
lame
libmad
lsb

(From OE-Core rev: e2e297d8a3b5a89b5730432e998669341c50c172)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosqlite3: Upgrade to 3.7.11
Saul Wold [Thu, 19 Apr 2012 00:30:33 +0000 (17:30 -0700)]
sqlite3: Upgrade to 3.7.11

(From OE-Core rev: 2529511030e8708134c465c7ae3bfd24b8025263)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolame: Upgrade to 3.99.5
Saul Wold [Thu, 19 Apr 2012 00:29:51 +0000 (17:29 -0700)]
lame: Upgrade to 3.99.5

(From OE-Core rev: 1a5b92bf19baa77ae3b360659f7eefdd04e52937)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysstat: Upgrade to 10.0.3
Saul Wold [Thu, 19 Apr 2012 00:27:30 +0000 (17:27 -0700)]
sysstat: Upgrade to 10.0.3

(From OE-Core rev: 204a0fda526d245382286287a0c361c7f7bbeb80)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoquilt: move empty quiltrc to native sysconfdir
Saul Wold [Thu, 19 Apr 2012 22:11:01 +0000 (15:11 -0700)]
quilt: move empty quiltrc to native sysconfdir

patch.bbclass orignally pointed at /usr/bin/quiltrc for an empty
version to ensure that no user setting were picked up, change this
to /etc/quiltrc in the Native sysroot since we now have a native
sysconfdir.

Make sure that the quiltrc is actually installed in the Native
sysconfdir, not the target, so fix this after the recipe split.

(From OE-Core rev: 1af73900cea82e63fb0f94e6f057144f723146ec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Add plugins package for ARM, fix /usr/incude packaging
Saul Wold [Thu, 19 Apr 2012 18:18:00 +0000 (11:18 -0700)]
gcc: Add plugins package for ARM, fix /usr/incude packaging

WARNING: For recipe gcc, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/include
WARNING:   /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc
WARNING:   /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config
WARNING:   /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm
WARNING:   /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm/bpabi-lib.h
(From OE-Core rev: aff48c514174ba5fa3bb1e5df5293376b567da09)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-kdrive: Add xkb to existing docs list
Saul Wold [Thu, 19 Apr 2012 18:06:16 +0000 (11:06 -0700)]
xserver-kdrive: Add xkb to existing docs list

WARNING: For recipe xserver-kdrive, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/share/man
WARNING:   /usr/share/man/man5
WARNING:   /usr/share/man/man1
WARNING:   /usr/share/man/man1/Xephyr.1
WARNING:   /usr/share/man/man1/Xserver.1
(From OE-Core rev: 93bd303d4af91769ae943841036a1b956ac2e940)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcc: Package additional *crt*.o files for PPC
Saul Wold [Thu, 19 Apr 2012 18:04:27 +0000 (11:04 -0700)]
libgcc: Package additional *crt*.o files for PPC

WARNING: For recipe libgcc, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/powerpc-poky-linux/4.6.4/ecrti.o
WARNING:   /usr/lib/powerpc-poky-linux/4.6.4/ncrti.o
WARNING:   /usr/lib/powerpc-poky-linux/4.6.4/ecrtn.o
WARNING:   /usr/lib/powerpc-poky-linux/4.6.4/ncrtn.o
(From OE-Core rev: b17c02d223455680324227f8de17feb8ab3e7b68)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: add embedspu for ppc builds
Saul Wold [Thu, 19 Apr 2012 18:01:15 +0000 (11:01 -0700)]
binutils: add embedspu for ppc builds

WARNING: For recipe binutils, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/bin/embedspu
(From OE-Core rev: 447d77b9e33a68f748c96a152eae19148e43ed7c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: make alsa support conditional upon DISTRO_FEATURES
Jonas Danielsson [Thu, 19 Apr 2012 08:31:22 +0000 (10:31 +0200)]
bluez4: make alsa support conditional upon DISTRO_FEATURES

Do not enable alsa in bluez4 unless it's included in DISTRO_FEATURES.

(From OE-Core rev: 36e434ecd05754d8c99d416f706da4a1b11b729e)

Signed-off-by: Jonas Danielsson <jonas.danielsson@lundinova.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobdwgc: Set ARM_INSTRUCTION_SET to "arm"
Ken Werner [Thu, 19 Apr 2012 10:20:39 +0000 (12:20 +0200)]
bdwgc: Set ARM_INSTRUCTION_SET to "arm"

The bdwgc recipe uses a version of libatomic that fails when building in Thumb
mode. This has been fixed upstream already. The
pulseaudio/libatomics-ops_1.2.bb has the same issue and sets the
ARM_INSTRUCTION_SET to "arm" (probably until a new version gets pulled in).
This patch applies the same workaround to the bdwgc/bdwgc_20110107.bb recipe.

(From OE-Core rev: a648afcdd045a38d3c6729499a48ab7212a0b3c3)

Signed-off-by: Ken Werner <ken.werner@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4-x11-free: enable -accessibility and -sm
Robert Yang [Fri, 30 Mar 2012 01:44:47 +0000 (09:44 +0800)]
qt4-x11-free: enable -accessibility and -sm

Is it possible to enable the "-sm -accessibility" in oe-core, please?
There is a meta-kde layer which requires the "-sm -accessibility", but
they are disabled in meta/recipes-qt/qt4/qt4.inc:

QT_DISTRO_FLAGS ?= "-no-accessibility -no-sm"

I checked the log of the qt4, can't find the related log for
"-no-accessibility -no-sm".

Another way is use the bbappend, but it would be great if it can be
enabled in oe-core.

This only enables for qt4-x11, doesn't enable for qt4-embedded, and
have done testing on: qemux86, qemuarm, qemumips, qemuppc.

(From OE-Core rev: 678973a9ad258b466295a666cbcd56df15a57c7c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogthumb: Disable parallel make for gthumb install
Darren Hart [Wed, 18 Apr 2012 15:31:17 +0000 (08:31 -0700)]
gthumb: Disable parallel make for gthumb install

With PARALLEL_MAKE set to 14, I frequently see the gthumb do_install
task hang. Make is spinning at 100% CPU and the build makes no
more progress.

The following work-around proposed by Richard Purdie allows progress
to be made.

(From OE-Core rev: 01e14ae25c133e46603d01a72d0372c111e12f11)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Joshua Lock <josh@linux.intel.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconsole-tools: Use update-alternatives
Mark Hatle [Mon, 16 Apr 2012 17:44:41 +0000 (12:44 -0500)]
console-tools: Use update-alternatives

Use update-alternatives and sync to the way the replace kbd package
does things.  Using update-alternatives ensures that the proper provides
are setup in the packages.

(From OE-Core rev: 9c2aa2da7cb9ceec02c5d42d18a623a51f922cea)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokbd: Use update-alternatives
Mark Hatle [Mon, 16 Apr 2012 17:17:28 +0000 (12:17 -0500)]
kbd: Use update-alternatives

Change to use ALTERNATIVE_LINKS from update-alternatives.  This ensures
the links are created consistently and the package provides are
correct.

(From OE-Core rev: 728569a3db005a935e6b08d6aac3e23e88d486df)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogzip: Use update-alternatives class
Mark Hatle [Mon, 16 Apr 2012 16:15:35 +0000 (11:15 -0500)]
gzip: Use update-alternatives class

Switch to using the update-alternatives class.  Need this for
consistency and to ensure the necessary package provides get set.

(From OE-Core rev: e0626a0270fb0f4ff128e761c13d44162723434c)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils: Use update-alternatives
Mark Hatle [Mon, 16 Apr 2012 16:04:50 +0000 (11:04 -0500)]
findutils: Use update-alternatives

Change to using update-alternatives to ensure that we're consistently
using the class, and the package provides are being setup properly.

(From OE-Core rev: be2dbd1abfb4e0e6989d1c34c09047e439d8194e)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow: Use update-alternatives
Mark Hatle [Sat, 14 Apr 2012 00:13:50 +0000 (19:13 -0500)]
shadow: Use update-alternatives

Switch to using ALTERNATIVE_LINKS to ensure the update-alternatives are setup
properly, along with the package provides.

[RP: Fix links so as not to need the bbclass changes]
(From OE-Core rev: cb27e78bfc059d6878dcda8b7a27a078f7a871e4)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonet-tools: Use update-alternatives
Mark Hatle [Fri, 13 Apr 2012 23:43:04 +0000 (18:43 -0500)]
net-tools: Use update-alternatives

Switch to using ALTERNATIVE_LINKS to ensure the update-alternatives are setup
properly, along with the package provides.

(From OE-Core rev: 9f44708774cdcf623700b336d5a3a7bc40f91f0a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohdparm: Use update-alternatives
Mark Hatle [Fri, 13 Apr 2012 23:41:08 +0000 (18:41 -0500)]
hdparm: Use update-alternatives

Switch to using update-alternatives, this ensures that the
call to update-alternatives and package provides are correct.

(From OE-Core rev: a9b046297c10ca2b2368012803cd719ff59292d7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowpa-supplicant: move wpa_passphrase to bindir
Andreas Oberritter [Tue, 17 Apr 2012 13:05:23 +0000 (15:05 +0200)]
wpa-supplicant: move wpa_passphrase to bindir

* wpa_passphrase doesn't require special privileges.

(From OE-Core rev: 4a4c568e25a08e9f222d723f9819582c9f895c58)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowpa-supplicant: remove unused files
Andreas Oberritter [Thu, 12 Apr 2012 02:33:08 +0000 (04:33 +0200)]
wpa-supplicant: remove unused files

* defconfig, init.sh, wpa_supplicant-0.5.7-always-scan.patch,
  wpa_supplicant-fix-deprecated-dbus-function.patch and
  wpa_supplicant_default.conf are not used by the recipe.
* default-sane gets installed but is unused.

(From OE-Core rev: 740b5baa511b40ee7bc3050770b6d5102e00f8f5)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: use PKGSUFFIX for libpython2
Andreas Oberritter [Thu, 12 Apr 2012 02:30:02 +0000 (04:30 +0200)]
python: use PKGSUFFIX for libpython2

* python-nativesdk shouldn't provide libpython2, but
  libpython2-nativesdk.

(From OE-Core rev: 6691d036fff6ba6d7e50a6add8e30cb47e1e60ed)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
[PR Bump - sgw]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: backport test script fixes
Otavio Salvador [Wed, 4 Apr 2012 12:18:11 +0000 (12:18 +0000)]
connman: backport test script fixes

Those fixes are required to get the test scripts to work with current
0.79 DBus API.

(From OE-Core rev: 0d6abd0ff634604cdde2b80f625d6ca2a015948a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: Fix linking with gold linker
Khem Raj [Sun, 8 Apr 2012 05:00:56 +0000 (22:00 -0700)]
connman: Fix linking with gold linker

Fixes errors like below

/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld:
error: hidden symbol '__start___debug' is not defined locally
/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld:
error: hidden symbol '__stop___debug' is not defined locally
collect2: ld returned 1 exit status
make[1]: *** [plugins/loopback.la] Error 1

(From OE-Core rev: 0bc79de634841c57868be3d7d8b0fd8bf47ccc18)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoaugeas: Add libxml2 dependency
Martin Donnelly [Tue, 10 Jan 2012 13:32:04 +0000 (13:32 +0000)]
augeas: Add libxml2 dependency

This patch fixes the following Augeas configure error.

| checking for LIBXML... no
| configure: error: Package requirements (libxml-2.0) were not met:
|
| No package 'libxml-2.0' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables LIBXML_CFLAGS
| and LIBXML_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| ERROR: oe_runconf failed

(From OE-Core rev: 72edbba1ad212986be74aaa15eb9c785c6456d30)

Signed-off-by: Martin Donnelly <martin.donnelly@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: upgrade from 1.11.2 to 1.11.3
Nitin A Kamble [Fri, 16 Mar 2012 19:00:03 +0000 (12:00 -0700)]
automake: upgrade from 1.11.2 to 1.11.3

Removed already upstream patch:
  automake/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch

Rebased these patches to the newer code:
  automake/prefer-cpio-over-pax-for-ustar-archives.patch
  automake/python-libdir.patch

Changed the tarball name from bz2 to gz, as the bz2 tar ball
is not published for the 1.11.3 version.

[RP: Fix python.m4 to preserve the tweaks that allow us to build python modules]
(From OE-Core rev: 94bf72aeae035ffade75bd9343937888bbb09c82)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: move from 4.8.0 to 4.8.1
Andreas Oberritter [Wed, 28 Mar 2012 19:46:55 +0000 (21:46 +0200)]
qt4: move from 4.8.0 to 4.8.1

* No changes other than source checksums and PR at recipe level.
* DEFAULT_PREFERENCE still set to -1

(From OE-Core rev: 6a21cf0068234152b3f13866dc7c05adc6d0d9c9)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibusb*: import native support from meta-oe
Martin Jansa [Mon, 26 Mar 2012 12:27:54 +0000 (14:27 +0200)]
libusb*: import native support from meta-oe

(From OE-Core rev: 971361a4fac5622858f71a87c478e16ef02c4d76)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango: import native support and --disable-introspection from meta-oe
Martin Jansa [Fri, 23 Mar 2012 22:30:48 +0000 (23:30 +0100)]
pango: import native support and --disable-introspection from meta-oe

* see http://git.openembedded.org/meta-openembedded/commit/?id=3f4c8edc60b3426dd96f76504169d742a04c1ce1
  for details about --disable-introspection

(From OE-Core rev: f3ff6f0d0ae3cef6f30a80fc64c251aec9dd1a01)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotiff: import native support from meta-oe
Martin Jansa [Fri, 23 Mar 2012 22:30:46 +0000 (23:30 +0100)]
tiff: import native support from meta-oe

(From OE-Core rev: fef8ef18e4aa441739137769d753dc882281e8fc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocairo: import native support from meta-oe
Martin Jansa [Fri, 23 Mar 2012 22:30:45 +0000 (23:30 +0100)]
cairo: import native support from meta-oe

(From OE-Core rev: d8f4551d96c952cb62e8d96f9d5d491be9151279)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopixman: add native support and perl-native to DEPENDS from meta-oe
Martin Jansa [Fri, 23 Mar 2012 22:30:44 +0000 (23:30 +0100)]
pixman: add native support and perl-native to DEPENDS from meta-oe

(From OE-Core rev: 94cb365fdc54e119de958657f7ccf25f9f769017)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibrsvg: import native support from meta-oe
Martin Jansa [Fri, 23 Mar 2012 22:30:43 +0000 (23:30 +0100)]
librsvg: import native support from meta-oe

(From OE-Core rev: 5a8bcd72d9e49e727c02a0ff66c5bdc83637335a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb-util-render: Add recipe that provides libxcb-render-util
Marko Katic [Fri, 16 Mar 2012 00:00:07 +0000 (01:00 +0100)]
xcb-util-render: Add recipe that provides libxcb-render-util

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition.
This library was previously provided by xcb-util and is now a separate package.

(From OE-Core rev: 7703a00515b3cc8f7d3855cf3654ee243ef7b146)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb-util-image: Add recipe that provides libxcb-image.
Marko Katic [Fri, 16 Mar 2012 00:00:05 +0000 (01:00 +0100)]
xcb-util-image: Add recipe that provides libxcb-image.

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition.
This library was previously provided by xcb-util and is now a separate package.

(From OE-Core rev: b554e29f356e3af27beaffb5b538265d010cd08e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb-util-keysyms: Add recipe that provides libxcb-keysyms.
Marko Katic [Fri, 16 Mar 2012 00:00:06 +0000 (01:00 +0100)]
xcb-util-keysyms: Add recipe that provides libxcb-keysyms.

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition.
This library was previously provided by xcb-util and is now a separate package.

(From OE-Core rev: e93c121b66f689df98b953b164abc4bd61351e37)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb-util-wm: Add recipe that provides libxcb-icccm and libxcb-ewmh
Marko Katic [Fri, 16 Mar 2012 00:00:08 +0000 (01:00 +0100)]
xcb-util-wm: Add recipe that provides libxcb-icccm and libxcb-ewmh

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition.
These libraries were previously provided by xcb-util and are now a separate package.

(From OE-Core rev: ee488dd2c33bb3f2818f28bd5db670f09d53ce1f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb_util.inc: Remove packaging and modify SRC_URI for multiple ${BPN} names
Marko Katic [Fri, 16 Mar 2012 00:00:04 +0000 (01:00 +0100)]
xcb_util.inc: Remove packaging and modify SRC_URI for multiple ${BPN} names

Xcb-util was split into separate packages during the 0.3.6 -> 0.3.8 transition.
Update xcb_util.inc to reflect that by removing the older packaging.
Libxcbatom, libxcbaux and libxcbevent are merged into libxcbutil.
Libxcbicccm, libxcbimage, libxcbkeysyms and libxcbwm are now separate packages.
Libxcbproperty and libxcbreply were made obsolete with this commit:

http://cgit.freedesktop.org/xcb/util/commit/?id=81c62e7a04213abefa1ea82819887aaaa3c31a74

(From OE-Core rev: da4a2d49cd1674eddef80c58e5f2effc0035e477)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-input-evdev: Upgrade to 2.7.0
Saul Wold [Fri, 16 Mar 2012 07:05:13 +0000 (00:05 -0700)]
xf86-input-evdev: Upgrade to 2.7.0

(From OE-Core rev: 18c0547fb870ccbdd6b08b4ad449591dfc8bba5c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-input-vmmouse: Upgrade to 12.8.0
Saul Wold [Fri, 16 Mar 2012 07:03:48 +0000 (00:03 -0700)]
xf86-input-vmmouse: Upgrade to 12.8.0

(From OE-Core rev: d5440f4d8b2df46916669a21ff916812df00efdb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-vmware: Upgrade to 12.0.1
Saul Wold [Fri, 16 Mar 2012 07:02:55 +0000 (00:02 -0700)]
xf86-video-vmware: Upgrade to 12.0.1

(From OE-Core rev: 647078a9213f5a1c80c8fa25a5e06c271f5f6e8c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: Update poky revision to point at the 1.2 release branch
Richard Purdie [Wed, 18 Apr 2012 14:58:45 +0000 (15:58 +0100)]
self-hosted-image: Update poky revision to point at the 1.2 release branch

(From OE-Core rev: fd989e1bceef6df36619ba8944c8141abefd282e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: Update poky revision to point at the 1.2 release branch
Richard Purdie [Wed, 18 Apr 2012 14:58:45 +0000 (15:58 +0100)]
self-hosted-image: Update poky revision to point at the 1.2 release branch

(From OE-Core rev: 117ca04008415ed0e6e10dcd373ab5f685b3225a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.bbclass: Add a new case to issue sanity_check()
Dongxiao Xu [Tue, 24 Apr 2012 08:18:15 +0000 (16:18 +0800)]
sanity.bbclass: Add a new case to issue sanity_check()

Judge if "SanityCheck" event is received, it will issue the
sanity_check() and send "SanityCheckPassed" back if succeeded.

(From OE-Core rev: 19704f9e69ecf09531687385b478b47f49fe372d)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Issue sanity check after parse is completed
Dongxiao Xu [Tue, 24 Apr 2012 08:16:12 +0000 (16:16 +0800)]
Hob: Issue sanity check after parse is completed

In original scheme, sanity check is part of the parsing process. If a
sanity check fails, it means the parsing is failed and values in Hob
GUI may not correct.

With this commit, Hob will actively issue sanity_check() after the
parsing is completed.

This fixes [YOCTO #2361]

(Bitbake rev: 36968815dcc91759eeacb308bf4b294af416eee5)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Add proxy setting into setting's md5
Dongxiao Xu [Tue, 24 Apr 2012 08:16:11 +0000 (16:16 +0800)]
Hob: Add proxy setting into setting's md5

If user changed the proxy setting, we will reparse configuration because
it may need sanity check.

(Bitbake rev: 0be54917cd88ea8f110027a7840ac69a411fd589)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevent.py: Add SanityCheck and SanityCheckPassed events
Dongxiao Xu [Tue, 24 Apr 2012 08:16:10 +0000 (16:16 +0800)]
event.py: Add SanityCheck and SanityCheckPassed events

(Bitbake rev: 4d7bf9d813229b78b1cd87d06f7042e7923b7db4)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: Update poky revision to point at the 1.2 release branch
Richard Purdie [Wed, 18 Apr 2012 14:58:45 +0000 (15:58 +0100)]
self-hosted-image: Update poky revision to point at the 1.2 release branch

(From OE-Core rev: 85bebd85c4f6603ac8fc1290121c34b92cc434f9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: PR bump.
Lianhao Lu [Mon, 23 Apr 2012 10:10:43 +0000 (18:10 +0800)]
pseudo: PR bump.

Bump PR value due to the commit
c6c701f424aeb502d20ff02d02712e56f4e259a5.

(From OE-Core rev: b6ee2880fccf04923ede31256ea418451cbf2e46)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/hob: disable sanity checks when launching
Joshua Lock [Mon, 23 Apr 2012 21:36:10 +0000 (14:36 -0700)]
scripts/hob: disable sanity checks when launching

This enables us to use the GUI to change any settings which might cause
sanity checks to fail, such as the proxy configuration.

(From OE-Core rev: fe98d1c7159636f123b27292bbd4cc224b532bf0)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.bbclass: add variable to disable the sanity checks
Joshua Lock [Mon, 23 Apr 2012 21:36:09 +0000 (14:36 -0700)]
sanity.bbclass: add variable to disable the sanity checks

It's useful for Hob to be able to disable the sanity checks completely
without marking them as passed so that the user can get into the GUI to
configure their settings, etc.

Add a variable, DISABLE_SANITY_CHECKS, to do so.

(From OE-Core rev: b022641f939bcfcdaddddc4db3af4d2dc70de832)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix various contamination issues leading to broken/missing c modules
Richard Purdie [Mon, 23 Apr 2012 21:46:42 +0000 (22:46 +0100)]
python: Fix various contamination issues leading to broken/missing c modules

The move of libcrypto to /lib instead of /usr/lib has broken the _hashlib module
compilation. There were also a number of other failing modules which should
have been building correctly. This turned out partly to be the /lib issue
but also due to a number of native paths creeping into compiler commandlines.

These changes add in /lib as part of the searh directory and remove
a number of host contamination issues within setup.py. Post release we
should really further go through this file and just delete large sections
of it as its hard to be sure what strange paths python is injecting as
search paths.

This patch also fixes issues where re-execution of the compile task
would corrupt the Makefile in various ways, again leading to puzzling
paths within the configuration.

(From OE-Core rev: 20e2761e1da1cb5dcd267e161f2a6b6a429e9f39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Add a STAGING_BASELIBDIR variable that recipes can use to find base_libdir
Richard Purdie [Mon, 23 Apr 2012 21:45:36 +0000 (22:45 +0100)]
bitbake.conf: Add a STAGING_BASELIBDIR variable that recipes can use to find base_libdir

(From OE-Core rev: 4697911991caa2f2a21dd43f54e0c4404d722873)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohob: enable sanity checks after launch
Joshua Lock [Mon, 23 Apr 2012 21:35:44 +0000 (14:35 -0700)]
hob: enable sanity checks after launch

To ensure the users configuration is sanity tested enable the sanity
checks after the GUI has started but before any parsing is done.

(Bitbake rev: 244ce2b900ae6cecbeeccfe2056e61c132476261)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: Update poky revision to point at the 1.2 release branch
Richard Purdie [Wed, 18 Apr 2012 14:58:45 +0000 (15:58 +0100)]
self-hosted-image: Update poky revision to point at the 1.2 release branch

(From OE-Core rev: b19af63)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitramfs-live-boot: Disable unionfs until its issue with the system rootdir are...
Richard Purdie [Sun, 22 Apr 2012 14:47:30 +0000 (15:47 +0100)]
initramfs-live-boot: Disable unionfs until its issue with the system rootdir are resolved

There are issues with the current unionfs when making a union mount over "/".
Until these are resolved we can't use unionfs for live booting so disable this
temporarily as a workaround.

unionfs is usable in other circumstances.

[YOCTO #2331 workaround]

(From OE-Core rev: 60ee26ae23132b916019d58e20b8c2e1ddd2b471)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: Drop nativesdk wrapper and link against old memcpy symbol
Richard Purdie [Sun, 22 Apr 2012 14:46:17 +0000 (15:46 +0100)]
pseudo: Drop nativesdk wrapper and link against old memcpy symbol

The -nativesdk pseudo wrapper setting LD_LIBRARY_PATH turned out to be a
bad idea since it can mix up different libc and lib-dl verisons which
may or may not work depending on the phase of the moon.

As an alternative to solving the original problem, this patch drops the
symbol version requirement on memcpy which allows pseudo to work with
libc's back to 2.7 which should be sufficient for our supported targets
using nativesdk.

[YOCTO #2299]
[YOCTO #2351]

(From OE-Core rev: c6c701f424aeb502d20ff02d02712e56f4e259a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: Fix bashisms
Richard Purdie [Thu, 19 Apr 2012 22:01:09 +0000 (23:01 +0100)]
pseudo: Fix bashisms

(From OE-Core rev: 90e22bbb316088fa951d51e75de4e5424bd51ed6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Ensure kernel modules get stripped
Richard Purdie [Thu, 19 Apr 2012 12:17:57 +0000 (13:17 +0100)]
package.bbclass: Ensure kernel modules get stripped

Kernel modules are not marked as executable but we do expect to strip them.
This patch adds in missing code to ensure we do this. Without this images
are getting sigificantly bloated in size.

(From OE-Core rev: 00b0a5f2f51bb3f88bbb9ae558c2859e3c1c406c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values
Richard Purdie [Thu, 19 Apr 2012 07:48:25 +0000 (08:48 +0100)]
gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values

In particular, this overwrites the value from cross-canadian.bbclass in
some cases which isn't the desired behaviour and unnecessarily
complicates/breaks the dependency chain.

(From OE-Core rev: 751ead4fa7d4120de906a1d9cb1d5a29357bebad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Backport a patch to solve SSE2 instruction emulation issues
Richard Purdie [Thu, 19 Apr 2012 07:44:11 +0000 (08:44 +0100)]
qemu: Backport a patch to solve SSE2 instruction emulation issues

This fix addresses various issues seen in qemux86-64 images:
 * scroll bars in matchbox-terminal not working
 * files not appearing in pcmanfm
 * warnings on the console from glib/gobject about invalid gdouble values

Its due to an emulation issue in qemu which the backported patch fixes.

I managed to debug it to a specific function, Khem found the qemu patch
to backport, thanks Khem!

[YOCTO #1906]

(From OE-Core rev: 69d083f8b8d8f7d095ed5682d305870c4d93fe62)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: Update poky revision to point at the 1.2 release branch
Richard Purdie [Wed, 18 Apr 2012 14:58:45 +0000 (15:58 +0100)]
self-hosted-image: Update poky revision to point at the 1.2 release branch

(From OE-Core rev: 00256125873ff6f1630743a712e882e5f473a9d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackageinfo.bbclass: A workaround for RPM architecture renaming
Dongxiao Xu [Wed, 18 Apr 2012 12:48:16 +0000 (20:48 +0800)]
packageinfo.bbclass: A workaround for RPM architecture renaming

For beagleboard platform, the PACKAGE_ARCH for certain recipes is
"armv7a-vfp-neon", however, the architecture label in RPM file name is
"armv7a" due to a potential bug in RPM backend.

This commit is a workaround to make Hob work in this case.

(From OE-Core rev: 00bd4589b21fe3a716ff2732ea55651c4abd77e4)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsb: Fix PR bump, fix bashisms, correct dependency issue, tweak package description
Richard Purdie [Wed, 18 Apr 2012 11:06:48 +0000 (12:06 +0100)]
lsb: Fix PR bump, fix bashisms, correct dependency issue, tweak package description

(From OE-Core rev: 48ef8dbb0d1bdbc7e0e62665b5112282637f3266)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/sanity: import regular expression module in SuSE distro check
Paul Eggleton [Wed, 18 Apr 2012 09:56:10 +0000 (10:56 +0100)]
classes/sanity: import regular expression module in SuSE distro check

We call re.sub here, so we need to "import re" or an error occurs
(tested on OpenSuSE 12.1).

(From OE-Core rev: cb1f7cffc171e6b182f33a69ff688d76b7f1baed)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/sanity: trim trailing newline when reading /etc/redhat-release
Paul Eggleton [Wed, 18 Apr 2012 09:56:09 +0000 (10:56 +0100)]
classes/sanity: trim trailing newline when reading /etc/redhat-release

Any trailing whitespace needs to be stripped before comparing it to the
SANITY_TESTED_DISTROS list.

(From OE-Core rev: bea0311a6478febe8ab4884fb1c479f610856534)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibproxy: remove dependency on gconf when x11 not in DISTRO_FEATURES
Paul Eggleton [Tue, 17 Apr 2012 23:18:35 +0000 (00:18 +0100)]
libproxy: remove dependency on gconf when x11 not in DISTRO_FEATURES

This allows libzypp to successfully build when x11 is not in
DISTRO_FEATURES (avoiding the libzypp -> libproxy -> gconf -> gtk+
dependency chain which without X results in gtk+ failing at
do_configure).

Fixes [YOCTO #2320].

(From OE-Core rev: 973351cf2e338f07c11395d494193e9c62857f2d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemugl: make postinst run at first boot
Scott Garman [Tue, 17 Apr 2012 23:10:30 +0000 (23:10 +0000)]
qemugl: make postinst run at first boot

The previous postinst script was not working for images which use
RPM because do_rootfs could allow qemugl to be installed after
libgl1, and the postinst needs to run after libgl1 is installed.

Hence, it's being changed to run at first boot instead of during
do_rootfs.

(From OE-Core rev: dc0fe3fbf9ca862c1d0d90468e6da326f58e3b41)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: remove BB_NO_NETWORK and update Poky SRCREV
Saul Wold [Tue, 17 Apr 2012 22:02:13 +0000 (15:02 -0700)]
self-hosted-image: remove BB_NO_NETWORK and update Poky SRCREV

Remove BB_NO_NETWORK because we can not guarentee that all
downloads will be available in the self-hosted image for
the possible targets being built.  If this image is run with
out networking, failures may be seen and BB_NO_NETWORK
should be set via the Hob

Update the Poky SRCREV so it has the latest set of fixes and
patches.

(From OE-Core rev: 70541d5e82ee05289eb0095bed4b121d12a00729)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-self-hosted: Add LSB for distro info
Saul Wold [Tue, 17 Apr 2012 22:02:12 +0000 (15:02 -0700)]
task-self-hosted: Add LSB for distro info

The lsb package is needed to enable the distro checking
in the self hosted image. Currently there is no standard
identification in the self-hosted image so use the existing
lsb package which provides lsb_release that parses the
/etc/release file

(From OE-Core rev: 1373865ce7f205a8e63f42caf436e9e2f7a565f5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsb: Add DISTRO Info to /etc/lsb-release file also add util-linux to DEPENDS
Saul Wold [Tue, 17 Apr 2012 22:02:11 +0000 (15:02 -0700)]
lsb: Add DISTRO Info to /etc/lsb-release file also add util-linux to DEPENDS

Add the DISTRO* fields to the /etc/lsb-release file so the distro
parsing code can find standard information about the Poky Distro
when using the Self-Hosted Image.

The lsb_release command uses getopt which is provided by util-linux

(From OE-Core rev: eddb1d6f458bcf8b0473a360fad3f4a259a57d28)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/meta: remove kernel config audit warnings
Bruce Ashfield [Tue, 17 Apr 2012 22:01:46 +0000 (18:01 -0400)]
linux-yocto/meta: remove kernel config audit warnings

Updating the meta SRCREVs to pickup the following meta change for the
3.0 and 3.2 kernels:

[
    meta: Clean up BSPs kernel config

    Clean up some QEMU and non-x86 BSPs kernel config, including

    qemuarm
    qemuppc
    qemux86
    beagleboard
    mpc8315e_rdb

    Only obsolete/invalid kernel configs are removed.

    (From OE-Core rev: 1f68d624c109c3f31a6f2f6106b5ef56e3d9a166)

Signed-off-by: Yang Shi <yang.shi@windriver.com>
]

With this commit, the configuration audit for the qemu and hardware
reference boards is (largely) warning free.

Signed-off-by: Yang Shi <yang.shi@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/meta: beagleboard: disable CONFIG_PREEMPT
Bruce Ashfield [Tue, 17 Apr 2012 22:01:45 +0000 (18:01 -0400)]
linux-yocto/meta: beagleboard: disable CONFIG_PREEMPT

Updating the meta SRCREV for both the 3.0 and 3.2 kernel trees to
pickup the beagleboard xM boot fix:

[
    meta/beagleboard: disable CONFIG_PREEMPT

    The boot hangs with the message:
    mmc0: error -110 whilst initialising SD card

    The MMC driver has issues initializing when PREEMPT is enabled (either forced
    or voluntary). Unplugging and then plugging the card back will reset the
    driver and continue booting. Alternatively, disable preemption.
]

[YOCTO: #1892]

(From OE-Core rev: 36e9e6a88bc4436efefd4a25c0a58be75f887142)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: .diff is a valid patch extension
Bruce Ashfield [Tue, 17 Apr 2012 22:01:44 +0000 (18:01 -0400)]
linux-yocto: .diff is a valid patch extension

In fixing an existing patch migration bug, the list of valid extensions
got out of sync from the core patch class. As a result, valid patches
were not being applied to the tree.

Updating the tools to migrate .diff files fixes the issue.

Also in this fix is the removal of .patch in the find_sccs() routine, since
it will never be returned by patch.bbclass when all non-patches are
requested, it is simply confusing.

(From OE-Core rev: 0ade3f26f40b67d7296725b1e956c46be9a86089)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-wm-2: Fix incorrect update-alternatives
Mark Hatle [Tue, 17 Apr 2012 22:05:52 +0000 (17:05 -0500)]
matchbox-wm-2: Fix incorrect update-alternatives

Update-alternatives was pointing to matchbox-session, and should have
been pointing to matchbox-window-manager.

(From OE-Core rev: 9c08dcf468fd41897627d9efc650c74f8f5d8ed0)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>