]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agoinsane.bbclass: remove workdir from package_qa_check_license()
Robert Yang [Wed, 27 Apr 2016 02:20:25 +0000 (19:20 -0700)]
insane.bbclass: remove workdir from package_qa_check_license()

The parameter workdir is not used in package_qa_check_license()

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoqemu: remove explicit but redundant native build dependencies
Ross Burton [Wed, 27 Apr 2016 08:28:35 +0000 (09:28 +0100)]
qemu: remove explicit but redundant native build dependencies

qemu-native was optionally depending on libxext-native if the DISTRO_FEATURES
included x11.  This dependency was required back when we didn't build
libsdl-native and causes an undesirable relationship between DISTRO_FEATURES and
qemu-native.

As the dependency isn't required anymore, remove it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowebkitgtk: remove gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 13:04:10 +0000 (14:04 +0100)]
webkitgtk: remove gnome-common dependency

webkitgtk ported to CMake long ago, so by definition can't use gnome-common's
autoconf macros anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agognome-desktop3: remove redundant gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 12:56:54 +0000 (13:56 +0100)]
gnome-desktop3: remove redundant gnome-common dependency

The gnomebase class already depends on gnome-common-native, so there's no need
to depend on it again.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-pygobject: remove redundant gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 12:56:53 +0000 (13:56 +0100)]
python-pygobject: remove redundant gnome-common dependency

The gnomebase class already depends on gnome-common-native, so there's no need
to depend on it again.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: fix falling back to declared license for npm packages
Paul Eggleton [Wed, 27 Apr 2016 13:06:19 +0000 (01:06 +1200)]
recipetool: create: fix falling back to declared license for npm packages

Fix two problems falling back to the "license" field from package.json
when no license file is present:
1) The function that was supposed to return the license field value was
   always explicitly returning None, and this was never noticed (because
   the test cases never exercised the fallback as they provided license
   files for each module).
2) Fix the main package not falling back because it had a default of an
   empty list, which evaluates to '' instead of 'Unknown'.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: create: fix picking up false npm package directories
Paul Eggleton [Wed, 27 Apr 2016 13:06:18 +0000 (01:06 +1200)]
recipetool: create: fix picking up false npm package directories

It is possible for a Node.js module to have node_modules subdirectories
that contain no package.json file (e.g. iotivity-node has such a
directory). It appears these should simply be ignored, or else with the
way the current code works we will get errors later.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoarch-armv7ve: inherit armv7a tunes file
Denys Dmytriyenko [Tue, 26 Apr 2016 00:38:24 +0000 (20:38 -0400)]
arch-armv7ve: inherit armv7a tunes file

armv7a is a subset of armv7ve:
https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html

   -march=armv7ve is the armv7-a architecture with virtualization extensions.

By inheriting armv7a from armv7ve it's possible for e.g. Cortex-A15 machines
to include tune-cortexa15.inc and have a full range of optimizations, but
set DEFAULTTUNE as "armv7a" to produce binaries compatible with Cortex-A8
machines, etc.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel: fitimage: basic support for fitimage signature
Yannick Gicquel [Wed, 27 Apr 2016 14:20:56 +0000 (16:20 +0200)]
kernel: fitimage: basic support for fitimage signature

This is an initial support of fitImage signature to enable U-Boot verified
boot. This feature is implemented by adding a signature tag to the
configuration section of the generated fit-image.its file.

When a UBOOT_SIGN_ENABLE variable is set to "1", the signature procedure is
activated and performs a second call to mkimage to sign the fitImage file and
to include the public key in the deployed U-Boot device tree blob. (This
implementation depends on the use of CONFIG_OF_SEPARATE in U-Boot.)

As the U-Boot device tree blob is appended in the deploy dir, a dependency
on 'u-boot:do_deploy' is added when the feature is activated.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel: fitimage: support device tree compiler options
Yannick Gicquel [Wed, 27 Apr 2016 14:20:55 +0000 (16:20 +0200)]
kernel: fitimage: support device tree compiler options

This introduces a new variable to set the device tree compiler options while
calling mkimage ('-D' option). By default, this variable is not set but it can
be defined in a configuration file, as following example:

UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000"

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agou-boot: deploy u-boot-nodtb and dtb files
Yannick Gicquel [Wed, 27 Apr 2016 14:20:54 +0000 (16:20 +0200)]
u-boot: deploy u-boot-nodtb and dtb files

This enable the deployment of u-boot-nodtb.bin and u-boot.dtb files.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agou-boot: basic support of dtb append for verified boot
Yannick Gicquel [Wed, 27 Apr 2016 14:20:53 +0000 (16:20 +0200)]
u-boot: basic support of dtb append for verified boot

This introduces a new uboot-sign.class to support U-Boot verified boot.

This part delivers the new class file, with related environment variables, and
a new task intended to run before do_install task and which performs the
concatenation of the u-boot-nodtb.bin and the device tree blob. The 'cat'
command used overrides the u-boot.bin in both DEPLOYDIR & build dir to
propagate the changes in later tasks (do_install, do_package, etc.)

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/lib/argparse_oe: also change 'positional arguments' to 'arguments'
Christopher Larson [Wed, 27 Apr 2016 23:24:01 +0000 (16:24 -0700)]
scripts/lib/argparse_oe: also change 'positional arguments' to 'arguments'

This aligns with our existing 'optional arguments' to 'options' change, and
seems more intuitive for users.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/lib/argparse_oe: simplify options title change
Christopher Larson [Wed, 27 Apr 2016 23:24:00 +0000 (16:24 -0700)]
scripts/lib/argparse_oe: simplify options title change

