]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agopulseaudio: explicitly set --with-database=simple
Mario Domenech Goulart [Mon, 3 Dec 2012 18:06:04 +0000 (16:06 -0200)]
pulseaudio: explicitly set --with-database=simple

The default value for --with-database is "auto".  So, if some package
installs a database library and pulseaudio auto detects, that library
will be added to the dependencies list, causing a dependency error at
do_rootfs time.  For example, samba installs libtdb, which is one of
the pulseaudio supported databases.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobinutils_2.23.1.bb: Correct typo in enable-targets configure option
Khem Raj [Wed, 28 Nov 2012 17:38:11 +0000 (09:38 -0800)]
binutils_2.23.1.bb: Correct typo in enable-targets configure option

Drop virtclass override in favor of class override

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotcmode-default.inc: Use binutils 2.23.1
Khem Raj [Wed, 8 Aug 2012 17:33:41 +0000 (10:33 -0700)]
tcmode-default.inc: Use binutils 2.23.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agooprofile: Include config.h before bfd.h
Khem Raj [Wed, 8 Aug 2012 14:57:46 +0000 (07:57 -0700)]
oprofile: Include config.h before bfd.h

oprofile uses bfd.h from binutils which now in 2.23+ expects config.h
so lets include it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobinutils-2.23.1: Add recipes
Khem Raj [Wed, 8 Aug 2012 14:57:09 +0000 (07:57 -0700)]
binutils-2.23.1: Add recipes

backport non regressing patches from 2.23 branch after 2.23.1
release.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibusb-compat: Update to 0.1.4
Saul Wold [Fri, 30 Nov 2012 18:31:31 +0000 (10:31 -0800)]
libusb-compat: Update to 0.1.4

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosstate.bbclass: fix detection of owners matching sstate files
Martin Jansa [Tue, 4 Dec 2012 01:31:15 +0000 (02:31 +0100)]
sstate.bbclass: fix detection of owners matching sstate files

* without this patch:
  Python 2.7.3
  >>> sstate_search_cmd = "grep -rl /OE/jansa-test/shr-core/tmp-eglibc/pkgdata/armv7a-vfp-neon-oe-linux-gnueabi/runtime-reverse/vim-common /OE/jansa-test/shr-core/tmp-eglibc/sstate-control --exclude=master.list | sed -e 's:^.*/::' -e 's:\.populate-sysroot::'"
  >>> cmd_array = sstate_search_cmd.split(' ')
  >>> search_output = subprocess.Popen(cmd_array, stdout=subprocess.PIPE).communicate()[0]
  grep: |: No such file or directory
  grep: sed: No such file or directory

* Adding shell=True and using cmd string instead of array makes it work:
  >>> search_output = subprocess.Popen(sstate_search_cmd, shell=True, stdout=subprocess.PIPE).communicate()[0]
  >>> print search_output
  manifest-armv7a-vfp-neon-gvim.package
  manifest-armv7a-vfp-neon-vim-tiny.package
  manifest-armv7a-vfp-neon-vim.package

  But still isn't 100% reliable, I guess it's caused by some other package
  being removed from sstate while grep is already running.
  So sometimes grep can show error on STDERR
  >>> search_output = subprocess.Popen(sstate_search_cmd, shell=True, stdout=subprocess.PIPE).communicate()[0]
  grep: /OE/jansa-test/shr-core/tmp-eglibc/sstate-control/manifest-armv7a-vfp-neon-systemtap.package: No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: fixed file-conflict check
Enrico Scholz [Fri, 16 Nov 2012 17:14:20 +0000 (18:14 +0100)]
sstate.bbclass: fixed file-conflict check

The value of subprocess.Popen().communicate()[0] is a string.
Checking for '!= None' will always match causing bogus warnings
regarding already staged files.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: use u-a for eject
Martin Jansa [Tue, 4 Dec 2012 01:31:13 +0000 (02:31 +0100)]
util-linux: use u-a for eject

* 2.22.1 now builds eject which conflicts with eject from eject recipe in meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistutils: remove empty datadir/share after it's content is moved to datadir
Martin Jansa [Tue, 4 Dec 2012 01:31:12 +0000 (02:31 +0100)]
distutils: remove empty datadir/share after it's content is moved to datadir

* fixes a lot of QA warnings about unpackaged /usr/share/share

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup-core-basic: use VIRTUAL-RUNTIME_initscripts and VIRTUAL-RUNTIME_init_manager
Martin Jansa [Tue, 4 Dec 2012 01:31:11 +0000 (02:31 +0100)]
packagegroup-core-basic: use VIRTUAL-RUNTIME_initscripts and VIRTUAL-RUNTIME_init_manager

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-meta-base: pull in X11 plugins when using X11
Ross Burton [Tue, 4 Dec 2012 20:58:03 +0000 (20:58 +0000)]
gst-meta-base: pull in X11 plugins when using X11

The splitting out of X11 plugins wasn't complete, which lead to no X11 plugins
being installed.

