]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoformfactor: use full path to fbset
Paul Eggleton [Tue, 6 Mar 2012 23:55:37 +0000 (23:55 +0000)]
formfactor: use full path to fbset

When using rootless X, /usr/sbin is not in PATH and thus running "fbset"
will fail; so specify /usr/sbin/fbset instead.

Fixes [YOCTO #1986]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoprservice: Added sanity check for prservice connection.
Lianhao Lu [Wed, 7 Mar 2012 07:36:45 +0000 (15:36 +0800)]
prservice: Added sanity check for prservice connection.

Fixed bug [YOCTO #2052]. Added sanity check for variables of PRSERV_HOST
and PRSERV_PORT, also for the connection availabity of prservice.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobzip2: split into binary and library packages
Andreas Oberritter [Wed, 7 Mar 2012 21:03:17 +0000 (22:03 +0100)]
bzip2: split into binary and library packages

* Create libbz2 (and -dev, -staticdev), which can be
  installed without the bzip2 executables.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: use empty SRC_URI by default
Andreas Oberritter [Thu, 8 Mar 2012 02:51:10 +0000 (03:51 +0100)]
bitbake.conf: use empty SRC_URI by default

* Otherwise, recipes that only append to SRC_URI instead of
  overwriting it will get the full path of the recipe written
  into the Source: field of the package.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogtk+: Amend upstream status of configure-nm.patch
James Limbouris [Thu, 8 Mar 2012 01:47:08 +0000 (09:47 +0800)]
gtk+: Amend upstream status of configure-nm.patch

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdk-pixbuf: Pick up ${NM} from the environment.
James Limbouris [Thu, 8 Mar 2012 01:44:02 +0000 (09:44 +0800)]
gdk-pixbuf: Pick up ${NM} from the environment.

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: Remove warnings for modutils and modprobe.d
Darren Hart [Wed, 7 Mar 2012 08:06:46 +0000 (00:06 -0800)]
kernel.bbclass: Remove warnings for modutils and modprobe.d

Fixes [Yocto #2036]

The source and build directories are unused, remove them.

The modutils and modprobe.d directories may be used if modules are built that
are either autoloaded or have modprobe.d entries. This isn't known at install
time, so check after the package split if these directories are empty and
remove them if they are.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: override PKGV, not PKGV_${PN}
Christopher Larson [Wed, 7 Mar 2012 16:24:25 +0000 (10:24 -0600)]
external-csl-toolchain: override PKGV, not PKGV_${PN}

This is needed to ensure that the RDEPENDS_${PN}-dev,
RDEPENDS_${PN}-staticdev, and RRECOMMENDS_${PN}-dbg are accurate with respect
to the PKGV of the ${PN} package, and incidentally fixes an rpm packaging
issue, as rpm dislikes the recipe PV as PKGV.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxz: split out liblzma as seperate packages
Koen Kooi [Tue, 6 Mar 2012 17:03:20 +0000 (09:03 -0800)]
xz: split out liblzma as seperate packages

As usual, this creates problems for upgrade paths, but splitting out the lib is worth the short term hassle

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopolkit: Fix Upstream-Status tag
Saul Wold [Tue, 6 Mar 2012 17:03:23 +0000 (09:03 -0800)]
polkit: Fix Upstream-Status tag

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agovalgrind: Support compilation without X11
Mike Crowe [Tue, 6 Mar 2012 17:03:21 +0000 (09:03 -0800)]
valgrind: Support compilation without X11

Only depend on X libraries if the distribution has X support.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomime.bbclass: Fix bracket error.
Samuel Stirtzel [Tue, 6 Mar 2012 17:03:19 +0000 (09:03 -0800)]
mime.bbclass: Fix bracket error.

This fixes the following error:

ERROR: Error executing a python function in ...:
AttributeError: 'str' object has no attribute 'append'

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR:   File "populate_packages", line 193, in <module>
ERROR:
ERROR:   File "populate_packages", line 189, in populate_packages
ERROR:
ERROR: The code that was being executed was:
ERROR:      0189:                       rdepends.append("shared-mime-info-data")
ERROR:      0190:                       d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
ERROR:      0191:
ERROR:      0192:
ERROR:  *** 0193:populate_packages(d)
ERROR:      0194:
ERROR: (file: 'populate_packages', lineno: 193, function: <module>)
ERROR:      0185:                       postrm += d.getVar('mime_postrm', True)
ERROR:      0186:                       d.setVar('pkg_postrm_%s' % pkg, postrm)
ERROR:      0187:                       bb.note("adding shared-mime-info-data dependency to %s" % pkg)
ERROR:      0188:                       rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or ""
ERROR:  *** 0189:                       rdepends.append("shared-mime-info-data")
ERROR:      0190:                       d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
ERROR:      0191:
ERROR:      0192:
ERROR:      0193:populate_packages(d)

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow-sysroot: Fix for multilib
Zhai Edwin [Tue, 6 Mar 2012 17:03:17 +0000 (09:03 -0800)]
shadow-sysroot: Fix for multilib

Fix following error in multilib build:
"ERROR: Task do_package_setscene depends upon nonexistant task
poky/meta/recipes-extended/shadow/shadow-sysroot_4.1.4.3.bb:do_populate_sysroot_setscene"

>From richard.purdie@linuxfoundation.org

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: extend all recipes in multilib.conf
Dongxiao Xu [Tue, 6 Mar 2012 17:03:16 +0000 (09:03 -0800)]
multilib: extend all recipes in multilib.conf

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto/rt: udpate SRCREVs to 3.2.9-rt16
Bruce Ashfield [Tue, 6 Mar 2012 17:03:15 +0000 (09:03 -0800)]
linux-yocto/rt: udpate SRCREVs to 3.2.9-rt16

Bumping the -rt kernel to pickup the incremental update to -rt16.
No major changes from -rt15, except for a bug fix that we want
to pick up.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto/meta: fix incorrect config references
Bruce Ashfield [Tue, 6 Mar 2012 17:03:14 +0000 (09:03 -0800)]
linux-yocto/meta: fix incorrect config references

Updating the meta SRCREV to pickup the following fixes:

  a9ffedb meta/fri2/sys940x: fix incorrect cfg includes
  3d1a678 meta/sys940x: fix incorrect emgd branch merge

During the merge of the 3.0 BSPs forward to 3.2, a few moved config
fragments were missed.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopsplash: Add mising commands module import.
Peter Tworek [Tue, 6 Mar 2012 17:03:13 +0000 (09:03 -0800)]
psplash: Add mising commands module import.

Python commands module is used in the recipe, but never imported.
This leads to build errors like:

NameError: global name 'commands' is not defined

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR:   File "do_compile", line 24, in <module>
ERROR:
ERROR:   File "do_compile", line 11, in do_compile
ERROR:
ERROR: The code that was being executed was:
ERROR:      0020:        bb.build.exec_func("oe_runmake", d)
ERROR:      0021:        shutil.copyfile("psplash", outputfile)
ERROR:      0022:
ERROR:      0023:
ERROR:  *** 0024:do_compile(d)
ERROR:      0025:
ERROR: (file: 'do_compile', lineno: 24, function: <module>)
ERROR:      0007:    localfiles = d.getVar('SPLASH_LOCALPATHS', True).split()
ERROR:      0008:    outputfiles = d.getVar('SPLASH_INSTALL', True).split()
ERROR:      0009:    for localfile, outputfile in zip(localfiles, outputfiles):
ERROR:      0010:        if localfile.endswith(".png"):
ERROR:  *** 0011:            outp = commands.getstatusoutput('./make-image-header.sh %s POKY' % localfile)
ERROR:      0012:            print(outp[1])
ERROR:      0013:            fbase = os.path.splitext(os.path.basename(localfile))[0]
ERROR:      0014:            shutil.copyfile("%s-img.h" % fbase, destfile)
ERROR:      0015:        else:

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Upgrade to 4.6.3 release
Khem Raj [Tue, 6 Mar 2012 17:03:12 +0000 (09:03 -0800)]
gcc: Upgrade to 4.6.3 release

core-image-sato/core-image-minimal builds and boots
on all qemu machines

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agologrotate 3.7.9: Allow rotate log across filesystems
Robert Yang [Tue, 6 Mar 2012 17:03:11 +0000 (09:03 -0800)]
logrotate 3.7.9: Allow rotate log across filesystems

The logrotate can't save the log across the different filesystems since
it used the "rename(const char *oldpath, const char *newpath)" to save
the file, fix it to act as the "mv" command(first rename, if failed,
read and write) to allow save the log across the different filesystems.

* config.c: Remove the check for different filesystems
* logrotate.c: Act as the "mv" command when rotate log
* logrotate.8: Update the mannual
* logrotate.8: Fix a bug in the mannual(\f should be \fR)

[YOCTO #718]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: v3.2.9, v3.0.23 + fixes and updates
Bruce Ashfield [Tue, 6 Mar 2012 17:03:10 +0000 (09:03 -0800)]
linux-yocto: v3.2.9, v3.0.23 + fixes and updates

This is an update of the linux-yocto 3.0 and 3.2 SRCREVs to bring
in the following updates:

  - v3.0.23 stable update
  - v3.2.9 stable update
  - 3.0/3.2: fri2 updates (pch + configuration changes) from Darren Hart
  - 3.0: pvr merge from Kishore Bodke
  - linux-yocto/rt: update to 3.0.23-rt38
  - linux-yocto/rt: update to 3.2.9-rt15

These have been built for all qemu targets, and built for the appropriate
hardware platforms.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: use bareclone option
Bruce Ashfield [Tue, 6 Mar 2012 17:03:09 +0000 (09:03 -0800)]
linux-yocto: use bareclone option

Instead of specifying nocheckout=1, it provides a better workflow if
the linux-yocto recipes use the new bareclone=1 option to get a mirrored
copy of the source repository. This allows all local and remote branches
to be available during the kernel build and development cycle.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: add IMAGE_ROOTFS_ALIGNMENT
Ken Werner [Tue, 6 Mar 2012 17:03:06 +0000 (09:03 -0800)]
image_types: add IMAGE_ROOTFS_ALIGNMENT

Introduce a new variable called IMAGE_ROOTFS_ALIGNMENT that allows to control
the aligment of the size of the rootfs. Its default value is set to 1KiB so
that the existing behaviour is not changed. In case the SD card emulation of
a QEMU system emulator gets used you may set the alignment to 2MiB.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibsdl: add DirectFB support
Andreas Oberritter [Tue, 6 Mar 2012 17:03:04 +0000 (09:03 -0800)]
libsdl: add DirectFB support

* Use conditional dependencies for DirectFB, like
  it's already done for OpenGL and X11.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobluez4: add dependency on libcheck to enable test modules
Chase Maupin [Wed, 7 Mar 2012 20:48:52 +0000 (14:48 -0600)]
bluez4: add dependency on libcheck to enable test modules

* The later versions of bluez such as 4.98 require libcheck
  in order to build the test packages as enabled by the
  --enable-test option passed in EXTRA_OECONF.
* Failure to have the libcheck package available results in the
  configure script ignoring the --enable-test option and not
  building the test modules.
* Adding libcheck, which is greater than the minimum required
  version of the check library of 0.9.6 allows building the
  test modules.
* Build tested for am335x-evm MACHINE type and run time tested
  by back porting this fix to the oe-classic and arago setup
  and booting on am335x-evm.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoudev-164: don't hardcode path to pidof
Andreas Oberritter [Thu, 8 Mar 2012 12:08:50 +0000 (13:08 +0100)]
udev-164: don't hardcode path to pidof

* pidof lives in /bin, search it in $PATH.
* Assume pidof's presence.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Fix PACKAGECONFIG handling when no flags are set
Richard Purdie [Mon, 5 Mar 2012 21:01:21 +0000 (13:01 -0800)]
base.bbclass: Fix PACKAGECONFIG handling when no flags are set

When the main PACKAGECONFIG variable was empty with no flags set,
the options were not being added to explicitly disable features.
This patch corrects that problem and ensures the disable fields
are correctly parsed and added to variables.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopolkit: Default to shadow, not none to fix build failures
Richard Purdie [Mon, 5 Mar 2012 20:57:17 +0000 (12:57 -0800)]
polkit: Default to shadow, not none to fix build failures

Without this builds would fail due to an invalid confiuration being
selected by the configure script.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa: Replace bb.data.expand(xxx, d) -> d.expand(xxx)
Richard Purdie [Sat, 3 Mar 2012 11:21:22 +0000 (11:21 +0000)]
meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)

sed \
 -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
 -i `grep -ril bb.data.expand *`

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate: Remove unecessary bb.data.expand()
Richard Purdie [Sat, 3 Mar 2012 11:12:14 +0000 (11:12 +0000)]
sstate: Remove unecessary bb.data.expand()

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)
Richard Purdie [Sat, 3 Mar 2012 10:59:25 +0000 (10:59 +0000)]
meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)

Using "1" with getVar is bad coding style and "True" is preferred.
This patch is a sed over the meta directory of the form:

sed \
 -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \
 -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \
 -i `grep -ril getVar *`

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa/classes: Convert to use appendVar and appendVarFlags
Richard Purdie [Sat, 3 Mar 2012 10:41:41 +0000 (10:41 +0000)]
meta/classes: Convert to use appendVar and appendVarFlags

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibx11: reinstate PE=1 that got lost in the big meta-oe Xorg merge
Koen Kooi [Mon, 5 Mar 2012 07:38:32 +0000 (08:38 +0100)]
libx11: reinstate PE=1 that got lost in the big meta-oe Xorg merge

This prevents package managers 'upgrading' 1.4.4 to 1:1.4.3

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogtk+ 2.24.8: bump PR to force rebuild and feed update
Koen Kooi [Mon, 5 Mar 2012 07:38:31 +0000 (08:38 +0100)]
gtk+ 2.24.8: bump PR to force rebuild and feed update

This should errors similar to this one:

/usr/libexec/gdm-simple-greeter: symbol lookup error: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: _XGetRequest

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopolkit 0.104: add 2 backports from upstream to fix crashes during auth
Koen Kooi [Mon, 5 Mar 2012 07:38:30 +0000 (08:38 +0100)]
polkit 0.104: add 2 backports from upstream to fix crashes during auth

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopolkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide
Koen Kooi [Mon, 5 Mar 2012 07:38:29 +0000 (08:38 +0100)]
polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosoc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE
Denys Dmytriyenko [Sun, 4 Mar 2012 06:24:34 +0000 (01:24 -0500)]
soc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE

Add a soc-family.inc file that can be included in a machine.conf to enable
the use of SOC_FAMILY in MACHINEOVERRIDE, which could be useful to group
multiple machines with the same common base. Some examples can be seen in
meta-ti BSP layer.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibx11-trim: Add error information from LSB Test Suite to makekeys_crosscompile.patch
Xiaofeng Yan [Sat, 3 Mar 2012 11:03:44 +0000 (19:03 +0800)]
libx11-trim: Add error information from LSB Test Suite to makekeys_crosscompile.patch

Append error information from LSB Test Suite to this patch for an illustrative purpose \
why this patches should be needed.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibx11-1.4.4: Add patch "makekeys_crosscompile.patch"
Xiaofeng Yan [Sat, 3 Mar 2012 11:03:39 +0000 (19:03 +0800)]
libx11-1.4.4: Add patch "makekeys_crosscompile.patch"

Add patch "makekeys_crosscompile.patch" to libx11-1.4.4 for fixing
bug 1970.

[YOCTO #1970]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibx11-1.4.4: Add patch makekeys_crosscompile.patch
Xiaofeng Yan [Sat, 3 Mar 2012 11:03:37 +0000 (19:03 +0800)]
libx11-1.4.4: Add patch makekeys_crosscompile.patch

LSB 4.1 complain a host contamination error from libx11 because of absent
patch "makekeys_crosscompile.patch" from libx11-trim-1.4.4.

The error from LSB Test Suite is as follow:
VSW5TESTSUITE PURPOSE 7
Assertion XStringToKeysym-7.(A)
When the string argument is the name of a KeySym in the
table with the prefix XK_ removed, then a call to
XStringToKeysym returns that KeySym.
METH: For each KeySym name in table with code G:
METH: Call XStringToKeysym to obtain the KeySym defined for that string.
METH: Verify that XStringToKeysym did not return NoSymbol.
METH: Verify that the returned string is correct.
CHECK: XStringToKeysym-7 1, line 130
CHECK: XStringToKeysym-7 2, line 140
CHECK: XStringToKeysym-7 3, line 150
CHECK: XStringToKeysym-7 4, line 160
CHECK: XStringToKeysym-7 5, line 170
CHECK: XStringToKeysym-7 6, line 180
CHECK: XStringToKeysym-7 7, line 190
CHECK: XStringToKeysym-7 8, line 200
CHECK: XStringToKeysym-7 9, line 210
CHECK: XStringToKeysym-7 10, line 220
CHECK: XStringToKeysym-7 11, line 230
CHECK: XStringToKeysym-7 12, line 240
CHECK: XStringToKeysym-7 13, line 250
CHECK: XStringToKeysym-7 14, line 260
CHECK: XStringToKeysym-7 15, line 270
CHECK: XStringToKeysym-7 16, line 280
CHECK: XStringToKeysym-7 17, line 290
CHECK: XStringToKeysym-7 18, line 300
CHECK: XStringToKeysym-7 19, line 310
CHECK: XStringToKeysym-7 20, line 320

[YOCTO #1970]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-cross.inc: Fix cross testing scripts to work with dash
Khem Raj [Fri, 2 Mar 2012 22:54:25 +0000 (14:54 -0800)]
gcc-cross.inc: Fix cross testing scripts to work with dash

dash does not like >& so be explicit and say 2>&1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-testing: Fix testing script to work well with dash
Khem Raj [Fri, 2 Mar 2012 22:57:28 +0000 (14:57 -0800)]
eglibc-testing: Fix testing script to work well with dash

Dash did not like >& so we do 2 >& 1 > /dev/null

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agowpa-supplicant: fix breakage during rebuild
Steve Sakoman [Fri, 2 Mar 2012 19:58:43 +0000 (11:58 -0800)]
wpa-supplicant: fix breakage during rebuild

Install phase currently edits files in $S with sed. This causes breakage
if install is run a second time (due to sstate hash rebuild for example)

The result is hidden build breakage, in particular
/usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service now contains:

Exec=/usr/usr/sbin/wpa_supplicant -u

rather than:

Exec=/usr/sbin/wpa_supplicant -u

This patch does the sed edit after the files are copied to $D, which should be safe.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: Ensure duplicate compressed types aren't created
Richard Purdie [Fri, 2 Mar 2012 13:22:49 +0000 (13:22 +0000)]
image_types: Ensure duplicate compressed types aren't created

This allows IMAGE_FSTYPES = "tar.bz2 tar.bz2" to work (and now
is faster since it will only do it once).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types.bbclass: We need to preserve order in the types variable and avoid set()
Richard Purdie [Fri, 2 Mar 2012 12:08:02 +0000 (12:08 +0000)]
image_types.bbclass: We need to preserve order in the types variable and avoid set()

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: If unpacking again, wipe out ${S}/patches
Richard Purdie [Fri, 2 Mar 2012 11:53:26 +0000 (11:53 +0000)]
base.bbclass: If unpacking again, wipe out ${S}/patches

If we unpack again, its assumed the data in any patches directory is invalid
since do_patch will run again. This ensures old patch data doesn't get
reused in a confused way.

Ideally we should probably wipe out ${S} here but that is probably a change
for another time.

[YOCTO #2043 partially]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolib/oe/patch.py: Fix and improve PatchTree() resolver logic
Richard Purdie [Thu, 1 Mar 2012 23:38:00 +0000 (23:38 +0000)]
lib/oe/patch.py: Fix and improve PatchTree() resolver logic

Currently, if PATCHRESOLVE is user and and PatchTree() is being used, you can
get backtraces if patch application fails. This is because even in the failure
case, self._current is incremented, meaning second time around, there are array
range issues.

This patch changes the code so _current is only incremented upon successful
patch application, thereby resolving this failure.

Secondly, if you bitbake -c patch -f a recipe using PatchTree(), the
clean method was unimplemented leading to patch failures.

The other part of this patch changes the logic so a series file and
set of applied patches are maintained in a quilt like fashion. This
means a the Clean method can be implemented correctly and rerunning
the patch task of an existing patches source now works reliably.

[YOCTO #2043 partially]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4: make pulseaudio support conditional upon DISTRO_FEATURES
Paul Eggleton [Tue, 28 Feb 2012 17:36:22 +0000 (17:36 +0000)]
qt4: make pulseaudio support conditional upon DISTRO_FEATURES

Add a pulseaudio DISTRO_FEATURES item and disable pulseaudio support in
phonon within Qt4 if it is not present; otherwise it is a race condition
as to whether it is enabled or disabled or breaks the build.

Note that this adds pulseaudio to DISTRO_FEATURES_BACKFILL thus leaving
existing distro configurations unaffected.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinitscripts: Create the volatiles cache atomically.
James Limbouris [Wed, 29 Feb 2012 01:13:46 +0000 (09:13 +0800)]
initscripts: Create the volatiles cache atomically.

If a machine loses power while building the volatiles cache, it will
continue to operate with an incomplete set of volatiles. Fix this by
updating atomically.

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update to v3.2.8
Bruce Ashfield [Tue, 28 Feb 2012 21:10:00 +0000 (16:10 -0500)]
linux-yocto: update to v3.2.8

3.2.8 was released and contains a floating point fix for x86 32
bit and some x86-64 fixes. So it's worth picking up right away.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto/meta: add pvr feature description
Bruce Ashfield [Tue, 28 Feb 2012 21:09:59 +0000 (16:09 -0500)]
linux-yocto/meta: add pvr feature description

Updating the 3.0 and 3.2 kernel SRCREVS to make the PVR feature
description available to machines with the appropriate hardware.

Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: make kernel_checkout reentrant
Bruce Ashfield [Tue, 28 Feb 2012 21:09:58 +0000 (16:09 -0500)]
linux-yocto: make kernel_checkout reentrant

The steps in do_kernel_checkout modify the source tree in WORKDIR.
If it is called multiple times, or interrupted, the tree is left
in an inconsistent state.

This change adds protections around branch names, and around the
manipulations of directories to ensure that it is safe to call
at any point.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosudo: upgrade to 1.8.4
Scott Garman [Tue, 28 Feb 2012 21:45:28 +0000 (13:45 -0800)]
sudo: upgrade to 1.8.4

During the upgrade to 1.8.4, the UCB-licensed fnmatch.c was replaced
with a non-recursive BSD-licensed version, hence the removal of UCB
and addition of BSD in the LICENSE field. This led to checksum changes
in the doc/LICENSE file, and we now additionally track the comment
headers in redblack.c.

These changes were confirmed on the sudo mailing list:

http://www.sudo.ws/pipermail/sudo-workers/2012-February/000736.html

This upgrade also fixes CVE-2012-0809.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: Ensure dependencies for compression types containing multiple dots are...
Richard Purdie [Fri, 2 Mar 2012 12:29:27 +0000 (12:29 +0000)]
image_types: Ensure dependencies for compression types containing multiple dots are handled correctly

This ensures dependencies for image types like ext2.gz.u-boot are handled correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoV2 Fix libpam's chmod
Robert Yang [Fri, 2 Mar 2012 10:34:19 +0000 (18:34 +0800)]
V2 Fix libpam's chmod

The libpam's has an error when generating the rootfs:

chmod: cannot access `/usr/sbin/unix_chkpwd': No such file or directory

This is because the following code in libpam_1.1.5.bb:

pkg_postinst_pam-plugin-unix () {
    # below is necessary to allow unix_chkpwd get user info from shadow file
    # on lsb images
    chmod 4755 ${sbindir}/unix_chkpwd
}

This is to set the setuid permission for unix_chkpwd (the lsb test
requires this), but it lacks a "${D}", and we can do this in the install
stage.

[YOCTO #2049]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/oe-git-proxy-socks-command: Add fallback to use nc
Richard Purdie [Thu, 1 Mar 2012 23:53:24 +0000 (23:53 +0000)]
scripts/oe-git-proxy-socks-command: Add fallback to use nc

If our own proxy command isn't available for some reason and nc is available,
fall back to use it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/oe-git-proxy-socks-command: Improve error fallback/handling
Richard Purdie [Thu, 1 Mar 2012 22:09:33 +0000 (22:09 +0000)]
scripts/oe-git-proxy-socks-command: Improve error fallback/handling

If oe-git-proxy-socks isn't available, try and create it.

If that fails, tell the user there is a problem, don't just fail
to find the command.

[YOCTO #2007]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobusybox: Restore 'date' compatability
Gary Thomas [Thu, 1 Mar 2012 17:41:38 +0000 (10:41 -0700)]
busybox: Restore 'date' compatability

Restore CONFIG_FEATURE_DATE_COMPAT so that all versions of 'date',
whether from busybox or coreutils, agree on the format when
setting the date from the command line.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinitscripts: Properly format date when set from timestamp
Gary Thomas [Thu, 1 Mar 2012 17:41:37 +0000 (10:41 -0700)]
initscripts: Properly format date when set from timestamp

Reformat date, as stored in /etc/timestamp, to match CLI format.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibproxy: Fix build errors due to missing prototypes
Khem Raj [Thu, 1 Mar 2012 18:08:03 +0000 (10:08 -0800)]
libproxy: Fix build errors due to missing prototypes

g++ really does not like the missing prototypes
here we were missing close() and read() so include
unistd.h to get them

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite.conf.sample: Fix broken SOCKS proxy setup and configuration
Inaky Perez-Gonzalez [Thu, 1 Mar 2012 09:44:34 +0000 (09:44 +0000)]
site.conf.sample: Fix broken SOCKS proxy setup and configuration

SOCKS proxy specification with git was using conflicting methods and
thus was failing when mixed SOCKS needs were in place (requiring no
proxy for some hosts and proxy for the rest)

- GIT_PROXY_COMMAND is an environment variable GIT uses to OVERRIDE
  all proxy configuration in ~/.gitconfig or any other gitconfig. By
  using it to configure, it was breaking havoc on site git
  configuration or the one generated by bitbake in tmp/.

  Renamed to OE_GIT_PROXY_COMMAND in meta/conf/site.conf.sample
   (with a doc tidbit on the name chosen), meta/classes/base.bbclass.

- The gitconfig generated by bitbake was wrong. There was a typo error
  (gitproxy vs gitProxy), thus all lines were being ignored. Fixed in
  meta/classes/base.bbclass.

- The gitconfig generated was being placed in
  ${STAGING_DIR_NATIVE}/usr/etc/gitconfig; git was looking for it in
  ${STAGING_DIR_NATIVE}/etc/gitconfig. Fixed that in
  meta/classes/base.bbclass, at the same time creating a
  GIT_CONFIG_PATH variable, since it is also referenced in
  generate_git_config() and have all instances refer to that.

Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternalsrc.bbclass: Add class for handling external source trees
Richard Purdie [Fri, 24 Feb 2012 12:29:36 +0000 (12:29 +0000)]
externalsrc.bbclass: Add class for handling external source trees

This is loosly based upon srctree.bbclass from OE-Classic but with some
changes appropriate to OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotoolchain-scripts: Exclude variables causing the recipe to become unecessarily machin...
Richard Purdie [Thu, 1 Mar 2012 15:54:46 +0000 (15:54 +0000)]
toolchain-scripts: Exclude variables causing the recipe to become unecessarily machine specific

   basehash changed from 30e97f9eeed1df8488b62b4fb47a3a0c to 72ea9a277e6599ae9052b169b9a94f1b
   Variable TOOLCHAIN_CONFIGSITE_SYSROOTCACHE value changed from
   /OE/oe-core/tmp-eglibc/sysroots/qemux86-64/usr/share/x86_64-oe-linux_config_site.d
   to
   /OE/oe-core/tmp-eglibc/sysroots/qemux86-64copy/usr/share/x86_64-oe-linux_config_site.d
   Variable TIME value changed from 084543 to 085638

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutil-linux: Fix build when NLS is disabled
Khem Raj [Thu, 1 Mar 2012 07:55:00 +0000 (23:55 -0800)]
util-linux: Fix build when NLS is disabled

AC_CHECK_DECLS generated defines should be
checked with #if not #ifdef

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking: Upgrade and Manual Checks
Saul Wold [Thu, 1 Mar 2012 06:58:22 +0000 (22:58 -0800)]
distro_tracking: Upgrade and Manual Checks

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoutil-linux: Fix removal of lscpu for non-GPLv3 Build
Saul Wold [Thu, 1 Mar 2012 06:54:52 +0000 (22:54 -0800)]
util-linux: Fix removal of lscpu for non-GPLv3 Build

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agopixman: updat to 0.24.4
Saul Wold [Thu, 1 Mar 2012 06:53:22 +0000 (22:53 -0800)]
pixman: updat to 0.24.4

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoglproto: Update to 1.4.15
Saul Wold [Thu, 1 Mar 2012 06:53:06 +0000 (22:53 -0800)]
glproto: Update to 1.4.15

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agohdparm: update to 9.39
Saul Wold [Thu, 1 Mar 2012 06:52:50 +0000 (22:52 -0800)]
hdparm: update to 9.39

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agonetbase: fix QA Warnings
Saul Wold [Thu, 1 Mar 2012 04:37:04 +0000 (20:37 -0800)]
netbase: fix QA Warnings

WARNING: For recipe netbase, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/sbin
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoperl: remove empty directories to clean QA Warnings
Saul Wold [Thu, 1 Mar 2012 04:36:08 +0000 (20:36 -0800)]
perl: remove empty directories to clean QA Warnings

WARNING: For recipe perl, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/perl/site_perl
WARNING:   /usr/lib/perl/site_perl/5.14.2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibx11-trim: Drop obsolete 1.3.4 version
Richard Purdie [Thu, 1 Mar 2012 11:53:02 +0000 (11:53 +0000)]
libx11-trim: Drop obsolete 1.3.4 version

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoself-hosted-image: Create a VMDK image with correct SYSLINUX_* settings
Saul Wold [Thu, 1 Mar 2012 07:46:22 +0000 (23:46 -0800)]
self-hosted-image: Create a VMDK image with correct SYSLINUX_* settings

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage-vmdk: Create image_vmdk class and setup image and image_types to use it
Saul Wold [Thu, 1 Mar 2012 07:46:21 +0000 (23:46 -0800)]
image-vmdk: Create image_vmdk class and setup image and image_types to use it

This creates a new image_vmdk class similar to live. The image_vmdk
class needs to have a hddimg created by the image-live class, so it
inherits it directly.

The changes to image_types is to ensure that both live and vmdk images
get the ext3 tools and dependencies.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibx11-trim/diet: Add RPROVIDES for libx11-dev
Richard Purdie [Thu, 1 Mar 2012 11:55:16 +0000 (11:55 +0000)]
libx11-trim/diet: Add RPROVIDES for libx11-dev

We have things that depend on libx11-dev, this patch ensures the -trim
and -diet versions provide it. This resolves some multiple providers
warnings.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage-live: Allow LABELS to be modified
Saul Wold [Thu, 1 Mar 2012 07:46:20 +0000 (23:46 -0800)]
image-live: Allow LABELS to be modified

This is to allow other image types to set the syslinux labels

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-libc-headers-yocto: bump to v3.2.8
Bruce Ashfield [Thu, 1 Mar 2012 02:27:07 +0000 (21:27 -0500)]
linux-libc-headers-yocto: bump to v3.2.8

Making two changes for BSPs that prefer linux-libc-headers-yocto:

  - bumping to v3.2.8 headers
  - stubbing out unecessary linux-yocto functions when headers
    are being built

[YOCTO #2032]

Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types_uboot: Update to work after recent image_types changes
Richard Purdie [Wed, 29 Feb 2012 16:27:21 +0000 (16:27 +0000)]
image_types_uboot: Update to work after recent image_types changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: Correctness fixes
Richard Purdie [Wed, 29 Feb 2012 16:24:26 +0000 (16:24 +0000)]
image_types: Correctness fixes

* Add a newline to improve the output formatting
* Use set() to turn the list into a set of unique items to prevnt
  the same image code running twice (for e.g. IMAGE_FSTYPES = "tar.gz tar.bz2")
* Support multiple compression extensions such as ".gz.u-boot"
* Fix basetype/type typo and fix multiple image generation

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMore quoting fixes
Paul Eggleton [Wed, 29 Feb 2012 12:59:14 +0000 (12:59 +0000)]
More quoting fixes

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types.bbclass: fix bzip2 and xz compression commands
Otavio Salvador [Wed, 29 Feb 2012 05:41:18 +0000 (05:41 +0000)]
image_types.bbclass: fix bzip2 and xz compression commands

We need to use -f (force) or the command fails in the image file
already exists.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types.bbclass: properly support IMAGE_LINK_NAME as empty
Otavio Salvador [Wed, 29 Feb 2012 05:41:17 +0000 (05:41 +0000)]
image_types.bbclass: properly support IMAGE_LINK_NAME as empty

[RP: Remove unneeded len()]
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage.bbclass: do not create image manifest link if IMAGE_LINK_NAME is empty
Otavio Salvador [Wed, 29 Feb 2012 05:41:16 +0000 (05:41 +0000)]
image.bbclass: do not create image manifest link if IMAGE_LINK_NAME is empty

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosyslinux: fix packaging of ${PN} and ${PN}-staticdev
Otavio Salvador [Wed, 29 Feb 2012 06:03:13 +0000 (06:03 +0000)]
syslinux: fix packaging of ${PN} and ${PN}-staticdev

 - ${PN} where not being build due ordering;
 - ${PN}-staticdev lacked the ${libdir} files.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobusybox: Enable 64 bit shell tests, and disable non-standard date format interpretation.
James Limbouris [Wed, 29 Feb 2012 06:56:30 +0000 (14:56 +0800)]
busybox: Enable 64 bit shell tests, and disable non-standard date format interpretation.

Without 64 bit shell tests, the timestamp comparison in initscripts' bootmisc.sh throws 'out of range' errors.
With CONFIG_FEATURE_DATE_COMPAT, date reads the YYYYMMddhhmm string as hhmmYYYYMMdd when setting the time from the timestamp in bootmisc.sh.

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicenses.conf: fix quotting of SRC_DISTRIBUTE_LICENSES
Otavio Salvador [Tue, 28 Feb 2012 15:02:45 +0000 (15:02 +0000)]
licenses.conf: fix quotting of SRC_DISTRIBUTE_LICENSES

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl: Ensure native verison has correct dependencies and builds
Richard Purdie [Tue, 28 Feb 2012 17:51:09 +0000 (17:51 +0000)]
tcl: Ensure native verison has correct dependencies and builds

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobootimg: Fix Quoting
Saul Wold [Tue, 28 Feb 2012 16:45:55 +0000 (08:45 -0800)]
bootimg: Fix Quoting

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosyslinux: bump PR
Otavio Salvador [Tue, 28 Feb 2012 14:17:59 +0000 (14:17 +0000)]
syslinux: bump PR

The change done in 868a81e869a6193aada2073ae533d937a1c0baf4 has
changed the packaging however it haven't bump the PR making
auto-building fail.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl 8.5.11: fix packaging for native version
Richard Purdie [Tue, 28 Feb 2012 13:32:44 +0000 (13:32 +0000)]
tcl 8.5.11: fix packaging for native version

Fix an issue in the previous commit:

ERROR: Nothing RPROVIDES 'tcl-native-lib-native' (but virtual:native:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/tcltk/tcl_8.5.11.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'tcl-native-lib-native' is unbuildable, removing.

by replacing ${PN}-lib with tcl-lib

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMore quoting fixes
Richard Purdie [Tue, 28 Feb 2012 13:14:30 +0000 (13:14 +0000)]
More quoting fixes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: Refactor compression code into a generic compression solution
Richard Purdie [Mon, 27 Feb 2012 12:43:49 +0000 (12:43 +0000)]
image_types: Refactor compression code into a generic compression solution

The current approach of adding each different compressed image type doesn't
scale. This patch changes the code so compressed images for each form are
automatically available using the form <type>.<compression type> in
IMAGE_FSTYPES. This doesn't change any existing externally visible behaviour
and the image generation process becomes more efficient as a result too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemugl: Fix gl apps failure on qemu-x86-64
Zhai Edwin [Tue, 28 Feb 2012 08:00:49 +0000 (16:00 +0800)]
qemugl: Fix gl apps failure on qemu-x86-64

Extend commit 028968 to qemu x86-64, where stack disorder happen due to
register handling via push/pop.

[YOCTO #1927] fixed

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibskba: Fix for multilib
Zhai Edwin [Tue, 28 Feb 2012 08:00:48 +0000 (16:00 +0800)]
libskba: Fix for multilib

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognupg: Fix for multilib
Zhai Edwin [Tue, 28 Feb 2012 08:00:47 +0000 (16:00 +0800)]
gnupg: Fix for multilib

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl 8.5.11: fix packaging
Koen Kooi [Tue, 28 Feb 2012 07:58:37 +0000 (08:58 +0100)]
tcl 8.5.11: fix packaging

Include /usr/lib/tcl8 for the msgcat and test module, force dependency on tcl-lib since shlibs isn't picking it up.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext: Get gettext use its own libunistring
Wenzong Fan [Tue, 14 Feb 2012 01:42:59 +0000 (09:42 +0800)]
gettext: Get gettext use its own libunistring

According to its documentation, gettext 0.18.1.1 needs either
libunistring or it will use its own internal version. Just add
a configure option '--with-included-libunistring' to force the
latter to avoid races.

[YOCTO#1934]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agomtd-utils: Don't use host 'ranlib' or 'ar'.
James Limbouris [Tue, 28 Feb 2012 03:49:06 +0000 (11:49 +0800)]
mtd-utils: Don't use host 'ranlib' or 'ar'.

If ranlib, ar, or cc are not supplied to make, it attempts to use ${CROSS}xxx.
Since ${CROSS} is not set, host ranlib may run, producing an unusable .a file on some platforms.

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
13 years agoqt4.inc: depend on tiff
Andreas Oberritter [Mon, 27 Feb 2012 17:03:22 +0000 (18:03 +0100)]
qt4.inc: depend on tiff

* Fixes the following error with qt4-embedded-4.8.0 and possibly others:

| ../../../gui/image/qtiffhandler.cpp:48:20: fatal error: tiffio.h: No such file or directory

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agotune-ppc*.inc: update to use new default value for TUNE_PKGARCH
Matthew McClintock [Mon, 27 Feb 2012 19:38:51 +0000 (13:38 -0600)]
tune-ppc*.inc: update to use new default value for TUNE_PKGARCH

Signed-off-by: Matthew McClintock <msm@freescale.com>
13 years agobitbake.conf: add default value for TUNE_PKGARCH
Matthew McClintock [Mon, 27 Feb 2012 19:38:49 +0000 (13:38 -0600)]
bitbake.conf: add default value for TUNE_PKGARCH

Add a default value for TUNE_PKGARCH. This let's us use
the following:

TUNE_PKGARCH_tune-ppce500

Instead of scanning over variables and using bitbake internal
functions to create a valid value here.

Signed-off-by: Matthew McClintock <msm@freescale.com>