There's no need to iterate over the action groups here, as self._optionals and
self._positionals are available.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/lib/argparse_oe: show subparser help for unrecognized args
Christopher Larson [Wed, 27 Apr 2016 23:23:59 +0000 (16:23 -0700)]
scripts/lib/argparse_oe: show subparser help for unrecognized args

As an example, `recipetool create foo bar baz` shows `recipetool: error:
unrecognized arguments: bar baz` and then displays the main help, not the help
for the create command. Fix by saving the subparser name and using it in
parse_args() to look up the subparser.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/lib/argparse_oe: show self.prog in the error message
Christopher Larson [Wed, 27 Apr 2016 23:23:58 +0000 (16:23 -0700)]
scripts/lib/argparse_oe: show self.prog in the error message

This aligns our subclassed error() with that in the original class, using
_print_message and self.prog. Also add a docstring based on the original.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: use sparse_copy to preserve sparseness
Ed Bartosh [Thu, 28 Apr 2016 10:58:11 +0000 (13:58 +0300)]
wic: use sparse_copy to preserve sparseness

Used sparse_copy API in favor of dd/cp in rawcopy plugin to
preserve sparseness of the copied raw content.

[YOCTO #9099]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: use sparse_copy to copy partitions
Ed Bartosh [Thu, 28 Apr 2016 10:58:10 +0000 (13:58 +0300)]
wic: use sparse_copy to copy partitions

Copied partition images into final partitioned image using
sparse_copy API. This method preserves sparseness of the
final image. It also makes wic much faster, as unmapped
blocks of the partition images are not copied.

[YOCTO #9099]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: add sparse_copy API
Ed Bartosh [Thu, 28 Apr 2016 10:58:09 +0000 (13:58 +0300)]
wic: add sparse_copy API

In order to make wic images sparse sparse_copy function has been
copied from meta-ostro:
https://github.com/kad/meta-ostro/blob/master/meta-ostro/lib/image-dsk.py
This function uses filemap APIs to copy source sparse file into
destination file preserving sparseness.

The function has been modified to satisfy wic requirements:
parameter 'skip' has been added.

[YOCTO #9099]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: add FIEMAP and SEEK_HOLE / SEEK_DATA APIs
Ed Bartosh [Thu, 28 Apr 2016 10:58:08 +0000 (13:58 +0300)]
wic: add FIEMAP and SEEK_HOLE / SEEK_DATA APIs

In order to make wic images sparse set of APIs has been copied
from bmap-tools project.

filemap.py module is taken from bmap-tools project:
https://github.com/01org/bmap-tools/blob/master/bmaptools/Filemap.py
It implements two ways of get information about file block: FIEMAP
ioctl and the 'SEEK_HOLE / SEEK_DATA' features of the file seek
syscall.

Note that this module will be removed as soon as bmaptool utility
supports copying sparse source file into destination file (this is
already agreed with the maintainer of bmap-tools project).

[YOCTO #9099]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: moved DiskImage to direct.py
Ed Bartosh [Thu, 28 Apr 2016 10:58:07 +0000 (13:58 +0300)]
wic: moved DiskImage to direct.py

Moved DiskImage class from utils/fs_related.py to
imager/direct.py as it's only used there.

Removed fs_related module as it doesn't contain anything
except of DiskImage.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: get rid of fs_related.makedirs
Ed Bartosh [Thu, 28 Apr 2016 10:58:06 +0000 (13:58 +0300)]
wic: get rid of fs_related.makedirs

Removed fs_related.makedirs as is not used anywhere. The name is
easy to confuse with os.makedirs.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: get rid of inheritance Disk->DiskImage
Ed Bartosh [Thu, 28 Apr 2016 10:58:05 +0000 (13:58 +0300)]
wic: get rid of inheritance Disk->DiskImage

There is no need in this inheritance as DiskImage class
is used only in one module and no other classes are inherited.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: use truncate utility to create sparse files
Ed Bartosh [Thu, 28 Apr 2016 10:58:04 +0000 (13:58 +0300)]
wic: use truncate utility to create sparse files

Used truncate instead of dd to create wic images for the
following reasons:
 - dd doesn't preserve sparseness
 - truncate syntax is much more clear
 - dd requires additional calculations of the image size
   in blocks
 - the way dd was used in the code is not always correct.
   In some cases it was writing one block to the file which makes
   it not 100% sparse.

[YOCTO #9099]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoautotools: add default for CACHED_CONFIGUREVARS
Ross Burton [Thu, 28 Apr 2016 16:42:16 +0000 (17:42 +0100)]
autotools: add default for CACHED_CONFIGUREVARS

Ensure that this variable has a default value so that we don't get debug
messages that the variable couldn't be expanded.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackagegroup-core-lsb: fix whitespace in meta-qt* warnings
Joshua Lock [Thu, 28 Apr 2016 13:27:45 +0000 (14:27 +0100)]
packagegroup-core-lsb: fix whitespace in meta-qt* warnings

Without these extra space characters the messages are ill-formatted, i.e:
'The meta-qt3 layer should be added, this layer provides Qt 3.xlibraries.
Its intended use is for passing LSB tests as Qt3 isa requirement for LSB.'

Changes to:
'The meta-qt3 layer should be added, this layer provides Qt 3.x libraries.
Its intended use is for passing LSB tests as Qt3 is a requirement for LSB.'

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosecurity_flags: turn potential string format security issues into an error
Joshua Lock [Thu, 28 Apr 2016 13:27:44 +0000 (14:27 +0100)]
security_flags: turn potential string format security issues into an error

Add "-Wformat -Wformat-security -Werror=format-security" to the default
SECURITY_CFLAGS to catch potential security vulnerabilities due to the
misuse of various string formatting functions.

These flags are widely used in distributions such as Fedora and Ubuntu,
however we have 15 recipes in OE-Core which fail to build with these
flags included and thus the flags are removed for:
- busybox
- console-tools
- cmake
- expect
- gcc
- gettext
- kexec-tools
- leafpad
- libuser
- ltp
- makedevs
- oh-puzzles
- stat
- unzip
- zip

[YOCTO #9488]

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosysvinit-inittab: restrict labels to 4 chars
Stephano Cetola [Fri, 29 Apr 2016 03:01:56 +0000 (20:01 -0700)]
sysvinit-inittab: restrict labels to 4 chars

The current recipe creates inittab labels based off the device node name
of TTYs used as consoles. If those names exceed the 4 character label
limit of inittab, it will break. This change takes the last 4 chars of
the device names in order to avoid any errors.

[ YOCTO #9529 ]

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotoolchain-scripts: replace source built-in call
Stephano Cetola [Thu, 28 Apr 2016 20:43:27 +0000 (13:43 -0700)]
toolchain-scripts: replace source built-in call

Some shells (e.g. dash) do not support the source built-in. This
replaces it with the dot operator.

[ YOCTO #9535 ]

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-rtsp-server: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:33 +0000 (21:06 +0200)]
gstreamer1.0-rtsp-server: upgrade to version 1.8.1

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-libav: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:32 +0000 (21:06 +0200)]
gstreamer1.0-libav: upgrade to version 1.8.1

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-plugins-ugly: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:31 +0000 (21:06 +0200)]
gstreamer1.0-plugins-ugly: upgrade to version 1.8.1

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-good: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:29 +0000 (21:06 +0200)]
gstreamer1.0-plugins-good: upgrade to version 1.8.1

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0-plugins-base: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:28 +0000 (21:06 +0200)]
gstreamer1.0-plugins-base: upgrade to version 1.8.1

Patches still apply and only needed their line numbers updated, with the
exception of one backport from 1.7.1, which is no longer needed.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0: upgrade to version 1.8.1
Carlos Rafael Giani [Thu, 28 Apr 2016 19:06:27 +0000 (21:06 +0200)]
gstreamer1.0: upgrade to version 1.8.1

The gst-inspect patch no longer applies, and according to upstream, is
not needed.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoutils.bbclass: note for deprecated base_contains
Robert Yang [Fri, 22 Apr 2016 03:21:22 +0000 (20:21 -0700)]
utils.bbclass: note for deprecated base_contains

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/sstatetests: remove temporary DL_DIRs in noop_samesigs
Ross Burton [Mon, 25 Apr 2016 21:14:38 +0000 (22:14 +0100)]
oeqa/sstatetests: remove temporary DL_DIRs in noop_samesigs

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoattr: Remove redundant "+=" after "_append"
Robert P. J. Day [Thu, 21 Apr 2016 13:45:18 +0000 (09:45 -0400)]
attr: Remove redundant "+=" after "_append"

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/sstatetests: add http_proxy to no-op hash test
Ross Burton [Mon, 25 Apr 2016 20:16:36 +0000 (21:16 +0100)]
oeqa/sstatetests: add http_proxy to no-op hash test

Add two values for http_proxy to verify that changing it doesn't change any
unexpected tasks.

As this causes uninative to fail to fetch, ensure that uninative is always
disabled.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobluez5: enable out-of-tree builds
Ross Burton [Fri, 22 Apr 2016 15:16:06 +0000 (16:16 +0100)]
bluez5: enable out-of-tree builds

A patch is needed to fix a race in out-of-tree builds, and the install-ptest
logic can be simplified.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomx: move to autotools instead of autotools-brokensep
Ross Burton [Fri, 22 Apr 2016 14:16:11 +0000 (15:16 +0100)]
mx: move to autotools instead of autotools-brokensep

Now that MX inherits gtk-doc we can also remove fix-build-dir.patch.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomx-1.0: inherit gtk-doc
Ross Burton [Fri, 22 Apr 2016 14:08:42 +0000 (15:08 +0100)]
mx-1.0: inherit gtk-doc

9 years agometa: add comments to explain autotools-brokensep use
Ross Burton [Fri, 22 Apr 2016 14:08:26 +0000 (15:08 +0100)]
meta: add comments to explain autotools-brokensep use

9 years agocups.inc: Fix ldflags warning.
Noor Ahsan [Fri, 22 Apr 2016 12:51:11 +0000 (17:51 +0500)]
cups.inc: Fix ldflags warning.

* While building following warning comes up
QA Issue: No GNU_HASH in the elf binary: '...libcups.so.2' [ldflags]
Fix this warning by settin DSOFLAGS.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add help for --system-id option
Ed Bartosh [Fri, 22 Apr 2016 09:32:04 +0000 (12:32 +0300)]
wic: add help for --system-id option

Added explanation of --system-id option to the output of
wic help kickstart.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: set partition system id
Ed Bartosh [Fri, 22 Apr 2016 09:32:03 +0000 (12:32 +0300)]
wic: set partition system id

Used sfdisk to set partition system id if --system-id parameter
is used for a partition in wks file.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add system_id argument to Image.add_partition
Ed Bartosh [Fri, 22 Apr 2016 09:32:02 +0000 (12:32 +0300)]
wic: add system_id argument to Image.add_partition

Added new argument to add_partition call to pass partition
system id down the stack.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add system_id attribute to Partition
Ed Bartosh [Fri, 22 Apr 2016 09:32:01 +0000 (12:32 +0300)]
wic: add system_id attribute to Partition

Added Partition.system_id attribute and initialized it
from parse result of wks option --system-id. It will be
used by the wic code below the call stack to set partition
system id.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add sfdisk to the list of utilities
Ed Bartosh [Fri, 22 Apr 2016 09:32:00 +0000 (12:32 +0300)]
wic: add sfdisk to the list of utilities

Added sfdisk -> util-linux pair to the dictionary
executable -> recipe as sfdisk is going to be used by wic
to set partition system id.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: add --system-id wks option
Ed Bartosh [Fri, 22 Apr 2016 09:31:59 +0000 (12:31 +0300)]
wic: add --system-id wks option

Added new option --system-id to wks parser. The option
will be used to set partition system id.

[YOCTO #9096]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: isoimage-isohybrid: fix splash file paths
Ioan-Adrian Ratiu [Thu, 21 Apr 2016 10:10:13 +0000 (13:10 +0300)]
wic: isoimage-isohybrid: fix splash file paths

os.path.join discards the cr_workdir var contents if the path of the
second arguments is absolute.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoimage.bbclass: don't execute compression commands multiple times
Alexander D. Kanevskiy [Thu, 21 Apr 2016 09:47:27 +0000 (12:47 +0300)]
image.bbclass: don't execute compression commands multiple times

In case of chained conversion methods are used via COMPRESS_CMD_*
there is chance that some of steps would be executed multiple times.

[YOCTO #9482]

Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogrub_git: set COMPATIBLE_HOST_armv7a to null
Robert Yang [Mon, 18 Apr 2016 09:29:27 +0000 (02:29 -0700)]
grub_git: set COMPATIBLE_HOST_armv7a to null

It doesn't work with armv7a:
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [reboot.mod] Error 1
| make[3]: *** Waiting for unfinished jobs....
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [halt.mod] Error 1
| make[3]: *** [cat.mod] Error 1
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [disk.mod] Error 1
| make[3]: *** [gptsync.mod] Error 1
| make[3]: *** [eval.mod] Error 1
| build-grub-module-verifier: error:build-grub-module-verifier: error:  unsupported relocation 0x2bunsupported relocation 0x2b.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowic: isoimage-isohybrid: add grubefi configfile support
Ioan-Adrian Ratiu [Wed, 20 Apr 2016 15:06:15 +0000 (18:06 +0300)]
wic: isoimage-isohybrid: add grubefi configfile support

The latest wic kickstart refactoring introduced a bootloader option
"--configfile" which lets wks' specify a custom grub.cfg for use
while booting. This is very useful for creating stuff like boot menus.

This change lets isoimage-isohybrid use --configfile; if this option is
not specified in a wks, it generates a default cfg as before.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox: don't build ar
Ross Burton [Wed, 20 Apr 2016 15:54:37 +0000 (16:54 +0100)]
busybox: don't build ar

As it's not 1978 anymore, nobody is using ar for anything apart from static
archives.  If people are using static archives, then binutils provides a far
more capable ar.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoautotools: warn when running intltoolize if intltool isn't a dependemcy
Ross Burton [Wed, 20 Apr 2016 10:39:18 +0000 (11:39 +0100)]
autotools: warn when running intltoolize if intltool isn't a dependemcy

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobash: fixed ptest run-builtins failed
Dengke Du [Tue, 19 Apr 2016 08:55:53 +0000 (04:55 -0400)]
bash: fixed ptest run-builtins failed

1. redirect the stderr output of the command exec with -l option to
   /dev/null.
   Because when we run command exec with -l option in builtins.tests,
   it is a login shell, so it would read the file /etc/profile, that
   file executes the /usr/bin/resize which added by commit:
 cc6360f4c4d97e0000f9d3545f381224ee99ce7d
   The /usr/bin/resize is produced by busybox that source code resize.c
   contains:
fprintf(stderr, ESC"7" ESC"[r" ESC"[999;999H" ESC"[6n");
   In the end, it outputs an escape sequence to the stderr, so when we
   compare the test output file /tmp/xx with builtins.right, it failed.
   we need to redirect the stderr output to the /dev/null to solve the
   problem.

2. ensure the target system contains the locales "en_US.UTF-8".
   Because when run the run-builtins, it executes the source5.sub file
   that contain:
LC_ALL=en_US.UTF-8
   such as add the following to the local.conf:
IMAGE_LINGUAS_append = " en-us"

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibunwind: backport aarch64_be support
Ruslan Bilovol [Mon, 18 Apr 2016 11:14:07 +0000 (14:14 +0300)]
libunwind: backport aarch64_be support

Backport 2 patches from v1.2-rc1 tag of libunwind git repo.
These patches add aarch64_be support to this package.

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoimage.bbclass: don't emit redundant IMAGE_CMD_xxx functions
Andre McCurdy [Fri, 15 Apr 2016 03:47:46 +0000 (20:47 -0700)]
image.bbclass: don't emit redundant IMAGE_CMD_xxx functions

IMAGE_CMD_xxx commands are always inlined within do_image_xxx.

When IMAGE_CMD_xxx is defined as a function (e.g. IMAGE_CMD_btrfs,
IMAGE_CMD_cpio, etc), a redundant copy of the function will be emitted
by default. Remove IMAGE_CMD_xxx 'func' flags to prevent that.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-firmware: break out bnx2 mips firmware and WHENCE license
Christopher Clark [Fri, 15 Apr 2016 03:28:22 +0000 (20:28 -0700)]
linux-firmware: break out bnx2 mips firmware and WHENCE license

commit a19cfee10c1f1762da601125c17035cf7701ce91
Author: Christopher Clark <christopher.clark6@baesystems.com>
Date:   Thu Apr 14 17:00:20 2016 -0700

    linux-firmware: break out bnx2 mips firmware and WHENCE license

    Break out the bnx2 mips firmware into an independent subpackage.

    Since the bnx2 firmware license is contained in the common WHENCE file
    also package that separately so that other firmware that is licensed
    within that file may depend upon a standalone package containing it.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackage: ensure do_split_packages doesn't return duplicates
Ross Burton [Thu, 7 Apr 2016 08:54:56 +0000 (09:54 +0100)]
package: ensure do_split_packages doesn't return duplicates

do_split_package() constructs a list of packages that were created as it
iterates through the files, so if multiple files go into the same package then
the package will be repeated in the output.

Solve this by using a set() to store the created packages so that duplicates are
ignored.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernel-uimage: change target image to vmlinux
Ruslan Bilovol [Wed, 13 Apr 2016 18:17:20 +0000 (21:17 +0300)]
kernel-uimage: change target image to vmlinux

Commit e69525: "kernel: Build uImage only when really
needed" hardcoded target kernel image to zImage for
case if uImage is generated by OpenEmbedded buildsystem.

However not all kernel architectures support zImage
target, for example AArch64 doesn't, so building of
kernel is failing on this step.

So instead of building zImage target that may not
exist for many architectures, build vmlinux target
that exists for all architectures.

Since kernel-uboot.bbclass uses vmlinux anyway for
creating image, there is no side effect on this change.

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackagegroup-core-tools-profile: Enable valgrind on ARMv7a and above
Felipe F. Tonello [Tue, 19 Apr 2016 16:10:56 +0000 (17:10 +0100)]
packagegroup-core-tools-profile: Enable valgrind on ARMv7a and above

Fixes: e5f41c221356 ("task-core-tools-profile: fix valgrind for arm and
systemtap for mips")

Valgrind works on ARMv7a and above.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodirectfb/pango/webkit: base_contains -> bb.utils.contains
Robert Yang [Fri, 22 Apr 2016 02:30:08 +0000 (19:30 -0700)]
directfb/pango/webkit: base_contains -> bb.utils.contains

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-sanitizers: Depend on target gcc
Jussi Kukkonen [Fri, 22 Apr 2016 13:26:44 +0000 (16:26 +0300)]
gcc-sanitizers: Depend on target gcc

Without this the target gcc might not be in the sysroot
leading to configure failure.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobabeltrace: Let autotools.bbclass run autoreconf
Jussi Kukkonen [Fri, 22 Apr 2016 13:26:43 +0000 (16:26 +0300)]
babeltrace: Let autotools.bbclass run autoreconf

When bootstrap calls autoreconf, it won't have AC_LOCAL set properly
so shared scripts may not be found: glib-2.0.m4 in this case.

Remove custom bootstrap code so autotools class handles this.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuild-appliance: Switch to master branch post release
Richard Purdie [Fri, 29 Apr 2016 06:39:09 +0000 (07:39 +0100)]
build-appliance: Switch to master branch post release

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: Security fix CVE-2016-2858
Armin Kuster [Thu, 28 Apr 2016 18:23:31 +0000 (11:23 -0700)]
qemu: Security fix CVE-2016-2858

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: Security fix CVE-2016-2857
Armin Kuster [Thu, 28 Apr 2016 18:23:30 +0000 (11:23 -0700)]
qemu: Security fix CVE-2016-2857

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: musl mips64 ip fix
Armin Kuster [Thu, 28 Apr 2016 00:47:23 +0000 (17:47 -0700)]
busybox: musl mips64 ip fix

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: Security fix CVE-2016-2147
Armin Kuster [Thu, 28 Apr 2016 00:47:22 +0000 (17:47 -0700)]
busybox: Security fix CVE-2016-2147

busybox <= 1.24.2

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobusybox: Security Fix CVE-2016-2148
Armin Kuster [Thu, 28 Apr 2016 00:47:21 +0000 (17:47 -0700)]
busybox: Security Fix CVE-2016-2148

busybox <= 1.24.2

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssh: Security Fix CVE-2016-3115
Armin Kuster [Thu, 28 Apr 2016 00:47:20 +0000 (17:47 -0700)]
openssh: Security Fix CVE-2016-3115

opehssh <= 7.2

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotiff: Security fixes CVE-2015-8665 and CVE-2015-8683
Armin Kuster [Tue, 26 Apr 2016 00:29:41 +0000 (17:29 -0700)]
tiff: Security fixes CVE-2015-8665 and CVE-2015-8683

same fix for both CVE's

tiff <= 4.0.6

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpm: explicitly disable tomcrypt
Andreas Oberritter [Mon, 25 Apr 2016 07:25:33 +0000 (09:25 +0200)]
rpm: explicitly disable tomcrypt

Configure autodetects libtomcrypt, but then it adds libtommath to
$LIBS and fails to link subsequent tests if it's unavailable.

| checking for pcre.h... yes
| checking for pcre_compile in -lpcre... no
| checking whether to build with PCRE library... no
| ++ executing failure action
| configure: error: unable to find usable PCRE library

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorecipetool.newappend: fix syntax error for 'not path_ok' error
Christopher Larson [Thu, 21 Apr 2016 15:45:41 +0000 (08:45 -0700)]
recipetool.newappend: fix syntax error for 'not path_ok' error

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agomatchbox-panel-2: Depend on dbus-glib-native
Jussi Kukkonen [Thu, 21 Apr 2016 12:50:40 +0000 (15:50 +0300)]
matchbox-panel-2: Depend on dbus-glib-native

This is required for dbus-binding-tool.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconnman-gnome: Depend on dbus-glib-native
Jussi Kukkonen [Thu, 21 Apr 2016 12:50:39 +0000 (15:50 +0300)]
connman-gnome: Depend on dbus-glib-native

This is required for dbus-binding-tool.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogobject-introspection: Depend on native flex and bison
Jussi Kukkonen [Thu, 21 Apr 2016 12:50:38 +0000 (15:50 +0300)]
gobject-introspection: Depend on native flex and bison

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogobject-introspection: fix floating dep on python-mako
Christopher Larson [Thu, 21 Apr 2016 12:29:35 +0000 (17:59 +0530)]
gobject-introspection: fix floating dep on python-mako

This was resulting in non-deterministic builds where g-ir-doc-tool may or may
not exist depending on whether python-mako was built previously. Add
a PACKAGECONFIG so the dependency is explicit.

Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosdk.py: preserve packaging data when SDKIMAGE_FEATURES has "package-management"
Denys Dmytriyenko [Thu, 21 Apr 2016 18:44:22 +0000 (14:44 -0400)]
sdk.py: preserve packaging data when SDKIMAGE_FEATURES has "package-management"

This is not enabled by default, as there are still limitations and possible
issues with opkg (and rpm?) packaging data containing broken symlinks for
local indexes:

http://cgit.openembedded.org/openembedded-core/commit/?id=c8e0ec2da9ad4ce1c103966906a85f68c15400dd

There are other use cases for the packaging data to be available in SDK,
since it provides comprehensive info about SDK's contents and in the case of
opkg and dpkg is all text-based and can be easily parsed by simple scripts.

Introduce new "package-management" flag for SDKIMAGE_FEATURES list (similar
to the one already used for IMAGE_FEATURES) that controls presence of the
packaging data in resulting SDK, while unifying this behavior across the
board for supported pkg managers - rpm, opkg, dpkg.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolib/oe/rootfs: Fix DEBUGFS generation when using opkg
Richard Purdie [Fri, 22 Apr 2016 13:51:22 +0000 (14:51 +0100)]
lib/oe/rootfs: Fix DEBUGFS generation when using opkg

When enabling extra DEBUGFS image generation with opkg, errors are seen like:

ERROR: core-image-minimal-1.0-r0 do_rootfs: Cannot get the installed packages list. Command '/media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/bin/opkg -f /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/opkg.conf -o /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs  --force_postinstall --prefer-arch-to-version   status' returned 0 and stderr:
Collected errors:
 * file_md5sum_alloc: Failed to open file /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/etc/syslog-startup.conf.busybox: No such file or directory.
 * file_md5sum_alloc: Failed to open file /media/build1/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/etc/fstab: No such file or directory.

basically for all CONFFILES in the image. This is due to the file rearranging
the rootfs generation code does. If we preserve the /etc directory,
the avoids the problem.

We need to tell copyfile to preserve symlinks since some are present in /etc.

[YOCTO #9490]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoboost: improve configure
Ross Burton [Tue, 19 Apr 2016 16:20:19 +0000 (17:20 +0100)]
boost: improve configure

Instead of adding a custom task (do_boostconfig) simply use the existing
do_configure.

Ensure that there are no relative paths in do_configure.

Instead of editing the user-config.jam sample file in the source tree (which is
entirely comments) and extending it on every build, create a new user-config.jam
in ${WORKDIR}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost: delete the build directory before rebuilding
Ross Burton [Tue, 19 Apr 2016 16:07:59 +0000 (17:07 +0100)]
boost: delete the build directory before rebuilding

If there is an existing build directory when do enter do_compile() then delete
it, as it contains the previous build.  If the rebuild was caused because
dependencies have changed we want to ensure that a rebuild actually happens.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolicense.bbclass: make sure that image manifest dir exists
Markus Lehtonen [Thu, 21 Apr 2016 11:03:26 +0000 (14:03 +0300)]
license.bbclass: make sure that image manifest dir exists

Previously, write_deploy_manifest() was relying on
write_package_manifest() to create the subdirectory for the manifest
file. However, do_rootfs may be an empty function so that
write_package_manifest() will not be called and the manifest
subdirectory will not be created, causing a build failure. This patch
fixes that by creating the directory hierarchy inside
write_deploy_manifest().

[YOCTO #9446]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobusybox: update flock behavior to match upstream
Maxin B. John [Thu, 21 Apr 2016 09:24:07 +0000 (12:24 +0300)]
busybox: update flock behavior to match upstream

In "util-linux" implementation of flock, -c 'PROG ARGS' means run
"sh -c 'PROG ARGS'". At present, busybox implementation doesn't follow it.
That causes errors like the one listed below:

smart install /media/cronie-1.5.0-r0.core2_64.rpm
Updating cache...
  <snip>
  Output from cronie-1.5.0-r0@core2_64:
  Running groupadd commands...
  NOTE: cronie: Performing groupadd with [ --system crontab]
  ERROR: cronie: groupadd command did not succeed.
  error: %pre(cronie-1.5.0-r0.core2_64) scriptlet failed, exit status 1
  error:   install: %pre scriptlet failed (2), skipping
  cronie-1.5.0-r0.core2_64

This is because we use flock command in preinstall scripts in packages
which create new groups/users.

[YOCTO #9496]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agovalgrind: turn off the file level dependency
Tudor Florea [Thu, 21 Apr 2016 08:36:16 +0000 (10:36 +0200)]
valgrind: turn off the file level dependency

Attempting to install ptest for valgrind fails with this error:

error: Can't install valgrind-ptest-3.11.0-r0.1@ppce500mc: no package
provides /this/is/a/bogus/interpreter/name

This is because one of the tests contains a bogus interpreter path on purpose
It is not enough to skip the QA warning about the missing dependency
but the dependency have to be completely removed.
Since this package contains oly tests it is safe to disable per file
dependencies and rely on the ones per package.

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotzdata: update to 2016d
Armin Kuster [Tue, 19 Apr 2016 23:51:02 +0000 (16:51 -0700)]
tzdata: update to 2016d

Changes affecting future time stamps

America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
(Thanks to Alexander Krivenyshev for the heads-up.)

Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
(Thanks to Alexander Krivenyshev and Matt Johnson.)

New zone Asia/Tomsk, split off from Asia/Novosibirsk. It covers
Tomsk Oblast, Russia, which switches from +06 to +07 on 2016-05-29
at 02:00.  (Thanks to Stepan Golosunov.)

Changes affecting past time stamps

New zone Europe/Kirov, split off from Europe/Volgograd.  It covers
Kirov Oblast, Russia, which switched from +04/+05 to +03/+04 on
1989-03-26 at 02:00, roughly a year after Europe/Volgograd made
the same change.  (Thanks to Stepan Golosunov.)

Russia and nearby locations had daylight-saving transitions on
1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
1992-03-28 at 23:00 and 1992-09-26 at 23:00.  (Thanks to Stepan
Golosunov.)

Many corrections to historical time in Kazakhstan from 1991
through 2005.  (Thanks to Stepan Golosunov.)  Replace Kazakhstan's
invented time zone abbreviations with numeric abbreviations.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotzcode: update to 2016d
Armin Kuster [Tue, 19 Apr 2016 23:51:01 +0000 (16:51 -0700)]
tzcode: update to 2016d

they keep the versions in-sync. changes are all in data.

Changes affecting future time stamps

America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
(Thanks to Alexander Krivenyshev for the heads-up.)

Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
(Thanks to Alexander Krivenyshev and Matt Johnson.)

New zone Asia/Tomsk, split off from Asia/Novosibirsk. It covers
Tomsk Oblast, Russia, which switches from +06 to +07 on 2016-05-29
at 02:00.  (Thanks to Stepan Golosunov.)

Changes affecting past time stamps

New zone Europe/Kirov, split off from Europe/Volgograd.  It covers
Kirov Oblast, Russia, which switched from +04/+05 to +03/+04 on
1989-03-26 at 02:00, roughly a year after Europe/Volgograd made
the same change.  (Thanks to Stepan Golosunov.)

Russia and nearby locations had daylight-saving transitions on
1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
1992-03-28 at 23:00 and 1992-09-26 at 23:00.  (Thanks to Stepan
Golosunov.)

Many corrections to historical time in Kazakhstan from 1991
through 2005.  (Thanks to Stepan Golosunov.)  Replace Kazakhstan's
invented time zone abbreviations with numeric abbreviations.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa: add missing intltool-native dependency
Ross Burton [Wed, 20 Apr 2016 12:11:24 +0000 (13:11 +0100)]
meta: add missing intltool-native dependency

Recipes that use intltool need to depend on intltool-native.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopulseaudio: Add intltool-native dependency
Jussi Kukkonen [Wed, 20 Apr 2016 08:44:11 +0000 (11:44 +0300)]
pulseaudio: Add intltool-native dependency

Fixes configure failure "intltoolize: command not found".

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobuild-appliance-image: Update to krogoth head revision 2016-04-krogoth 2016-4 yocto-2.1
Richard Purdie [Tue, 19 Apr 2016 20:25:53 +0000 (21:25 +0100)]
build-appliance-image: Update to krogoth head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosyslinux.bbclass: Remove APPEND from variable dependency
Otavio Salvador [Tue, 19 Apr 2016 20:17:39 +0000 (17:17 -0300)]
syslinux.bbclass: Remove APPEND from variable dependency

The value of APPEND is already being tracked and does impact on the
generated configuration file. This reverts the OE-Core:3c2d7ae5 commit
as it is not need anymore.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage.bbclass: The wrong name is being used for the debug filesystem
Mark Hatle [Tue, 19 Apr 2016 15:01:11 +0000 (10:01 -0500)]
image.bbclass: The wrong name is being used for the debug filesystem

[YOCTO #9487]

The debug filesystem file name is ending in "debug_tar", it should be simply
"tar".  Strip the "debug_" piece as necessary.

To avoid deleting the tar ball, when we've asked for just the tarball we need
to check 't' and not 'realt'.

The two hunks were suggested by RP.  I've implemented and verify they work
with the settings:

PACKAGE_CLASSES = "package_rpm"
IMAGE_GEN_DEBUGFS = '1'

IMAGE_FSTYPES_DEBUGFS = "tar.bz2"

IMAGE_FSTYPES_DEBUGFS = "tar.gz"

and

IMAGE_FSTYPES_DEBUGFS = "tar"

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage_types: Ensure rootfs dependencies cover DEBUGFS
Richard Purdie [Tue, 19 Apr 2016 16:47:07 +0000 (17:47 +0100)]
image_types: Ensure rootfs dependencies cover DEBUGFS

If you configure a bz2 debugfs, pbzip2-native currently isn't built.
This patch makes sure the dependencies are added.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosyslinux.bbclass: The AUTO_SYSLINUXMENU value needs to be boolean
Otavio Salvador [Tue, 19 Apr 2016 19:34:00 +0000 (16:34 -0300)]
syslinux.bbclass: The AUTO_SYSLINUXMENU value needs to be boolean

The python code expects AUTO_SYSLINUXMENU to be a boolean value,
otherwise the logic fails. This fixes the code comparing the value to
"1" which is the value expected by the shell script code, counterpart.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperf: pass DESTDIR in EXTRA_OEMAKE
Ross Burton [Tue, 19 Apr 2016 12:56:00 +0000 (13:56 +0100)]
perf: pass DESTDIR in EXTRA_OEMAKE

Instead of passing DESTDIR just in the make install invocation, pass it in
EXTRA_OEMAKE.  This appears to stop perf from rebuilding at instal time for me,
which appears to be the trigger for the random build failure.

[ YOCTO #9182 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildtools-tarball: set INHIBIT_DEFAULT_DEPS
Robert Yang [Tue, 19 Apr 2016 02:09:35 +0000 (19:09 -0700)]
buildtools-tarball: set INHIBIT_DEFAULT_DEPS

The recipe doesn't need any default deps.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxf86-video-omapfb: remove EXTRA_OECONF_armv7a
Robert Yang [Mon, 18 Apr 2016 09:29:26 +0000 (02:29 -0700)]
xf86-video-omapfb: remove EXTRA_OECONF_armv7a

Fixe when build with armv7a:
gcc -c ../../git/src/sw-exa.c  -fPIC -DPIC -o .libs/sw-exa.o
{standard input}: Assembler messages:
{standard input}:179: Error: selected processor does not support `vld1.u8 {d0},[r1]!' in ARM mode
{standard input}:182: Error: selected processor does not support `vld1.u8 {d1},[r4]!' in ARM mode
{standard input}:183: Error: selected processor does not support `vld1.u8 {q1},[r0]!' in ARM mode
{standard input}:184: Error: selected processor does not support `vzip.u8 d0,d1' in ARM mode
{standard input}:185: Error: selected processor does not support `vld1.u8 {q2},[ip]!' in ARM mode
{standard input}:186: Error: selected processor does not support `vst2.u8 {q0,q1},[fp]!' in ARM mode
{standard input}:187: Error: selected FPU does not support instruction -- `vmov.u8 q1,q2'
{standard input}:188: Error: selected processor does not support `vst2.u8 {q0,q1},[lr]!' in ARM mode
{standard input}:239: Error: selected processor does not support `vld1.u8 {d0},[r1]!' in ARM mode
{standard input}:242: Error: selected processor does not support `vld1.u8 {d1},[r4]!' in ARM mode
{standard input}:243: Error: selected processor does not support `vld1.u8 {q1},[r0]!' in ARM mode
{standard input}:244: Error: selected processor does not support `vzip.u8 d0,d1' in ARM mode
{standard input}:245: Error: selected processor does not support `vld1.u8 {q2},[ip]!' in ARM mode
{standard input}:246: Error: selected processor does not support `vst2.u8 {q0,q1},[fp]!' in ARM mode
{standard input}:247: Error: selected FPU does not support instruction -- `vmov.u8 q1,q2'
{standard input}:248: Error: selected processor does not support `vst2.u8 {q0,q1},[lr]!' in ARM mode
make[2]: *** [image-format-conversions.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
../../git/src/omapfb-crtc.c: In function 'OMAPFBCrtcResize':
../../git/src/omapfb-crtc.c:34:12: warning: unused variable 'ofb' [-Wunused-variable]
  OMAPFBPtr ofb = OMAPFB(pScrn);
            ^
../../git/src/omapfb-xv.c:66:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     { XvSettable | XvGettable, 0, 0xffff, "XV_COLORKEY" },

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase.bbclass: Introduce PACKAGECONFIG_CONFARGS variable
Martin Jansa [Tue, 19 Apr 2016 10:31:40 +0000 (12:31 +0200)]
base.bbclass: Introduce PACKAGECONFIG_CONFARGS variable

* add separate variable for configuration options generated from
  PACKAGECONFIG setting, this helps other bbclasses and recipes
  to take advantage of PACKAGECONFIG mechanism, without including
  other options from EXTRA_OECONF
* e.g. meta-qt5 recipes are abusing EXTRA_OECONF to get options
  from PACKAGECONFIG:
  EXTRA_QMAKEVARS_PRE +=
  but with
  conf/distro/include/no-static-libs.inc
  it means getting --disable-static as invalid option inside
  EXTRA_QMAKEVARS_PRE as reported by Alexandre Belloni who tried
  to use poky with meta-qt5.
* once we migrate all bbclasses and recipes to PACKAGECONFIG_CONFARGS
  we should also restrict EXTRA_OECONF append only to autotools.bbclass
  like I did for cmake.bbclass

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>