scm/bb/tizen-distro.git
10 years agobeecrypt: Add PACKAGECONFIG for cplusplus
Richard Purdie [Tue, 26 Nov 2013 14:32:28 +0000 (14:32 +0000)]
beecrypt: Add PACKAGECONFIG for cplusplus

Add a PACKGECONFIG to control the building of the beecrypt C++
bindings. The only user of beecrypt in OE-Core is rpm and this doesn't
need the C++ bindings so default the option to be off. This means
we can lose the icu dependency by default which is a significant
performance win.

(From OE-Core rev: e6885069e2af833ebacfd33a04147b095af92d20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: add PACKAGECONFIG for vnc, libcurl, nss, uuid, curses, gtk+, libcap-ng
Hongxu Jia [Sat, 2 Nov 2013 06:52:59 +0000 (14:52 +0800)]
qemu: add PACKAGECONFIG for vnc, libcurl, nss, uuid, curses, gtk+, libcap-ng

Use PACKAGECONFIG to explicitly address vnc, libcurl, nss, uuid, curses, gtk+,
libcap-ng dependencies rather than tested by configure.

It avoided potential errors while multiple builds shared a common state_cache.

(From OE-Core rev: 4482af07df26644885bae49b98f5d765a5caa68c)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobzip2: Remove stange copy line, automake does this for us anyway
Richard Purdie [Mon, 25 Nov 2013 23:22:04 +0000 (23:22 +0000)]
bzip2: Remove stange copy line, automake does this for us anyway

(From OE-Core rev: 2ba32f7bd9deec0d977d7d2ff30275af54a41892)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-firmware: add missing linux-firmware-iwlwifi-7260-7 package
Paul Eggleton [Mon, 25 Nov 2013 15:20:56 +0000 (15:20 +0000)]
linux-firmware: add missing linux-firmware-iwlwifi-7260-7 package

The FILES / RDEPENDS lines were added for this package, but not the
entry in PACKAGES, so it was never being created.

(From OE-Core rev: 25a75e83550fab0f9d2486b13ec9ab6339b6a8b0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity: Use random filename for maximum path length test
Mike Crowe [Mon, 25 Nov 2013 15:20:14 +0000 (15:20 +0000)]
sanity: Use random filename for maximum path length test

check_create_long_filename used a fixed filename for its test files. This
meant that os.remove(testfile) could fail with ENOENT if two instances were
running at the same time against the same sstate directory. Using a
randomly generated filename stops this from happening.

(Although it might seem unlikely, this race did appear to occur multiple
times with Jenkins - presumably because the matrix jobs were all kicked off
at the same time.)

(From OE-Core rev: bc28e3f26e7f85af82f403924c0ae29e1ad34a87)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity: Don't hard code value of ENAMETOOLONG
Mike Crowe [Mon, 25 Nov 2013 15:20:15 +0000 (15:20 +0000)]
sanity: Don't hard code value of ENAMETOOLONG

Although ENAMETOOLONG is 36 on Linux x86 and x86_64 it does isn't on other
architectures so the value shouldn't be hard coded.

(From OE-Core rev: 11a9cf5ee0daf82097fb2f36b58016f20a5968f3)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez4: added dependency on 'libsndfile1'
Enrico Scholz [Mon, 25 Nov 2013 15:10:44 +0000 (16:10 +0100)]
bluez4: added dependency on 'libsndfile1'

bluez4 detects and uses libsndfile1 and the compilation can fail with

| sbc/sbctester.c:32:21: fatal error: sndfile.h: No such file or directory
| ...
| compilation terminated.
| make[1]: *** [sbc/sbctester.o] Error 1

in rebuilds (image with libsndfile1 was built, then some change ->
bluez4 do_configure runs with libsndfile1 -> libsndfile1 gets removed
-> bluez4 do_compile fails).

As there is no trivial way to disable its detection and to make it a
PACKAGECONFIG option, 'libsndfile1' was put into static DEPENDS.

(From OE-Core rev: b9571256f8996d1eb4b9a09b3b5b862a13f1b414)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoavahi: add leading space to RRECOMMENDS append
Martin Jansa [Sun, 24 Nov 2013 13:28:27 +0000 (14:28 +0100)]
avahi: add leading space to RRECOMMENDS append

* in case update-rc.d is already in RRECOMMENDS it fails with
  ERROR: Nothing RPROVIDES 'update-rc.dlibnss-mdns' (but
  meta/recipes-connectivity/avahi/avahi_0.6.31.bb
  RDEPENDS on or otherwise requires it)

(From OE-Core rev: 70dedb67c2b8b7302dc4c51e8c607e57f61f530a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowebkit/midori: fix COMPATIBLE_HOST
Roy Li [Mon, 25 Nov 2013 08:58:55 +0000 (16:58 +0800)]
webkit/midori: fix COMPATIBLE_HOST

webkit can not be built on mips64 with n32 ABI, but can be built on mips64
n64 and o32 ABI whose TARGET_SYS's name is mips-*-linux

(From OE-Core rev: 66cf1cc01b8e4f6284e13d57d9fdcb9f228a6846)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agox264: install libraries to right directory when enable multilib
Kai Kang [Mon, 25 Nov 2013 08:17:07 +0000 (16:17 +0800)]
x264: install libraries to right directory when enable multilib

x264 use [EPREFIX/lib] as default libdir. When multlib is enabled that
is not right. Packages depends on x264 such as libav configure fails
that can't find library x264.

Pass the right libdir to configure script to fix it.

(From OE-Core rev: d1deb07d158cf27bce2ee95e2f02b4fd1d00fe21)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoattr: attr_2.4.47 release tarball missing configure.ac
Nathan Rossi [Mon, 25 Nov 2013 08:18:15 +0000 (18:18 +1000)]
attr: attr_2.4.47 release tarball missing configure.ac

The release tarball of attr 2.4.47 is missing the configure.ac file.
This prevents the autotools bbclass from being able to regenerate the
configure script which leads to other side affects. (e.g. using
outdated config.sub)

This patch adds the configure.ac file via a patch.
(obtained via the source repository at the v2.4.47 tag)

See the mailing list thread for additional information:
http://lists.nongnu.org/archive/html/acl-devel/2013-05/msg00024.html

(From OE-Core rev: b28f12a272a9e2f0c3084a58b91605acb05f58f8)

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Correct a few calls to latest_revision()
Peter Kjellerstedt [Mon, 25 Nov 2013 11:41:16 +0000 (12:41 +0100)]
bitbake: fetch2: Correct a few calls to latest_revision()

In 6a48474de9505a3700863f31839a7c53c5e18a8d the url parameter to a
number of functions was removed. However, not all calls to
latest_revision() were fixed...

(Bitbake rev: 7c94ca56b2fd85a989089f58b3dcce3172a778f2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: fetch2: Remove the unused urldata from the git fetcher.
Florin Sarbu [Mon, 25 Nov 2013 10:33:50 +0000 (12:33 +0200)]
bitbake: bitbake: fetch2: Remove the unused urldata from the git fetcher.

(Bitbake rev: e0a2e9699e9f338dd7ade8c9eef0a12c7639ec05)

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: data: Fix output inconsistencies for emit_var
Richard Purdie [Fri, 22 Nov 2013 16:17:39 +0000 (16:17 +0000)]
bitbake: data: Fix output inconsistencies for emit_var

VAL = ""     (not shown)
VAL = " "    (shown as "")
VAL = " x"   (shown as "x")

would all show up rather differently to what would be expected in the
bitbake -e output. This fixes things so they appear consistently.

The output for running some shell functions may also change slightly
but shouldn't change in a way that is likely to cause problems.

[YOCTO #5507]

(Bitbake rev: fcba5ef0053dc0ef5360e4912609e5d52f5046b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: perforce: Fix path subdirectory issues
Richard Purdie [Fri, 22 Nov 2013 16:22:28 +0000 (16:22 +0000)]
bitbake: perforce: Fix path subdirectory issues

With a SRC_URI = " \
p4://depot/folder/...;module=localfolder/localsubfolder;changeslist=${P4CHANGELIST} \
"

the subfolders of //depot/folder/... get renamed when mapped to the
local folder structure. They lose the first 3 letters. This
patch fixes that.

Issue reported by and patch sent from katutxakurra@gmail.com

[YOCTO #5380]

(Bitbake rev: 40e06dc459d9c0b5d42d65b2d2c846196fd36b1f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-layers: avoid loading configuration when not needed
Paul Eggleton [Thu, 21 Nov 2013 14:09:46 +0000 (14:09 +0000)]
bitbake: bitbake-layers: avoid loading configuration when not needed

In recent versions of bitbake, it is not possible to initialise a
BBCooker object without having it load the configuration first. Thus we
should avoid creating the Tinfoil object here in bitbake-layers which
does that internally until we actually need to, so you can run
"bitbake-layers help" and not have to wait several seconds for the
output.

(Bitbake rev: 8f1e280fbbb6432d7bcc1fb4241f402668c6c5ea)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: HOB: Show warnings in Issues tab
Valentin Popa [Thu, 21 Nov 2013 11:55:13 +0000 (13:55 +0200)]
bitbake: HOB: Show warnings in Issues tab

Proper update of warnings view during build.

[YOCTO #3496]

(Bitbake rev: 124428ba8a0b1cc85d4b96053bf71bce14a5774c)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cooker: add support for using % as a wildcard in bbappend filename
Saul Wold [Thu, 21 Nov 2013 17:50:41 +0000 (09:50 -0800)]
bitbake: cooker: add support for using % as a wildcard in bbappend filename

There has been a continuing call for supporting wildcard in bbappend
filenames. The wildcard is actually allow matching of the name and
version up to the point of encountering the %.  This approach will
allow for matching of the major or major.minor.

Exampes:

busybox_1.21.1.bb
busybox_1.21.%.bbappend will match
busybox_1.2%.bbappend will also match

if we update to busybox_1.3.0.bb the above won't match, but a busybox_1.%.bb
will.

[YOCTO #5411]

(Bitbake rev: 31bc9af9cd56e7b318924869970e850993fafc5f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue/bitbake-worker: Fix dry run fakeroot issues
Richard Purdie [Fri, 22 Nov 2013 13:31:47 +0000 (13:31 +0000)]
bitbake: runqueue/bitbake-worker: Fix dry run fakeroot issues

When using the dry run option (-n), bitbake would still try and fire
a specific fakeroot worker. This is doomed to failure since it might
well not have been built.

Add in some checks to prevent the failures.

[YOCTO #5367]

(Bitbake rev: f34d0606f87ce9dacadeb78bac35879b74f10559)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt-installer: Switch from svn to tarball release for opkg
Richard Purdie [Fri, 22 Nov 2013 16:12:58 +0000 (16:12 +0000)]
adt-installer: Switch from svn to tarball release for opkg

(From OE-Core rev: 899fd09328a35228a5c96785131930b69ef19a49)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometadata_scm: Avoid crashing on new svn version layouts
Richard Purdie [Fri, 22 Nov 2013 15:07:34 +0000 (15:07 +0000)]
metadata_scm: Avoid crashing on new svn version layouts

This avoids crashing on newer svn layouts where the entries files
don't contain three lines. If someone wants to fix this to
get the right version on newer subversion checkouts, patches
welcome but this at least stops things crashing.

[YOCTO #5363]

(From OE-Core rev: e850c53d4d8cb877a704a23f9ce02d6185ba3ffa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass: Stop bundle_initramfs thwarting sstate cache and fix race
Mike Crowe [Fri, 22 Nov 2013 14:23:02 +0000 (14:23 +0000)]
kernel.bbclass: Stop bundle_initramfs thwarting sstate cache and fix race

The new do_bundle_initramfs task introduced in
609d5a9ab9e58bb1c2bcc2145399fbc8b701b85a defeats using the sstate
cache. The kernel is resurrected from the sstate cache but ends up being
built again since do_bundle_initramfs depends on do_compile.

The task is no longer nostamp to avoid causing unnecessary rebuilds. The
sstate checksum stamps should know when to rebuild.

The task now runs before do_deploy and part of the work has been moved to
do_deploy where it now writes to ${DEPLOYDIR} rather than
${DEPLOY_DIR_IMAGE} so that the files end up in sstate.

The task can also race against do_install since both call into the kernel
build system. This is fixed by making do_bundle_initramfs run after
do_install (which therefore also fixes the problem that
3baa63b4d588c3262254528b406ede265dd117bf was addressing.)

(From OE-Core rev: 55989cb509340bd265d0ce0d8bfe849681be4616)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoRevert "kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux"
Mike Crowe [Fri, 22 Nov 2013 14:23:01 +0000 (14:23 +0000)]
Revert "kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux"

This reverts commit 3baa63b4d588c3262254528b406ede265dd117bf. It broke
builds that aren't using kernel-yocto.

(From OE-Core rev: 81831db1c32afa3346f3ed9f4325ad280e5bb005)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokconfig-frontends: add python to kconfig-frontends's RDEPENDS
Hongxu Jia [Thu, 21 Nov 2013 13:14:35 +0000 (21:14 +0800)]
kconfig-frontends: add python to kconfig-frontends's RDEPENDS

| Note: adding Smart RPM DB channel
|
| Note: to be installed:  kconfig-frontends@x86_64 run-postinsts@x86_64 kernel-modules@qemux86_64 packagegroup-core-boot@qemux86_64
| Loading cache...
| Updating cache...               ######################################## [100%]
|
| Computing transaction...error: Can't install kconfig-frontends-3.10.0.0-r0.0@x86_64: no package provides /usr/bin/python
|
| Saving cache...
|
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_rootfs (log file is located at tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-small/1.0-r1/temp/do_rootfs/log.do_rootfs.30959)

(From OE-Core rev: f15af9a8d603b2eb3a8433367ddadecd714128d3)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: remove erroneous call to /etc/default/rcS in mountnfs.sh
Ross Burton [Fri, 22 Nov 2013 10:31:26 +0000 (10:31 +0000)]
initscripts: remove erroneous call to /etc/default/rcS in mountnfs.sh

This doesn't exist when using systemd as it's part of the sysvinit package, and
this script doesn't need it.

(From OE-Core rev: 426a22bb67c7823ee733f8c2bd85421b785c3631)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopciutils: upgrade to 3.2.1
Valentin Popa [Fri, 22 Nov 2013 10:24:34 +0000 (12:24 +0200)]
pciutils: upgrade to 3.2.1

(From OE-Core rev: f0edfb3a78657c43fb74ebb1c481af3e9d11fc3f)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibsoup-2.4: upgrade to 2.44.2
Valentin Popa [Fri, 22 Nov 2013 10:15:13 +0000 (12:15 +0200)]
libsoup-2.4: upgrade to 2.44.2

(From OE-Core rev: b09d8b117421e8645e80ca321bfae1557fcfcf53)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolighttpd: upgrade to 1.4.33
Valentin Popa [Fri, 22 Nov 2013 10:01:46 +0000 (12:01 +0200)]
lighttpd: upgrade to 1.4.33

(From OE-Core rev: 1d376b40552e60b1fd18d95c6dd24d30aae849c8)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: use cross toolchain to compile
Lei Liu [Thu, 21 Nov 2013 19:30:48 +0000 (13:30 -0600)]
syslinux: use cross toolchain to compile

syslinux is compling something with host gcc at do_install
stage, which leads to some unexpected errors with old gcc
on host.  Using our cross toolchain instead.

(From OE-Core rev: b0da7ccde5380726acfccf1a96cdf5560edf9159)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: Package readprofile into it's own package
Mark Hatle [Thu, 21 Nov 2013 17:47:43 +0000 (11:47 -0600)]
util-linux: Package readprofile into it's own package

readprofile was missing from the alternative configuration, which was
causing readprofile to be packaged into the base util-linux.

(From OE-Core rev: cac08f23aaed87148d1825cca3c7586ab891ef04)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosecurity_flags: grub-efi-natve does not build with flags enabled
Saul Wold [Wed, 20 Nov 2013 23:40:23 +0000 (15:40 -0800)]
security_flags: grub-efi-natve does not build with flags enabled

[YOCTO #5505]

(From OE-Core rev: db628ccad9db49d0e83fb534ddfb05a57132f2fa)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibrsvg: move gdk-pixbuf-native dependency
Ross Burton [Wed, 20 Nov 2013 20:28:55 +0000 (20:28 +0000)]
librsvg: move gdk-pixbuf-native dependency

This dependency is only needed by the gdk-pixbuf loader PACKAGECONFIG, so move
it there.

(From OE-Core rev: aef01dc9fed0c54dc6a0ebfde5b53b6400aa3cef)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg: Don't use update-alternatives
Paul Barker [Wed, 20 Nov 2013 16:41:10 +0000 (16:41 +0000)]
opkg: Don't use update-alternatives

The symlink from 'opkg' to 'opkg-cl' doesn't need to be created with
update-alternatives as there isn't any alternative. Instead it can be created by
hand in do_install_append.

(From OE-Core rev: c28bb9126eed92c13a50a2557eb48402a9d12537)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg: Add PACKAGECONFIG options
Paul Barker [Wed, 20 Nov 2013 16:41:09 +0000 (16:41 +0000)]
opkg: Add PACKAGECONFIG options

Instead of hardcoding EXTRA_OECONF to disable things, we add PACKAGECONFIG
options for gpg, curl, ssl-curl, openssl, sha256 and pathfinder. By default all
these options are disabled.

(From OE-Core rev: 7d227c5764d71f21432a6a56dc4616c5b917c42c)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg: Update to version 0.2.0
Paul Barker [Wed, 20 Nov 2013 16:41:08 +0000 (16:41 +0000)]
opkg: Update to version 0.2.0

(From OE-Core rev: d29a55e170b721d8844984ab50d2f08926c42edb)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agojson-c: do rm -f on config.status before do_configure
Olof Johansson [Fri, 22 Nov 2013 13:24:34 +0000 (14:24 +0100)]
json-c: do rm -f on config.status before do_configure

This change adds -f when doing rm on config.status. .config.status is
not always present when doing do_configure, and that would without this
change lead to a fatal error.

(From OE-Core rev: b16d312ce03ae68da46ead3fc855b5879b2013fd)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogettext-minimal-native/iconv.m4: remove the test to convert euc-jp
Jackie Huang [Thu, 21 Nov 2013 07:39:26 +0000 (15:39 +0800)]
gettext-minimal-native/iconv.m4: remove the test to convert euc-jp

Remove the test "Test against HP-UX 11.11 bug: No converter from
EUC-JP to UTF-8 is provided" since we don't support HP-UX and it
causes guile-native compile failure if the euc-jp is not installed
on the host.

(From OE-Core rev: ac902d0fdf44beda2d0954cc477a4e2b177a2f2a)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs_*.bbclass: List which post-install scripts can not be run
Jeffrey C Honig [Thu, 21 Nov 2013 07:34:41 +0000 (01:34 -0600)]
rootfs_*.bbclass: List which post-install scripts can not be run

When preping a read-only rootfs and finding some post-install
scripts that can not be run, list the names of said scripts to
avoid having to look around the rootfs to find a list.

(From OE-Core rev: 0188120691f433fdccf71b92618115195278c0af)

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_rpm.bbclass: Replace -linux-gnun32 with -linux.* in RPM platform file
Lei Liu [Thu, 21 Nov 2013 07:30:58 +0000 (01:30 -0600)]
package_rpm.bbclass: Replace -linux-gnun32 with -linux.* in RPM platform file

On a multilib system when one of the multibs has a different OS then
other multilibs a failure can occur during the install process because
RPM assumes all systems have the same OS.

When an n32 platform is selected as an alternative multilib, it shows
up as mips64_n32-.*-linux-gnun32 in /etc/rpm/platform.  This causes
problems when the smart tool tries to add a channel for the multilib.
RPM archScore call always returns zero for arch "mips64_n32" -
after appending default vendor and os, it finds "mips64_n32-wrs-linux"
doesn't match any predefined platforms.  Fix this by removing the
restriction of -gnun32 suffix in platform file.

(From OE-Core rev: d9489c44ee4f195ae1b09f340b9545cddba58145)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogst-ffmpeg: fix CVE-2013-3674
Ming Liu [Thu, 21 Nov 2013 07:05:05 +0000 (01:05 -0600)]
gst-ffmpeg: fix CVE-2013-3674

The cdg_decode_frame function in cdgraphics.c in libavcodec in FFmpeg before
1.2.1 does not validate the presence of non-header data in a buffer, which
allows remote attackers to cause a denial of service (out-of-bounds array
access and application crash) via crafted CD Graphics Video data.

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

(From OE-Core rev: f1721553a873b242bc26ad3e4d618aea39dfd507)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoacpid: fix acpid break down
Baogen Shang [Thu, 21 Nov 2013 06:53:27 +0000 (00:53 -0600)]
acpid: fix acpid break down

when execute the command "/etc/init.d/acpid stop" and "/etc/init.d/acpid
restart", it prompt "no /usr/sbin/acpid found;none killed",The acpid could
not be restarted because the script start with "!/bin/sh â€“e", that will
make the script stop when an error occurred. So when no 'acpid' running
(we have stopped it), the script would exit and 'restart' operation would
be stopped by â€˜stop’ operation.so avoiding the error occurred, add "-o"
option,exit status 0 (not 1)if nothing done.

(From OE-Core rev: b7a8daf52c9befc773f320e54999bb91efdac334)

Signed-off-by: Baogen Shang <baogen.shang@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoacpid: fix acpid boot error
Baogen Shang [Thu, 21 Nov 2013 06:53:26 +0000 (00:53 -0600)]
acpid: fix acpid boot error

when booting board,the acpid daemon display some error information.
the information as follow:
acpid: opendir(/etc/acpi/events): No such file or directory
the path "/etc/acpi/events" does not exist,so building the directory
to fix the bug.

(From OE-Core rev: 8c0cc8815919c23033a4bb937331c2650c8aee4e)

Signed-off-by: Baogen Shang <baogen.shang@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase.bbclass: Fix incorrect setting of multilib PREFERRED_PROVIDER_virtual_pkg
Lei Liu [Thu, 21 Nov 2013 06:54:00 +0000 (00:54 -0600)]
base.bbclass: Fix incorrect setting of multilib PREFERRED_PROVIDER_virtual_pkg

PREFERRED_PROVIDER_virtual_pkg has been incorrectly set with more
than one multilib prefixes.  For example, if we have two alternative
multilibs lib64 and lib32, PREFERRED_PROVIDER_virtual_pkg will be
set to lib32-lib64-pkg or lib64-lib32-pkg, depending on which
multilib shows up first in the list.

(From OE-Core rev: 17a432dc059e24ba10d4baec988828c0025a5e46)

Signed-off-by: Lei Liu <lei.liu2@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Stop passing around the pointless url parameter
Richard Purdie [Tue, 19 Nov 2013 14:32:08 +0000 (14:32 +0000)]
bitbake: fetch2: Stop passing around the pointless url parameter

There is no good reason to keep passing around the url parameter when
its contained within urldata (ud). This is left around due to
legacy reasons, some functions take it, some don't and its time
to cleanup.

This is fetcher internal API, there are a tiny number of external users
of the internal API (buildhistory and distrodata) which can be fixed up
after this change.

(Bitbake rev: 6a48474de9505a3700863f31839a7c53c5e18a8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Clean up some url parameters to functions
Richard Purdie [Tue, 19 Nov 2013 13:59:14 +0000 (13:59 +0000)]
bitbake: fetch2: Clean up some url parameters to functions

urldata contains the url so we might as well stop passing around
pointless function parameters. This was done for legacy reasons but
its time to clean this mess up.

This is a first step in cleanup and is a standalone patch but there is
more to be done in a second patch.

(Bitbake rev: 06590cfebbcf6565a17b80cc298e3ecdfaba4656)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoethtool: Fix ptest compile
Richard Purdie [Fri, 22 Nov 2013 09:24:04 +0000 (09:24 +0000)]
ethtool: Fix ptest compile

buildtest-TESTS is a phony target and does nothing which results in a
do_install error since the tests aren't built. Since there isn't
a suitable make target but the number of tests are small, hardcode
the two to build to unbreak the build when ptest is enabled.

(From OE-Core rev: 5dd8653fdcda5e0e8b4f3c37a46f357bc97ec66c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildhistory/distrodata: Adapt to updated fetcher API
Richard Purdie [Wed, 20 Nov 2013 14:44:11 +0000 (14:44 +0000)]
buildhistory/distrodata: Adapt to updated fetcher API

The buildhistory code has fallback paths for older bitbakes for now. The
distrodata class is much less used and it can be assumed a recent bitbake
is used in that case rather than adding fallback code.

(From OE-Core rev: 570cc145029fd9d5528aef5c27cb65164265c799)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-tools-profile: add systemd-analyze
Ross Burton [Thu, 21 Nov 2013 15:21:39 +0000 (15:21 +0000)]
packagegroup-core-tools-profile: add systemd-analyze

If the systemd DISTRO_FEATURE is enabled, then recommend systemd-analyze for
profiling boot performance.

(From OE-Core rev: 20d2fad0d08eb337fdc80385bce32469a97e988a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/connman: disable unique test
Ross Burton [Thu, 21 Nov 2013 14:57:46 +0000 (14:57 +0000)]
oeqa/connman: disable unique test

The connman unique test starts another instance of connmand and then does a ps to
verify that there's only one of these running, on the assumption that the new
one has quit because there's already one running (started by init).

However, connmand is forking into the background straight away so there's a race
between running ps and the second connmand discovering the first and exiting.
This race can be seen because the test displays the output of ps, and by the
time that second ps has been executed the new connmand has exited.

This is a classic race condition and on a heavily loaded autobuilder inserting
an arbitrary sleep isn't wise.  In the scheme of things this test isn't very
useful, so delete it.

(From OE-Core rev: 80ef721140c79e29430d0a5692a5c176db0061e6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Upgrade to 4.8.2
Khem Raj [Thu, 21 Nov 2013 14:59:44 +0000 (06:59 -0800)]
gcc: Upgrade to 4.8.2

The details for bug fixes between 4.8.1 and 4.8.2 is here

http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.2

Remove the patches that were applied upstream

(From OE-Core rev: 3e5922a2ed250361e76ea616baba2f8d9332e20f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoia32-base: Remove cpio and ext3 defaults
Richard Purdie [Thu, 21 Nov 2013 15:25:36 +0000 (15:25 +0000)]
ia32-base: Remove cpio and ext3 defaults

On real IA hardware, neither the ext3 or cpio images are particularly useful
or used. cpio is legacy from initramfs and that specific image now overrides
FSTYPES accordingly. The size difference in filesystems makes ext3 as a file
format less useful, mainly being useful in the qemu case.

When needed users can still override the default FSTYPES so having
saner defaults makes sense. This improves build times and uses less
network bandwidth for builds and releases.

(From OE-Core rev: 42484d72ed52a1a6f9d3f5b4bf46a72fbfbc490e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomatcbox-keyboard: bump SRCREV
Ross Burton [Thu, 21 Nov 2013 16:27:21 +0000 (16:27 +0000)]
matcbox-keyboard: bump SRCREV

Bump to the latest commit on the 0.1 branch.

Drop two redundant patches, and update the license data since upstream has been
re-licensed to LGPL v2.1.

(From OE-Core rev: a9bc6140e6cf24a5bad942f68348c02c446eac17)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoyocto-bsp: Add missing format specifier in bblayers error message
Bastien JAUNY [Wed, 13 Nov 2013 19:21:14 +0000 (20:21 +0100)]
yocto-bsp: Add missing format specifier in bblayers error message

If the build environment is misconfigured (e.g. a bad path
for a layer in bblayers.conf) the yocto-bsp script crashes with a
standard python error, not very explicit.  This fixes the problem.

Signed-off-by: Bastien JAUNY <bastien.jauny@gmail.com>
(From meta-yocto rev: 4a8e80b812eebdc1c9570b5d88aa0f3b34824b68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: fix typo
Alexandru DAMIAN [Tue, 19 Nov 2013 10:53:39 +0000 (10:53 +0000)]
bitbake: toasterui: fix typo

A typo in buildinfo helper leads to a bug where
information about tasks is not correctly stored.

This patch fixes the typo.

(Bitbake rev: 67b752993a2c64cba9ccc4fa662f0bddf081e74a)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: cooker, toaster: mark interrupted builds as failed
Alexandru DAMIAN [Tue, 19 Nov 2013 16:46:41 +0000 (16:46 +0000)]
bitbake: bitbake: cooker, toaster: mark interrupted builds as failed

This patch changes bitbake to log an error to the
command line when the build is interrupted via Ctrl-C.

This is needed to inform the user that not all tasks
required for the build have been executed, and
the build is not complete.

Internally, the Bitbake server will return a CommandFailed
event that will be logged by Toaster as build failure.

(Bitbake rev: 9a658e8b1511f1b9f91663f546f748fdfbc8965f)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: build.py: add single-quotes around already-expanded directory name
Peter Seebach [Wed, 20 Nov 2013 00:31:39 +0000 (18:31 -0600)]
bitbake: build.py: add single-quotes around already-expanded directory name

If the computed name of a directory contains an undefined variable
reference, bitbake dutifully creates a directory with a name that has
${...} in it. However, the actual task script created then tries to cd
to that directory, and the cd command fails, because no such directory
exists -- because the shell has helpfully removed the ${...} which did
not match any actual variables.

Since we want the name to be used exactly-as-is, add single quotes around
the name so this doesn't cause strange failures running tasks, which
allows us to progress past such failures and get to a point where they
can be diagnosed.

(Bitbake rev: 2809c2e6f2f35f9b08058950be896947ab5a0284)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibrsvg: upgrade to 2.40.0
Ross Burton [Tue, 19 Nov 2013 17:02:30 +0000 (17:02 +0000)]
librsvg: upgrade to 2.40.0

Add local-m4.patch and install a local vapigen.m4 so that we can autoreconf
without needing Vala installed.

Refresh build dependencies removing stale recipes and adding libcroco as it's a mandatory dependency now.

Explicitly disable Vala, with a patch from upstream until 2.40.1.

The GTK+ 2 theme engine has been removed, delete all traces of it.

Add a patch to make GTK+ use deterministic, and a disabled PACKAGECONFIG for it.

Enable parallel make, as some testing shows that it works fine.

Drop librsvg-CVE-2011-3146, merged upstream.  Drop doc_Makefile.patch, our
gtk-doc.mk isn't buggy and this isn't needed anymore.

Merge multiple -dev and -dbg packages into ${PN}-dev and -dbg, and remove the
loader module .a and .la files as they are pointless.

(From OE-Core rev: ee3e2e5ce15a3bf78c7e9d76d7bf68131f2d3ef7)

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>
10 years agokconfig-frontends: upgrade to 3.12.0.0
Saul Wold [Sat, 16 Nov 2013 11:55:31 +0000 (13:55 +0200)]
kconfig-frontends: upgrade to 3.12.0.0

(From OE-Core rev: c102667fe480d5321cbc7a2b513e55f62485ac96)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: remove reference to gles in PACKAGECONFIG
Ross Burton [Fri, 15 Nov 2013 23:54:40 +0000 (23:54 +0000)]
weston: remove reference to gles in PACKAGECONFIG

The "gles" configuration was removed in the upgrade to 1.3.0, and it was enabled
only if the unknown/rare opengles2 DISTRO_FEATURE was enabled.

(From OE-Core rev: d618f739f3631178cf61cfb8313b6c2c7ee6a9a6)

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>
10 years agojson-glib: upgrade to 0.16.2
Ross Burton [Fri, 15 Nov 2013 23:49:09 +0000 (23:49 +0000)]
json-glib: upgrade to 0.16.2

(From OE-Core rev: 2eca920275e5e3180eef9479961f7b19400df085)

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>
10 years agosysvinit: use ALTERNATIVE to manage sulogin
Chen Qi [Fri, 15 Nov 2013 10:45:43 +0000 (18:45 +0800)]
sysvinit: use ALTERNATIVE to manage sulogin

Busybox also provides sulogin command, so we need to use the ALTERNATIVE
mechanism to manage it.

(From OE-Core rev: 8b3a799a87d18b1d113d59b3e7a681db5683e5f8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0: upgrade to 1.2.0
Carlos Rafael Giani [Sat, 16 Nov 2013 20:23:57 +0000 (21:23 +0100)]
gstreamer1.0: upgrade to 1.2.0

starting with this version, the recipes enable Orc acceleration by
default

(From OE-Core rev: 686ee2f13673d48d8c7666d4fa1806e98b037561)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: collect libs for related libxx-dev package
Qiang Chen [Mon, 18 Nov 2013 02:18:32 +0000 (10:18 +0800)]
util-linux: collect libs for related libxx-dev package

Commit 91c0f9e3 moves library files to base_libdir for safe while
symbol link libblkid.so, libmount.so and libuuid.so are placed in
libdir, not base_libdir.

Meanwhile, libblkid.la, libmount.la and libuuid.la are placed in
libdir too.

Thus they are missed by related develop package and
collected by util-linux's develop package at last. Fix it.

(From OE-Core rev: 4571c9e963c667bce8b61e88816b34ba74b2aab7)

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Qiang Chen <qiang.chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolicense.bbclass: fix missing of license files on ubuntu build host
Chen Qi [Mon, 18 Nov 2013 07:20:44 +0000 (15:20 +0800)]
license.bbclass: fix missing of license files on ubuntu build host

The license_create_manifest function contains bashism, this will lead
to unexpected results on ubuntu build host, as sh is linked to dash on
ubuntu. Even if COPY_LIC_MANIFEST and COPY_LIC_DIRS are enabled, the
license files will still be missing on target.

This patch fixes the above problem.

[YOCTO #5549]

(From OE-Core rev: 4df9daee5c732c0a20dabe8515577238a1508512)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliburcu: upgrade to 0.8.1
Cristiana Voicu [Mon, 18 Nov 2013 15:03:15 +0000 (17:03 +0200)]
liburcu: upgrade to 0.8.1

One patch was removed because it was merged upstream; converted
"files" directory to "liburcu"

(From OE-Core rev: f599315f2d944a465dd0081f9e7bfc7294fcd299)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat-spi2-core: upgrade to 2.10.2
Cristiana Voicu [Mon, 18 Nov 2013 15:03:14 +0000 (17:03 +0200)]
at-spi2-core: upgrade to 2.10.2

(From OE-Core rev: 29702920adebefd2cf1ea1fde0b0f5b44b14ee40)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibjson: update to 0.11 and rename to json-c
Jack Mitchell [Mon, 18 Nov 2013 16:14:25 +0000 (16:14 +0000)]
libjson: update to 0.11 and rename to json-c

libjson is now known as json-c. Config.status is removed as it breaks
seperate build dir builds. Built without parallel make as it fails,
official word is not to bother trying.

(From OE-Core rev: 533c1db22eddaaaea7d58d1fc75d608b9ba8122a)

Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobtrfs-tools: Update to git HEAD
Saul Wold [Fri, 15 Nov 2013 21:33:16 +0000 (13:33 -0800)]
btrfs-tools: Update to git HEAD

btrfs-tools has had numerous bugfix and recently fixed the issue that do_rootfs
was failing, there is no offical release, they just roll the head.

Removed 2 parallel make patches that we resolved slightly differently upstream

[YOCTO #5146]

(From OE-Core rev: 9ae204660814a8dc50b67d6c35b872dfa78c17e1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types: newer btrfs.mkfs needs an empty file to build the disk in
Saul Wold [Fri, 15 Nov 2013 21:37:27 +0000 (13:37 -0800)]
image_types: newer btrfs.mkfs needs an empty file to build the disk in

(From OE-Core rev: 836396a3450e7bf151956e87bd92f70c5050c995)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotelepathy-idle: upgrade to 0.2.0
Cristian Iorga [Fri, 15 Nov 2013 20:01:13 +0000 (22:01 +0200)]
telepathy-idle: upgrade to 0.2.0

(From OE-Core rev: 27539e9db24dad26c6f0e952458c68f778ed97a5)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
[Renamed patch directory to remove version - sgw]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass: move bundle_initramfs after kernel_link_vmlinux
Ming Liu [Wed, 13 Nov 2013 05:40:59 +0000 (13:40 +0800)]
kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux

${KERNEL_OUTPUT} is being renamed/restored in bundle_initramfs task, so we
must ensure bundle_initramfs run after kernel_link_vmlinux where the link
of vmlinux is created as the bootable image.

(From OE-Core rev: 3baa63b4d588c3262254528b406ede265dd117bf)

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>
10 years agoxorg-driver: fix qa issue while multilib enabled - contains Xorg driver but no xorg-abi
Hongxu Jia [Fri, 15 Nov 2013 02:31:56 +0000 (10:31 +0800)]
xorg-driver: fix qa issue while multilib enabled - contains Xorg driver but no xorg-abi

...
WARNING: QA Issue: Package lib32-xf86-video-vesa contains Xorg driver (vesa_drv.so) but no xorg-abi- dependencies
WARNING: QA Issue: Package lib32-xf86-video-intel contains Xorg driver (intel_drv.so) but no xorg-abi- dependencies
WARNING: QA Issue: Package lib32-xf86-video-omap contains Xorg driver (omap_drv.so) but no xorg-abi- dependencies
WARNING: QA Issue: Package lib32-xf86-video-vmware contains Xorg driver (vmware_drv.so) but no xorg-abi- dependencies
WARNING: QA Issue: Package lib32-xf86-video-fbdev contains Xorg driver (fbdev_drv.so) but no xorg-abi- dependencies
WARNING: QA Issue: Package lib32-xf86-video-modesetting contains Xorg driver (modesetting_drv.so) but no xorg-abi- dependencies
...

In oe-core 87be2314fe0e67a616b4f713106b4ae46931f5cb, it fixed add_abi_depends
issue while enable multilib.

We did the same thing for qa check: package_qa_check_xorg_driver_abi.

[YOCTO #5545]

(From OE-Core rev: 3132d8b52eb05b03df4d4589f94cff38ab69b81d)

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>
10 years agobitbake.conf: Remove obsolete/unused MIRROR cruft
Phil Blundell [Thu, 14 Nov 2013 18:15:46 +0000 (18:15 +0000)]
bitbake.conf: Remove obsolete/unused MIRROR cruft

ADOBE_MIRROR, HANDHELDS_CVS and E_SVN were broken links and not used by
any recipe in oe-core.

FREEDESKTOP_CVS is no longer useful because all the source code that
matters is in git; no recipe in oe-core still uses the CVS repository.

E_MIRROR, FREEBSD_MIRROR, FREESMARTPHONE_GIT still point to valid-seeming
locations but there are no recipes in oe-core that use them.  Any layers
which need these variables can define them for themselves.

GPE_SVN, GPE_EXTRA_SVN, GPEPHONE_MIRROR and GPEPHONE_SVN are not used by
any recipe in oe-core and the corresponding projects seem to be mostly
dead upstream.  Again, any layers which still wish to use these variables
can define them locally.

All the above are just wasting space in bitbake's datastore and would be
better deleted.

(From OE-Core rev: 3b333896c71689c664475d53daed52404bf6b21b)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: explicitly disable xen support
Ming Liu [Wed, 13 Nov 2013 08:15:47 +0000 (16:15 +0800)]
qemu: explicitly disable xen support

We don't make use of xen and when building on Ubuntu 13.04 when
libxen-dev is installed on the build host you will get errors like the
following:

| /usr/include/x86_64-linux-gnu/bits/string3.h:81: warning: memset used with constant zero length parameter; this could be due to transposed parameters
| /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_alone_decoder@XZ_5.0'
| /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_code@XZ_5.0'
| /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_stream_decoder@XZ_5.0'
| /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libxenguest.so: undefined reference to `lzma_end@XZ_5.0'

This change disables xen for both -native and target packages but
since it is a PACKAGECONFIG a user could tune this to have xen support
in the target package.

(From OE-Core rev: fd638b975aac826d7137fd11db94b64ba82de592)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
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>
10 years agoinitscripts: add missing dmesg.sh to run-level S
Hans Beckerus [Fri, 15 Nov 2013 14:25:33 +0000 (15:25 +0100)]
initscripts: add missing dmesg.sh to run-level S

In commit faa8cc6c2a582a32c695f3f2b0d45b6892c769fd dmesg.sh was
added to the set of init.d scripts. But the script was never put
in any run-level. This patch will add dmesg.sh to run-level S.

(From OE-Core rev: 7d2767d4e27c6d0eaa56f3e126df56e65a5364c9)

Signed-off-by: Hans Beckerus <hans.beckerus AT gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel.bbclass: Use lzma not lzmash for decompressing
Phil Blundell [Fri, 15 Nov 2013 13:31:01 +0000 (13:31 +0000)]
kernel.bbclass: Use lzma not lzmash for decompressing

If kernel_do_compile() encounters a .lzma image for the initramfs, it
attempts to decompress it using the little-known "lzmash" utility.  This
may not be present, which will cause the build to fail.

Fortunately, it appears that the more mainstream "lzma" tool is
compatible so we can use that one instead.

(From OE-Core rev: f7a04cbdee67675ff6a8787709f3a312dc25bfec)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Fix packaging of pam config files.
Florin Sarbu [Fri, 15 Nov 2013 12:10:11 +0000 (14:10 +0200)]
systemd: Fix packaging of pam config files.

Removed early FILES_${PN} += for the pam config
files which would subesequently be overwritten by
a FILES_${PN} = .

(From OE-Core rev: e4cead9e97aecdc3d45910aca71eb1d9e9e9a2b6)

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoia32-base.inc: remove eee-acpi-scripts from MACHINE_EXTRA_RRECOMMENDS
Paul Eggleton [Fri, 15 Nov 2013 11:58:39 +0000 (11:58 +0000)]
ia32-base.inc: remove eee-acpi-scripts from MACHINE_EXTRA_RRECOMMENDS

We shouldn't bring this in unconditionally for all ia32 machines.

(From OE-Core rev: d573d424788d56c6fee02c1ee0cdeb96fe610b85)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicecc: Use bb.utils.which instead of calling which
Tobias Henkel [Fri, 15 Nov 2013 07:36:41 +0000 (08:36 +0100)]
icecc: Use bb.utils.which instead of calling which

The icecc class often calls 'which' for determining paths. This leads
to many messages on stderr in case 'which' doesn't find the
executable. Using bb.utils.which is more appropriate here and doesn't
pollute stderr.

(From OE-Core rev: 7ed7aa38182ce8c7300a08e3aefcc65da2b524a8)

Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistrodata.bbclass: Add fetch2 handlers to svn case in checkpkg
Irina Patru [Thu, 14 Nov 2013 08:54:19 +0000 (10:54 +0200)]
distrodata.bbclass: Add fetch2 handlers to svn case in checkpkg

The existing code in checkpkg from distrodata.bbclass had similar
functionality with fetch when searching for latest package version.

For packages that use svn protocol that part was rewrote in order
to use fetcher API.
It now calls latest_revision method from Svn class in fetch2 so
that it gets latest version.

[ YOCTO #1813 ]

(From OE-Core rev: 2686b92bbab88cc777fdc0e4dded5aeabca7ac77)

Signed-off-by: Irina Patru <irina.patru@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodbus: Don't depend on dbus-ptest-ptest for the nativesdk-dbus package
Dominik Holland [Thu, 14 Nov 2013 16:15:51 +0000 (17:15 +0100)]
dbus: Don't depend on dbus-ptest-ptest for the nativesdk-dbus package

I also changed RDEPENDS_class-native to RDEPENDS_dbus_class-native now

(From OE-Core rev: 2678e2ee7ec4de75a9e50a6a0d5f2b7f1b95aee8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoboost: Add patch to avoid undefined references to boost::atomic::lockpool::get_lock_for()
Phil Blundell [Thu, 14 Nov 2013 14:41:21 +0000 (14:41 +0000)]
boost: Add patch to avoid undefined references to boost::atomic::lockpool::get_lock_for()

Boost::thread uses functions from boost::atomic but doesn't actually
link with libboost_atomic.  This works fine on platforms where
BOOST_ATOMIC_FLAG_LOCK_FREE is true but will lead to undefined
symbol references otherwise.  Fix this by applying a patch from
the upstream bug tracker to add the missing library linkage.

(From OE-Core rev: 1ffc27173576589191b037d111ecb59d94631de0)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-modules: Update to 2.3.3 version
Otavio Salvador [Thu, 14 Nov 2013 17:43:49 +0000 (15:43 -0200)]
lttng-modules: Update to 2.3.3 version

This updates lttng-modules for 2.3.3 and it also fixes the build with
3.12 Linux kernel.

While on that, we also renamed the recipe file to follow the other
lttng recipes which use the version number on it.

(From OE-Core rev: 2d01bd48e689656bbe6189243d077f822092a14a)

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>
10 years agolttng-tools: Update to version 2.3.1
Paul Woegerer [Thu, 14 Nov 2013 12:34:34 +0000 (13:34 +0100)]
lttng-tools: Update to version 2.3.1

(From OE-Core rev: 7719162d69e71fa59faff81f5f94f23b9d6d056a)

Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-ust: Update to version 2.3.1
Paul Woegerer [Thu, 14 Nov 2013 12:34:33 +0000 (13:34 +0100)]
lttng-ust: Update to version 2.3.1

(From OE-Core rev: c471a63ecacf38752a64d0827d37f8a934319bed)

Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: Fix QA warnings about ALTERNATIVES
Lu Chong [Thu, 14 Nov 2013 02:47:58 +0000 (10:47 +0800)]
util-linux: Fix QA warnings about ALTERNATIVES

Previously, EXTRA_OECONF would be overwritten by EXTRA_OECONF_class-native
and EXTRA_OECONF_class-nativesdk.
As a result, some applications such as `last', `mesg' and `reset' didn't get
compiled.

The patch rewrote EXTRA_OECONF_class-native, EXTRA_OECONF_class-nativesdk
and EXTRA_OECONF variables to fix QA warnings.

usr/share/man/man1/last.1.util-linux does not exist
usr/share/man/man1/mesg.1.util-linux does not exist
usr/bin/last.util-linux does not exist
usr/bin/mesg.util-linux does not exist
bin/reset does not exist

(From OE-Core rev: 4cff0bd254667b145d765e1135f254c1916e2ee8)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
[YOCTO #5338]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: remove extra -dev/-dbg packages
Wenzong Fan [Thu, 14 Nov 2013 02:45:48 +0000 (21:45 -0500)]
udev: remove extra -dev/-dbg packages

We don't support multiple -dbg/-dev packages, the package can generate
them but the system does not correctly handle them. Just move all devel
stuffs into 'udev-dev' and all debug stuffs into 'udev-dbg'.

(From OE-Core rev: 014f7a33f399192268f28acac835551413c4768d)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu-helper-native: remove unneeded FILESEXTRAPATH
Saul Wold [Thu, 14 Nov 2013 18:22:03 +0000 (10:22 -0800)]
qemu-helper-native: remove unneeded FILESEXTRAPATH

(From OE-Core rev: a11a260f36aa1458c44a5b22e996252a5f3b2e4e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosquashfs-tools: remove FILESEXTRAPATH and move patches directory
Saul Wold [Thu, 14 Nov 2013 17:43:53 +0000 (09:43 -0800)]
squashfs-tools: remove FILESEXTRAPATH and move patches directory

(From OE-Core rev: 60375dd8d0a849a7a23badb0f195a662c93a4922)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcre: Cleanup FILESPATH
Saul Wold [Thu, 14 Nov 2013 17:20:19 +0000 (09:20 -0800)]
libpcre: Cleanup FILESPATH

Setting of the FILESPATH is not needed anymore, so clean it up.
Move files to libprce patch directory

(From OE-Core rev: 32b2e20e7f6484830bac0510414b1950abbc1a96)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub: add xz RDEPENDS
Ming Liu [Wed, 13 Nov 2013 08:19:21 +0000 (16:19 +0800)]
grub: add xz RDEPENDS

grub_2.0.0 requires xz to run or an error may occur.

(From OE-Core rev: ffa2877c06c587d4ea56c55bfd0f67a88e42a772)

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>
10 years agolib32-qt4-examples: fix QA warnings and INSANE_SKIP not work
Hongxu Jia [Wed, 13 Nov 2013 08:46:07 +0000 (16:46 +0800)]
lib32-qt4-examples: fix QA warnings and INSANE_SKIP not work

Fix the following warnings:
...
lib32-qt4-examples: found library in wrong location: /usr/bin/qt4/examples/tools/echoplugin/plugin/libechoplugin.so
lib32-qt4-examples: found library in wrong location: /usr/bin/qt4/examples/tools/plugandpaint/plugins/libpnp_extrafilters.so
...

In oe-core f119566477243ce43b727492dc78b9cb3dd76de4, it added INSANE_SKIP
libdir for examples packages as it includes plugin shared libraries outside
of libdir.

But it hardcoded ${QT_BASE_NAME} as INSANE_SKIP's package name
and it didn't work while multilib enabled.

Add ${MLPREFIX} as package name's prefix in INSANE_SKIP

[YOCTO #5516]

(From OE-Core rev: d63588ddd5a1f08fff90f5bb3f7278490e359720)

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>
10 years agoflex: fix m4 issue on target
Laurentiu Palcu [Wed, 6 Nov 2013 13:07:58 +0000 (15:07 +0200)]
flex: fix m4 issue on target

Flex needs m4 to run (see below) and, since the create_wrapper
introduces a bash dependency on target, give the path to m4 binary in
the configure command line.

Snippet from the flex documentation:
"The macro processor m4 must be installed wherever flex is installed.
<...>
m4 is only required at the time you run flex."

[YOCTO #5329]

(From OE-Core rev: 64030f37b34f75144f53eef42d5822ede79e08bd)

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>
10 years agoexpect: Add recipe
Mihaela Sendrea [Mon, 11 Nov 2013 09:23:53 +0000 (01:23 -0800)]
expect: Add recipe

Nedeed for gcc-runtime tests.

Fixed build on multilib and add patch to remove
!/depot/path/expect -f
which caused rpm to puke on rfs generation

(From OE-Core rev: 8f06d2975ed7d5db3828dc116c0df72d1161e8e5)

Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
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>
10 years agolibnl: Fix random segfaults due to memory corruption
Khem Raj [Tue, 12 Nov 2013 04:15:53 +0000 (20:15 -0800)]
libnl: Fix random segfaults due to memory corruption

This is a backport from upstream fixes a severe problem
w.r.t memory management, where it would result in random
segfaults in applications depending on libnl

(From OE-Core rev: 3c58ea10f90c657d34133d7244a550456bc93cf9)

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>
10 years agotcl: Install header into 8.6 instead of PN-PV in user/include
Khem Raj [Tue, 12 Nov 2013 04:07:15 +0000 (20:07 -0800)]
tcl: Install header into 8.6 instead of PN-PV in user/include

This helps in compiling other programs like expect which
depend on private headers but 8.5, 8.6 and so on is enough
granularity and currently we had 8.6.x and so on which
means that expect recipe will need to be touched whenever there
is minor update of tcl.

Additionally the encode creating symlink to shared object in
patch and remove it from recipe

Refresh patches after making changes to Configure.in we
propertly generate configure and not patch is directly as
was the case.

(From OE-Core rev: 67f44193135c789e478410347ff58ed110ed9484)

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>
10 years agomdadm: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64
Chunrong Guo [Tue, 12 Nov 2013 03:40:49 +0000 (11:40 +0800)]
mdadm: flag __SANE_USERSPACE_TYPES__ to include int-ll64.h for powerpc64

      *PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h
       prevents 64-bit userland from seeing this definition, instead defaulting
       to u64 == long in userspace.

      *fix the below error
       |super-ddf.c:4542:5: error: format '%llu' expects argument of type 'long long unsigned int',
       |but argument 5 has type '__u64' [-Werror=format=]
       |dprintf("BVD %u has %08x at %llu\n", 0,

(From OE-Core rev: d3caab6eb03264b4f4d744f914598022299011ba)

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernel-grub.bbclass: support /boot area within root partition
Hongxu Jia [Mon, 11 Nov 2013 11:56:54 +0000 (19:56 +0800)]
kernel-grub.bbclass: support /boot area within root partition

Previously, it supported the situation that /boot area with separate boot
partition:
...
menuentry "Update bzImage-3.10.10-WR6.0.0.0_standard-3.10" {
    set root=(hd0,1)
    linux /bzImage-3.10.10-WR6.0.0.0_standard root=/dev/sdb1 rw ip=dhcp
}
...

But didn't consider the situation that /boot within root partition:
...
menuentry "Update bzImage-3.10.10-WR6.0.0.0_standard-3.10" {
    set root=(hd0,1)
    linux /boot/bzImage-3.10.10-WR6.0.0.0_standard root=/dev/sdb1 rw ip=dhcp
}
...

This fix supported them both.
[YOCTO #5514]

(From OE-Core rev: 53d342db9f9995564573715f28c3e4c9c8c68bf9)

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>
10 years agosysvinit: fix problem in switching runlevels
Chen Qi [Mon, 11 Nov 2013 09:26:09 +0000 (17:26 +0800)]
sysvinit: fix problem in switching runlevels

Previously, if we switch to runlevel 1 and then switch back to runlevel
5, the network interface will be brought down and the NFS service will
not be restarted correctly.

The problem is that the networking and rpcbind services are brought down
in runlevel 1 but not brought up in runlevel 5.

This patch fixes the above problem. It's based on the assumption that
in sysvinit-based system, runlevel 1 does not have networking support.

This patch adjusts some init script parameters used by update-rc.d. It
makes sure that networking starts before rpcbind which in turn starts
before mountnfs.sh. When switching to runlevel 0, 1 and 6, the umountnfs.sh
is run first before stopping rpcbind service, and the network is brought
down afterwards.

[YOCTO #5513]

(From OE-Core rev: f12e1291b51ba6692b6809570d6a9b73c70a7fe9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcheck: upgrade to 0.9.11
Saul Wold [Sat, 9 Nov 2013 09:30:00 +0000 (11:30 +0200)]
libcheck: upgrade to 0.9.11

Both patches have been merged upstream.

(From OE-Core rev: 9982f9836f06b1a9282d657ee249eb08261518cb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>