scm/bb/tizen-distro.git
9 years agotcmode-default.inc: Add eglibc-scripts and eglibc-mtrace
Mark Hatle [Wed, 13 Aug 2014 15:07:34 +0000 (10:07 -0500)]
tcmode-default.inc: Add eglibc-scripts and eglibc-mtrace

Add the specific scripts and mtrace versions to the preferred version list.

(From OE-Core rev: 6fa356c6a808a4876e23722ab86b80a4c6bd072d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoprelink_git: Update to current head of cross-prelink development
Mark Hatle [Wed, 13 Aug 2014 15:04:06 +0000 (10:04 -0500)]
prelink_git: Update to current head of cross-prelink development

Update to the current version of cross-prelink development:

faa069deec99bf61418d0bab831c83d7c1b797ca

This adds a number of minor features, such as S390 support (irrelevant)
to ARM TLS DESC relocations.

(From OE-Core rev: e87a56bbdfbae56bc027ab66b350cc8fa7b65810)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautoconf: add rdep on perl-module-data-dumper
Shrikant Bobade [Wed, 13 Aug 2014 08:56:25 +0000 (14:26 +0530)]
autoconf: add rdep on perl-module-data-dumper

This patch adds rdepends on perl-module-data-dumper
for autoconf.

(From OE-Core rev: 8b3a911aac460a137099ca2b3a0a84fedea31309)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-cross-initial: Use good old bfd linker by default
Khem Raj [Thu, 14 Aug 2014 05:05:15 +0000 (22:05 -0700)]
gcc-cross-initial: Use good old bfd linker by default

We already indicate our intentions to use ld.bfd by
specifying it in configure using --with-ld which works
ok unless here where we manually create symlinks to
binutils-cross components, when we use ld-is-gold feature
default ld points to gold and this symlinking has to be
aware of the fact that we configured binutils and gcc-cross to use
gold as default ld but gcc-cross-initial uses BFD ld

This would be visible when using gold and rebuilding
eglibc

(From OE-Core rev: 77cab553ee6caa940e21cca46ff134f84e65c171)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocmake: drop -fpermissive
Martin Jansa [Wed, 13 Aug 2014 22:36:42 +0000 (00:36 +0200)]
cmake: drop -fpermissive

* it was dropped from default CXXFLAGS in:
  commit 24dd8e129447013ee98609f3892ec414b1b21340
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Sun Mar 2 17:38:33 2014 +0000

    bitbake.conf: Drop -fpermissive

    Drop the -fpermissive C++ compiler flag. We've had this around for years, most
    code should have been fixed long ago. Its possible some recipes may fail
    however we can (and should) just use the flag where needed.

* I haven't build world with this yet, but maybe it's time to
  drop it here as well at least for consistency

(From OE-Core rev: 578124aedd3dbffd79ea01862d57223ffaa7216a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-rtsp-server: Upgrade to 1.4.0
Peter Kjellerstedt [Wed, 13 Aug 2014 17:47:52 +0000 (19:47 +0200)]
gstreamer1.0-rtsp-server: Upgrade to 1.4.0

(From OE-Core rev: 466268fc86c3a08fab0ba45243c32bfaad613a96)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibgcrypt: Do not remove m4 files so aggressively
Peter Kjellerstedt [Wed, 13 Aug 2014 17:46:22 +0000 (19:46 +0200)]
libgcrypt: Do not remove m4 files so aggressively

Removing all m4 files in the m4 directory led to a number of non-fatal
errors while running configure when the expected m4 macros could not
be found.

(From OE-Core rev: b43b6bae5b164f641233dcd2e373f3cae26273a6)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-scons-native: Make it useable if old host install exists
Peter Kjellerstedt [Wed, 13 Aug 2014 17:41:04 +0000 (19:41 +0200)]
python-scons-native: Make it useable if old host install exists

This was recently fixed to work on Fedora 17 if no scons is installed
on the host by setting the PYTHONPATH to where BitBake has installed
scons. However, if an older version of scons than 2.3.0 is installed,
then it still breaks. This is due to how scons tries to determine its
installation by searching through standard paths. If it finds an old
installation it prepends that path to sys.path thereby causing it to
ignore the PYTHONPATH. The solution is to instead set SCONS_LIB_PATH
which works both if scons is not installed and if an older version is
installed.

(From OE-Core rev: e16c968ffb96fac3177bb885872c2b5cdde87239)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglib-networking: Inherit gettext
Peter Kjellerstedt [Wed, 13 Aug 2014 17:39:04 +0000 (19:39 +0200)]
glib-networking: Inherit gettext

Build fails otherwise if USE_NLS is set to "no".

(From OE-Core rev: 4c1f678e4e5383baf40f367e6957dfd33fe52342)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsoup-2.4: Inherit gettext
Peter Kjellerstedt [Wed, 13 Aug 2014 17:39:03 +0000 (19:39 +0200)]
libsoup-2.4: Inherit gettext

Build fails otherwise if USE_NLS is set to "no".

(From OE-Core rev: 07f9215d9615dfc26c7c1fccb98adbe593a0d967)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: Inherit gettext
Peter Kjellerstedt [Wed, 13 Aug 2014 17:39:02 +0000 (19:39 +0200)]
systemd: Inherit gettext

Build fails otherwise if USE_NLS is set to "no".

(From OE-Core rev: 7799774a76757be97e76b0568acdf5295ce73536)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: add PACKAGECONF lzo
Kai Kang [Thu, 14 Aug 2014 09:55:48 +0000 (17:55 +0800)]
qemu: add PACKAGECONF lzo

Add PACKAGECONF 'lzo' for qemu to fix QA warning:

WARNING: QA Issue: qemu rdepends on lzo, but it isn't a build dependency? [build-deps]

(From OE-Core rev: b05cf36a1fcb0fc2d3795ab43481f6de01de2af2)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: enable aarch64 support
Kai Kang [Thu, 14 Aug 2014 09:55:49 +0000 (17:55 +0800)]
qemu: enable aarch64 support

qemu 2.1.0 support aarch64 targets, so add aarch64 to QEMU_TARGETS to
enable qemu aarch64 support.

[YOCTO #6487]

(From OE-Core rev: 2ff11438b763ddebfd798ccfe93d0d981d596202)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython: Fix build on musl
Khem Raj [Thu, 14 Aug 2014 09:27:50 +0000 (02:27 -0700)]
python: Fix build on musl

musl has posix_close which conflicts in python
so lets rename it.

(From OE-Core rev: 9de4f6eb07696f618d4762c6eeb34dc9ea3080bd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-good: Add a PACKAGECONFIG for udev
Peter Kjellerstedt [Wed, 13 Aug 2014 17:46:36 +0000 (19:46 +0200)]
gstreamer1.0-plugins-good: Add a PACKAGECONFIG for udev

This solves these floating dependencies:

WARNING: QA Issue: gstreamer1.0-plugins-good-video4linux2 rdepends on
libudev, but it isn't a build dependency? [build-deps]
WARNING: QA Issue: gstreamer1.0-plugins-good-video4linux2 rdepends on
libgudev-1.0, but it isn't a build dependency? [build-deps]

(From OE-Core rev: b23a9c94e574fec0f0dcda498c1f5a0592114055)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogdb: Add a dependency on zlib
Peter Kjellerstedt [Wed, 13 Aug 2014 17:46:35 +0000 (19:46 +0200)]
gdb: Add a dependency on zlib

This solves the following warning:

WARNING: QA Issue: gdb rdepends on zlib, but it isn't a build
dependency? [build-deps]

(From OE-Core rev: 3dc99615b265999206264be33af1258a9c41c7b3)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocml1.bbclass: fix diffconfig diff command
Maciej Borzecki [Thu, 14 Aug 2014 11:34:24 +0000 (13:34 +0200)]
cml1.bbclass: fix diffconfig diff command

Commit 6a7b98993350d0d24eae0058ae26ae19cfdf7c4c introduced a typo in
command, a whitespace was missing between --new-line-format and path to
original file. As a result, diffconfig task did not work, diff failed
with exit status 2, resulting in empty fragment.cfg.

(From OE-Core rev: 8c75aa7c30cc5a796962d099896ca2a9a16c3a06)

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibav: update 9.x version to 9.16
Paul Eggleton [Thu, 14 Aug 2014 13:15:42 +0000 (14:15 +0100)]
libav: update 9.x version to 9.16

(From OE-Core rev: 32e95316db40d20bb2aa7dd48e35114f3ea7a0ee)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibav: update 0.8 version to 0.8.15
Paul Eggleton [Thu, 14 Aug 2014 13:15:41 +0000 (14:15 +0100)]
libav: update 0.8 version to 0.8.15

(From OE-Core rev: 1bfa027e4667248eeb74ee12fad84e82415efc4b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: Overwrite KVM explicitly for darwin/mingw
Richard Purdie [Thu, 14 Aug 2014 15:56:29 +0000 (16:56 +0100)]
qemu: Overwrite KVM explicitly for darwin/mingw

Force KVM to disabled on mingw/darwin systems since this makes no
sense there.

(From OE-Core rev: 0bbafc1e0250bc4df6c6fcc749ab9bbbd7de4a89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: Simplify DEPENDS
Richard Purdie [Thu, 14 Aug 2014 14:27:49 +0000 (15:27 +0100)]
qemu: Simplify DEPENDS

These DEPENDS are now identical and the native/nativesdk variants can
be dropped in favour of letting PACKAGECONFIG sort it out.

(From OE-Core rev: 67c8f70e84ac25adb5ea54dbde83d2377a994f97)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: Add PACKAGECONFIG for glx
Richard Purdie [Thu, 14 Aug 2014 14:26:53 +0000 (15:26 +0100)]
qemu: Add PACKAGECONFIG for glx

With the configuration for sdl and glx, the virtual/libx11 in DEPENDS
no longer makes any sense at all, the dependency comes through the
various graphics backends. Therefore drop it. The glx PACKAGECONFIG
is added for completeness. We avoid a floating dependency on mesa.

(From OE-Core rev: ddb88df0eca85b0b2afca68a23c018d39a4c3d78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: Add alsa PACKAGECONFIG and cleanup native/nativesdk DEPENDS
Richard Purdie [Thu, 14 Aug 2014 14:25:52 +0000 (15:25 +0100)]
qemu: Add alsa PACKAGECONFIG and cleanup native/nativesdk DEPENDS

Converting this dependency to become a PACKAGECONFIG makes sense. Since
there is a "," in the configuration option, its not quite as straightforward
as normal.

Also clean up the native and nativesdk DEPENDS and set the PACKAGECONFIG
entries to match the old behaviour by default.

(From OE-Core rev: f724085b4947ec8437d48f77acd2e9e9d19e39ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: Fixup target sdl configuration to use PACKAGECONFIG
Richard Purdie [Thu, 14 Aug 2014 14:27:25 +0000 (15:27 +0100)]
qemu: Fixup target sdl configuration to use PACKAGECONFIG

SDL is now controlled by PACKAGECONFIG, remove the DEPENDS remnant
set PACKAGECONFIG accordingly.

(From OE-Core rev: 5bb25628e408f8738b38baba1f8609ab22cd5c51)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: Move dtc(fdt) configuration to PACKAGECONFIG
Richard Purdie [Thu, 14 Aug 2014 14:27:42 +0000 (15:27 +0100)]
qemu: Move dtc(fdt) configuration to PACKAGECONFIG

Converting this dependency to become a PACKAGECONFIG makes sense.

(From OE-Core rev: 15d7dc8df4b508acfeac43a8d0f9e15889ec3e7d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosite: Add common-darwin
Richard Purdie [Thu, 14 Aug 2014 13:38:26 +0000 (14:38 +0100)]
site: Add common-darwin

We need this to ensure there are some correct values when building with
meta-darwin. This matches the addition of a common-mingw site file in
the core.

(From OE-Core rev: 8c2ade6f48dcc522c68f798286d1c43bd2c1c8e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglib-2.0: Allow correct printf configuration on darwin/mingw
Richard Purdie [Thu, 14 Aug 2014 13:34:42 +0000 (14:34 +0100)]
glib-2.0: Allow correct printf configuration on darwin/mingw

mingw and darwin builds need to change the value of printf from no
to yes. Whilst you can do this from a bbappend, its currently a bit ugly
and assumes knowledge of the other conf arguments. Fixing this in the glib
recipe directly is cleaner in this case.

(From OE-Core rev: ba37c147e82e6466030cf40a9e86442ac7592185)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglib-2.0: Make the gtester-report installation conditional
Richard Purdie [Thu, 14 Aug 2014 13:34:13 +0000 (14:34 +0100)]
glib-2.0: Make the gtester-report installation conditional

This isn't built/present under mingw builds so make installation
conditional upon its presence.

(From OE-Core rev: 53903afae4fe841c0d394172201660d5e3fad5d4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_base: Move toolchain installation script to a separate file
Richard Purdie [Thu, 14 Aug 2014 13:33:33 +0000 (14:33 +0100)]
populate_sdk_base: Move toolchain installation script to a separate file

It makes sense to move the script to a separate file, making the bbclass
clearer and allowing the end user to more easily customise or replace
it. There are no functionality changes, just the addition of some
substitution variables.

(From OE-Core rev: f99732a29689c65083ad09abb302f372042c8cd4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorootfs_*: Refactor common depends/lockfile task flags
Richard Purdie [Thu, 14 Aug 2014 13:32:10 +0000 (14:32 +0100)]
rootfs_*: Refactor common depends/lockfile task flags

(From OE-Core rev: 96427656ef73bb50753a33ec6ad5e73de711ceb3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses: Combine rootfs_<pkgtype> and populate_sdk_<pkgtype>
Richard Purdie [Thu, 14 Aug 2014 13:31:40 +0000 (14:31 +0100)]
classes: Combine rootfs_<pkgtype> and populate_sdk_<pkgtype>

There is no real reason to have these separate files any longer. It does
mean in meta-toolchain type recipes some extra variables are defined but
it also means the common code can be grouped and maintained together
which I believe is more beneficial. We therefore merge the classes.

(From OE-Core rev: 2cf42b49003494e1b10775523c9a2547eaf16ea4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoSIGGEN_EXCLUDERECIPES_ABISAFE: add initscripts
Martin Jansa [Mon, 11 Aug 2014 14:09:13 +0000 (16:09 +0200)]
SIGGEN_EXCLUDERECIPES_ABISAFE: add initscripts

* update-rc.d now adds initscripts dependency even to allarch recipes
  making them effectively TUNE_PKGARCH, "fix" it by excluding
  initscripts from all signatures

(From OE-Core rev: 4321c553d5ae816e566234e981a0815bba046d39)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe.package_manager: fix use of PACKAGE_EXCLUDE for dpkg
Christopher Larson [Mon, 11 Aug 2014 16:15:37 +0000 (09:15 -0700)]
oe.package_manager: fix use of PACKAGE_EXCLUDE for dpkg

It was iterating over the variable character-by-character rather than
word-by-word.

(From OE-Core rev: 207f2cc0b0fc53b22e1dedfa26905ab143fb0de6)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-dbus: use PACKAGECONFIG for doc generation
Christopher Larson [Mon, 11 Aug 2014 16:15:36 +0000 (09:15 -0700)]
python-dbus: use PACKAGECONFIG for doc generation

Adds 'docs' (for html doc generation) and 'api-docs' (for API doc generation)
configurations and leaves them both disabled by default. This avoids
autodetected dependency upon docutils.

Fixes [YOCTO #6530]

(From OE-Core rev: 7216ddad59f6a2315323befa69eebdbf07625e25)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/runtime: add new cpp test and file
Corneliu Stoicescu [Sat, 9 Aug 2014 11:01:25 +0000 (14:01 +0300)]
oeqa/runtime: add new cpp test and file

This tests out the limits header which we've noticed does have problems in
some SDK builds.

(From OE-Core rev: 63cbed337241191f33fe951662a39ce59dce6774)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oeqa/selftest: Don't match log level in output
Tyler Hall [Sat, 9 Aug 2014 22:43:57 +0000 (18:43 -0400)]
lib/oeqa/selftest: Don't match log level in output

To facilitate changing the log level of the "Fetcher failure" message,
search only for the message without the "Error:" prefix.

(From OE-Core rev: 947e6f9005abc71f499f23a4dd3a5a9f8386a369)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate-sysroot-cruft.sh: Improve to use it from CI
Martin Jansa [Sun, 10 Aug 2014 18:41:53 +0000 (20:41 +0200)]
sstate-sysroot-cruft.sh: Improve to use it from CI

* strip tmpdir prefix, so that we have shorter paths which aren't
  builder specific
* use '#' for regexp delimiter so that we don't need to prefix
  forward slashes in paths
* extend default whitelist to cover typical cases
* add parameter for external whitelist file
* use number of found paths as return code, so that CI can easily
  report error when new untracked files are found
* use .txt suffix for all output files, so that they can be easily
  viewed in browser
* add populate_sysroot task, because somewhere between dora and daisy
  the populate-sysroot files in sstate-control were renamed to have
  underscore instead of dash
* only few entries not covered by this default whitelist were found
  in world build (but I'll leave these for people to whitelist, because
  they are not generated in most builds)
  * [^/]*/home/builder
    home directory from meta/recipes-graphics/builder/builder_0.1.bb
  * [^/]*/usr/src/kernel/patches
  * [^/]*/usr/lib/gdk-pixbuf-2.0/.*/loaders.cache
    3 places are using this, not sure which one creates it
    meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.30.8.bb:
      GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache
    meta/recipes-gnome/gtk+/gtk-update-icon-cache-native_3.4.4.bb:
      GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders.cache
    scripts/postinst-intercepts/update_pixbuf_cache:
      >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \
      sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache

(From OE-Core rev: b1bfec63949e16abe8c11c34530dfbfb176c04cd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqt4: Avoid duplicate flags in the g++-unix.conf
Marek Vasut [Thu, 7 Aug 2014 15:25:46 +0000 (17:25 +0200)]
qt4: Avoid duplicate flags in the g++-unix.conf

The removed flags from this g++.conf file, which is installed to the
target as g++-unix.conf are added by gcc-base.conf . Do not add those
flags twice.

(From OE-Core rev: 3c49c575632cdac7bf950439b33773f09ae63354)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotslib: Delete unnecessary "SRC_URI_OVERRIDES_PACKAGE_ARCH = 0"
Robert P. J. Day [Sat, 9 Aug 2014 11:25:30 +0000 (07:25 -0400)]
tslib: Delete unnecessary "SRC_URI_OVERRIDES_PACKAGE_ARCH = 0"

Since the machine-specific files for tslib were removed quite some
time ago, there is no need for this directive anymore.

(From OE-Core rev: 8d7491d22a11632a6bfc2478cb4f040d6e53c16a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotrace-cmd: fix recompile error
Robert Yang [Thu, 7 Aug 2014 13:40:55 +0000 (06:40 -0700)]
trace-cmd: fix recompile error

Fixed:
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `parse-events.o'.  Stop.
make: *** Waiting for unfinished jobs....
ERROR: oe_runmake failed

This happens when upgrade gcc from 4.9.0 to 4.9.1, and the
.parse-events.d isn't regenerated when recompile, the content of it are:

[snip]
parse-events.o: /path/to/sysroot/4.9.0/include/stddef.h
[snip]

And Makefile includes the .parse-events.d file if it exists, so there
would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't
exist.

Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix
the problem.

(From OE-Core rev: d56657cf5def88682954a97b4d94603ad81fd6e5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssl: upgrade to 1.0.1i
Paul Eggleton [Sun, 10 Aug 2014 16:06:58 +0000 (17:06 +0100)]
openssl: upgrade to 1.0.1i

Removed one patch merged upstream.

(From OE-Core rev: fc1d2b4ec7e7f5c5e2b3434bc8208967ead6f336)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodirectfb: add PACKAGECONFIG for webp
Martin Jansa [Sun, 10 Aug 2014 13:24:27 +0000 (15:24 +0200)]
directfb: add PACKAGECONFIG for webp

* fixes floating dependency:
  directfb-1.7.4: directfb rdepends on libwebp, but it isn't a build dependency? [build-deps]

(From OE-Core rev: ee73ee5a37da284025364f322bbcf429b0896727)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernelshark: add dependency on libxml2
Martin Jansa [Sun, 10 Aug 2014 13:15:24 +0000 (15:15 +0200)]
kernelshark: add dependency on libxml2

* fixes floating dependency:
  kernelshark-1.2+gitAUTOINC+7055ffd37b: kernelshark rdepends on libxml2, but it isn't a build dependency? [build-deps]

(From OE-Core rev: 99300ef40c4b1f7eeaf5503fa293114d7b602d30)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognupg: Added PACKAGECONFIG[curl]
Shrikant Bobade [Mon, 11 Aug 2014 09:37:59 +0000 (15:07 +0530)]
gnupg: Added PACKAGECONFIG[curl]

gnupg can be built with or without curl. This should be explicitly defined
to avoid race between curl and gnupg.

(From OE-Core rev: 4e5f6f95e8e791c9cfc9e3bd91f1018d83ab252f)

Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocurl: add ssl to PACKAGECONFIG
João Henrique Ferreira de Freitas [Mon, 11 Aug 2014 02:09:56 +0000 (23:09 -0300)]
curl: add ssl to PACKAGECONFIG

This will allow curl run as nativesdk and fixes the following:

fatal: unable to access 'https://...': Protocol https not supported or disabled in libcurl

(From OE-Core rev: 76a702f4cde7ca8dd2946633f489386e43b6be26)

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase.bbclass: Remove old-style definition of do_build() task.
Robert P. J. Day [Sun, 10 Aug 2014 10:04:54 +0000 (06:04 -0400)]
base.bbclass: Remove old-style definition of do_build() task.

(From OE-Core rev: f31316b96a97e72d866f12a8e4bb33eaaa54b923)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoguile: add dependency on ncurses and readline
Martin Jansa [Sat, 9 Aug 2014 16:08:03 +0000 (18:08 +0200)]
guile: add dependency on ncurses and readline

* fixes floating dependency:
  guile/guile/latest lost dependency on  ncurses-libncurses readline

(From OE-Core rev: 39f98dd8280a17a400055ae20c48cf7b7f81e050)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomidori: add dependency on libxscrnsaver
Martin Jansa [Sat, 9 Aug 2014 16:08:01 +0000 (18:08 +0200)]
midori: add dependency on libxscrnsaver

* fixes floating dependency:
  midori/midori/latest lost dependency on  libxscrnsaver

(From OE-Core rev: deec41394baf73bc7daf322a965bfb93ce87fdcf)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibarchive: add PACKAGECONFIG for nettle
Martin Jansa [Sat, 9 Aug 2014 16:07:59 +0000 (18:07 +0200)]
libarchive: add PACKAGECONFIG for nettle

* fixes following floating dependencies:
  libarchive/libarchive/latest lost dependency on  nettle
  libarchive/libarchive-bin/latest lost dependency on  libxml2 nettle

(From OE-Core rev: a4dd641f54f12d454ba9c6db624b94df63f7d220)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agompeg2dec: add PACKAGECONFIG for x11 and fix dependencies
Martin Jansa [Sat, 9 Aug 2014 16:07:58 +0000 (18:07 +0200)]
mpeg2dec: add PACKAGECONFIG for x11 and fix dependencies

* the configure script checks for Xext and Xv when X/libvo is enabled
* fixes following warnings:
  WARN: mpeg2dec: mpeg2dec rdepends on libxext but it isn't a build dependency?
  WARN: mpeg2dec: mpeg2dec rdepends on libxv but it isn't a build dependency?

(From OE-Core rev: 1876548c14945c317d4f0a3a2b8df44ea1ed019f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogst-fluendo*: add --disable-debug only to gst-fluendo-mp3
Martin Jansa [Sat, 9 Aug 2014 16:07:57 +0000 (18:07 +0200)]
gst-fluendo*: add --disable-debug only to gst-fluendo-mp3

* fixes following QA warnings:
  gst-fluendo-mpegdemux-0.10.72: gst-fluendo-mpegdemux: configure was
    passed unrecognised options: --disable-debug
    [unknown-configure-option]

(From OE-Core rev: e6e20fba657e37e1d2b7440a00cfb3c395bde19f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotest-dependencies, insane.bbclass: improve the message
Martin Jansa [Sat, 9 Aug 2014 16:07:56 +0000 (18:07 +0200)]
test-dependencies, insane.bbclass: improve the message

(From OE-Core rev: b73e6159aed1a9768d02d12e7894ca0f1e72be69)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodirectfb: add PACKAGECONFIG for drmkms and tiff
Martin Jansa [Sat, 9 Aug 2014 16:08:02 +0000 (18:08 +0200)]
directfb: add PACKAGECONFIG for drmkms and tiff

* fixes following floating dependencies:
  directfb/directfb/latest lost dependency on  libdrm libdrm-kms liblzma tiff

(From OE-Core rev: c8268bbafc338cf73c5488df9839a241a3cb6ab4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoRemove remnants of deleted "do_package_write" task.
Robert P. J. Day [Wed, 6 Aug 2014 16:10:08 +0000 (12:10 -0400)]
Remove remnants of deleted "do_package_write" task.

As the do_package_write() task is listed as deleted, remove the few
remaining references.

(From OE-Core rev: 201d572ab5c57cda1b332356a3b7711bc346696e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Bump the version to 2.0
Tom Zanussi [Fri, 8 Aug 2014 20:56:55 +0000 (15:56 -0500)]
wic: Bump the version to 2.0

This represents a complete rework, and if we assume the previous
version should have been 1.0 (instead of a silly .1x version), then
this should be 2.0.

(From OE-Core rev: d263cb055333e6432454a13403eda471c514a3e6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Rename /mic to /wic
Tom Zanussi [Fri, 8 Aug 2014 20:53:52 +0000 (15:53 -0500)]
wic: Rename /mic to /wic

As well as any other stray instances of mic in the codebase that can
be removed.

We don't really need to carry around legacy naming, and the history is
in git.

(From OE-Core rev: 598b120406dc1d2b7e377bd1ab6f0acbef034b22)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update Disk description
Tom Zanussi [Fri, 8 Aug 2014 20:24:46 +0000 (15:24 -0500)]
wic: Update Disk description

Remove obsolete comment.

(From OE-Core rev: d39c76f24a50c9359840c0959fb50fc6da0960cd)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Rename MountError
Tom Zanussi [Fri, 8 Aug 2014 20:11:31 +0000 (15:11 -0500)]
wic: Rename MountError

wic doesn't mount anything, so can't have a mount error; rename it to
something more appropriate.

(From OE-Core rev: e1edee656fc9c0a791c0eb62796d1afa483be34e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Rename PartitionedMount
Tom Zanussi [Fri, 8 Aug 2014 19:46:28 +0000 (14:46 -0500)]
wic: Rename PartitionedMount

It's actually a container for disks and partitions, and wic doesn't
mount anything, so rename it to match what it really is.

(From OE-Core rev: 28c5249b4df46ba3ac227d0c4dc6e545b40dbaf3)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update/rename configure-related code
Tom Zanussi [Fri, 8 Aug 2014 18:43:45 +0000 (13:43 -0500)]
wic: Update/rename configure-related code

The wic code inherited a basic image-creation flow based on
image-configuration, but wic doesn't actually configure anything, so
rename parts of the code dealing with configuration to something more
appropriate.

(From OE-Core rev: 58dc8879bba31542e2386aaaa70034621b2b1e4e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update/rename install-related code
Tom Zanussi [Fri, 8 Aug 2014 18:28:54 +0000 (13:28 -0500)]
wic: Update/rename install-related code

The wic code inherited a basic image-creation flow based on installing
packages, but wic doesn't actually install anything, so rename parts
of the code dealing with installing to something more appropriate.

(From OE-Core rev: b4232041534a79236eb8d8ab5c0024a0ef4da649)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update cleanup/unmount-related code
Tom Zanussi [Fri, 8 Aug 2014 15:50:07 +0000 (10:50 -0500)]
wic: Update cleanup/unmount-related code

The wic code inherited a basic image-creation flow based on mounting
loop devices, but wic doesn't actually mount or unmount anything, so
get rid of unmount() and consolidate whatever it did do with
cleanup().

(From OE-Core rev: 1b103bf4a7c7527d4fc57bad1bbd1d5a5bbddb4a)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update/rename/delete mount-related code
Tom Zanussi [Fri, 8 Aug 2014 15:09:12 +0000 (10:09 -0500)]
wic: Update/rename/delete mount-related code

The wic code inherited a basic image-creation flow based on mounting
loop devices, but wic doesn't actually mount anything, so rename parts
of the code dealing with mounting to something more appropriate, and
remove related unused code.

(From OE-Core rev: 94e15c18c011b0d7d71276cd4566be2417c2c6be)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove Mount object
Tom Zanussi [Fri, 8 Aug 2014 12:53:35 +0000 (07:53 -0500)]
wic: Remove Mount object

It doesn't do anything we need, so remove it and fix up callers/base
classes.

(From OE-Core rev: fb2a162d8756ab69c9c29a0715b033f18620341d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused conf support
Tom Zanussi [Thu, 7 Aug 2014 17:04:06 +0000 (12:04 -0500)]
wic: Remove unused conf support

Also fix up users such as imager functions.

(From OE-Core rev: eb77b9c11bd9b8dc90aacfbd5b5bc5568a233525)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Update 'Background and Motivation' help section
Tom Zanussi [Tue, 5 Aug 2014 21:15:30 +0000 (16:15 -0500)]
wic: Update 'Background and Motivation' help section

Remove help text regarding the source and future intentions of the wic
codebase, since the code prompting those comments has now been mostly
removed.

(From OE-Core rev: dfa8626700269141f8d2f5be12c8758db7ca6473)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused command versioning support
Tom Zanussi [Tue, 5 Aug 2014 20:17:38 +0000 (15:17 -0500)]
wic: Remove unused command versioning support

The default is F16 and there's no reason to change that, so remove
everything else.

(From OE-Core rev: e0ec12d012e568c9943614fc1190c143912180b3)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Clean up Creator
Tom Zanussi [Tue, 5 Aug 2014 19:49:36 +0000 (14:49 -0500)]
wic: Clean up Creator

wic doesn't use a lot of Creator, so remove it.

(From OE-Core rev: ef6bc7a3b58ba8b9c94f4c1e41c0f6d7d51c0bf5)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Clean up PartitionedMount
Tom Zanussi [Tue, 5 Aug 2014 15:59:11 +0000 (10:59 -0500)]
wic: Clean up PartitionedMount

wic doesn't use a lot of ParitionedMount, so remove it.

(From OE-Core rev: 0f793ff0767b0cce032c20b677974806c65610d6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Clean up DirectImageCreator
Tom Zanussi [Tue, 5 Aug 2014 13:58:27 +0000 (08:58 -0500)]
wic: Clean up DirectImageCreator

Remove what wic doesn't use from DirectImageCreator.

(From OE-Core rev: dbbe6d04f6c606c94ff17151aee1214e4e24ce7d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Clean up BaseImageCreator
Tom Zanussi [Tue, 5 Aug 2014 00:43:15 +0000 (19:43 -0500)]
wic: Clean up BaseImageCreator

wic doesn't use a lot of BaseImageCreator, so remove it.

(From OE-Core rev: 6bd95c24b44fa80ac9d5950bf2d925f18f671290)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused plugin and error code
Tom Zanussi [Mon, 4 Aug 2014 19:27:52 +0000 (14:27 -0500)]
wic: Remove unused plugin and error code

wic doesn't use it, so remove it.

(From OE-Core rev: b818e5a1ed047940fda533da73fc50a099e1aa3f)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove gpt_parser
Tom Zanussi [Mon, 4 Aug 2014 17:36:49 +0000 (12:36 -0500)]
wic: Remove gpt_parser

wic doesn't currently use it, so remove.

(From OE-Core rev: d3a490d5421405bf9e002c6c65ffb831ea6b767e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused 3rdparty/commands
Tom Zanussi [Mon, 4 Aug 2014 13:36:24 +0000 (08:36 -0500)]
wic: Remove unused 3rdparty/commands

wic doesn't use anything but partition and bootloader, so remove the
rest.

(From OE-Core rev: b6ae106b5d28180a5890e837c87f3e91e5917638)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove 3rdparty/urlgrabber
Tom Zanussi [Mon, 4 Aug 2014 12:55:07 +0000 (07:55 -0500)]
wic: Remove 3rdparty/urlgrabber

wic doesn't use it, so remove it.

(From OE-Core rev: 00dcdb29c89634ab267d328eb00f8eb70c696655)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused misc code
Tom Zanussi [Mon, 4 Aug 2014 00:04:36 +0000 (19:04 -0500)]
wic: Remove unused misc code

wic doesn't use it, so remove it.

(From OE-Core rev: 84e1e13ce3af216e304f61c7ea6e5e9338f94bc6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused fs_related code
Tom Zanussi [Sun, 3 Aug 2014 23:49:20 +0000 (18:49 -0500)]
wic: Remove unused fs_related code

wic doesn't use it, so remove it.

(From OE-Core rev: e18d5393a556e1ff4826c1e5b1a75f4ac998b10e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove rpmmisc
Tom Zanussi [Sun, 3 Aug 2014 23:25:52 +0000 (18:25 -0500)]
wic: Remove rpmmisc

wic doesn't use it, so remove it.

(From OE-Core rev: a49b39ddf18b1b058c0a892e1a7450239eea66ce)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove proxy support
Tom Zanussi [Sun, 3 Aug 2014 23:19:29 +0000 (18:19 -0500)]
wic: Remove proxy support

wic doesn't use proxy support, so remove it.

Also remove anything related to proxies in misc and conf, and while
we're at it, remove all the obviously unneeded code from those files -
it's easier to just remove it than to figure out the callchain to the
proxy code usages.

Basically the extra stuff relates to packaging, images, and config
files we don't use.

(From OE-Core rev: 041f9e2ca52681cd6f5c2fb804dd45f05358c9f9)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove grabber implementation
Tom Zanussi [Sun, 3 Aug 2014 22:02:31 +0000 (17:02 -0500)]
wic: Remove grabber implementation

wic doesn't need to grab any urls, so remove it.

(From OE-Core rev: 55f8df07d82724b6d7ed694158ca6e9a5266cbc4)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove fiemap support
Tom Zanussi [Sun, 3 Aug 2014 21:54:12 +0000 (16:54 -0500)]
wic: Remove fiemap support

wic doesn't use it, so remove it.

(From OE-Core rev: b732ad616ca20dfc4adb845b68ae3378624a0a4d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove bmap support
Tom Zanussi [Sun, 3 Aug 2014 21:52:17 +0000 (16:52 -0500)]
wic: Remove bmap support

wic doesn't use it, so remove it.

(From OE-Core rev: 69f16c7582660a3bcf4106668e548b4c789ae251)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove mic package managers
Tom Zanussi [Sun, 3 Aug 2014 17:28:32 +0000 (12:28 -0500)]
wic: Remove mic package managers

wic doesn't use the yum or zypp package managers, remove them.

(From OE-Core rev: ef70b961b6b8f3a004036f84b608665db2085215)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove rt_util
Tom Zanussi [Sun, 3 Aug 2014 17:25:23 +0000 (12:25 -0500)]
wic: Remove rt_util

More package-related stuff we don't need.

(From OE-Core rev: 167cb99af427510bb6d72e89478c62a804db125c)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove mic chroot
Tom Zanussi [Sun, 3 Aug 2014 17:14:16 +0000 (12:14 -0500)]
wic: Remove mic chroot

mic chroot allows users to chroot into an existing mic image and isn't
used by wic, so remove it.

Removing chroot.py leads in turn to various plugin-loading failures
for a number of plugins that wic doesn't use either, so remove those
as well.

The existing source plugins refer to chroot but don't use it, so fix
those up.

(From OE-Core rev: d73230306b827972cdc99f21d247c54d5d7c0b6d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove mic bootstrap
Tom Zanussi [Sun, 3 Aug 2014 16:42:49 +0000 (11:42 -0500)]
wic: Remove mic bootstrap

packaging bootstrap, not needed

(From OE-Core rev: 980c8faf01fa59ce3922cbad3363a6c2f759d30e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove packaging, config commands
Tom Zanussi [Sun, 3 Aug 2014 14:55:22 +0000 (09:55 -0500)]
wic: Remove packaging, config commands

Remove commands related to repos, packaging, configuration

(From OE-Core rev: 2b002ab75473578f06f161be0b48670fba26994e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Remove unused custom commands
Tom Zanussi [Sat, 2 Aug 2014 22:35:38 +0000 (17:35 -0500)]
wic: Remove unused custom commands

installer, repo, desktop-related stuff

(From OE-Core rev: 26e909682fffb8ae6062d1e8295b6421f1f716ad)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: Make exec_cmd() error out instead of warn
Tom Zanussi [Thu, 31 Jul 2014 18:55:24 +0000 (13:55 -0500)]
wic: Make exec_cmd() error out instead of warn

The reason exec_cmd() warns but doesn't error out (broken parted)
doesn't really make sense, since the parted invocations don't even use
exec_cmd().  It really should just fail since by not doing so it's
actually enabling invalid images in some cases.

Also, since the return code is now always zero, there's no point in
having a return code, so remove it.  This represents a change in the
API, so we also need to update all callers.

(From OE-Core rev: a10bbd39eee29cc49d258bf08aaec279c3115c66)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: upgrade to 2.1
Cristian Iorga [Wed, 6 Aug 2014 07:43:25 +0000 (10:43 +0300)]
qemu: upgrade to 2.1

QEMU 2.1 comes with fixes and improvements.
See http://wiki.qemu.org/ChangeLog/2.1 for details.
- Added config for quorum support, depending on gnutls.
- pcie_better_hotplug_support.patch removed,
integrated upstream.
- Qemu-Arm-versatilepb-Add-memory-size-checking.patch updated
to 2.1 source code.
- no-strip.patch removed, no longer necessary due to code changes.

(From OE-Core rev: 3ae32d0d6c7cf8294300f32d346da36748e05f3d)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotrace-cmd: Update to version 2.3.2
Yasir-Khan [Fri, 8 Aug 2014 15:41:08 +0000 (20:41 +0500)]
trace-cmd: Update to version 2.3.2

Current trace-cmd version 1.2 throws "recorder error in
splice input" error while recording a trace on kernel
version 3.10. Update the trace-cmd version to latest 2.3.2
to resolve this error and drop the redundant patches.

* patches dropped - not needed anymore
 - trace-cmd-Add-checks-for-invalid-pointers-to-fix-seg.patch - backport
 - trace-cmd-Do-not-call-stop_threads-if-doing-latency-.patch - backport
 - trace-cmd-Setting-plugin-to-nop-clears-data-before-i.patch - backport
 - trace-cmd-fix-syntax-error-of-shell.patch - backport

(From OE-Core rev: 3b5e792f3245e28495d61d7d7e8df0ef30070ebc)

Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl-rdepends: add CPAN, CPAN::Meta requirements
Tim Orling [Fri, 8 Aug 2014 14:31:00 +0000 (07:31 -0700)]
perl-rdepends: add CPAN, CPAN::Meta requirements

While testing libmodule-build-tiny-perl, it was discovered that
perl-module-cpan is missing some RDEPENDS.

* Run "perl -mCPAN::Meta" on a target, the following is missing:
  -- perl-module-parse-cpan-meta (Parse::CPAN::Meta)

* Run "perl -mCPAN" on a target, the following (and others) are
  missing:
  -- perl-module-file-glob (File::Glob)
  -- perl-module-config-git (Config_git)

* Also added missing modules from runtime-requires in
  https://metacpan.org/source/ANDK/CPAN-2.05/META.json

This patch adds them to perl-rdepends for  ${PN}-module-cpan

(From OE-Core rev: 33a2a7a9bd87c28089b3f859c7dc05e7b26bb9fd)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokexec-tools: reinstate 'kexec-tools' package
Koen Kooi [Fri, 8 Aug 2014 06:46:03 +0000 (08:46 +0200)]
kexec-tools: reinstate 'kexec-tools' package

The vmcore commit emptied out ${PN} leading to things like:

Collected errors:
 * opkg_install_cmd: Cannot install package kexec-tools.

Let's do the right thing and make ${PN} an empty meta-package that drags in all tools like people expect it to do.

(From OE-Core rev: 9e4f66ec4921c4886203dce99c105141787cc77b)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoubootchart: delete ubootchart recipe
Max Eliaser [Thu, 7 Aug 2014 17:47:48 +0000 (10:47 -0700)]
ubootchart: delete ubootchart recipe

The Ubootchart recipe had known issues. Ubootchart itself is no longer updated
upstream. Ubootchart is also now redundant with Bootchart2.

If people still want ubootchart around, it can be moved to meta-oe.

Ubootchart removed as part of the solution to [YOCTO #5893].

(From OE-Core rev: 8be891cd4beacc4157158808012179c35b433e4a)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocore-image.bbclass: Correct comment about packagegroups.
Robert P. J. Day [Thu, 7 Aug 2014 08:55:23 +0000 (04:55 -0400)]
core-image.bbclass: Correct comment about packagegroups.

Default core image actually includes packagegroup-base-extended, not
just packagegroup-base.

(From OE-Core rev: 1e567d497713c31e03b58c9997058fc4c0181e5a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-good: fix the bug for gstrtpmp4gpay
Wang Zidan [Thu, 7 Aug 2014 01:50:23 +0000 (09:50 +0800)]
gstreamer1.0-plugins-good: fix the bug for gstrtpmp4gpay

set dafault value for MPEG4 without codec data in caps

https://bugzilla.gnome.org/show_bug.cgi?id=734263

(From OE-Core rev: fe4dc1d30eea723361a0f88109717d8a70b2b17d)

Signed-off-by: Wang Zidan <b50113@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobootchart2: create recipe for bootchart2
Max Eliaser [Mon, 28 Jul 2014 17:13:26 +0000 (10:13 -0700)]
bootchart2: create recipe for bootchart2

This recipe creates packages for the bootchart2 system-wide profiler daemon
and related utilities. It fetches the Git revision immediately past the one
corresponding to the 0.14.6 release of bootchart2. (0.14.6 had a systemd-
related bug that was corrected right after it was tagged.)

The recipe contains three packages:
   *   bootchart2 - The daemon itself.
   *   pybootchartgui - Python program to visualize and display the data
       collected by bootchart2 or compatible daemons such as the original
       bootchart.
   *   bootchartd-stop-initscript - A SysV init script to stop data collection
       when booting completes.

Depending on how you wish to use bootchart2, you may not end up having all
three of those packages installed on your image.

There is also a bootchart2-native variant, which is intended solely to provide
a native version of the pybootchartgui utility. The non-cross-compiled version
of the bootchart2 daemon has not been tested at all, don't use it.

The recipe is extensively documented. Read the comments at the beginning of
bootchart2_git.bb or else you'll have no idea how to use it.

This recipe is based on a recipe from meta-WebOS. The WebOS people had some
extra code (including patches against the bootchart2 code) to support the
Upstart init system. However, since upstream Poky does not support Upstart,
that stuff is being left behind. The WebOS people can write a bbappend to re-
add it.

Original recipe written by Wonhong Kwon of LG. Upstreamed as part of the
solution to [YOCTO #5893].

(From OE-Core rev: d5989b17a210e529c9082d2d3576acc3416586a0)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agov86d: fix for systemd to load uvesafb module correctly
Chen Qi [Thu, 7 Aug 2014 06:58:12 +0000 (02:58 -0400)]
v86d: fix for systemd to load uvesafb module correctly

The /etc/init.d/fbsetup script doesn't have any effect in a systemd
image. Its purpose is to load the uvesafb kernel module at boot.
This functionality could be achieved by adding a configuration file
under /etc/modules-load.d/ directory which would be parsed by the
systemd-modules-load.service.

[YOCTO #4420]

(From OE-Core rev: 6d55a03d5cc8070d589c1fe7df74279208833383)

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>
9 years agoalsa-state: install init script only when 'sysvinit' is in DISTRO_FEATURES
Chen Qi [Thu, 7 Aug 2014 02:46:42 +0000 (22:46 -0400)]
alsa-state: install init script only when 'sysvinit' is in DISTRO_FEATURES

The /etc/init.d/alsa-state is totally useless for a systemd image.
Its functionality has been replaced by alsa-state.service files.

So if 'sysvinit' is not in DISTRO_FEATURES, installing this script doesn't
make any sense.

[YOCTO #4420]

(From OE-Core rev: 39759640c8abe51c8ded4c1ca6853b523a81c2f5)

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>
9 years agosyslinux: fix reinstall error
Robert Yang [Thu, 7 Aug 2014 03:05:22 +0000 (20:05 -0700)]
syslinux: fix reinstall error

Fixed:
make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stdarg.h', needed by `cpio.o'.  Stop.
make: *** Waiting for unfinished jobs....
ERROR: oe_runmake failed

This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .cpio.o.d isn't
regenerated when recompile (the compile happens when do_install), the content
of it are:

[snip]
cpio.o: /path/to/sysroot/4.9.0/include/stdarg.h
[snip]

And Makefile includes the .cpio.o.d file if it exists, so there would be
errors when /path/to/sysroot/4.9.0/include/stdarg.h doesn't exist.

Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix
the problem.

(From OE-Core rev: f7dc6e801bba897fd4709a2f4fb0e7dbc198497a)

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