scm/bb/tizen-distro.git
11 years agokmod: Add patch to fix seperate build dir of ptest
Saul Wold [Wed, 9 Oct 2013 22:35:46 +0000 (15:35 -0700)]
kmod: Add patch to fix seperate build dir of ptest

(From OE-Core rev: 68322eadd1d9456e606b375c2f4181725784c292)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxz: Add nativesdk for Python3 nativesdk dependency
Saul Wold [Wed, 9 Oct 2013 22:23:25 +0000 (15:23 -0700)]
xz: Add nativesdk for Python3 nativesdk dependency

(From OE-Core rev: 41a8c1f5fc0b4601af8b5b8b08f641668a39550d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysstat: upgrade to 10.1.7
Saul Wold [Sat, 14 Sep 2013 08:31:24 +0000 (08:31 +0000)]
sysstat: upgrade to 10.1.7

Remove patch that was backported and from verion we updated to

Also cleanup white space

(From OE-Core rev: 849fbd50a52f1aa0330b47993d38a0f7812977c7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: toaster: add Toaster UI interface
Alexandru DAMIAN [Thu, 26 Sep 2013 11:50:50 +0000 (12:50 +0100)]
bitbake: toaster: add Toaster UI interface

Adding a new bitbake UI interface named 'toasterui'.

'toasterui' listens for events and data coming from a
bitbake server during a run, and records it
in a data store using the Toaster object model.

Adds a helper class named BuildInfoHelper that
reconstructs the state of the bitbake server and
saves relevant data to the data store.

Code portions contributed by Calin Dragomir <calindragomir@gmail.com>.

(Bitbake rev: 62200ff6694b21fbd5abf009a6f47ad93adf5309)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: toaster: adding frameworks for the Simple UI
Alexandru DAMIAN [Thu, 26 Sep 2013 11:48:44 +0000 (12:48 +0100)]
bitbake: toaster: adding frameworks for the Simple UI

This commit adds the 3rd party frameworks used for the web UI.

jQuery is licensed under MIT.

Bootstrap is licensed under APACHE-2.0

(Bitbake rev: 8395e257fed030f0d9b24feba17ed99664f26b2b)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: toaster: add toaster code to bitbake
Alexandru DAMIAN [Fri, 11 Oct 2013 12:46:23 +0000 (13:46 +0100)]
bitbake: toaster: add toaster code to bitbake

This patch adds the Toaster component to Bitbake.

Toaster is a module designed to record the progress of a
Bitbake build, and data about the resultant artifacts.

It contains a web-based interface and a REST API allowing
post-facto inspection of the build process and artifacts.

Features present in this build:
* toaster start script
* relational data model
* Django boilerplate code
* the REST API
* the Simple UI web interface

This patch has all the development history squashed together.

Code portions contributed by Calin Dragomir <calindragomir@gmail.com>.

(Bitbake rev: d24334a5e83d09b3ab227af485971bb768bf5412)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: utils: Don't show stack traces for BBHandledException
Richard Purdie [Thu, 17 Oct 2013 10:48:09 +0000 (10:48 +0000)]
bitbake: utils: Don't show stack traces for BBHandledException

A BBHandledException means we already showed an error to the user so
we shouldn't show a stack trace as this just confuses things further.

(Bitbake rev: 8a8bafc8ded98364a31878b23c64503a53affcd1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoupdate-rcd.bbclass: fix host/target test
Ross Burton [Wed, 16 Oct 2013 13:07:51 +0000 (14:07 +0100)]
update-rcd.bbclass: fix host/target test

"update-rc: Stop and remove service if updating package" (oe-core d91b08) had a
bug in it's implementation of a "host or target" test which always resulted in
"target", so the rootfs scripts were attempting to restart daemons on the host.

(From OE-Core rev: 2b179d90eacc58f0b217f64407782a9174362850)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-2.0: fix build on Aarch64
Riku Voipio [Tue, 15 Oct 2013 11:51:05 +0000 (14:51 +0300)]
glib-2.0: fix build on Aarch64

Backported patch from upstream

(From OE-Core rev: 3a6032a422f1dfcd72995cad9cbe3638edb94cab)

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocross-canadian: Fix SHLIBSDIR when using multilib
Richard Purdie [Tue, 15 Oct 2013 13:40:35 +0000 (14:40 +0100)]
cross-canadian: Fix SHLIBSDIR when using multilib

Both nativesdk and multilib use MLPREFIX for their partciular purposes. When
we have both set, cross-canadian can confuse SHLIBSDIR. This forces the
variable to the correct value for cross-canadian, fixing toolchains in
multilib builds.

[YOCTO #5333]

(From OE-Core rev: 0633b93086a7de7226f4dc6ca403ee116bc58669)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonativesdk: Fix pn check
Richard Purdie [Tue, 15 Oct 2013 13:39:55 +0000 (14:39 +0100)]
nativesdk: Fix pn check

There are missing brackets in the check meaning MLPREFIX doesn't
get set for nativesdk-qemu-helper when it should be.

(From OE-Core rev: 5011f4bc8a418d0616d2936b60ecb7ca156632a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowic: Check for external modules
Darren Hart [Tue, 15 Oct 2013 21:46:24 +0000 (14:46 -0700)]
wic: Check for external modules

Since eight unique files import rpm, perform a check at the top level
for the existence of the rpm module print a sensible error message if it
is not. This may be able to be removed if some of the core rpm
dependencies are removed from the mic libs.

Also check for urlgrabber.

This avoids a bracktrace in the event the modules are not installed
which can be very off-putting to would-be users.

(From OE-Core rev: b11bfadba20c1f39a63e396e605a8316c2ed2a94)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowic: Force lba off for FAT16 partitions
Darren Hart [Tue, 15 Oct 2013 21:46:23 +0000 (14:46 -0700)]
wic: Force lba off for FAT16 partitions

If fat16 is specified to the mkpart parted command, parted will
default to setting the lba flag which causes certain EFI firmware
to fail to detect the filesystem. lba shouldn't be necessary for
FAT16 filesystems anyway, explicitly disable it.

(From OE-Core rev: 30442d432e203e655b7d40b93f7307f475de1614)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: Add depmod (adds 2240 bytes)
Saul Wold [Wed, 16 Oct 2013 02:51:30 +0000 (19:51 -0700)]
busybox: Add depmod (adds 2240 bytes)

This will allow packages that update kernel modules to run correctly

(From OE-Core rev: 72c23255cc88b5e2cd6f783231e6f42bf5190df7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowic: check passed-in build artifact directories
Tom Zanussi [Wed, 16 Oct 2013 05:14:30 +0000 (00:14 -0500)]
wic: check passed-in build artifact directories

Make sure they exist - complain if they don't.

(From OE-Core rev: 24a585e3fd0ea0166991a6aa834bba15bcd8295d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowic: check for build artifacts
Tom Zanussi [Wed, 16 Oct 2013 05:14:29 +0000 (00:14 -0500)]
wic: check for build artifacts

wic needs to be given one form of build artifacts or another -
complain if the user doesn't do that.

(From OE-Core rev: 9116a17efd42447f276000927d0c2ea63776865b)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: add WARN_QA and ERROR_QA to the hash whitelist
Ross Burton [Wed, 16 Oct 2013 12:18:53 +0000 (13:18 +0100)]
bitbake.conf: add WARN_QA and ERROR_QA to the hash whitelist

I discovered bitbake rebuilding packages because WARN_QA had changed. These
variables don't influence the output, so add them to the whitelist.

(From OE-Core rev: 96204ae6e1b19783d6a3f8c590890714eaa9e2d9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: bitbake: bb: Drop deprecated functions
Richard Purdie [Sat, 14 Sep 2013 17:03:48 +0000 (17:03 +0000)]
bitbake: bitbake: bitbake: bb: Drop deprecated functions

These functions in the main bb module have long been deprecated
and moved to other modules. Finally remove the compatibility links.

(Bitbake rev: ccd181c3ed4852e2b9169cf19aaf18aeacddcc18)

(Bitbake rev: d7f817518c5df2524a4bcf008ba63c71a8eb48bb)

(Bitbake rev: 89b31a4fb44f2c2ad0bb4210151652cd3730418d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: siggen: handle recipe path changes in siginfo files
Paul Eggleton [Tue, 8 Oct 2013 14:34:32 +0000 (15:34 +0100)]
bitbake: siggen: handle recipe path changes in siginfo files

Avoid storing paths to files in SRC_URI when writing out the the
file checksums to siginfo files. This prevents a move of the source
directory being reported by bitbake-diffsigs as files being removed and
then added (the signature itself is not affected since the file paths
have never been included in the signature).

This has required the format of the file checksums in the siginfo file
to be changed from a dict to a list of tuples (in order to handle
multiple files with the same name under different paths, which is
uncommon but possible); the code remains backwards-compatible with older
siginfo files that use a dict however.

Fixes [YOCTO #5245].

(Bitbake rev: e4d3077c5b0cc57964640512f3646c2d73c1d855)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: Hob should ask for ports only when Manual proxy is selected
Cristiana Voicu [Tue, 8 Oct 2013 10:58:25 +0000 (13:58 +0300)]
bitbake: hob: Hob should ask for ports only when Manual proxy is selected

[YOCTO #5307]
(Bitbake rev: 09b3e4e1e3fac737ea4069457e8bbffe1a4fe09d)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker/command: Add error state for the server and use for pre_serve errors
Richard Purdie [Sun, 6 Oct 2013 12:42:39 +0000 (13:42 +0100)]
bitbake: cooker/command: Add error state for the server and use for pre_serve errors

Currently if errors occur when starting the PR service, there is a race that
occurs since the UI runs various commands including starting builds before
processing the CookerExit(). By adding the error state and refusing to run
async commands in this mode, builds are prevented from starting and the
UI reaches the exit code with the system shutting down cleanly.

(Bitbake rev: 42fa34142ea685f91115a551e74416ca28ef1c91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: Update post 1.20 to development version
Richard Purdie [Mon, 14 Oct 2013 15:58:46 +0000 (16:58 +0100)]
bitbake: bitbake: Update post 1.20 to development version

(Bitbake rev: 03d051b6da52ec4ee26f97aa9038622f8d87e55d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses: add aarch64_be target
Victor Kamensky [Thu, 10 Oct 2013 10:16:51 +0000 (12:16 +0200)]
classes: add aarch64_be target

Add big endian ARMv8 target to OE infrastructure

(From OE-Core rev: 570ae1afecc88b12a11e62a4341069c125d18403)

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibarchive: Add -native version needed for pixz
Richard Purdie [Thu, 26 Sep 2013 17:00:39 +0000 (17:00 +0000)]
libarchive: Add -native version needed for pixz

(From OE-Core rev: 7c4f4231dfeb5d7599f18e4b2fbb5a8a6427c01a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-networking: upgrade to 2.38.0 and PACKAGECONFIGise
Ross Burton [Tue, 8 Oct 2013 16:17:54 +0000 (17:17 +0100)]
glib-networking: upgrade to 2.38.0 and PACKAGECONFIGise

Use PACKAGECONFIG to add options for ca-certificates, gnutls, and libproxy.

Enable ca-certificates by default as all it needs to know is the right path,
ca-certificates not being installed isn't fatal.

(From OE-Core rev: 1f03b6aa9e475f341815788613513ff63add8a5f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautomake: update to upstream version 1.13.4
Marko Lindqvist [Wed, 9 Oct 2013 23:29:53 +0000 (02:29 +0300)]
automake: update to upstream version 1.13.4

prefer-cpio-over-pax-for-ustar-archives.patch updated to apply

(From OE-Core rev: fa026cd7bf05fcc447433c1cc073b290db7d77fa)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautomake: unhardcode version number
Marko Lindqvist [Wed, 9 Oct 2013 23:29:52 +0000 (02:29 +0300)]
automake: unhardcode version number

Use trim_version to get version part of the executable name.

(From OE-Core rev: af0f93059510fb4ccbe7b1497bda8dd8370245a5)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokconfig-frontends: Update to 3.11.0.0
Saul Wold [Mon, 7 Oct 2013 18:26:08 +0000 (18:26 +0000)]
kconfig-frontends: Update to 3.11.0.0

(From OE-Core rev: 58830afb94e858aa06313b0855c34ca1466a2a6d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosqlite3: update to 3.8.0.2
Saul Wold [Mon, 7 Oct 2013 16:23:56 +0000 (16:23 +0000)]
sqlite3: update to 3.8.0.2

(From OE-Core rev: 7ef9ebdc332e23ed27848cad998f0cb6e6601f99)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpng: Update to 1.6.6
Saul Wold [Mon, 7 Oct 2013 18:25:45 +0000 (18:25 +0000)]
libpng: Update to 1.6.6

License Checksum changed due to date updates in files and lines moving.

(From OE-Core rev: f2065a3388cdbb4586bf5a808455a011b557de11)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolsbinitscripts: Update to 9.50
Saul Wold [Mon, 7 Oct 2013 18:25:27 +0000 (18:25 +0000)]
lsbinitscripts: Update to 9.50

(From OE-Core rev: 06af5c562251f3b7c6dff2436095222dfac9300c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotzdata: Update to 2013g
Saul Wold [Mon, 7 Oct 2013 18:24:53 +0000 (18:24 +0000)]
tzdata: Update to 2013g

Add the README to LIC_FILES_CHKSUM and update LICESE since it now
mentions that some files are licensed under BSD

(From OE-Core rev: b1b02835b30e44cd923c57ac5a77de8fc1e0e474)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotzcode: Update to 2013g
Saul Wold [Mon, 7 Oct 2013 18:24:29 +0000 (18:24 +0000)]
tzcode: Update to 2013g

The updated README now mentions that some files are derived from BSD,
so update the LICENSE to be PD & BSD.

(From OE-Core rev: 063f67f5ecbe6edc226e1a25b5b8387881592c34)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofile: Update to 5.15
Saul Wold [Mon, 7 Oct 2013 18:24:08 +0000 (18:24 +0000)]
file: Update to 5.15

(From OE-Core rev: bb19c6c88abcfb0cb2c6279dc2b0e4f348e34a9e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-macros: upgrade to 1.17.1
Saul Wold [Sat, 14 Sep 2013 06:36:45 +0000 (06:36 +0000)]
util-macros: upgrade to 1.17.1

(From OE-Core rev: ab26a1d5854e3b76919907332802c88e46cbb7e8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorsync: upgrade to 3.1.0
Saul Wold [Sat, 5 Oct 2013 11:37:48 +0000 (11:37 +0000)]
rsync: upgrade to 3.1.0

(From OE-Core rev: d889135b40ab5cb113d454207201b98f8e598173)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoman-pages: upgrade to 3.54
Saul Wold [Sat, 21 Sep 2013 11:11:52 +0000 (11:11 +0000)]
man-pages: upgrade to 3.54

(From OE-Core rev: f6cda544452b6a495c84bcc42cec9c03e6102661)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibbsd: upgrade to 0.6.0
Saul Wold [Sat, 5 Oct 2013 11:18:30 +0000 (11:18 +0000)]
libbsd: upgrade to 0.6.0

(From OE-Core rev: c9b52f8b0706f4eaa60fc46b98cf4617657e5cf3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodesktop-file-utils-native: upgrade to 0.22
Saul Wold [Sat, 31 Aug 2013 10:10:40 +0000 (10:10 +0000)]
desktop-file-utils-native: upgrade to 0.22

(From OE-Core rev: e969c626359a42ea7967847e194fa86b2ceff93c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocups: upgrade to 1.6.4
Saul Wold [Sat, 28 Sep 2013 08:45:32 +0000 (08:45 +0000)]
cups: upgrade to 1.6.4

(From OE-Core rev: b92d1d9bf3fbfd92d0baec7939e06505eaf45f09)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoat-spi2-gtk: upgrade to 2.10.0
Ross Burton [Mon, 7 Oct 2013 17:49:10 +0000 (17:49 +0000)]
at-spi2-gtk: upgrade to 2.10.0

(From OE-Core rev: 53b2c9e3a0a3b355c785299f9699dff70f81fd9b)

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 agoat-spi2-core: upgrade to 2.10.0.
Ross Burton [Mon, 7 Oct 2013 17:49:09 +0000 (17:49 +0000)]
at-spi2-core: upgrade to 2.10.0.

(From OE-Core rev: d88fa648ac264a593a8d09998302f4e151957437)

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 agoatk: upgrade to 2.10.0.
Ross Burton [Mon, 7 Oct 2013 17:49:08 +0000 (17:49 +0000)]
atk: upgrade to 2.10.0.

(From OE-Core rev: 3f2ee8853f4713cc8c068e81722d6c60ada53e1d)

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 agoglib-2.0: upgrade to 2.28.0
Ross Burton [Mon, 7 Oct 2013 17:49:07 +0000 (17:49 +0000)]
glib-2.0: upgrade to 2.28.0

Drop the ptest patches and instead use --enable-installed-tests, updating
run-ptest to invoke gnome-desktop-testing-runner.

Drop the x32 build patch, upstream has integrated a similar fix.

(From OE-Core rev: 33bb8d5da050519043bb913bae4f5692bbd899ad)

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 agognome-desktop-testing: add
Ross Burton [Mon, 7 Oct 2013 17:49:06 +0000 (17:49 +0000)]
gnome-desktop-testing: add

gnome-desktop-testing is a test runner for GNOME-style Installed Tests, and will
be used by run-ptest to execute these unit test suites.

(From OE-Core rev: 4657b9a35e276b0891729d43f33db49ee5e3ae7d)

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 agoxf86-video-vesa: upgrade to 2.3.3
Ross Burton [Mon, 7 Oct 2013 11:49:09 +0000 (11:49 +0000)]
xf86-video-vesa: upgrade to 2.3.3

Drop Remove-mibstore.h.patch as that was a backport from git and is integrated
into 2.3.3.

(From OE-Core rev: cce5f8ea5ecf87c506be1c5e21d5058fbe953143)

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 agolibxpm: upgrade to 3.5.11
Ross Burton [Mon, 7 Oct 2013 11:49:08 +0000 (11:49 +0000)]
libxpm: upgrade to 3.5.11

License checksum changed as a typo was fixed upstream.

(From OE-Core rev: e7c3969b37f5ddbd83c1956f72a4cfb4d1060b66)

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 agolibxmu: upgrade to 1.1.2
Ross Burton [Mon, 7 Oct 2013 11:49:07 +0000 (11:49 +0000)]
libxmu: upgrade to 1.1.2

License checksum changed as some missing copyright notices and dates were added.

(From OE-Core rev: 2516c3a84c7ab146937ff85dbe03df841aec3906)

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 agolibsm: upgrade to 1.2.2
Ross Burton [Mon, 7 Oct 2013 11:49:06 +0000 (11:49 +0000)]
libsm: upgrade to 1.2.2

(From OE-Core rev: 688e9a9f650fc14991dd62b6d537a02700c4095f)

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 agoltp: update to new release 20130904
Anders Roxell [Mon, 9 Sep 2013 10:17:26 +0000 (10:17 +0000)]
ltp: update to new release 20130904

(From OE-Core rev: 5d6ef973fe101bb3547a14452ded79536d9d2582)

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: Upgrade to v1.18
Muhammad Shakeel [Fri, 20 Sep 2013 13:52:12 +0000 (18:52 +0500)]
connman: Upgrade to v1.18

This release contains a few important bugfixes in addition
to a few new features.

(From OE-Core rev: e69442ebca53fe36988fcf76a9c3a4cc5e3d9499)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosqlite3: update to version 3.8.0.1
Maxin B. John [Mon, 2 Sep 2013 11:36:10 +0000 (13:36 +0200)]
sqlite3: update to version 3.8.0.1

Upgrade to latest version 3.8.0.1

(From OE-Core rev: b08de5ea62e34ac697a2911cf47b0eed42f1d7c0)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane: configure option checking
Ross Burton [Tue, 8 Oct 2013 14:30:05 +0000 (14:30 +0000)]
insane: configure option checking

(From OE-Core rev: 1b51688d2ea5174334cc8a8a559461b2c4a15a77)

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 agoimage types: split live into iso and hddimg
Valentin Popa [Fri, 27 Sep 2013 12:34:24 +0000 (15:34 +0300)]
image types: split live into iso and hddimg

Changes to split live into iso and hddimg without
adding a new image type class.
This patch has only a visible effect on HOB and solves
part 2 of #3197

[YOCTO #3197]

(From OE-Core rev: f05ae5f57d9d1bd839fae0e3f353d4e0e303a183)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel: restore scripts in the sysroot
Bruce Ashfield [Tue, 8 Oct 2013 21:12:54 +0000 (17:12 -0400)]
kernel: restore scripts in the sysroot

When building against the sysroot, out of tree modules can require modpost
and other utilities normally found in the kernel's scripts directory. For
the kernel source in the staging dir, these scripts have been removed to
avoid mixing archiectures when packaging kernel-dev (among other things).

Rather than further complicate the kernel's install rule, or its packaging,
we can restore the scripts by building them in the kernel staging directory
after the sstate is installed, making them available to packages that need them.

(From OE-Core rev: 5bcd65807aa634060f98928db6011856934dabe4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxt: remove unused configure option
Ross Burton [Tue, 8 Oct 2013 14:13:23 +0000 (14:13 +0000)]
libxt: remove unused configure option

--disable-install-makestrs was removed in 1.0.8, released back in 2010.

(From OE-Core rev: b972a047ede781b9e0570c55e803245e405e529b)

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 agopango: fix x11 DISTRO_FEATURE check
Ross Burton [Tue, 8 Oct 2013 14:13:22 +0000 (14:13 +0000)]
pango: fix x11 DISTRO_FEATURE check

--without-x was removed in 1.32.0, so the correct option is now --without-xft.

Also remove --disable-glibtest, as configure.ac doesn't invoke that test.

(From OE-Core rev: e806f4ff404515f38318b6fed7d2b614c2138da6)

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 agolibmatchbox: remove unused configure options
Ross Burton [Tue, 8 Oct 2013 14:13:21 +0000 (14:13 +0000)]
libmatchbox: remove unused configure options

These options appear to have never existed in libmatchbox, remove them.

(From OE-Core rev: e8853d58db75a1e1453f2d517fb533f086c2dab2)

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 agogtk+: remove unused configure options
Ross Burton [Tue, 8 Oct 2013 14:13:20 +0000 (14:13 +0000)]
gtk+: remove unused configure options

--without-libjasper and --without-libtiff were removed when GTK+ and gdk-pixbuf
separated, in 2.22.0

(From OE-Core rev: d7aa6bf8d7702736e2bd81442ddef98869f40eae)

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 agoupdate-rc: Stop and remove service if updating package
Felipe F. Tonello [Thu, 3 Oct 2013 21:42:00 +0000 (14:42 -0700)]
update-rc: Stop and remove service if updating package

Since when updating packages packages managers do not remove the previous package,
it just replaces new files and run pre/post install scripts. This causes not
to update update-rc scripts if they were changed.

This patch is useful in case the newer package version updated the update-rc
script.

(From OE-Core rev: d91b08f3a27baa49ae35dc20dba1b2d76e6abd64)

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: add upstream QTBUG-31579 patch for QPainter regression
Jonathan Liu [Wed, 9 Oct 2013 13:21:46 +0000 (13:21 +0000)]
qt4: add upstream QTBUG-31579 patch for QPainter regression

(From OE-Core rev: a5afc67cbfc32beb3be10392bf9788cfc3610ab1)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: Remove obsolete configurations from EXTRA_OECONF
Muhammad Shakeel [Fri, 20 Sep 2013 13:52:13 +0000 (18:52 +0500)]
connman: Remove obsolete configurations from EXTRA_OECONF

--enable-threads and --enable-fake are obsolete, unrecognized options
for connman now.

(From OE-Core rev: f93ac05acafb9ebf4fa4f35e4f1b7780d3d8a5e9)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoseparatebuilddir: remove entries for imake and xorg-cf-files
Cristiana Voicu [Tue, 8 Oct 2013 09:14:55 +0000 (09:14 +0000)]
separatebuilddir: remove entries for imake and xorg-cf-files

Imake and the associated xorg-cf-files recipes were removed.

(From OE-Core rev: d4e627b846f5b0f435748e9403cb51b553271047)

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>
11 years agoxorg-lib-common: fix malloc0returnsnull usage
Ross Burton [Tue, 8 Oct 2013 11:23:32 +0000 (11:23 +0000)]
xorg-lib-common: fix malloc0returnsnull usage

Xorg libraries that use Xmalloc need to know if malloc(0) returns NULL or not,
and as this is a runtime test it can't be checked for.  Previously
xorg-lib-common declared that malloc(0) did return NULL, but this isn't true for
eglibc (only uclibc).

Instead, use libc-specific overrides to pass the relevant option.

(ideally the check would use the autoconf cache so this can be stored in the site files)

(From OE-Core rev: e628c8aba0189de30de2833882b9999ff3b6547a)

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 agolibav: Add libswscale to PACKAGES_DYNAMIC
Diego Rondini [Tue, 8 Oct 2013 11:20:39 +0000 (11:20 +0000)]
libav: Add libswscale to PACKAGES_DYNAMIC

Add libswscale to PACKAGES_DYNAMIC because it was missing. Adding it also allows libswscale to get included in an image using IMAGE_INSTALL.

(From OE-Core rev: b57e7fa8b35cfcf9af6ca72d51bdf67e49254ac2)

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysvinit-inittab: Fix getting tty device name from SERIAL_CONSOLES entries
Muhammad Shakeel [Mon, 7 Oct 2013 15:05:04 +0000 (15:05 +0000)]
sysvinit-inittab: Fix getting tty device name from SERIAL_CONSOLES entries

Currently the part after "tty" in the device name go into label along with
everything after that part. For example if SERIAL_CONSOLES="115200;vt100;ttyS0"
than label=S0 but if SERIAL_CONSOLES="115200;ttyS0;vt100" than label=S0;vt100.
If SERIAL_CONSOLES="..;ttyX;..", part after 'X' should also be trimmed.

(From OE-Core rev: b00b9ae5693e04cacd0843c12a529e7f3dc501ed)

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokmod-native: use bswap to work on older Linux hosts
Ting Liu [Tue, 10 Sep 2013 06:00:20 +0000 (06:00 +0000)]
kmod-native: use bswap to work on older Linux hosts

We can't use htobe* and be*toh functions because they are not
available on older versions of glibc, For example, shipped on Centos 5.5.

Change to directly calling bswap_* as defined in byteswap.h.

(From OE-Core rev: 63edb6b9a8bdf2f5541edd618f2f598185e37223)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Remove double slash from PATH_prepend and PKG_CONFIG_DIR
Martin Jansa [Sun, 6 Oct 2013 13:01:33 +0000 (15:01 +0200)]
bitbake.conf: Remove double slash from PATH_prepend and PKG_CONFIG_DIR

* we correctly have
  ${STAGING_DIR_NATIVE}${base_sbindir_native}
  and then double slash in
  ${STAGING_DIR_NATIVE}/${base_bindir_native}
* similar in PKG_CONFIG_DIR where libdir also starts with slash
  ${STAGING_DIR_HOST}/${libdir}/pkgconfig
* also fix double slash in insane.bbclass and staging.bbclass
* I was a bit nervous about staging change (in case the / was important
  in some weird use-case, but the extra slash is there since following
  commit where other extra slashes were removed only the one before
  libdir was kept:

  commit 6ea78d648951e5bbe9669412c0863daaf7f49ca5
  Author: Richard Purdie <rpurdie@linux.intel.com>
  Date:   Mon Nov 2 17:10:51 2009 +0000

  autotools.bbclass: Separate out useful staging functions into
                     base.bbclass and call from autotools classes
* this isn't fixing any real-world issue AFAIK, I was just trying to
  debug one weird case where debugedit fails with
  canonicalization unexpectedly shrank by one character
  and it's easier to grep for '//' without many harmless instances
  already in run* scripts etc

(From OE-Core rev: 0ddaf52e9e344986ae2b016cc068d9eee71b4347)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodevice_table-minimal.txt: change group of /dev/hda back to disk
Chen Qi [Wed, 9 Oct 2013 09:57:35 +0000 (09:57 +0000)]
device_table-minimal.txt: change group of /dev/hda back to disk

The group for /dev/hda should be disk instead of root.
The group ID for /dev/hda was 6, but it was modified to be root by
accident in the following commit.

 commit c5ef0294a9b8d178896a47c9f5d6e3dd6797e343
     device_table-minimal.txt: use user/group names instead of uid/gid

This patch changes it back.

(From OE-Core rev: 5c5db302400894c2bb1f4052d0f120738589c128)

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>
11 years agoclasses/package: handle filenames containing wildcards
Paul Eggleton [Thu, 3 Oct 2013 16:02:48 +0000 (17:02 +0100)]
classes/package: handle filenames containing wildcards

It is uncommon, but it is possible for upstream sources to contain files
that have wildcard characters in their names (Webmin is an example).
Because we were running glob.glob() on every entry in the list of
entries in FILES and then adding the result to the files list to be
processed, the process would loop infinitely if files whose names
contained wildcard characters were present. Fix this by avoiding
re-processing the output of glob.glob() with itself, and also "escape"
wildcard characters in FILES entries added automatically from
do_split_packages().

Fixes [YOCTO #1676].

(From OE-Core rev: 1aa3fbb547b0e21455f0dcc9b72ded08dc0efd67)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: unset LDFLAGS when run devshell in kernel recipe
Nobuhiro Iwamatsu [Fri, 20 Sep 2013 05:45:46 +0000 (14:45 +0900)]
kernel.bbclass: unset LDFLAGS when run devshell in kernel recipe

When user runs devshell in kernel recipe and compiles kernel,
this will fail by unrecognized option of LD.

----
$ make
...
arm-poky-linux-gnueabi-ld: unrecognized option '-Wl,-O1'
arm-poky-linux-gnueabi-ld: use the --help option for usage information
----

This set to empty LDFLAGS when user runs the devshell, and solve this problem.

(From OE-Core rev: e36ac3ab3a7fe02c7eeb3998ff33c001ab795841)

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotelepathy-mission-control: Add PACKAGECONFIG for upower and connectivity
Martin Jansa [Sat, 5 Oct 2013 12:23:04 +0000 (14:23 +0200)]
telepathy-mission-control: Add PACKAGECONFIG for upower and connectivity

(From OE-Core rev: 8268ce9997e77a4ef6aa990ca7566cf3ed14c746)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomatchbox-wm: Add dependency on libxfixes and libxcursor
Martin Jansa [Sat, 5 Oct 2013 12:23:03 +0000 (14:23 +0200)]
matchbox-wm: Add dependency on libxfixes and libxcursor

(From OE-Core rev: f0eb614f189c9ef22442b5265147d1f2392e7f72)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouboot-config.bbclass: Raise an error for unknown configs
Otavio Salvador [Fri, 11 Oct 2013 15:59:35 +0000 (12:59 -0300)]
uboot-config.bbclass: Raise an error for unknown configs

When passing the wrong value for UBOOT_CONFIG it ought to raise an
error otherwise it is quite difficult for user to notice it didn't
behave as expected.

Reported-by: Lauren Post <lauren.post@freescale.com>
(From OE-Core rev: 5110dc988e3b8a1ce8b2309e4ddf17abb3f1cb0c)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.10: integrate lxc kernel feature and 32 bit x86 config
Bruce Ashfield [Tue, 8 Oct 2013 21:04:15 +0000 (17:04 -0400)]
linux-yocto/3.10: integrate lxc kernel feature and 32 bit x86 config

Updating the meta branch SRCREV to incorporate the two following
configuration changes:

  452f067 lxc: Add lxc kernel config
  a249eba x86_32: Enable X86_32 and disable 64BIT explicitly

(From OE-Core rev: 64d4c508652bc5d8a0b4c01f0d0813e58d6b39a6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.10: boot-live.cfg: Add CONFIG_ZISO=y
Bruce Ashfield [Tue, 8 Oct 2013 21:04:14 +0000 (17:04 -0400)]
linux-yocto/3.10: boot-live.cfg: Add CONFIG_ZISO=y

Updating the meta branch SRCREV with the following commit:

[
    The oe-core live class now fully support compressed ISO images this is
    the corresponding kernel change.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
]

(From OE-Core rev: af2ef5085e92ca6291dabb134a7a3fb194a21d7a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.8: re-use common-pc-64 for hasswell-wc
Bruce Ashfield [Tue, 8 Oct 2013 21:04:13 +0000 (17:04 -0400)]
linux-yocto/3.8: re-use common-pc-64 for hasswell-wc

Updating the meta branch SRCREV with the following commit:

[
    meta-haswell-wc: update bsp scc to use linux-yocto-3.8 standard/common-pc-64/base branch

    Remove "branch haswell-wc" from haswell-wc-standard.scc
    so that "haswell-wc" BSP uses standard/common-pc-64/base branch
    on linux-yocto-3.8 repo.

Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
]

(From OE-Core rev: 978c77cae12f69e05ad97c6edd03d292098fff88)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutils.bbclass: Fix override ordering for FILESPATH
Richard Purdie [Mon, 7 Oct 2013 11:20:07 +0000 (11:20 +0000)]
utils.bbclass: Fix override ordering for FILESPATH

Currently the overrides are being applied backwards. This means something which is
platform specific is overriding something which is machine specific which
is clearly not intended.

This patch corrects the ordering to match the normal expected behaviour of
OVERRIDES.

Secondly, all overrides are being searched for each path in turn. What should
really happen is that we should look for the highest priority override (e.g. distro
or machine) in each layer, then move on to platform/tune (e.g. armv7a) and
then to arch (e.g. arm). This patch therefore also reverses the for loops
to achieve this behaviour and give the result the user would expect.

(From OE-Core rev: 92cbf7eeea553bfa24c7081473fa8bc4ebc1f552)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoalsa-state: Rename init script
Richard Purdie [Mon, 7 Oct 2013 11:42:46 +0000 (11:42 +0000)]
alsa-state: Rename init script

Having a SRC_URI called ${PN} is asking for trouble. When extending FILESPATH,
alsa-state can be treated as a directory and copied over the contents of ${WORKDIR}
which is invariably not what the user wants.

Avoid this by renaming the SRC_URI to something else and only call
it alsa-state at install time.

(From OE-Core rev: 04c73333e4b539de96f096ca2954b2313175edc4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc: Fix strange C++ repo issues
Richard Purdie [Wed, 9 Oct 2013 20:37:49 +0000 (20:37 +0000)]
gcc: Fix strange C++ repo issues

(From OE-Core rev: 9f6c4edf40963d1f3fb9f7e2d2b7a866aa1afe57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel-yocto: Add a missing '['
Peter Kjellerstedt [Thu, 10 Oct 2013 08:52:06 +0000 (10:52 +0200)]
kernel-yocto: Add a missing '['

(From OE-Core rev: 68a7d9f0e19ed577854a04610efc902062a369a8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouboot-config.bbclass: Fix use without IMAGE_FSTYPES appending
Otavio Salvador [Mon, 7 Oct 2013 15:15:16 +0000 (12:15 -0300)]
uboot-config.bbclass: Fix use without IMAGE_FSTYPES appending

Before checking if the image is a valid value, we need to check if the
list of items is big enough or we will raise an exception.

Reported-by: Lauren Post <lauren.post@freescale.com>
(From OE-Core rev: b833837cac377e7c1c3ff18531b152340b669329)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oe/path: Fix copytree functions for tar 1.27
Richard Purdie [Fri, 11 Oct 2013 22:02:27 +0000 (23:02 +0100)]
lib/oe/path: Fix copytree functions for tar 1.27

tar version 1.27 returns:

tar: --same-order option cannot be used with -c

with the commandlines we have been using. We can remove the -s option (which
is --same-order) to remove the error.

(From OE-Core rev: 69c26e795c117aabfaf313abbfd10e70ede633d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses: tar 1.27 fixes
Richard Purdie [Fri, 11 Oct 2013 22:01:54 +0000 (23:01 +0100)]
classes: tar 1.27 fixes

tar version 1.27 returns:

tar: --same-order option cannot be used with -c

with the commandlines we have been using. We can remove the -s option (which
is --same-order) to remove the error.

(From OE-Core rev: 3d5a6d0a480a0fa98260a3b3ffc71b8d9e3e58af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance: Update SRCREV for release
Richard Purdie [Fri, 11 Oct 2013 22:12:32 +0000 (23:12 +0100)]
build-appliance: Update SRCREV for release

(From OE-Core rev: bfea7c67dfbcb5f7bcd088c3a2ef99ed70951207)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotoolchain-scripts: Fix TARGET_SYS reference
Richard Purdie [Fri, 11 Oct 2013 22:03:02 +0000 (23:03 +0100)]
toolchain-scripts: Fix TARGET_SYS reference

There was a fix missing from a previous commit:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=20a86e16bc54b74fbdb2a3a407d54210ea262925

since there was another section of toolchain-scripts needing updating.
This patch fixes the missing reference and unbreaks the ADT toolchain.

[YOCTO #5340]

(From OE-Core rev: e1b8b4859f00b40fb941a07a394ed35e06541663)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance: Update SRCREV for release
Richard Purdie [Tue, 8 Oct 2013 15:33:25 +0000 (16:33 +0100)]
build-appliance: Update SRCREV for release

(From OE-Core rev: 1149b1fef8912f77d971242dfec151fff5a3aa51)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: change tooltip for live images
Cristiana Voicu [Mon, 7 Oct 2013 15:21:46 +0000 (18:21 +0300)]
bitbake: hob: change tooltip for live images

This change is needed to inform the user that selecting
live type means that the system will build a hddimg and iso
image.

(Bitbake rev: 5051f59976de4e099bb434aeea414de5a67a069f)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: replace comment added in conf files
Cristiana Voicu [Mon, 7 Oct 2013 11:28:55 +0000 (14:28 +0300)]
bitbake: bitbake: replace comment added in conf files

The patch that implements removeConfigurationVar method was made before
merging the patch that replaces "added by bitbake" with "added by hob".
This patch corrects this issue.

[YOCTO #5284]
(Bitbake rev: 42601a5edef0316767b952b162123534aa8fee18)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-dumpsig: introduce command line and error handling
Paul Eggleton [Fri, 4 Oct 2013 15:36:47 +0000 (15:36 +0000)]
bitbake: bitbake-dumpsig: introduce command line and error handling

This utility doesn't take any special arguments, but it's nice if it at
least knows how to deal with no arguments, --help and errors properly.

(Bitbake rev: 0cabdf1d0cde6687bc1372675a0d6242587c87a0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-diffsigs: improve error handling
Paul Eggleton [Fri, 4 Oct 2013 15:35:29 +0000 (15:35 +0000)]
bitbake: bitbake-diffsigs: improve error handling

* Set up a logger independent of BitBake so we can log errors ourselves
* Handle common errors without printing a traceback

(Bitbake rev: 77b5f5b8dca4deebb06eeb06a8e7f2ccdbfff46f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-diffsigs: refactor argument parsing slightly
Paul Eggleton [Fri, 4 Oct 2013 15:06:36 +0000 (15:06 +0000)]
bitbake: bitbake-diffsigs: refactor argument parsing slightly

* Use OptionParser to parse the two options to -t rather than trying to
  pick them out ourselves.
* Add a description shown with --help output

(Bitbake rev: daab42d19463b4108968fc88b207936e5ac84154)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-diffsigs: handle if task name is specified without do_ prefix
Paul Eggleton [Fri, 4 Oct 2013 11:13:46 +0000 (11:13 +0000)]
bitbake: bitbake-diffsigs: handle if task name is specified without do_ prefix

Adjust the task name automatically if the -t option is specified with
a task name that doesn't start with do_ (e.g. "configure" instead of
"do_configure").

(Bitbake rev: d182cbc63745303ef2dc9fa2cbbf5d87a68e0b52)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bin/bitbake: Clarify server error message
Richard Purdie [Fri, 4 Oct 2013 13:24:50 +0000 (14:24 +0100)]
bitbake: bin/bitbake: Clarify server error message

Getting an error message about --remote-server being set when really
BBSERVER was is confusing, clarify the message.

(Bitbake rev: d7b5938a30a9b0ed83f899a06a88786e8392f8bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bin/bitbake: Clear ui-queue when starting a server
Richard Purdie [Fri, 4 Oct 2013 13:17:45 +0000 (14:17 +0100)]
bitbake: bin/bitbake: Clear ui-queue when starting a server

When starting a server we don't want to show the debug event queue which
is reserved for when when errors have occurred. This patch copies the UI
code to ensure the user doesn't see confusing output.

(Bitbake rev: a886cda58415085981646fb9a024fa7641f55865)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bin/bitbake: No need to show tracebacks for BBHandledExceptions
Richard Purdie [Fri, 4 Oct 2013 13:16:15 +0000 (14:16 +0100)]
bitbake: bin/bitbake: No need to show tracebacks for BBHandledExceptions

For BBHandledExceptions, we've already displaced a sensible error to
the user so we don't need to do it again. Just exit with an error
value.

(Bitbake rev: 1ff5ec26eba70ab1c85674a60b7dac77317bf349)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: xmlrpc: Show a better error message for connection failures
Richard Purdie [Fri, 4 Oct 2013 13:15:36 +0000 (14:15 +0100)]
bitbake: xmlrpc: Show a better error message for connection failures

Showing a traceback when unable to connect to a bitbake server is
rather ugly. This change allows us to show a sensible error message.

(Bitbake rev: 26913202f83fbbecdce95da59515af102bcde4a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bin/bitbake: Catch establish connection log messages
Richard Purdie [Fri, 4 Oct 2013 13:14:52 +0000 (14:14 +0100)]
bitbake: bin/bitbake: Catch establish connection log messages

If for example you try "bitbake -m" with an invalid BBSERVER, error
messages are not displayed. This change ensures logging is in place
to catch and display such errors.

(Bitbake rev: 719808f95adc7820fcc09743c592513414d03ce1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake/hob: removing extra parameters from conf files using hob
Cristiana Voicu [Fri, 4 Oct 2013 13:19:45 +0000 (16:19 +0300)]
bitbake: bitbake/hob: removing extra parameters from conf files using hob

In Hob settings, there is a tab to add/remove extra settings. This
patch implements a way to "remove" variables from conf files, through
bitbake. But, to keep the history assigment of the variables synchronized,
instead of removing, it replaces the lines with blank lines.

[YOCTO #5284]
(Bitbake rev: bd720fb63cef6b399619b8fbcaeb8d7710f2d6df)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: HOB: MACHINE should be saved in conf files using ?=
Valentin Popa [Fri, 27 Sep 2013 14:10:41 +0000 (17:10 +0300)]
bitbake: HOB: MACHINE should be saved in conf files using ?=

MACHINE var is saved using early assignment operator.
Calling  MACHINE=x bitbake core-image-... works properly.
Comment "#added by bitbake" is replaced with "#added by hob".

[YOCTO #5070]
(Bitbake rev: 2d0ec8ff083b636a6cf98de3278900eb95c3def6)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>