If the X11 distro feature is present, make gst-meta-base depend on
gst-meta-x11-base.  Also make -x11-base RDEPEND on xvimagesink for video
playback performance.

[ YOCTO #3458 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqmmp: remove qmake2 from inherit
Paul Eggleton [Wed, 5 Dec 2012 13:28:32 +0000 (13:28 +0000)]
qmmp: remove qmake2 from inherit

qt4x11 already inherits qmake2 so it doesn't need to be inherited again.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofotowall: tidy up
Paul Eggleton [Wed, 5 Dec 2012 13:28:31 +0000 (13:28 +0000)]
fotowall: tidy up

* inherit qt4x11 which inherits qmake2 and sets DEPENDS already
* Remove pkgconfig from inherit since quicky doesn't actually use
  pkg-config nor does it produce a .pc file
* Move packaging definitions to the end

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa/lib/oe/sstatesig: fix locating stamp files
Paul Eggleton [Wed, 5 Dec 2012 13:12:19 +0000 (13:12 +0000)]
meta/lib/oe/sstatesig: fix locating stamp files

Fixes "bitbake-diffsigs -t" for changes to the stamp directory layout,
and this time uses the actual value of STAMP to get the location of
sigdata files in the stamp directory rather than trying to do it
manually, which should be a little more robust.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base: fix directory creation as normal user
Laurentiu Palcu [Wed, 5 Dec 2012 11:00:00 +0000 (13:00 +0200)]
populate_sdk_base: fix directory creation as normal user

My previous patch removed the mkdir and added it at the end of the
"gaining SUDO rights" block in order to fix directory creation when
installing in a location without proper rights. Unfortunately this
messed up the directory creation as normal user as it will ask for
sudo right in order to create it...

Hopefully, this will fix both cases.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxkbcommon: make the build do something
Ross Burton [Tue, 4 Dec 2012 20:40:59 +0000 (20:40 +0000)]
libxkbcommon: make the build do something

In "cleaning up" the package I managed to remove the inherit autotools, so this
recipe didn't actually build anything.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base: mkdir was missing $SUDO_EXEC prefix
Laurentiu Palcu [Tue, 4 Dec 2012 12:16:12 +0000 (14:16 +0200)]
populate_sdk_base: mkdir was missing $SUDO_EXEC prefix

mkdir was in the wrong place and missing sudo rights. Hence, the
installation to default location (or any other for which the user didn't
have rights) would fail. Unless the installer itself is run with sudo.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml2: update PR to contain INC_PR to reflect the update of inc file
Zhenhua Luo [Tue, 4 Dec 2012 09:57:11 +0000 (17:57 +0800)]
libxml2: update PR to contain INC_PR to reflect the update of inc file

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqa.py: Modify the env for the child process only
Muhammad Shakeel [Tue, 4 Dec 2012 10:19:50 +0000 (15:19 +0500)]
qa.py: Modify the env for the child process only

Modified environment is only required for new subprocess to execute
objdump command and not for the current process. We should only
modify the copy of env to pass it on to the child.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-xorg: restore packaging for the DRI/DRI2/DBE extensions
Ross Burton [Wed, 28 Nov 2012 15:28:48 +0000 (15:28 +0000)]
xserver-xorg: restore packaging for the DRI/DRI2/DBE extensions

Even though the current xserver in oe-core (1.13) doesn't ship these as
standalone extensions, older X servers required by binary drives
(e.g. meta-intel's 1.9) still install them separately.  As the packages didn't
exist in xserver-xorg.inc the extensions were not packaged, and X didn't work.

Revolve this by restoring the package definitions, and moving the upgrade path
dependencies to xserver-xorg_1.13.bb.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolatencytop: add missing signed-off-by and re-add upstream status
Jack Mitchell [Mon, 3 Dec 2012 14:59:14 +0000 (14:59 +0000)]
latencytop: add missing signed-off-by and re-add upstream status

When I made a change to this patch in git commit 1b41a4660d0
I accidently removed the Upstream Status line and also didn't
add the required signed-off-by tag.

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel-yocto: checkout known branch before leaving do_validate_branches
Bruce Ashfield [Thu, 29 Nov 2012 18:42:22 +0000 (13:42 -0500)]
kernel-yocto: checkout known branch before leaving do_validate_branches

We should always leave the tree on a BSP branch or master when
do_validate_branches completes to avoid modifying version tracked
files are part of the build process. Modifying these files will lead
to errors when changing branches, since the contents would be lost.

This is evident in the case that a the meta branch is reset to a
known SRCREV and the tree was left on the meta branch. This branch
tracks the meta/meta-series, and other artifacts of the original
tree construction. When the build process runs, it updates these same
files, which creates a conflict when switching branches.

This has been fixed in the tree construction scripts to not track
these files, but a secondary fix is also required of not leaving
the build on these branches, to allow arbitrary trees to be built.

[YOCTO #3413]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml-sax-base-perl: add recipe for libxml-sax-perl
Xin Ouyang [Fri, 30 Nov 2012 10:29:59 +0000 (18:29 +0800)]
libxml-sax-base-perl: add recipe for libxml-sax-perl

If libxml-sax-base-perl is not installed on the target, libxml-sax-perl
would be fail to use. So add the recipe.

    # cat > test.pl <<-EOF
    #!/usr/bin/perl
    use XML::SAX;
    EOF
    # perl ./test.pl
    Can't locate XML/SAX/Exception.pm in @INC ...

Also inherit allarch for three perl modules.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibproxy: Fix for CVE-2012-4504
yanjun.zhu [Fri, 30 Nov 2012 11:08:56 +0000 (19:08 +0800)]
libproxy: Fix for CVE-2012-4504

Reference:https://code.google.com/p/libproxy/source/detail?r=853

Stack-based buffer overflow in the url::get_pac function in url.cpp
in libproxy 0.4.x before 0.4.9 allows remote servers to have an
unspecified impact via a large proxy.pac file.

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

[YOCTO #3487]

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosquashfs: fix for CVE-2012-4024
yanjun.zhu [Fri, 30 Nov 2012 11:41:23 +0000 (19:41 +0800)]
squashfs: fix for CVE-2012-4024

Reference:http://squashfs.git.sourceforge.net/git/gitweb.cgi?p=
squashfs/squashfs;a=commit;h=19c38fba0be1ce949ab44310d7f49887576cc123

Fix potential stack overflow in get_component() where an individual
pathname component in an extract file (specified on the command line
or in an extract file) could exceed the 1024 byte sized targname
allocated on the stack.

Fix by dynamically allocating targname rather than storing it as
a fixed size on the stack.

[YOCTO #3513]

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpng: fix license segment md5sum boundary
Marko Lindqvist [Sun, 2 Dec 2012 06:59:51 +0000 (08:59 +0200)]
libpng: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base: Fix typo
Richard Purdie [Mon, 3 Dec 2012 14:51:45 +0000 (14:51 +0000)]
populate_sdk_base: Fix typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base.bbclass: make failure to find ld-linux.so a hard error
Jason Wessel [Fri, 30 Nov 2012 19:34:08 +0000 (19:34 +0000)]
populate_sdk_base.bbclass: make failure to find ld-linux.so a hard error

The shell archive that populates the external SDK should fail if it
cannot find the ld-linux.so else it will corrupt all binaries because
a random path will be used from the list of executables when dl_path
is empty.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-cortexa*: add another TUNE which allows to enable cortexa* together with thumb...
Martin Jansa [Thu, 29 Nov 2012 07:45:41 +0000 (07:45 +0000)]
tune-cortexa*: add another TUNE which allows to enable cortexa* together with thumb and neon

* like we have with tune-armv7at-neon

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 agoarch-armv6: add tunes without vfp enabled
Víctor Enríquez [Wed, 21 Dec 2011 22:16:02 +0000 (22:16 +0000)]
arch-armv6: add tunes without vfp enabled

This work was made by Victor Enriquez and then modified by Denis Carikli
who was helped by Mark Hatle comments. And in the end modified by Martin
Jansa to support different ARMPKGARCH and removed explicit -novfp suffix.

The changes are for adding support to armv6-novfp, for building binaries
for armv6 machines without vfp, for example the htc dream.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Víctor Enríquez <victor.quicksilver@gmail.com>
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 agoarch-armv4.inc: add --fix-v4bx to TARGET_LD_KERNEL_ARCH only for armv4 and strongarm1100
Martin Jansa [Fri, 23 Nov 2012 08:14:49 +0000 (08:14 +0000)]
arch-armv4.inc: add --fix-v4bx to TARGET_LD_KERNEL_ARCH only for armv4 and strongarm1100

* without this patch it does apply --fix-v4bx not only to armv4, but
  also all higher (because they also have armv4 in TUNE_FEATURES)
* it causes SIGILL on armv4t
  http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-November/042298.html
* someone please test on armv4 device (I tested only bitbake -e output
  that it's correctly applied with DEFAULTTUNE == armv4
* maybe we can should fix this in binutils instead (both 2.22 and 2.23
  are affected)

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 agoarch-arm*: unify appending to TUNE_FEATURES
Martin Jansa [Thu, 29 Nov 2012 11:24:13 +0000 (11:24 +0000)]
arch-arm*: unify appending to TUNE_FEATURES

* that we always use TUNE_FEATURES_tune-arm* variable and add only one TUNE_FEATURE to it
* for bigendian always use littleendian counterpart and append bigendian TUNE_FEATURE

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 agoarch-armv[457]*: fix PACKAGE_EXTRA_ARCHS for bigendian TUNEs
Martin Jansa [Thu, 29 Nov 2012 11:00:21 +0000 (11:00 +0000)]
arch-armv[457]*: fix PACKAGE_EXTRA_ARCHS for bigendian TUNEs

* bigendian should not include little endian PACKAGE_ARCHS

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 agoarch-armv5: fix missing thumb TUNE_FEATURE in armv5t-vfp and following tunes
Martin Jansa [Thu, 29 Nov 2012 11:12:14 +0000 (11:12 +0000)]
arch-armv5: fix missing thumb TUNE_FEATURE in armv5t-vfp and following tunes

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 agotune-*: add PACKAGE_EXTRA_ARCHS entries starting with specific ARMPKGARCH
Martin Jansa [Wed, 28 Nov 2012 22:07:36 +0000 (22:07 +0000)]
tune-*: add PACKAGE_EXTRA_ARCHS entries starting with specific ARMPKGARCH

* e.g. arm926ejs DEFAULT tune is compatible with all PACKAGE_EXTRA_ARCHS_tune-armv5te, but needs to list arm926ejs with all possible suffixes too

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 agotune-cortexa*, tune-xscale: fix ARMPKGARCH
Martin Jansa [Wed, 28 Nov 2012 21:34:59 +0000 (21:34 +0000)]
tune-cortexa*, tune-xscale: fix ARMPKGARCH

* hf/t/neon/b suffix is added by other ARMPKGSFX* variables, should not be
  part of ARMPKGARCH, otherwise resulting TUNE_PKGARCH have that suffix twice,
  e.g. cortexa8hf-neonhf-neon

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 agolibxml2: add --with-fexceptions in configure flags to support exception handling...
Zhenhua Luo [Fri, 30 Nov 2012 08:31:57 +0000 (08:31 +0000)]
libxml2: add --with-fexceptions in configure flags to support exception handling in C++ programs

Without this flag, the library has a problem with C++ programs using exception handling.

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibusb: Update to 1.0.9
Saul Wold [Fri, 30 Nov 2012 18:21:50 +0000 (18:21 +0000)]
libusb: Update to 1.0.9

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomsmtp: Update to 1.4.30
Saul Wold [Fri, 30 Nov 2012 18:20:49 +0000 (18:20 +0000)]
msmtp: Update to 1.4.30

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoless: Update to 456
Saul Wold [Fri, 30 Nov 2012 18:19:49 +0000 (18:19 +0000)]
less: Update to 456

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoocf-linux: Update to 20120127
Saul Wold [Fri, 30 Nov 2012 18:18:48 +0000 (18:18 +0000)]
ocf-linux: Update to 20120127

README changes to update the CHKSUM
ocf directory is now in main tarball so no need to untar now.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Update to 2.22.1
Saul Wold [Fri, 16 Nov 2012 19:51:34 +0000 (19:51 +0000)]
util-linux: Update to 2.22.1

Fix the configure-sbindir test, which was not working correctly
add a patch to configure to correctly test if the prefixes are
conatined in libdir so they don't duplicate.

Removed aarch64 patch since it been merged into this version

Rebased util-linux-ng-replace-siginterrupt.patch

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorsync doesn't create hardlinks for certain files
Amy Fong [Thu, 29 Nov 2012 14:24:03 +0000 (14:24 +0000)]
rsync doesn't create hardlinks for certain files

commit 4205a4c5d959643cf6c186e0939e202fb6006b82
Author: Amy Fong <Amy.Fong@windriver.com>
Date:   Thu Nov 29 09:21:49 2012 -0500

    rsync cannot create hardlink for node file when use option
    --link-dest=DIR.

    By default, rsync's configure file disables certain capabilities when
    crosscompiling.

Signed-off-by: Amy Fong <Amy.Fong@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_rpm.bbclass: fix a regression introduced by list_installed_packages change
Ming Liu [Thu, 29 Nov 2012 09:30:12 +0000 (09:30 +0000)]
rootfs_rpm.bbclass: fix a regression introduced by list_installed_packages change

A regression was introduced by commit:190cb591 that it doesn't
consider the situation that some archs contain "_" originally, so it
results in issues when dealing with archs like qemux86_64, x85_64.

Added a conditional statment in to handle that case.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosite/common-linux: move ac_cv_o_nonblock_inherited to site/common-linux
Roy.Li [Thu, 29 Nov 2012 09:19:25 +0000 (09:19 +0000)]
site/common-linux: move ac_cv_o_nonblock_inherited to site/common-linux

When compiling apr for no-powerpc arch, the flag ac_cv_o_nonblock_inherited
is always set to yes in cross compiling environment. This flag is intended to
think the socket, returned from accept(), inherit file status flags such as
O_NONBLOCK from the listening socket, but socket never inherits file status
from the listening socket on Linux (more information to man accept).

This is Linux-wide behaviour, so move it from meta/site/powerpc32-linux
to site/common-linux.

If ac_cv_o_nonblock_inherited is set to yes on Linux, clients can not access the
same ip address(URL) with Apache web server via http(port 80) and https(port443)
without redirection

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base:tarball installer:add sudo prompt
Hongxu Jia [Thu, 29 Nov 2012 08:14:35 +0000 (08:14 +0000)]
populate_sdk_base:tarball installer:add sudo prompt

1.Adds a sudo passwd prompt during installation if the
  user couldn't install on the dir.
2.Adds option -d <dir> to enter dir without prompt.
3.Adds option -y for automatic yes to all prompts, a non-
  interactive method.

[YOCTO# 3153]
[YOCTO# 3309]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrep: update to upstream version 2.14
Marko Lindqvist [Fri, 30 Nov 2012 18:06:55 +0000 (18:06 +0000)]
grep: update to upstream version 2.14

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuild-appliance-image: Allow SRCREV to be overriden
Saul Wold [Thu, 29 Nov 2012 23:11:07 +0000 (23:11 +0000)]
build-appliance-image: Allow SRCREV to be overriden

This will allow use to automagically set the SRCREV for builds on the
autobuilder. It will still require manual updating for releases.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysvinit: Update ALTERNATIVES List for utmpdump
Saul Wold [Thu, 29 Nov 2012 23:12:07 +0000 (23:12 +0000)]
sysvinit: Update ALTERNATIVES List for utmpdump

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocmake: Update to 2.8.10.1
Saul Wold [Fri, 16 Nov 2012 19:59:20 +0000 (19:59 +0000)]
cmake: Update to 2.8.10.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: move PREEMPT_NONE to beagleboard standard kernel only
Bruce Ashfield [Thu, 29 Nov 2012 18:47:10 +0000 (18:47 +0000)]
linux-yocto/3.4: move PREEMPT_NONE to beagleboard standard kernel only

A recent report of the preempt-rt beagleboard kernel not enabling full
-rt preemption out of the box revealed that the existing fix for SD
boot issues (which were fixed by disabling preemption) was the root
cause for the options not being enabled.

Although the fix for the SD card detection issues is still valid, it
also doesn't make sense to apply it to a kernel type that only exists
to support enhanced preemption. Since many variants of the board boot
with preemption enabled, opening the possibility of a boot problem is
acceptable, given that it allows the -rt kernel to be used.

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 agolibcgroup: fix INSANE_SKIP
Martin Jansa [Thu, 29 Nov 2012 15:05:23 +0000 (15:05 +0000)]
libcgroup: fix INSANE_SKIP

* that .so file is in cgroups-pam-plugin not PN

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 agogstreamer: Fix plugin builds
Gary Thomas [Thu, 29 Nov 2012 13:06:09 +0000 (13:06 +0000)]
gstreamer: Fix plugin builds

Not all gstreamer plugins have localized documentation trees.

The commit
  commit f50e2984d9411a059b86d6c158e9416fceb84c3d
  Author: Martin Jansa <martin.jansa@gmail.com>
  Date:   Wed Nov 28 15:59:48 2012 +0100
breaks the build for such packages because the file "po/Makefile.in.in"
is not present.

This change allows building without the po/ subdirectory.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_ipk, package_ipk: drop --force-overwrite
Martin Jansa [Wed, 28 Nov 2012 15:40:07 +0000 (15:40 +0000)]
rootfs_ipk, package_ipk: drop --force-overwrite

* it was introduced in 2010 by 8c3a7ebac8bed700bcc37f778d5a883cfeee8de8
  but doesn't seem needed anymore
* also such do_rootfs failure is good indication that runtime packages
  installed are not sane, ignoring this error in do_rootfs just
  transfers the issue to end user when he does "opkg upgrade" later
  on device
* tested on SHR images with whole feed included and only issue was
  gstreamer/gst-plugins-* locale packages (and there is patch for this
  on oe-core ML)

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 agoreadline: apply upstream patches
Marko Lindqvist [Wed, 28 Nov 2012 18:27:06 +0000 (18:27 +0000)]
readline: apply upstream patches

Upstream does not make bugfix releases but releases patches
to apply on top of original releases. Fetch and apply those patches.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: update to upstream version 2.34.3
Marko Lindqvist [Wed, 28 Nov 2012 12:08:36 +0000 (12:08 +0000)]
glib-2.0: update to upstream version 2.34.3

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitramfs-framework: udev: Handle alternative binary paths
Otavio Salvador [Tue, 27 Nov 2012 11:55:02 +0000 (11:55 +0000)]
initramfs-framework: udev: Handle alternative binary paths

This allows use of udev daemon for different installation destinations
so allowing use of udev's from systemd code for initramfs.

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 agonet-tools: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:35 +0000 (15:15 +0000)]
net-tools: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:36 +0000 (15:15 +0000)]
glib-2.0: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoltp: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:37 +0000 (15:15 +0000)]
ltp: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:38 +0000 (15:15 +0000)]
xcb: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibdaemon: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:39 +0000 (15:15 +0000)]
libdaemon: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogmp: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:40 +0000 (15:15 +0000)]
gmp: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocoreutils: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:41 +0000 (15:15 +0000)]
coreutils: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. Old md5sum was calculated from
the beginning of the file, not from beginning of the license segment.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:42 +0000 (15:15 +0000)]
uclibc: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. This change has no effect on
md5sum as license segments from the beginning of the file.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopong-clock: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:43 +0000 (15:15 +0000)]
pong-clock: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. This change has no effect on
md5sum as license segments from the beginning of the file.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg-app: fix license segment md5sum boundary
Marko Lindqvist [Fri, 30 Nov 2012 15:15:44 +0000 (15:15 +0000)]
xorg-app: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling
where license segment in file begins. This change has no effect on
md5sum as license segments from the beginning of the file.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4-native: make qt4-native work with long building path
Chen Qi [Fri, 30 Nov 2012 10:33:31 +0000 (10:33 +0000)]
qt4-native: make qt4-native work with long building path

