scm/bb/tizen-distro.git
11 years agooprofile: update patch for powerpc64
Matthew McClintock [Tue, 26 Feb 2013 21:58:44 +0000 (15:58 -0600)]
oprofile: update patch for powerpc64

This is a more appropriate follow up patch from upstream. Also,
only powerpc64 requires libpfm4 currently for this specific
version of oprofile (x86, sparc can make use of libpfm but
don't make use of it here)

Additionally, this patch from upstream requires some more
patches to be pulled into oprofile

(From OE-Core rev: 2792e1f6a1d8969e0891334e6cd4e04f84f7e9ff)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpfm4_4.3.0.bb: use compatible host to limit arches
Matthew McClintock [Tue, 26 Feb 2013 21:58:43 +0000 (15:58 -0600)]
libpfm4_4.3.0.bb: use compatible host to limit arches

This is only test with powerpc64 currently, even though
it should work on other arches such as x86 and sparc. When
thos are testing and working this COMPATIBLE_HOST should
be updated

(From OE-Core rev: 09f57ae44e1f610e615463149fb45ccfab1d5135)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-common.inc: handle case where tune is not defined
Matthew McClintock [Tue, 26 Feb 2013 21:58:42 +0000 (15:58 -0600)]
gcc-common.inc: handle case where tune is not defined

(From OE-Core rev: d3eab8b17f8e50f99042a7a8f43db94640c53d41)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiproute2: Fix build failure on ppc
Khem Raj [Fri, 1 Mar 2013 17:13:44 +0000 (09:13 -0800)]
iproute2: Fix build failure on ppc

Latest version bump started failing for ppc32
attached patch is a backport from 3.9-rc1

(From OE-Core rev: 08be60d903ee97859295387b3418d5db85ab16e1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm.bbclass: Optimise per file dependency handling
Richard Purdie [Thu, 9 Feb 2012 09:51:10 +0000 (09:51 +0000)]
package_rpm.bbclass: Optimise per file dependency handling

Currently the process for injecting the per file rpm dependencies into
rpmbuild is painfully slow. Its done through the repeated execution of
a script which has to return the correct value in each case. This continual
execution means the CPU usage of rpmbuild is low.

This patch allows the option of collapsing the per file dependencies to
a per package basis and injecting them through the .spec file. This removes
the execution overhead and allows rpmbuild to run at 100% of cpu.

Ultimately it would be nice to inject the per file dependencies through
the .spec file however that is not currently possible.

Since few people use the per file dependency information, this patch
goes for the faster approach. It can be enabled if anyone needs it although
I'd mention that its being used to us as this code may well go away in
the future if nobody complains.

(From OE-Core rev: be40f6d0bb80274366af00461112af65687a4de8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel: extract functions for kernel modules to separate bbclass
Martin Jansa [Sat, 2 Mar 2013 17:06:56 +0000 (18:06 +0100)]
kernel: extract functions for kernel modules to separate bbclass

* this way we can reuse the same functionality also for external modules
  including module_autoload_foo and module_conf_foo functionality
* MODULE_PACKAGES variable was removed (splited modules are now returned
  by do_split_packages
* KERNEL_MODULES_META_PACKAGE is used to append all splitted packages
  to RDEPENDS. In kernel.bbclass it's old "kernel-modules" in
  module.bbclass it defaults to ${PN} for upgrade path from
  single PN with all modules to PN depending on all new kernel-module-*

(From OE-Core rev: 51928b6b5ca0a46a9dcd754483a19af58b95fa18)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: siggen: add quotes around variable values to see whitespace
Martin Jansa [Sat, 2 Mar 2013 16:50:05 +0000 (17:50 +0100)]
bitbake: siggen: add quotes around variable values to see whitespace

* without this change it's hard to see what's changed:
  bitbake-diffsigs sstate-cache/*/sstate-depmodwrapper-cross-cortexa8-vfp-neon-oe-linux-gnueabi-1.0-r0-cortexa8-vfp-neon-*_populate-sysroot.tgz.siginfo
  basehash changed from 62f28c13172d38af917716d6d4b15ac5 to 9cf38842bcc79e0a4356856a64141548
  Variable TUNE_CCARGS value changed from  -march=armv7-a    -mthumb -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8  to  -march=armv7-a    -mthumb -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8
  Hash for dependent task depmodwrapper-cross_1.0.bb.do_install changed from 4494cb6c117309a9b4c541ad86c0aac5 to 1e3bcf2d14e5bd30a38350b41bb98db3

* with this change, we can see extra trailing space in first version:
  basehash changed from 62f28c13172d38af917716d6d4b15ac5 to 9cf38842bcc79e0a4356856a64141548
  Variable TUNE_CCARGS value changed from ' -march=armv7-a    -mthumb -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 ' to ' -march=armv7-a    -mthumb -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8'
  Hash for dependent task depmodwrapper-cross_1.0.bb.do_install changed from 4494cb6c117309a9b4c541ad86c0aac5 to 1e3bcf2d14e5bd30a38350b41bb98db3

(Bitbake rev: 7d85b1a383feaa072503d71d3baeb3bdcd1012a8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobtrfs-tools: added PV to git package recipe
Emilia Ciobanu [Fri, 1 Mar 2013 17:11:32 +0000 (19:11 +0200)]
btrfs-tools: added PV to git package recipe

(From OE-Core rev: 889a36dffb65e73e8fea125c0923803679adf2ae)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoPython: Fix for CVE-2012-2135
yanjun.zhu [Mon, 4 Mar 2013 04:35:57 +0000 (12:35 +0800)]
Python: Fix for CVE-2012-2135

Reference:http://bugs.python.org/issue14579

The utf-16 decoder in Python 3.1 through 3.3 does not update the
aligned_end variable after calling the unicode_decode_call_errorhandler
function, which allows remote attackers to obtain sensitive information
(process memory) or cause a denial of service (memory corruption and crash)
via unspecified vectors.

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

[YOCTO #3450]

(From OE-Core rev: f60d3efe93323b7056a9400a483e625a3fed4491)

Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston: recommend some reasonable fonts so the terminal works
Ross Burton [Tue, 26 Feb 2013 12:37:30 +0000 (12:37 +0000)]
weston: recommend some reasonable fonts so the terminal works

(From OE-Core rev: 5d3e26d12706606f804118fb77f96f0ada025e36)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoweston: add dependency on xkeyboard-config
Ross Burton [Tue, 26 Feb 2013 12:37:29 +0000 (12:37 +0000)]
weston: add dependency on xkeyboard-config

(From OE-Core rev: 603c329448ec761cb8e2faa6bb06430b70bb7d05)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: remove 3.0 linux-yocto recipes
Bruce Ashfield [Tue, 19 Feb 2013 16:53:15 +0000 (16:53 +0000)]
linux-yocto: remove 3.0 linux-yocto recipes

With the introduction of the 3.8 linux-yocto recipes, we remove
the 3.0 variant.

(From OE-Core rev: 6835f1ecd7012bd4616efa3129bcf03b5be542ca)

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>
11 years agoqemuimage-tests/dmesg: Add exception for error message on qemuarm with 3.8 kernel
Richard Purdie [Sat, 2 Mar 2013 22:31:19 +0000 (22:31 +0000)]
qemuimage-tests/dmesg: Add exception for error message on qemuarm with 3.8 kernel

With 3.8 kernels we get a harmless error message during kernel boot.
For now we can ignore. This allows the tests to pass and ensures we
can merge the 3.8 kernel.

(From OE-Core rev: da1e094c407353af2ab230c4867c9d8fd68e3161)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: introduce 3.8 kernel recipe
Bruce Ashfield [Mon, 25 Feb 2013 03:51:34 +0000 (03:51 +0000)]
linux-yocto: introduce 3.8 kernel recipe

Introducing the linux-yocto 3.8 kernel recipe. The tools and branch structure
of this tree are the same as the previous linux-yocto recipes, while the meta
data and content have been updated for the 3.8 kernel.

build and boot tested for qemu*.

(From OE-Core rev: ecf287a80c5ace2c440f8d0089934d59d25dc3ec)

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>
11 years agolinux-libc-headers: update to v3.8
Bruce Ashfield [Mon, 25 Feb 2013 02:03:29 +0000 (02:03 +0000)]
linux-libc-headers: update to v3.8

Now that the 3.8 kernel has been released we can bump the libc-headers
to that version and remove the 3.7 variant. Userspace compatibility is
maintained through kernel versions, we also make the single 3.8 version
the toolchain default.

(From OE-Core rev: 4f9ef639143d890e9d2e71fea3b461fcc8e3f678)

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>
11 years agokern-tools: import configuration, controls and audit updates
Bruce Ashfield [Sat, 16 Feb 2013 04:32:38 +0000 (04:32 +0000)]
kern-tools: import configuration, controls and audit updates

Updating the kern-tools SRCREV to import the following fixes:

  commit 7f91d198d32fc90260e52724ef4aac0b997c1e8b

    kconf_check: fix new Kconfig detection

    One of the functions of the kernel configuration audit is to notify
    the user if Kconfig* files have been removed from the kernel, and
    also to notify of new Kconfig files.

    New Kconfig files should be classified as hardware or non-hardware to
    allow BSP audits to notify if boards are setting values that they
    shouldn't, hence why notifying about new "buckets" is important.

  commit c4f26a3296e0e1c3dbdd5ec8e2947d5443a9ffc2

    updateme/scc: allow config fragment exclusion

    It is common to need the features (patches, git operations) of a
    branch, but not want the kernel configuration fragments of a given
    branch. To allow this, we provide a new include flag "nocfg".

    When this flag is used, all of the configuration fragments included
    by the targetted feature will not be applied to the current build,
    with one exception, a base/critical fragment can force it's config
    values, since without them, the system would not be functional.

    Example:

       include ktypes/standard/standard.scc nocfg

  commit c7ec19d55aca6c4b17073c5362fce5be61a89d82

    scc: wrap git merge

    To allow for parameter validation and sanity checking, wrap "git merge"
    as a dedicated "merge" command instead of using the raw git fallback.

    This also makes it consistent with existing top level commands such
    as  'tag', 'branch', 'patch', etc.

    There are no changes to arguments, and existing 'git merge' commands
    continue to work with this change.

[YOCTO #3419]
[YOCTO #3421]

(From OE-Core rev: faf042b2c87874153a6b689479ab86e49804af8c)

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>
11 years agochkconfig-alternatives-native: just append to PROVIDES
Martin Jansa [Sat, 2 Mar 2013 17:06:57 +0000 (18:06 +0100)]
chkconfig-alternatives-native: just append to PROVIDES

(From OE-Core rev: f0c600ce8971c5444198ffe4f596b671e3e668cf)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: move RPROVIDES to eglibc-package
Martin Jansa [Sat, 2 Mar 2013 17:06:58 +0000 (18:06 +0100)]
eglibc: move RPROVIDES to eglibc-package

* PROVIDES_${PN}-dbg doesn't look correct, it should be RPROVIDES
  and that was already in eglibc-package
* RPROVIDES_${PN}-dev was overwritten in eglibc-package, but add
  those 2 entries now

(From OE-Core rev: 2edf614729a71f9ec15d00eeeea557a97e673284)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: move PERSISTENT_DIR outside TMPDIR
Martin Jansa [Sat, 2 Mar 2013 17:18:15 +0000 (18:18 +0100)]
bitbake.conf: move PERSISTENT_DIR outside TMPDIR

* PR service cache needs to be persistent between rebuilds
  having it in directory starting with tmp* does not help
  people to understand that it needs to be persistent, so
  move it to TOPDIR

(From OE-Core rev: 5d43f752429707b74dbf46ecb81ac76bad7bb715)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodepmodwrapper-cross: Mark as machine specific
Richard Purdie [Sat, 2 Mar 2013 16:33:26 +0000 (16:33 +0000)]
depmodwrapper-cross: Mark as machine specific

The kernel and its staging directory are machine specific so the wrapper
needs to be as well. Also take the opportunity to remove the default
dependencies of the recipe since its a script and doesn't need the cross
compiler. This gives the build a little more scheduing freedom.

(From OE-Core rev: 1cc2ac769baae19b54184df5f43a3e77c1743c29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: always use oe.lsb.distro_identifier method
Martin Jansa [Fri, 1 Mar 2013 17:42:22 +0000 (18:42 +0100)]
sanity.bbclass: always use oe.lsb.distro_identifier method

* even when /etc/redhat-release or /etc/SuSE-release exists
* don't read /etc/lsb-release manually, NATIVELSBSTRING is not
  reading it too

(From OE-Core rev: 3dba05d74821f08cd96a18351805c8812ddd626c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_deb.bbclass:fix meta-toolchain-sdk fail on do_populate_sdk
Hongxu Jia [Sat, 2 Mar 2013 09:12:59 +0000 (17:12 +0800)]
package_deb.bbclass:fix meta-toolchain-sdk fail on do_populate_sdk

When build meta-toolchain-sdk in a newly created environment, there is
an error:
...
packagegroup-core-standalone-gmae-sdk-target set to manually installed.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
avahi-dev: Depends: avahi (= 0.6.31-r6.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a
solution).
...
In this case, avahi was installed and then removed by dpkg (the reason is
unknown, only with log `Noting disappearance of avahi, which has been
completely replaced'), the uninstall was done by dpkg rather than apt,
and apt detected the package dependency was broken, so apt-get install failed.

Use `apt-get install -f' to correct the upper broken dependencies in place.
The removed avahi will be reinstalled.

[YOCTO #3720]

(From OE-Core rev: a66ed54490305380c549838f9a580528d5b49275)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_deb.bbclass:fix the arch (replace "_" with "-") in deb package control
Hongxu Jia [Sat, 2 Mar 2013 09:12:58 +0000 (17:12 +0800)]
package_deb.bbclass:fix the arch (replace "_" with "-") in deb package control

when build deb image, such as building meta-toolchain-sdk in x86_64 host,
there is warning like that:
...
'x86_64' is not a valid architecture name: character `_' not allowed
(only letters, digits and characters `-')
...

The params in deb package control file don't allow character `_', only
letters, digits and characters `-' allowed. Change the arch's "_" to "-"
in the deb package's control file at the control file creation time. Such
as `x86_64'-->`x86-64'

[YOCTO #3721]

(From OE-Core rev: 8487b352cabd8c8ae8a7d9e7e66489e4e964bd50)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm.bbclass: Fix translate_smart_to_oe arch comparison
Mark Hatle [Sat, 2 Mar 2013 01:14:57 +0000 (19:14 -0600)]
package_rpm.bbclass: Fix translate_smart_to_oe arch comparison

When the OE arch is of the format "foo_bar-foobar" the previous
comparison routine did not selectively translate the '-' causing
a failed comparison.

In order to work around this issue, we -always- compare the
RPM translated version of the package architectures.

(From OE-Core rev: caf798da9502c1c4967d13a4450fe02b1e7b4850)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoremake: added PV to git package recipe
Emilia Ciobanu [Fri, 1 Mar 2013 12:23:03 +0000 (14:23 +0200)]
remake: added PV to git package recipe

(From OE-Core rev: fa6b65e1f6192baa284ab5549ba00df0bbedf53b)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu.inc: Non deterministic compile of qemu
Jason Wessel [Fri, 1 Mar 2013 14:26:05 +0000 (08:26 -0600)]
qemu.inc: Non deterministic compile of qemu

When you using a qemuppc target and sstate you might end up with
the problem:

qemu-system-ppc: error while loading shared libraries:
   libfdt.so.1: cannot open shared object file: No such file or directory

The way you can force this to happen assuming you are using sstate is
as follows:

bitbake dtc-native
bitbake -c cleansstate qemu-native
bitbake qemu-native
bitbake -c clean dtc-native

Now go start qemu and it will fail.  The solution is to always build
the dtc libraries since they are used and needed by the qemuppc
simulator.

(From OE-Core rev: 79c620016b0be4dacc9fcfbd4baab5ea6c66a440)

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>
11 years agoAdd scratch directory for NFS upcall state storage
Rich Dubielzig [Thu, 28 Feb 2013 18:43:47 +0000 (10:43 -0800)]
Add scratch directory for NFS upcall state storage

When the /var/lib/nfs/v4recovery directory is not present, NFSD cannot
record the upcall state and cannot end the 90-second grace period on
startup.  This is true even when NFS4 is not being served according to
nfsstat.

More details and discussion here:
https://lkml.org/lkml/2012/6/11/206

(From OE-Core rev: c7cb5cb92770615ffd302f737d0fef3f2300c321)

Signed-off-by: Rich Dubielzig <rich.dubielzig@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agozip: explictly disable bzip2 support
Martin Jansa [Tue, 12 Feb 2013 04:42:12 +0000 (05:42 +0100)]
zip: explictly disable bzip2 support

* we don't depends on bzip2, so make sure it's not autodetected in
  sysroot

(From OE-Core rev: e93186642708cb99bfba776012e345c42e9bd0d5)

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>
11 years agoperf: add bash dependency
Tom Zanussi [Fri, 1 Mar 2013 17:34:56 +0000 (11:34 -0600)]
perf: add bash dependency

There are a number of scripts in the perf installation that use bash,
so we need to add a run-time dependency on bash for them. If not, we
can generate build errors like "no package provides /bin/bash".

Fixes [YOCTO #3951].

(From OE-Core rev: 8169adeba67180f062fa7c0105fc4283da3103c6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemtap: add python and bash dependencies
Tom Zanussi [Fri, 1 Mar 2013 17:34:57 +0000 (11:34 -0600)]
systemtap: add python and bash dependencies

There are a number of scripts in the systemtap installation that use
python and bash, so we need to add run-time dependencies for them.  If
not, we can generate build errors like "no package provides
/usr/bin/python".

Fixes [YOCTO #3951].

(From OE-Core rev: 8a0d31af7008459d1affa0afe3ff193a78f9020d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoHelp ncurses-native find terminfo on RHEL 6
Jeffrey C Honig [Fri, 1 Mar 2013 02:12:51 +0000 (21:12 -0500)]
Help ncurses-native find terminfo on RHEL 6

[ CQID: WIND00405305 ]

When using ncurses from sstate cache it is not able to find terminfo
for screen on RHEL 6.  While RHEL 6 has /lib/terminfo, it is not
complete, the complete terminfo database is in /usr/share/terminfo.  This
results failure of programs linked to ncurses, such as menuconfig.

(From OE-Core rev: b2f5c8f7dfda0bc8f07561336c8667c864d9c3bb)

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: fix ldd RTLDLIST
Laurentiu Palcu [Thu, 28 Feb 2013 11:56:26 +0000 (13:56 +0200)]
eglibc: fix ldd RTLDLIST

The sed expression for retrieving the previous RTLDLIST from ldd script
was also retrieving the double-quotes. Hence, we ended up with a
RTLDLIST like below and ldd would fail:

RTLDLIST=""/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2
/libx32/ld-linux-x32.so.2" /lib/ld-linux-x86-64.so.2"

[YOCTO #3903]

(From OE-Core rev: f2804dc9a9ba666de85b4efb1fd005fa985f4f8a)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorm_work: remove package and packages-split dirs
Martin Jansa [Sat, 2 Mar 2013 00:02:17 +0000 (01:02 +0100)]
rm_work: remove package and packages-split dirs

* as described in
  http://git.openembedded.org/openembedded-core/commit/?id=6107ee294afde395e39d084c33e8e94013c625a9

(From OE-Core rev: 4067afcda78d17058f2aa8d7f82173d181e0aae4)

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>
11 years agocups: remove old patch files
Saul Wold [Fri, 1 Mar 2013 18:23:19 +0000 (10:23 -0800)]
cups: remove old patch files

(From OE-Core rev: c3c51a5961f77d51e7f8eb1f0746d16576663bba)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopulseaudio: add config option to ensure valgrind is excluded
Saul Wold [Fri, 1 Mar 2013 22:18:27 +0000 (14:18 -0800)]
pulseaudio: add config option to ensure valgrind is excluded

There have been occasions that pulseaudio sees valgrind and then later it's
not available, adding this setting ensures determinism by disabling it by
default

(From OE-Core rev: 61001cd4d8a36a980b6e6967cba6f0ea48fdaebc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoAdd KERNEL_EXTRA_ARGS parameter
Wolfgang Denk [Thu, 3 May 2012 13:48:48 +0000 (15:48 +0200)]
Add KERNEL_EXTRA_ARGS parameter

With recent kernel versions, some ARM configurations need may fail to
build with errors like this:

multiple load addresses: 0x80008000 0x80008000
This is incompatible with uImages
Specify LOADADDR on the commandline to build an uImage

We cannot pass this information in EXTRA_OEMAKE, as
"meta/classes/kernel.bbclass" explicitly ignores all EXTRA_OEMAKE
settings.  So add KERNEL_EXTRA_ARGS parameter so affected boards
can add for example

KERNEL_EXTRA_ARGS = "LOADADDR=0x80008000"

to their configuration.  We make this general enough so other needed
command line options can be passed as well when compiling the kernel.

(From OE-Core rev: e3cdd0aafb9081cd7f1f98490087c1157a3d7403)

Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomodule.bbclass: Create a new depmodwrapper to assist cross-installs
Mark Hatle [Thu, 28 Feb 2013 21:51:51 +0000 (15:51 -0600)]
module.bbclass: Create a new depmodwrapper to assist cross-installs

Previously the build path to STAGING_KERNEL_DIR was being embedded into the
package post install scripts.  We avoid this behavior by generating a special
depmodwrapper script.  This script contains that hard-coded path, ensuring
that re-use of the sstate-cache (and/or packages) will always run through the
wrapper generated by the current build with a checksum that includes
STAGING_KERNEL_DIR.

[ YOCTO #3962 ]

(From OE-Core rev: b18c61bae4d7161c087a004bba3c696006f7a2f6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity: use lsb distro_identifier
Martin Jansa [Mon, 18 Feb 2013 23:26:08 +0000 (00:26 +0100)]
sanity: use lsb distro_identifier

* distro_identifier returns lsb_data['Distributor ID']-lsb_data['Release']
  which in some cases is different then lsb_release -d -s, e.g.
  Distributor ID: Ubuntu
  Description:    Ubuntu 12.04 LTS
  Release:        12.04
  Codename:       precise
  But we probably don't need to sanity list each point release in LTS
  and sstate is already using distro_identifier as prefix for native
  sstate archives
* This will need update to SANITY_TESTED_DISTROS (at least
  s/Ubuntu 12.04 LTS/Ubuntu-12.04/g etc), that's why sending as RFC
  first.

(From OE-Core rev: a32ea459ca168792161af2d521a14fe00cffb4b3)

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>
11 years agopackage_rpm.bbclass: add more description for pre/post scriptlets
Kang Kai [Fri, 1 Mar 2013 10:02:13 +0000 (18:02 +0800)]
package_rpm.bbclass: add more description for pre/post scriptlets

When write rpm spec file, one description line

"# pkgname - script_type"

is added to pre/post scriptlets for base package but no such line
writted for subpackage.

Add similiar line to subpackage to facilitate handling the pre/post
scriptlets.

(From OE-Core rev: 34f3926f1787f9a2efa2257a2aaea6ee92adf8a3)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm.bbclass: name postinst files with package name
Kang Kai [Fri, 1 Mar 2013 10:02:14 +0000 (18:02 +0800)]
package_rpm.bbclass: name postinst files with package name

When create rootfs, some post install scripts need be run on device.
They are saved under directory /etc/rpm-postinst and named with numbers
such as 100, 101 etc.

Update to name the postinst script file with its package name instead of
just number. That may be more easy to debug when there is a error.

[YOCTO #3218]

(From OE-Core rev: 9b2a008c25a7a3152ae2d8c64ae8de2534471d47)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl-nativesdk:fix toolchain relocation issues
Hongxu Jia [Fri, 1 Mar 2013 09:58:30 +0000 (17:58 +0800)]
perl-nativesdk:fix toolchain relocation issues

1, Use create_wrapper to create perl wrapper in the SDK.
2, Add perl.real to perl-nativesdk package.

[YOCTO #3338]

(From OE-Core rev: 643cdac63353527c1b5cb6eeabe75df8d0dc8346)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base.bbclass:fix toolchain relocation issues
Hongxu Jia [Fri, 1 Mar 2013 09:58:31 +0000 (17:58 +0800)]
populate_sdk_base.bbclass:fix toolchain relocation issues

When run "autoreconf" in toolchain, there is an error if the host's perl's
version is not the same as the one in the SDK, the error says that the
executable perl mismatches the perl lib's version.

This is because most of the autotools' scripts use the "#!/usr/bin/perl -w"
which is host perl, but the gnu-configize uses "#! /usr/bin/env perl" which
invokes the perl wrapper in the SDK, and the wrapper will set the PERL5LIB to
the SDK which causes the mismatch. We can make all the perl scripts to use the
host perl or the SDK perl to fix this problem.

[YOCTO #3338]

(From OE-Core rev: 365aa1412a3d31128cb3df02959acdc7df5f2ebc)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomatchbox-session-sato: do not rdepend on initscripts
Chen Qi [Fri, 1 Mar 2013 08:42:07 +0000 (16:42 +0800)]
matchbox-session-sato: do not rdepend on initscripts

Previously, matchbox-session-sato depended on initscripts, thus resulting
in initscripts package built and installed in case of systemd init manager.

But there is actually no dependency between them. So this patch removes
the dependency.

[YOCTO #3940]

(From OE-Core rev: 8fbf22ef856a68e4f2e9ddabe33334f60616e16c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoshadow: remove grpconv argc check
Martin Donnelly [Wed, 27 Feb 2013 12:58:55 +0000 (12:58 +0000)]
shadow: remove grpconv argc check

The patched version of grpconv takes arguments but the check on
argc was not removed. This patch removes this check which
otherwise results in a spurious warning during rootfs creation.

(From OE-Core rev: 845a24e78835e93807cfb810fa99715ac4d14e21)

Signed-off-by: Martin Donnelly <martin.donnelly@ge.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: Add missing modules.order and modules.builtins
Mark Hatle [Thu, 28 Feb 2013 18:09:05 +0000 (12:09 -0600)]
kernel.bbclass: Add missing modules.order and modules.builtins

When running depmod, from kmod, warnings about missing modules.order
and modules.builtins occur.  Looking back it is not clear why these
files were being ignored, other then nobody knew what to do with them.

Add the files into the kernel-base package, if they exist, ensuring
they will always get installed if at least one module is installed.

[ YOCTO #3963 ]

(From OE-Core rev: bff4bda1fe86ddd218a192a14605924205a5300b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoUpdate pseudo to 1.5.1
Peter Seebach [Wed, 27 Feb 2013 21:19:01 +0000 (15:19 -0600)]
Update pseudo to 1.5.1

pseudo 1.5's enable-force-async works great, unless you use a host
where, inexplicably, stat(2) reports inconsistent and changing values
for a file's size or times for some time unless a file has been fsynced,
in which case you might want a way to cause an fsync to work.

Also noticed that some recent changes never made it into the docs, so
I did a little cleanup there. And changed the way NDEBUG suppresses
pseudo's debug messages, so arguments to them with possible side
effects (like calls into functions in another translation unit) can be
omitted, which should drastically reduce computational time if anyone
ever uses NDEBUG.

(From OE-Core rev: 150174d52adefdefe62e2ed0598665481591e4c2)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agov86d: compile against userspace safe kernel headers
Bruce Ashfield [Sat, 16 Feb 2013 04:17:51 +0000 (23:17 -0500)]
v86d: compile against userspace safe kernel headers

v86d was building directly against the staged kernel in the target
sysroot. This has been fine in the past, but with recent (3.7) changes
to user headers into the "uapi" include structure, there are no longer

Without the preprocesor protection, v86d fails to build against any
kernel with uapi header files.

v86d doesn't actually need the whole kernel tree, the exported headers
are enough to build a working binary. This change sets the v86d variable
to ${STAGING_DIR_HOST}/usr, and once the v86d build adds "include" to the
end of KDIR, we have a valid include path to the target sysroot headers.

This also works for pre-uapi kernel headers, so the change is safe for
most (if not all) kernel's with properly exported headers.

(From OE-Core rev: 8d4256b2c9f782368a16c1458e04ed61fa82691a)

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>
11 years agolinux-yocto/3.4: remove cedartrail machine
Bruce Ashfield [Mon, 11 Feb 2013 04:56:42 +0000 (23:56 -0500)]
linux-yocto/3.4: remove cedartrail machine

The cedartrail BSP is no longer support from yocto 1.4, so we remove
it from the tree.

(From OE-Core rev: a1ce9da1feb028bbfd861d075bc3b6fbe3300147)

Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-yocto: allow building from fetcher source dir
Bruce Ashfield [Wed, 6 Feb 2013 05:17:46 +0000 (00:17 -0500)]
kernel-yocto: allow building from fetcher source dir

The linux-yocto recipes themselves always set S="${WORKDIR}/linux" and
arrange for the fetcher default of ${WORKDIR}/git to be renamed before
building.

Part of this rename involves an assumption that the directory used by
the fetcher can be removed as part of the renaming process, or in fact
that renaming is required.

If a derived recipe uses S="${WORKDIR}/git", the checkout phase fails
since the kernel source is removed as part of the processing.

To fix this the code now detects this situation and does not clean the
source directory before renaming the fetcher default (and in fact does
not rename it at all).

(From OE-Core rev: e4ab5efea1a41297f63c96de97270136535b5f0b)

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>
11 years agokernel-yocto: respect SRC_URI modified branch selection
Bruce Ashfield [Mon, 28 Jan 2013 18:07:06 +0000 (13:07 -0500)]
kernel-yocto: respect SRC_URI modified branch selection

Although the setting of KBRANCH is the suggested/primary way to interact with
the yocto kern-tools and the fetcher, some users may be more comfortable
modifying the SRC_URI branch parameter directly.

If they do, the tools will not force their branch and build output will be
different then they expect, in non obvious ways.

It's easy enough to detect this scenario, but checking the SRC_URI in the
same way that the git fetcher checks for the branch (and SRCREV). If we take
the value from the SRC_URI and use it directly in the patch/validate/update
routines, we'll stay consistent with KBRANCH if it is used, and also
automatically adapt to a manually changed branch parameter on the SRC_URI.

For all other users, there are no visible or behavioural changes as a result
of this change

(From OE-Core rev: cfce8643ed166b51d7178be173677ea6f527d453)

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>
11 years agoiproute2: don't use the kernel header tree
Saul Wold [Thu, 28 Feb 2013 01:32:24 +0000 (17:32 -0800)]
iproute2: don't use the kernel header tree

This should compile against the userspace safe kernel headers

(From OE-Core rev: e443887379fae4b4fd70d1cd6f7d0d7f064a2cb1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: add header to define in6_addr
Saul Wold [Thu, 28 Feb 2013 01:31:08 +0000 (17:31 -0800)]
connman: add header to define in6_addr

Needed because the 3.8 if_bridge.h uses in6_addr before it's defined

(From OE-Core rev: 5c4979b93855a57334fac61455b7563e4a43f8ab)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.bbclass: Merge linux-gnu entries in machine dictionary and add sh4 machine.
Kyle Farnsworth [Wed, 27 Feb 2013 18:20:30 +0000 (12:20 -0600)]
insane.bbclass: Merge linux-gnu entries in machine dictionary and add sh4 machine.

(From OE-Core rev: 6e569c1aa66b2496b18d33803a18b99508152064)

Signed-off-by: Kyle Farnsworth <kyle@farnsworthtech.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_rpm: move run-postinsts scripts to rpm recipe
Kang Kai [Mon, 25 Feb 2013 02:57:24 +0000 (10:57 +0800)]
rootfs_rpm: move run-postinsts scripts to rpm recipe

Move run-postinsts scripts from rootfs_rpm.bbclass to rpm recipe. That
is the same way for dpkg and opkg to deal the post install scripts.

(From OE-Core rev: 04607b0cd496837f10ef78cf43597ec1d2e13f2e)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd.bbclass: fix bb.error
Martin Jansa [Wed, 27 Feb 2013 17:46:51 +0000 (18:46 +0100)]
systemd.bbclass: fix bb.error

NOTE: recipe avahi-ui-0.6.31-r7.0: task do_package: Started
ERROR: %s does not appear in package list, please add it avahi-ui-daemon
ERROR: %s does not appear in package list, please add it avahi-ui-dnsconfd

(From OE-Core rev: 36a2bae816b1abf776d0f1a2b6b2c3d9a861a4ca)

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>
11 years agosystemd: systemd uses libkmod instead of modprobe, remove dependencies
Ross Burton [Wed, 20 Feb 2013 14:04:41 +0000 (14:04 +0000)]
systemd: systemd uses libkmod instead of modprobe, remove dependencies

(From OE-Core rev: 7e73a8eddd93c86863e3ff886984526a2163ca56)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_deb: remove run-postinsts from ROOTFS_PKGMANAGE
Kang Kai [Tue, 26 Feb 2013 05:41:01 +0000 (13:41 +0800)]
rootfs_deb: remove run-postinsts from ROOTFS_PKGMANAGE

Remove package run-postinsts from ROOTFS_PKGMANAGE. run-postinsts has
already added in ROOTFS_PKGMANAGE_BOOTSTRAP and then added to rootfs
conditionally by checking image feature "package-management".

(From OE-Core rev: 41aad841e93daaf5d174b14b2fec60b786ead4b3)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosudo : upgrade to 1.8.6p6
Andrei Dinu [Tue, 26 Feb 2013 13:46:22 +0000 (15:46 +0200)]
sudo : upgrade to 1.8.6p6

(From OE-Core rev: edc4f4c04d1a853137cb3cb2638e23bdcb810833)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogconf: update to 3.2.6
Saul Wold [Tue, 26 Feb 2013 00:09:36 +0000 (16:09 -0800)]
gconf: update to 3.2.6

remove automake patch as it been fixed upstream

(From OE-Core rev: e2a404f3263337e505b60acd6c7d10be2c915ac9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agominicom: upgrade to 2.6.2
Cristian Iorga [Mon, 25 Feb 2013 16:24:45 +0000 (18:24 +0200)]
minicom: upgrade to 2.6.2

- all patches removed;
- fixes already integrated in source code;
- gcc4-scope.patch removed as was not enabled;

(From OE-Core rev: b0e41a317791aae943370f4e1affcfae32797c87)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibassuan: upgrade to 2.1.0
Constantin Musca [Mon, 25 Feb 2013 16:57:14 +0000 (18:57 +0200)]
libassuan: upgrade to 2.1.0

- license checksum change due to addition of
"Copyright (C) 2001, 2002, 2012, 2013 g10 Code GmbH"

libassuan-add-pkgconfig-support.patch: adapted to the new version

(From OE-Core rev: 36c16c1037d6c319d06c78405594413d65a2821d)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokconfig-frontends: Update to 3.8
Saul Wold [Mon, 25 Feb 2013 18:41:00 +0000 (10:41 -0800)]
kconfig-frontends: Update to 3.8

Upstream changed numbering to remove '-', so
extend PV to patch.

(From OE-Core rev: a5de18a79033960a5dff441694fae5fdb5e56d7f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoresolvconf: Update to 1.70
Saul Wold [Mon, 25 Feb 2013 18:40:23 +0000 (10:40 -0800)]
resolvconf: Update to 1.70

(From OE-Core rev: 7c5bc3535b7f5b8d50004b677b6455ffbf175976)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofile: Update to 5.13
Saul Wold [Mon, 25 Feb 2013 18:39:44 +0000 (10:39 -0800)]
file: Update to 5.13

(From OE-Core rev: c865e471fc88984b8e712c0df8f45dc9a30619fb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolsbinitscripts: Update to 9.44
Saul Wold [Mon, 25 Feb 2013 18:39:20 +0000 (10:39 -0800)]
lsbinitscripts: Update to 9.44

(From OE-Core rev: 910d37ae5a42c1a4e696cfde48ba9b209d8c3a78)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoman-pages: Update to 3.47
Saul Wold [Mon, 25 Feb 2013 18:38:55 +0000 (10:38 -0800)]
man-pages: Update to 3.47

(From OE-Core rev: 86d41fef5c506a0751058054d71bfcc7fe316862)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoboost: Update to 1.53.0
Saul Wold [Mon, 25 Feb 2013 18:38:14 +0000 (10:38 -0800)]
boost: Update to 1.53.0

(From OE-Core rev: 3c578f6da565fa7df422ffeb4d1355d3628868a7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosocat: Update to 1.7.2.1
Saul Wold [Mon, 25 Feb 2013 18:37:50 +0000 (10:37 -0800)]
socat: Update to 1.7.2.1

Changed LIC_FILES_CHKSUM due to whitespace and GNU address difference

(From OE-Core rev: e2294db8e31aacdc27204e0b0fe5ff9221ee768a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonspr: Update to 4.9.5
Saul Wold [Mon, 25 Feb 2013 18:37:00 +0000 (10:37 -0800)]
nspr: Update to 4.9.5

Changed LIC_FILES_CHKSUM line numebrs, no license change

(From OE-Core rev: b04f64e10c4b12cf32d6633c402b519067e94e5f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4-embedded: Enable Linux Input support
Otavio Salvador [Tue, 26 Feb 2013 21:23:25 +0000 (18:23 -0300)]
qt4-embedded: Enable Linux Input support

This allow use of Linux Input directly so being able to use 'evdev'
driver for keyboard use.

(From OE-Core rev: 095a64abaf3b47d7621b2ada7221763c49b8f1ca)

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>
11 years agobinutils: Delete recipes for 2.22
Khem Raj [Tue, 26 Feb 2013 20:55:24 +0000 (12:55 -0800)]
binutils: Delete recipes for 2.22

We have 2.23.1 as default now.

(From OE-Core rev: a2f5a228422f9807fa21de88ad589853817695f8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobinutils: Fix build with newer texinfo 5.0+
Khem Raj [Tue, 26 Feb 2013 21:39:24 +0000 (13:39 -0800)]
binutils: Fix build with newer texinfo 5.0+

[Yocto #3943]

(From OE-Core rev: 79a378a47e9a87c42337a846317b556e16e89664)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-tools-testapps: connman-client added
Cristian Iorga [Tue, 26 Feb 2013 18:25:10 +0000 (20:25 +0200)]
packagegroup-core-tools-testapps: connman-client added

connman-client is now part of tools-testapps

(From OE-Core rev: 97c47c9c78d310e0714c3127e8de528f854f58cf)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomini-x-session: Fix starting of x-session
Saul Wold [Thu, 21 Feb 2013 16:11:50 +0000 (08:11 -0800)]
mini-x-session: Fix starting of x-session

We need to use sudo semantics since it does not start correctly
with su. Added RDEPENDS to ensure it's present on target.

The SESSION_DIR test was constructed incorrectly, so fixed it.

(From OE-Core rev: badf3a32b9737f2ad6f9c9ff2fe623fe17295946)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosqlite: rename version to match upstream versioning change
Saul Wold [Tue, 26 Feb 2013 15:52:27 +0000 (07:52 -0800)]
sqlite: rename version to match upstream versioning change

Upstream changed to a single grouped number, change our numbering
to match thiers.

(From OE-Core rev: 0a00a4328d3fc52ece604f268b7110ef210826a9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: enable connman client
Cristian Iorga [Tue, 26 Feb 2013 16:56:48 +0000 (18:56 +0200)]
connman: enable connman client

connmanctl is available in a new
package: connman-client

(From OE-Core rev: d926de687ba45fed993af7feba8574b76293b939)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoparted: fix several integer overflows
Ming Liu [Tue, 26 Feb 2013 01:19:44 +0000 (09:19 +0800)]
parted: fix several integer overflows

Integer overflows were found in libparted/labels/dvh.c, while attemptting
to assign unsigned int values to int types in some places. These overflows
only can be observed on BE platforms like MIPS, when the "WORDS_BIGENDIAN"
macro is defined in parted.

Defined by unsigned int instead.

(From OE-Core rev: 9acaa764a4df8d589011ff597bba2afc05d6e78b)

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>
11 years agodbus: set correct address when using --address=systemd:
Ross Burton [Tue, 26 Feb 2013 12:37:10 +0000 (12:37 +0000)]
dbus: set correct address when using --address=systemd:

Patch taken from upstream 1.7 branch.

(From OE-Core rev: d7b8ae19464a3fe87822376b541b3d6865fe6115)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolsbtest: sync test suite packages version
Kang Kai [Tue, 26 Feb 2013 08:43:38 +0000 (16:43 +0800)]
lsbtest: sync test suite packages version

Update file packages_list after sync test suite packages version with
upstream.
Check date: Feb 20, 2103

Bump up PR.

(From OE-Core rev: f43ba5e41ac5c1fe9d6e66fa1a1f8a51f9cd289c)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate-cache-management.sh: don't hardcode available sstate_suffixes
Hongxu Jia [Tue, 26 Feb 2013 07:57:16 +0000 (15:57 +0800)]
sstate-cache-management.sh: don't hardcode available sstate_suffixes

Don't hardcode available sstate_suffixes(it misses `packagedata'), find them
dynamically in $sstate_list.

[YOCTO #3635]

(From OE-Core rev: 26adfcb8c33fe62f5e15c3591efc670d70cbb5b7)

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>
11 years agosstate-cache-management.sh:fix the incorrect usage of option `-d'
Hongxu Jia [Tue, 26 Feb 2013 07:57:17 +0000 (15:57 +0800)]
sstate-cache-management.sh:fix the incorrect usage of option `-d'

The description of option `-d' is not correct in useage. It is used to
remove duplicate and debug at the same time. Use option `-D' to control
debug info output and the option `-d' to flag remove duplicate.

[YOCTO #3635]

(From OE-Core rev: fa0b40c233e757fe986aa45798b35b60b89c879f)

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>
11 years agosstate-cache-management.sh: fix remove duplicate failed when multiple archs
Hongxu Jia [Tue, 26 Feb 2013 07:57:15 +0000 (15:57 +0800)]
sstate-cache-management.sh: fix remove duplicate failed when multiple archs

The implementation of `--remove-duplicated' has been modified by the commit:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0740f82aea92da0195524e37c372f9981e7f5e6d

In above commit, sstate cache files with multiple archs are not considered
duplicate and don't need to be removed as duplicated any more.

Update the description of `--remove-duplicated' in usage to keep consistent
with implementation.

[YOCTO #3635]

(From OE-Core rev: c201fdc2f01f398060cd953a1640a685797d9e64)

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>
11 years agodistrodata: added some corner cases for svn and git repos
Emilia Ciobanu [Tue, 26 Feb 2013 13:35:14 +0000 (15:35 +0200)]
distrodata: added some corner cases for svn and git repos

distrodata.bbclass: git tags can include only one digit, therefore
the regex that matches the latest version should also include this
case. For some svn repos, using the http protocol than using the
svn protocol to get infomation about revisions works better.

(From OE-Core rev: bbf09cc0abbc81419349f2af1bc1196a868b2269)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoAdd kernel arch variable in SDK environment variable list for supporting build extern...
Jessica Zhang [Mon, 25 Feb 2013 22:20:52 +0000 (14:20 -0800)]
Add kernel arch variable in SDK environment variable list for supporting build external kernel module using SDK

(From OE-Core rev: 7fc7e98801bd72b9662528f94b315749e6075666)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiproute2: upgraded to 3.8.0
Cristian Iorga [Tue, 26 Feb 2013 15:57:42 +0000 (17:57 +0200)]
iproute2: upgraded to 3.8.0

- cross-compiling patch adapted to new source code

(From OE-Core rev: 35c2d04911b84cb21ef1a4a00dee399873bee8f3)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus-glib : upgrade to 1.100.2
Andrei Dinu [Tue, 26 Feb 2013 12:25:03 +0000 (14:25 +0200)]
dbus-glib : upgrade to 1.100.2

(From OE-Core rev: eb43cd15cc0ceffd6b7fa14919646007d6ba99c2)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoe2fsprogs : upgrade to 1.42.7
Andrei Dinu [Tue, 26 Feb 2013 07:51:11 +0000 (09:51 +0200)]
e2fsprogs : upgrade to 1.42.7

(From OE-Core rev: 0662191f2e1ac2d686e2125f7f1bcb0f871c0edf)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoarchive-*-source.bbclass: Handle all package classes
Muhammad Shakeel [Wed, 20 Feb 2013 13:50:57 +0000 (18:50 +0500)]
archive-*-source.bbclass: Handle all package classes

* Add archiver tasks correctly for any 'IMAGE_PKGTYPE'.

[YOCTO #3449]

(From OE-Core rev: 0783686c4dc837674a2bcf3ca1f3f4858e256195)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoarchiver class: Use tasks with sstate instead of pre/post funcs
Muhammad Shakeel [Wed, 20 Feb 2013 13:50:22 +0000 (18:50 +0500)]
archiver class: Use tasks with sstate instead of pre/post funcs

* Add tasks to move sources, script/logs and diff/env files in
  deploy directory.
* Enable SSTATE for 'do_archive_scripts_logs' task
* Enable SSTATE for 'do_dumpdata_create_diff_gz' task
* SSTATE is not used for sources/patches archiver task because source
  archive package can result into a very large file. It will be an
  unnecessary overhead to keep sources in DL_DIR and cached-binaries.
* If 'SOURCE_ARCHIVE_PACKAGE_TYPE' is 'srpm' then use pre/post functions
  because in this case we do not want to use tasks to move sources/logs
  in DEPLOY_DIR. 'do_package_write_rpm' is responsible for handling
  archiver packages.

[YOCTO #3449]

(From OE-Core rev: 959e2ae23ccbc6955a28996d4538e457cd8cfa5e)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: Add package for libmount
MiLo [Tue, 19 Feb 2013 17:23:15 +0000 (18:23 +0100)]
util-linux: Add package for libmount

The libmount shared library was part of util-linux. This caused
util-linux-mount to RDEPEND on util-linux, so including that would
also drag in all of util-linux and all its recommendations.

To break this circular dependency, add a libmount package that holds
the libmount.so.* files, just like the other libraries built by util-
linux.

(From OE-Core rev: 2e79110e31da940728d42411cad3d019d570fc31)

Signed-off-by: MiLo <milo-software@users.sourceforge.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoaugeas: change SRC_URI
Constantin Musca [Mon, 25 Feb 2013 15:29:15 +0000 (17:29 +0200)]
augeas: change SRC_URI

- replace http://augeas.net/download/${BP}.tar.gz with
http://download.augeas.net/${BP}.tar.gz

(From OE-Core rev: 8e69f0ea42505e8f703893e18d73658b83d3b046)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng-ust: cannot find -llttng-ust-tracepoint
Robert Yang [Tue, 26 Feb 2013 09:24:12 +0000 (17:24 +0800)]
lttng-ust: cannot find -llttng-ust-tracepoint

liblttng_ust.la should depend on liblttng-ust-tracepoint.la, otherwise
there maybe a parallel build issue when building liblttng_ust.la:

ld: cannot find -llttng-ust-tracepoint

[YOCTO #3934]

(From OE-Core rev: b947dbc72b3cd03901112c1bab6ac0b81f1b374f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: now that we use a Pool, raise the exceptions
Christopher Larson [Mon, 25 Feb 2013 18:48:00 +0000 (11:48 -0700)]
bitbake: cooker: now that we use a Pool, raise the exceptions

Multiprocessing catches these and handles passing them between processes
itself, we don't need to do it ourselves anymore.

[YOCTO #3926]

(Bitbake rev: 9ca8e513dc142dd7aefadeb6db2ccdb00f38b39f)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: perforce.py: fix the perforce fetcher
Robert Yang [Mon, 4 Feb 2013 03:19:36 +0000 (03:19 +0000)]
bitbake: perforce.py: fix the perforce fetcher

The bb.process.run() will return one tuple, e.g:

p4file = ('strA\nStrB\nstrC\n'), then there will be an iteration on p4file:

for i in p4file:
[snip]

The i will be 's t r A ...', this is incorrect. use splitlines() to fix
the problem.

[YOCTO #3619]

(Bitbake rev: b7440fb36b419996046f607e66434ce34722272b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agositeinfo/insane: More n32 fixups
Peter Seebach [Thu, 21 Feb 2013 17:40:22 +0000 (11:40 -0600)]
siteinfo/insane: More n32 fixups

For perfectly sound reasons, n32 MIPS is a mips64 subset denoted by an
ABI change, thus, "mips64-vendor-linux-gnun32" rather than
"mips-vendor-linux-gnu". A previous change had fixed up insane.bbclass
to recognize these, which mostly worked, but left SITEINFO_BITS set to
64.

Since bit-32 is processed first, and there are specific checks for
linux-gnun32, modify the mips64-linux-gnun32 lines to specify "bit-32",
so things that check SITEINFO_BITS get the right answer. Also, drop
the mips{,el}-linux-gnun32 lines, because that's not a valid combination;
n32 only makes sense for mips64.

Also, the insane.bbclass change spelled "mips64el" as "mipsel64", which
no one noticed because no one's using little-endian n32, apparently.

(From OE-Core rev: 0c243a550f5a0e539823fe168bcc7b2bbb9f19e1)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-argparse: add RDEPENDS on python-textutils
Michael Thalmeier [Thu, 21 Feb 2013 09:38:59 +0000 (10:38 +0100)]
python-argparse: add RDEPENDS on python-textutils

The argparse module uses the textwrapper modules contained in
python-textutils.

(From OE-Core rev: 2e9d39834ceb8cf9d9ba94940372b549fb957028)

Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase-files: fix 'dash' expanding '\n'
Javier Viguera [Wed, 20 Feb 2013 15:09:17 +0000 (16:09 +0100)]
base-files: fix 'dash' expanding '\n'

Dash's 'echo' command expands '\n' by default, so the '\n' is not
included in the '/etc/issue' file.

Use 'printf' for portability between different shells.

(From OE-Core rev: 94c9ced84aa201e808e46e129bf14f328ff5f3e4)

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcp-wrappers: add socklen_t.patch
farrah rashid [Wed, 20 Feb 2013 21:09:48 +0000 (16:09 -0500)]
tcp-wrappers: add socklen_t.patch

Replace incorrect size_t data type with socket length data type

(From OE-Core rev: c2d456cb79f42eefd50605d72361ded823568d1b)

Signed-off-by: farrah rashid <farrah.rashid@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometa-skeleton: Add example multilib usages
Richard Purdie [Thu, 21 Feb 2013 13:50:00 +0000 (15:50 +0200)]
meta-skeleton: Add example multilib usages

(From OE-Core rev: 514b0ab066bebd52980467e935c0e5df9e480db4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogconf: add patch to remove '+' from invalid characters list
Laurentiu Palcu [Mon, 25 Feb 2013 09:49:42 +0000 (11:49 +0200)]
gconf: add patch to remove '+' from invalid characters list

This will allow gconftool-2 to run when configuration source addresses
contain the '+' sign.

[YOCTO #3893]

(From OE-Core rev: 5ba4d947189f76692ea6cc75500d9295417a2055)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>