If the TMPDIR has more than 256 chars, building qt4-native fails.
This violates the 410 length limit of TMPDIR.

This patch makes building qt4-native succeed with a long building
path (410 for example) by extending its static arrays' sizes by
256 chars.

[YOCTO #2766]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoghostscript: make ghostscript work with long building path
Chen Qi [Fri, 30 Nov 2012 10:33:32 +0000 (10:33 +0000)]
ghostscript: make ghostscript work with long building path

If TMPDIR has more than 256 chars, building ghostscript fails.
This violates the 410 length limit of TMPDIR.

This patch makes building ghostscript succeed by changing its
MAX_TOKEN from 256 to 512.

[YOCTO #2766]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguile: touch compiled modules on sstate install
Ross Burton [Wed, 28 Nov 2012 17:28:39 +0000 (17:28 +0000)]
guile: touch compiled modules on sstate install

When guile is installed from sstate, if the compiled files get a modified time
older than the source files then guile will produce warnings like this:

;;; note: source file /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/ice-9/boot-9.scm
;;; newer than compiled /data/poky-master/tmp/sysroots/x86_64-linux/usr/lib/guile/2.0/ccache/ice-9/boot-9.go

Not staging the files and letting guile re-compile them on demand won't work:

;;; compiling /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/system/base/compile.scm
;;; it seems /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/system/base/compile.scm
;;; is part of the compiler; skipping auto-compilation

So, use a sstate postinst function to explicitly touch the compiled files after
the extraction to ensure that they are fresher.

[ YOCTO #3370 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguile: fix bashism in script
Ross Burton [Wed, 28 Nov 2012 17:06:53 +0000 (17:06 +0000)]
guile: fix bashism in script

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango: update to upstream version 1.30.1
Marko Lindqvist [Wed, 28 Nov 2012 11:34:05 +0000 (13:34 +0200)]
pango: update to upstream version 1.30.1

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitramfs-framework: init: Stop mount warnings during boot
Otavio Salvador [Sun, 25 Nov 2012 19:27:27 +0000 (17:27 -0200)]
initramfs-framework: init: Stop mount warnings during boot

For a completely quiet boot using recent versions of utilities, the
/etc/fstab and /var/lock need to be available.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_rpm.bbclass: normalize arch output of list_installed_packages
Ming Liu [Mon, 26 Nov 2012 02:24:03 +0000 (10:24 +0800)]
rootfs_rpm.bbclass: normalize arch output of list_installed_packages

list_installed_packages should output uniform formatted archs for all
packaging system(deb, rpm and ipk), for they are used by common code to
grab the package infos. Otherwise, it will lead some -dbg packages to be
missed processing in come cases.

It's introduced by commit: fc985f51, package_rpm.bbclass: fix the arch
(replace "-" with "_").

Fixed by replacing "_" back to "-" in list_installed_packages, make it
output real arch values which can be safely used.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base: tarball installer: SDK overwrite warning
Laurentiu Palcu [Mon, 26 Nov 2012 09:31:40 +0000 (11:31 +0200)]
populate_sdk_base: tarball installer: SDK overwrite warning

This patch contains two fixes:
  * if the user wants to install the SDK in a directory that already
    contains a SDK for the same architecture, a warning will be shown;
  * when the symbolic links are relocated use -n option. Otherwise,
    symbolic links to existing directories will be created in the
directory itself;

[YOCTO #3401]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosubversion: update to 1.7.7
Eric Bénard [Tue, 27 Nov 2012 10:24:49 +0000 (11:24 +0100)]
subversion: update to 1.7.7

- fix WARNING: Failed to fetch URL http://www.apache.org/dist/subversion/subversion-1.7.6.tar.bz2
- subversion-1.7.6_mod_dontdothat_svnserve_only.patch doesn't seems to be useful,
  cc Marcin to get confirmation

Signed-off-by: Eric Bénard <eric@eukrea.com>
Cc: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoccache: update to upstream version 3.1.8
Marko Lindqvist [Tue, 27 Nov 2012 01:49:45 +0000 (03:49 +0200)]
ccache: update to upstream version 3.1.8

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoslang: explicity disable invoking onig module
Hongxu Jia [Tue, 27 Nov 2012 02:04:35 +0000 (10:04 +0800)]
slang: explicity disable invoking onig module

We don't implement module onig in our recipes,
so we should explicity disable its invoke in slang
to avoid that slang's configure incorrectly tests
the existence of onig.

[YOCTO #2820]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Move compile with optimization handling to common code
Jackie Huang [Wed, 28 Nov 2012 06:11:30 +0000 (14:11 +0800)]
eglibc: Move compile with optimization handling to common code

The optimisation handling code is not version specific, so move the
fix code to the .inc.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpng: update to upstream version 1.2.50
Marko Lindqvist [Wed, 28 Nov 2012 07:25:31 +0000 (09:25 +0200)]
libpng: update to upstream version 1.2.50

License md5sum changed only because libpng version numbers and
release dates mentioned in it.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocairo: update to upstream version 1.12.8
Marko Lindqvist [Tue, 27 Nov 2012 03:54:16 +0000 (05:54 +0200)]
cairo: update to upstream version 1.12.8

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: do not prelight GtkButton in touchscreen mode
Andreas Müller [Fri, 30 Nov 2012 12:34:06 +0000 (13:34 +0100)]
gtk+: do not prelight GtkButton in touchscreen mode

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolocal.conf.sample: Enable disk space monitoring by default
Richard Purdie [Mon, 26 Nov 2012 15:09:18 +0000 (15:09 +0000)]
local.conf.sample: Enable disk space monitoring by default

Running out of space is a serious issue and can corrupt the build. Since
we can prevent it at minimal overhead, we might as well enable it by default.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogstreamer, gst-plugins*: fix localdata
Martin Jansa [Wed, 28 Nov 2012 14:59:48 +0000 (15:59 +0100)]
gstreamer, gst-plugins*: fix localdata

* all gst* packages were producing LC_MESSAGES/.mo instead of
  LC_MESSAGES/gst*.mo and it was leading to file conflicts between gst*
  packages too
* for more details see
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-November/032233.html
* buildhistory diff, confirms issue fixed
  https://github.com/shr-distribution/buildhistory/commit/f2c0888c0e08dfb33cc0cdf384621fc499d4ac04
* Thanks to Enrico for simplier solution

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_ipk.bbclass: add missing --force_postinstall option
Laurentiu Palcu [Wed, 28 Nov 2012 15:13:25 +0000 (17:13 +0200)]
rootfs_ipk.bbclass: add missing --force_postinstall option

The force_postinstall option was missing and some packages were
configured on target rather than on host at rootfs time.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssh: CVE-2011-4327
Li Wang [Tue, 27 Nov 2012 06:13:21 +0000 (14:13 +0800)]
openssh: CVE-2011-4327

A security flaw was found in the way ssh-keysign,
a ssh helper program for host based authentication,
attempted to retrieve enough entropy information on configurations that
lacked a built-in entropy pool in OpenSSL (a ssh-rand-helper program would
be executed to retrieve the entropy from the system environment).
A local attacker could use this flaw to obtain unauthorized access to host keys
via ptrace(2) process trace attached to the 'ssh-rand-helper' program.

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-4327
http://www.openssh.com/txt/portable-keysign-rand-helper.adv

[YOCTO #3493]

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautogen: use pkg-config directly instead of guile-config
Ross Burton [Tue, 27 Nov 2012 16:35:58 +0000 (16:35 +0000)]
autogen: use pkg-config directly instead of guile-config

The autoconf macros in autogen use dpkg (!) and guile-config to determine
what/where Guile is.

If the build host has an installed guile, these can produce conflicting results.

More interestingly, if the Guile library source and compiled form have bad
timestamps (source newer than compiled) the configure scripts knows that Guile
is present but doesn't know what version it is, resulting in compile errors.

[ YOCTO #3370 (partially) ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Change build output message to list BUILD_SYS, TARGET_SYS and NATIVELSB...
Richard Purdie [Mon, 26 Nov 2012 14:50:47 +0000 (14:50 +0000)]
bitbake.conf: Change build output message to list BUILD_SYS, TARGET_SYS and NATIVELSBSTRING

The build summary is meant to reflect key configuration variables. Information
about the build system we're running on is important but currently missing
from the information displayed.

Printing TARGET_SYS removes the need to print TARGET_OS and TARGET_ARCH
and we add BUILD_SYS and NATIVELSBSTRING to show information about the
build system.

[YOCTO #3456]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuild-appliance-image: Updated to wget mixed-up commands fix
Cristian Iorga [Tue, 27 Nov 2012 08:01:59 +0000 (10:01 +0200)]
build-appliance-image: Updated to wget mixed-up commands fix

Fixes Hob network test failing inside BA.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobblayers.conf: Add a new variable to prevent certain layers to be removed
Cristiana Voicu [Mon, 26 Nov 2012 08:00:05 +0000 (10:00 +0200)]
bblayers.conf: Add a new variable to prevent certain layers to be removed

[YOCTO #3372]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysprof: Fixes undefined  reference to `rmb'
Noor Ahsan [Mon, 26 Nov 2012 08:23:17 +0000 (13:23 +0500)]
sysprof: Fixes undefined  reference to `rmb'

* Recipe already contains a patch for mips arch but not for mips64.
For mips64 arch 'mips' was not available in OVERRIDES, rather mips64
was there. So added the same patch for mips64 arch using mips64.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackagegroup/allarch: Convert to use allarch class
Richard Purdie [Sun, 25 Nov 2012 20:23:42 +0000 (20:23 +0000)]
packagegroup/allarch: Convert to use allarch class

Currently there is some odd behaviour of the packagegroup class in relation
to sstate since it sets PACKAGE_ARCH = "all" but does not use the allarch class
leading to it being undetected by sstate.

Previously it was not possible to use allarch as the recipe couldn't "undo"
settings made by the allarch class. Since this no longer happens when
PACKAGE_ARCH != all, we can use the allarch class.

This patch also fixes up one case we need to preserve TRANSLATED_TARGET_ARCH
and ensures sstate only assumes allarch when PACKAGE_ARCH is "all".

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoallarch: Allow class to be included but overridden
Richard Purdie [Sun, 25 Nov 2012 20:23:00 +0000 (20:23 +0000)]
allarch: Allow class to be included but overridden

We have cases where we'd like to inherit this class by default but allow
special cases to override it. This change makes the code of the class
conditional on PACKAGE_ARCH remaining set to "all", allowing it to be
overridden. packagegroup usage is one case this is desirable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: Drop P and PN from FILESPATH
Richard Purdie [Mon, 19 Nov 2012 22:17:50 +0000 (22:17 +0000)]
base.bbclass: Drop P and PN from FILESPATH

In the interests of simplifying things, remove P and PN from FILESPATH,
instead relying on the BP and BPN versions which work in 99% of cases.

In any problematic case such as a -native only recipe, either the patch
directory can be renamed or the recipe can set FILESPATH specifically.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Simplify FILESPATH
Richard Purdie [Mon, 19 Nov 2012 21:59:51 +0000 (21:59 +0000)]
bitbake.conf: Simplify FILESPATH

Files are very rarely, if ever placed in ${PF}. If a recipe needs to do this,
it can easily append to FILESPATH so it makes sense to drop this from the
default search path.

Equally, using FILE_DIR as part of the search path leads to 'bad' SRC_URI
entries and/or file layouts which are not preferred. I'm therefore of the
opinion we should also remove this from FILESPATH and encourage people to
cleanup any places this breaks my correcting the layouts to match the standard
or worst case adding to FILESPATH in recipes that need it.

These changes work towards making the system more friendly as users won't be
greeted with huge search paths we rearely use making the "correct" layout
more obvious.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Drop obsolete FILESDIR setting
Richard Purdie [Mon, 19 Nov 2012 21:26:15 +0000 (21:26 +0000)]
bitbake.conf: Drop obsolete FILESDIR setting

FILESPATH is the preferred way of finding files now. Having a value
for FILESDIR which defaults to paths which will have already been
searched is pointless at best. This is the final step in letting
us drop FILESDIR support entirely from bitbake at some future date.

(From OE-Core rev: d6e5ceafcaef06b8a3f9acc2aa826a40a016f913)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.conf: Increase minimum bitbake version requirement to 1.17.0 for FILESDIR...
Richard Purdie [Mon, 26 Nov 2012 09:59:50 +0000 (09:59 +0000)]
sanity.conf: Increase minimum bitbake version requirement to 1.17.0 for FILESDIR updates

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: update to upstream version 1.12.5
Marko Lindqvist [Sun, 25 Nov 2012 02:57:22 +0000 (04:57 +0200)]
automake: update to upstream version 1.12.5

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-*: define more generic DEFAULTTUNE to share feed between machines
Martin Jansa [Tue, 2 Oct 2012 13:21:08 +0000 (13:21 +0000)]
tune-*: define more generic DEFAULTTUNE to share feed between machines

* this is mostly for backwards compatibility and to share binary feed
  like it was before, but now without missing different -mtune in it
* if you want to build some package with -mtune add something like this
  to your distro config
  DEFAULTTUNE_qemuarm_pn-openssl = "arm926ejs"
  DEFAULTTUNE_qemuarmx_pn-openssl = "xscale"
  be aware that if you do this you should do it also for all packages
  which depends on openssl because if you dont and you build e.g. dhcp,
  then dhcp build for arm926ejs (even with DEFAULTTUNE armv5te) will
  depend on openssl with arm926ejs, so dhcp in armv5te feed will be
  rebuild after each MACHINE switch.
* cortexm3, cortexr4, iwmmx and ep9312 are using own DEFAULTTUNE because
  they define also different -march
* shared feeds are
  armv4t: arm920t, arm9tdmi
  armv5te: arm926ejs, xscale
  armv7a-neon: cortexa8, cortexa9

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>