]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agotoolchain-shar-extract.sh: do not allow $ in paths for ext SDK
Paul Eggleton [Mon, 2 Nov 2015 15:51:46 +0000 (15:51 +0000)] 
toolchain-shar-extract.sh: do not allow $ in paths for ext SDK

If you put an $ character in the path, SDK installation fails during the
preparation stage, so add this to the disallowed characters.

Fixes [YOCTO #8625].

(From OE-Core rev: 654f4785f719552f4e78e14a5a901c07d00ce68d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocreate-pull-request: handle empty ODIR
Petter Mabäcker [Tue, 24 Nov 2015 12:45:25 +0000 (13:45 +0100)] 
create-pull-request: handle empty ODIR

In some situations you might end-up with an empty ODIR (pull-xx/). The
most common reason is that you have applied your patches on 'master'
branch (or you are by mistake standing on the 'master' branch),
this will result in the default behavior that 'git format-patch'
will try to diff master..master.

Solve this by aborting the script with a proper error code and message
if ODIR is empty after the 'git format-patch' call (that is expected
to generate the cover-letter and patches).

(From OE-Core rev: 5ef9249bbae4f08eb9b981d10f31bd3348449c82)

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/gen-lockedsig-cache: improve output
Paul Eggleton [Tue, 20 Oct 2015 08:19:19 +0000 (09:19 +0100)] 
scripts/gen-lockedsig-cache: improve output

* Print some status when running
* When incorrect number of arguments specified, print usage text

(From OE-Core rev: ac38d245878b618ddf56f9a68834d344500e45a6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: exec_native_cmd: implement support for pseudo
Ed Bartosh [Tue, 24 Nov 2015 13:22:49 +0000 (15:22 +0200)] 
wic: exec_native_cmd: implement support for pseudo

Wic runs some tools through pseudo, which makes exec_native_cmd
to fail and throw cryptic error message when tool is not baked:
For example:
  Error: exec_cmd: 'export
  PSEUDO_PREFIX=/media/ssd/poky-build/tmp/sysroots/x86_64-linux/usr;export
  PSEUDO_LOCALSTATEDIR=/media/ssd/poky-build/tmp/work/qemux86-poky-linux/
...
  PSEUDO_PASSWD=/media/ssd/poky-build/tmp/work/qemux86-poky-linux/ ...
  PSEUDO_NOSYMLINKEXP=1;/media/ssd/poky-build/tmp/sysroots/ ...
  mkfs.ext4 -F -i 8192 /var/tmp/wic/build/rootfs_platform.7.ext4 -L
  platform -d
  /media/ssd/poky-build/tmp/work/qemux86-poky-linux/core-image-minimal/...
  returned '1' instead of 0

Made exec_native_cmd aware of pseudo and properly report
errors when command is not found.

(From OE-Core rev: 04bab58809c63c9114feb0aadc9b6115be10fcc4)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotoolchain-shar-relocate: don't assume last state of env_setup_script is good
Jean-Francois Dagenais [Mon, 16 Nov 2015 19:37:16 +0000 (14:37 -0500)] 
toolchain-shar-relocate: don't assume last state of env_setup_script is good

In the case where many environment-setup-* files exist, the incorrect
filename might be lastly set in env_setup_script, which leads to
incorrect behaviour for the initialization of native_sysroot.

The scenario I had was that our custom meta-toolchain-*.bb, which
inherits populate_sdk, defined another environment-setup-* file to dump
variable information for qt-creator. The file is named like so in order
for the sdk shell script to pick it up and fix the SDK paths in the
file. Since it (coincidentally) alphabetically comes after ...-core2, it
was last set in env_setup_script and the grep OECORE_NATIVE_SYSROOT
would simply be blank. The apparent symptom was "...relocate_sdk.py:
Argument list too long" since the find command would not be searching in
the right path.

(From OE-Core rev: a36469c97c9cb335de1e95dea5141038f337df95)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosanity: don't enforce DISPLAY for testimage
Ross Burton [Mon, 23 Nov 2015 12:09:06 +0000 (12:09 +0000)] 
sanity: don't enforce DISPLAY for testimage

Now that qemurunner doesn't need DISPLAY set, let whether DISPLAY is set be up
to the user.

(From OE-Core rev: 259d1d1889b9349498d3f995a09466ce89bd3fcf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/qemurunner: pass nographic to runqemu if DISPLAY isn't set
Ross Burton [Thu, 27 Aug 2015 14:14:21 +0000 (15:14 +0100)] 
oeqa/qemurunner: pass nographic to runqemu if DISPLAY isn't set

Not everyone wants to run the tests with a qemu that has a graphical output, so
allow display to be None and pass nographic to runqemu in that case.

(From OE-Core rev: b1d85f13e79f8a493b9849551357a1a5cf0d0fec)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase: add automatic dependency on lzip-native for .lz SRC_URI
Ross Burton [Fri, 20 Nov 2015 15:41:33 +0000 (15:41 +0000)] 
base: add automatic dependency on lzip-native for .lz SRC_URI

Now that the SRC_URI is parsed this can be done without false-positives.

(From OE-Core rev: 6fac3caf3d70823c830178f2299ceee275a1edd1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase: decode SRC_URI before adding implicit fetch dependencies
Ross Burton [Fri, 20 Nov 2015 15:34:52 +0000 (15:34 +0000)] 
base: decode SRC_URI before adding implicit fetch dependencies

To avoid false positives such as a SRC_URI for http://foo.xz/foo.zip gaining a
dependnecy on xz-native decode the URI so that precise tests can be done.

(From OE-Core rev: a98a14844bc0b2ef8fc0426768fde40516279bf8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuildhistory.bbclass: support extending the content of the build history
Patrick Ohly [Wed, 25 Nov 2015 09:30:30 +0000 (10:30 +0100)] 
buildhistory.bbclass: support extending the content of the build history

The idea behind the implementation of Yocto #8138 was that an
additional class can write additional files in the recipe directories,
for example by hooking into the functions of buildhistory.bbclass or
by implementing its own SSTATEPOSTINSTFUNCS function.

However, when these additional files get created before
buildhistory_emit_pkghistory(), they get removed again by that
function because it contains code which removes everything it does
not know about. The reason for that is that these unknown items
are probably obsolete.

This logic is the reason why the additional "kconfig" file from
buildhistory-extra.bbclass never showed up in the final build history.

To fix this, the hard-coded list of known files in
buildhistory_emit_pkghistory() must be turned into a variable which
derived classes can extend.

(From OE-Core rev: 97f77ea3313b0d79ae4a6090672a2a9344282262)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense.bbclass: Create image license manifest
Mariano Lopez [Fri, 13 Nov 2015 14:29:18 +0000 (14:29 +0000)] 
license.bbclass: Create image license manifest

This change adds the license_deployed_manifest function
that will create the manifest for the packages deployed
next to the image but not installed in rootfs. Some
examples of these recipes would be the bootloaders, or
the kernel.

This new function was added to ROOTFS_POSTPROCESS_COMMAND
so it will run after every rootfs task.

This change also modify the write_license_files because
the image manifest is different from the root manifest.

[YOCTO #6772]

(From OE-Core rev: a58e8e164b888a6e4747ef62a7a43825c4f47c32)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense.bbclass: Add function get_deployed_files
Mariano Lopez [Thu, 12 Nov 2015 14:21:06 +0000 (14:21 +0000)] 
license.bbclass: Add function get_deployed_files

This function will get the files that were deployed using
the sstate-control manifest file. This will give a better
view of what was deployed next to the image.

[YOCTO #6772]

(From OE-Core rev: f1a0a86ea2db6f16d9b643636a8973aaeb85e4a6)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense.bbclass: Added function get_deployed_dependencies
Mariano Lopez [Thu, 12 Nov 2015 14:14:40 +0000 (14:14 +0000)] 
license.bbclass: Added function get_deployed_dependencies

This change introduce a new function to get the dependencies
that were deployed. It uses BB_TASKDEPDATAto get all the
dependencies of the current task, so it is possible to get
different packages depending at what point this function is
called.

[YOCTO #6772]

(From OE-Core rev: 2be96279580eac2b03970131dcd81b13c7f7f7d5)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense.bbclass: Added get_boot_dependencies function
Mariano Lopez [Thu, 12 Nov 2015 12:36:02 +0000 (12:36 +0000)] 
license.bbclass: Added get_boot_dependencies function

This function gets the dependencies from the classes that
create a boot image, this is required because sometimes
the bootloader dependecy is in these classes. The current
classes covered are bootimg and bootdirectdisk because
these are the only clases that add dependencies.

[YOCTO #6772]

(From OE-Core rev: b165c2d3349115546c9db2f084eb6def4913b82d)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense.bbclass: Split license create manifest
Mariano Lopez [Thu, 1 Oct 2015 11:25:08 +0000 (11:25 +0000)] 
license.bbclass: Split license create manifest

This changes moves the writing of the licenses to a
separated function that could be called for other packages.

With these change it will be easier to reuse the writing of
the license for the packages deployed but not installed in
the rootfs.

[YOCTO #6772]

(From OE-Core rev: 71fb5da7a3a8e61b15be4efc05b968c0c9920d2f)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense.bbclass: Write recipeinfo file in license folder
Mariano Lopez [Thu, 19 Nov 2015 08:05:46 +0000 (08:05 +0000)] 
license.bbclass: Write recipeinfo file in license folder

Currently there is no way to get the recipe version when
creating the rootfs. It is needed because the manifest
file for the image has to contain this important piece
of information.

This change writes a new file in the license folder for
every recipe. This file is called "recipeinfo" and have
the information used to write the manifest file for the
recipes deployed next to the image.

[YOCTO #6772]

(From OE-Core rev: 2d97d82fb51281fe130e8d135f3cf9a78423dd94)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_ext.bbclass: Be more permissive on the name of the buildtools
Mark Hatle [Fri, 20 Nov 2015 20:06:54 +0000 (14:06 -0600)] 
populate_sdk_ext.bbclass: Be more permissive on the name of the buildtools

We want to support different names for the buildtools tarball.  The
name may not always be of the default oe-core format.

For instance, at Wind River we define the built-tools name to be:

${SDK_ARCH}-buildtools-nativesdk-standalone-${DISTRO_VERSION}

because thes standard SDK_NAME has additional information that is not
relevant to the builtools tarball.

(From OE-Core rev: b49c6f179b06a8b97106aa4c95f2cdb3c4dc0920)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopopulate_sdk_base: Add sysroot symlink check
Haris Okanovic [Tue, 17 Nov 2015 20:21:12 +0000 (14:21 -0600)] 
populate_sdk_base: Add sysroot symlink check

Add optional check to do_populate_sdk() that verifies SDK sysroots don't
contain dangling or escaping symlinks before attempting to tar an archive.
Such links may fail a `tar -h` operation (-h => follow symlinks) or
archive the build system's files.

Set CHECK_SDK_SYSROOTS = "1" to enable this check.

Use case: The -h option may be set via SDKTAROPTS in some configurations
to create symlink-less SDK archives for Windows file systems.

(From OE-Core rev: 2658200fa2b3df08880ee937a3de5cb2866f8a50)

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: fail if SDK_ARCH != BUILD_ARCH
Paul Eggleton [Wed, 18 Nov 2015 20:59:36 +0000 (09:59 +1300)] 
classes/populate_sdk_ext: fail if SDK_ARCH != BUILD_ARCH

The extensible SDK relies upon uninative, and with the way that
uninative works, the build system architecture must be the same as the
SDK architecture or the extensible SDK won't be usable. At some point in
future hopefully we can remove this limitation, but until then it's
disingenuous to allow this to build, so add a check to ensure
SDK_ARCH == BUILD_ARCH and fail if it isn't.

(From OE-Core rev: 9e30e849eda3b0a0c54d3f7ed0102760fdaef06c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: tweak reporting of workspace exclusion
Paul Eggleton [Thu, 12 Nov 2015 15:24:29 +0000 (15:24 +0000)] 
classes/populate_sdk_ext: tweak reporting of workspace exclusion

If you have a local workspace layer enabled when building the
extensible SDK, we explicitly exclude that from the SDK (mostly because
the SDK has its own for the user to use). Adjust the message we print
notifying the user of this so it's clear that we're excluding it from
the SDK, and scale it back from a warning to a note printed with
bb.plain().

(From OE-Core rev: 90f46f74a088a7b965d2205eceb9eff6f276dd38)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: make it clear when SDK installation has failed
Paul Eggleton [Thu, 12 Nov 2015 15:08:12 +0000 (15:08 +0000)] 
classes/populate_sdk_ext: make it clear when SDK installation has failed

When SDK preparation fails:

* Insert an ERROR: in front of the error message
* Add an error message to the environment setup script

Hopefully this should make it more obvious when this happens.

Fixes [YOCTO #8658].

(From OE-Core rev: 105df569b3b1982005c2edb37f4690f9ba6bde35)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoclasses/populate_sdk_ext: tidy up preparation log file writing
Paul Eggleton [Thu, 12 Nov 2015 15:00:47 +0000 (15:00 +0000)] 
classes/populate_sdk_ext: tidy up preparation log file writing

Use a variable for the log file which includes the full path; this is
not only neater but avoids us writing the first part (the output of
oe-init-build-env) to a file in another directory since we are
changing directory as part of this subshell.

(From OE-Core rev: 001af71752a9e9aab460cbd49ed049e1eb726295)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoboot-directdisk.bbclass: remove HDDIMG before create
Robert Yang [Tue, 24 Nov 2015 13:20:38 +0000 (05:20 -0800)] 
boot-directdisk.bbclass: remove HDDIMG before create

Fixed when rebuild:
mkdosfs: file /path/to/hdd.image already exists

(From OE-Core rev: 9abcd309c098558360cde2bff65be840ead25f83)

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 agosstate: Ensure siginfo and sig files are also touched
Richard Purdie [Wed, 18 Nov 2015 11:52:06 +0000 (11:52 +0000)] 
sstate: Ensure siginfo and sig files are also touched

Maintaining an sstate mirror is complicated at the moment as only the main
sstate tgz files have their timestamp updated when they're used.

This causes problems as the siginfo files can be removed from the server
due to inactivity but the sstate fetch code tries to fetch them leading
to confusing warnings and reduced debug capability.

This change ensures we touch any sig/siginfo files present and should
help ageing of the objects on sstate mirrors. It doesn't handle the intermediate
task siginfo files but those are never fetched by the current sstate code
so are an order of magnitude less problematic.

(From OE-Core rev: 80b3974081c4a8c604e23982a6db8fb32c616058)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoweston: Add PACKAGECONFIG option for colord CMS
Otavio Salvador [Mon, 16 Nov 2015 16:54:30 +0000 (14:54 -0200)] 
weston: Add PACKAGECONFIG option for colord CMS

(From OE-Core rev: e98d01c1ca060ad984d7a14a3f56fe049812df44)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopkg: add cache filename length fixes
Alejandro del Castillo [Fri, 13 Nov 2015 15:59:15 +0000 (09:59 -0600)] 
opkg: add cache filename length fixes

(From OE-Core rev: 8e53500a7c05204fc63759f456639545a022e82b)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenjade-native: statically link local libs
Christopher Larson [Tue, 10 Nov 2015 20:49:15 +0000 (13:49 -0700)] 
openjade-native: statically link local libs

Statically link local libs to avoid gold link issue. This is clearly
a workaround, but does get us past the failures with systems using gold by
default until we find a better solution.

[YOCTO #2972]

(From OE-Core rev: 415287be0cce596ea0d33ded0f3e6ffa9f26b775)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysklogd: inhibit updatercd for non-sysvinit
Christopher Larson [Wed, 4 Nov 2015 23:40:49 +0000 (16:40 -0700)] 
sysklogd: inhibit updatercd for non-sysvinit

This recipe doesn't inherit systemd, so we need to take care of it ourselves.

(From OE-Core rev: 4b382b79a0acce0e2704d841288cef7dad660690)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoconnman: depend on readline
Christopher Larson [Wed, 4 Nov 2015 23:51:13 +0000 (16:51 -0700)] 
connman: depend on readline

When the client is enabled, which we do by default, readline is required.
Currently it gets pulled in by other dependencies of connman, indirectly,
but we should be explicit rather than relying on this.

(From OE-Core rev: 8d10de63e09754ed600ad3130b685bb1624eba5e)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolatencytop: obey LDFLAGS
Christopher Larson [Wed, 11 Nov 2015 18:41:18 +0000 (11:41 -0700)] 
latencytop: obey LDFLAGS

Patch update courtesy Abdur Rehman <abdur_rehman@mentor.com>.

(From OE-Core rev: 448f211ba8a2a05380276de648176422c0b6eb37)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotcf-agent: obey LDFLAGS
Christopher Larson [Wed, 11 Nov 2015 05:12:24 +0000 (22:12 -0700)] 
tcf-agent: obey LDFLAGS

This silences a GNU_HASH warning when using external toolchains. The patch is
courtesy Abdur Rehman <abdur_rehman@mentor.com>.

(From OE-Core rev: 909c77ad13b139478bd1a9eee288604a75d59ee5)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoblkspace: fix ldflags for iowatcher
Christopher Larson [Wed, 11 Nov 2015 04:16:35 +0000 (21:16 -0700)] 
blkspace: fix ldflags for iowatcher

This quiets a GNU_HASH warning.

(From OE-Core rev: ad8a2ca46075a7ea236d6db9da963dc0040d2206)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobluez5: enable sysvinit support
Christopher Larson [Wed, 11 Nov 2015 04:24:58 +0000 (21:24 -0700)] 
bluez5: enable sysvinit support

This is from Shrikant Bobade <Shrikant_Bobade@mentor.com>.

(From OE-Core rev: f4c16f53af27ad459e77ae7f43e7bf1bad70645a)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysprof: use packageconfig for the gui
Christopher Larson [Wed, 11 Nov 2015 18:35:06 +0000 (11:35 -0700)] 
sysprof: use packageconfig for the gui

This makes the gtk dependencies optional.

(From OE-Core rev: 191a1817c9dce90f3094bc98d6e0f5ab02f8a5c7)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomc: upgrade to 4.8.15
Maxin B. John [Mon, 16 Nov 2015 08:58:50 +0000 (10:58 +0200)] 
mc: upgrade to 4.8.15

4.8.14 -> 4.8.15

(From OE-Core rev: 35c5ab8f34400000129078e1a5246232b20fd265)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-directfb: Don't depend on pango-modules
Jussi Kukkonen [Fri, 13 Nov 2015 13:38:13 +0000 (15:38 +0200)] 
packagegroup-core-directfb: Don't depend on pango-modules

Recent pango upgrade means there is no pango-modules.

(From OE-Core rev: 2aea260b99d38bf506c6a0ebcf0f299b2c675da7)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxkeyboard-config: Upgrade 2.15 -> 2.16
Jussi Kukkonen [Wed, 11 Nov 2015 18:31:15 +0000 (20:31 +0200)] 
xkeyboard-config: Upgrade 2.15 -> 2.16

(From OE-Core rev: 8983e571a6e2491a6253995414f35e05661cb9f0)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxkbcomp: Upgrade 1.3.0 -> 1.3.1
Jussi Kukkonen [Wed, 11 Nov 2015 18:23:00 +0000 (20:23 +0200)] 
xkbcomp: Upgrade 1.3.0 -> 1.3.1

(From OE-Core rev: 4605abb8d56f902e3dd278d890d4293caa95fa40)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxinput: Upgrade 1.6.1 -> 1.6.2
Jussi Kukkonen [Wed, 11 Nov 2015 18:22:13 +0000 (20:22 +0200)] 
xinput: Upgrade 1.6.1 -> 1.6.2

(From OE-Core rev: 649963e0d4c3061b5794823809ecaa363fade6e9)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxf86-video-omap: Upgrade 0.4.3 -> 0.4.4
Jussi Kukkonen [Wed, 11 Nov 2015 18:05:29 +0000 (20:05 +0200)] 
xf86-video-omap: Upgrade 0.4.3 -> 0.4.4

Remove backported patch.

(From OE-Core rev: 4ca6274aff4c7c489f148f811267634a760c5b77)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxf86-input-synaptics: Upgrade 1.8.2 -> 1.8.3
Jussi Kukkonen [Wed, 11 Nov 2015 15:08:26 +0000 (17:08 +0200)] 
xf86-input-synaptics: Upgrade 1.8.2 -> 1.8.3

(From OE-Core rev: 15b4e5d2ab0ac117979cb367f07f444b8e123b64)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxf86-input-evdev: Upgrade 2.9.2 -> 2.10.0
Jussi Kukkonen [Wed, 11 Nov 2015 14:30:09 +0000 (16:30 +0200)] 
xf86-input-evdev: Upgrade 2.9.2 -> 2.10.0

This version installs the 10-evdev.conf configuration file
that is no longer included in xserver-xorg.

(From OE-Core rev: 52114d07cedd49f7db08520ce67d2635fff8f688)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxorg-driver-input: add xorg configuration to FILES
Jussi Kukkonen [Wed, 11 Nov 2015 14:34:08 +0000 (16:34 +0200)] 
xorg-driver-input: add xorg configuration to FILES

It's common for input drivers to to add files into
${datadir}/X11/xorg.conf.d/.

(From OE-Core rev: 757fb421ec498b7c268944ba5d2942d2b286bed8)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxserver-xorg: Upgrade 1.17.2 -> 1.18.0
Jussi Kukkonen [Wed, 11 Nov 2015 13:27:02 +0000 (15:27 +0200)] 
xserver-xorg: Upgrade 1.17.2 -> 1.18.0

* Remove glibc-guard patch: xserver no longer uses termio.h on linux
  in any case.
* Remove "--enable-glx-tls": this hasn't done anything since glapi
  was separated from glx
* Note that xserver no longer installs evdev configuration
  (evdev and/or libinput should do it instead)
* Add patch to check for libsystemd correctly
* Add PACKAGECONFIG for libsystemd

(From OE-Core rev: 9057678e75ec09af081b27d5935907ec955c3664)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxcb: Remove unused git-version of the recipe
Jussi Kukkonen [Tue, 10 Nov 2015 09:38:59 +0000 (11:38 +0200)] 
libxcb: Remove unused git-version of the recipe

(From OE-Core rev: 39c6dae9286f649ff02acb56d0214d9d2a3cadf7)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxcb: Upgrade 1.11 -> 1.11.1
Jussi Kukkonen [Mon, 9 Nov 2015 15:07:34 +0000 (17:07 +0200)] 
libxcb: Upgrade 1.11 -> 1.11.1

(From OE-Core rev: 3a3f65ffafeba5cb73877bcb2be13c02ae6ef034)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopixman: Upgrade 0.32.6 -> 0.32.8
Jussi Kukkonen [Mon, 9 Nov 2015 14:41:36 +0000 (16:41 +0200)] 
pixman: Upgrade 0.32.6 -> 0.32.8

Update Upstream-Status on a patch.

(From OE-Core rev: 43f67da6bfd5870424ebb32e5d25c6c193b6d41f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxi: Upgrade 1.7.4 -> 1.7.5
Jussi Kukkonen [Mon, 9 Nov 2015 14:30:01 +0000 (16:30 +0200)] 
libxi: Upgrade 1.7.4 -> 1.7.5

(From OE-Core rev: 473a73e77b53b059ac99cc938831faa1c7cd72c0)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogtk-icon-utils-native: Upgrade 3.16.6 -> 3.18.2
Jussi Kukkonen [Tue, 10 Nov 2015 11:42:02 +0000 (13:42 +0200)] 
gtk-icon-utils-native: Upgrade 3.16.6 -> 3.18.2

(From OE-Core rev: f989fc4699a4e616b1f56515466d1f62379f0eb5)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackage_regex.inc: Add gtk-icon-utils-native
Jussi Kukkonen [Tue, 10 Nov 2015 09:54:09 +0000 (11:54 +0200)] 
package_regex.inc: Add gtk-icon-utils-native

(From OE-Core rev: dad769b0d62f44e1dcd5cca305b7ce1dfd879390)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogtk+3: Upgrade 3.16.6 -> 3.18.2
Jussi Kukkonen [Fri, 6 Nov 2015 13:36:21 +0000 (15:36 +0200)] 
gtk+3: Upgrade 3.16.6 -> 3.18.2

* Package new development tool gtk-builder-tool.
* Disable colord support (for explicitness, no functional change)

(From OE-Core rev: 59498a8b4fa69a359e72225d14c554aae133571a)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoadwaita-icon-theme: Upgrade 3.16.2.1 -> 3.18.0
Jussi Kukkonen [Fri, 6 Nov 2015 12:27:15 +0000 (14:27 +0200)] 
adwaita-icon-theme: Upgrade 3.16.2.1 -> 3.18.0

Remove a backported patch.

(From OE-Core rev: 136c62b5dcb7d01278b18217d136d55d4ecee040)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibrsvg: Upgrade 2.40.10 -> 2.40.11
Jussi Kukkonen [Fri, 6 Nov 2015 12:04:46 +0000 (14:04 +0200)] 
librsvg: Upgrade 2.40.10 -> 2.40.11

(From OE-Core rev: a74b956b74fefb060bb8dd4bd503b7d53b9b4c4e)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopango: add RPROVIDES for removed packages
Ross Burton [Wed, 18 Nov 2015 10:18:36 +0000 (10:18 +0000)] 
pango: add RPROVIDES for removed packages

Now that Pango has merged the external modules and engines the packages don't
exist.  For convenience have the Pango library RPROVIDE these names.

(From OE-Core rev: 9e4c511ed155e1af50b69b65cf43a6320750ca8c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopango: Upgrade 1.36.8 -> 1.38.1
Jussi Kukkonen [Thu, 5 Nov 2015 20:54:59 +0000 (22:54 +0200)] 
pango: Upgrade 1.36.8 -> 1.38.1

Pango is now a simple a simple library and no longer has
 - modules
 - engines
 - configuration
Dropping all related things from the recipe.

(From OE-Core rev: 9a86d2a876f5cce9c2825f8fd5bf5dc9aaf9d7a1)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogdk-pixbuf: Upgrade 2.30.8 -> 2.32.1
Jussi Kukkonen [Thu, 5 Nov 2015 20:26:08 +0000 (22:26 +0200)] 
gdk-pixbuf: Upgrade 2.30.8 -> 2.32.1

Remove a backported patch.

(From OE-Core rev: d19d221ca77ff5cfbe92cf8234b2f4f35dd07329)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsoup-2.4: Upgrade 2.50.0 -> 2.52.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:40:18 +0000 (14:40 +0200)] 
libsoup-2.4: Upgrade 2.50.0 -> 2.52.1

Don't build the now-included vala bindings: This requires gobject-introspection.

(From OE-Core rev: 25991b97ce027d1ff9b803f4ab57350659465fd8)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoat-spi2-atk: Upgrade 2.16.0 -> 2.18.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:28:18 +0000 (14:28 +0200)] 
at-spi2-atk: Upgrade 2.16.0 -> 2.18.1

(From OE-Core rev: c6a14343bf58329c69a2c4c9cb780647ae5e9ded)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoatk-spi2-core: Upgrade 2.16.0 -> 2.18.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:19:12 +0000 (14:19 +0200)] 
atk-spi2-core: Upgrade 2.16.0 -> 2.18.1

(From OE-Core rev: ba8016f0e01178030aa9075fc3a48245f630d49a)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoatk: Upgrade 2.16.0 -> 2.18.0
Jussi Kukkonen [Thu, 5 Nov 2015 12:15:26 +0000 (14:15 +0200)] 
atk: Upgrade 2.16.0 -> 2.18.0

(From OE-Core rev: bf804ba484c08ed3531e639777a9be3b7858b1e3)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglib-networking: Upgrade 2.44.0 -> 2.46.1
Jussi Kukkonen [Thu, 5 Nov 2015 12:10:23 +0000 (14:10 +0200)] 
glib-networking: Upgrade 2.44.0 -> 2.46.1

(From OE-Core rev: 07fd82d5909b2227d6b163356468cf8a73df8358)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglib-2.0: build dependency cleanup
Ross Burton [Mon, 16 Nov 2015 23:24:05 +0000 (23:24 +0000)] 
glib-2.0: build dependency cleanup

New GLib doesn't require glib-2.0-native to build itself so remove it from the
DEPENDS.  However it is needed for the test suite so respect PTEST_ENABLED and
add it to DEPENDS if required.

(From OE-Core rev: 216d534258f4fd7aa3c46093aba6fa2967ae5283)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglib-2.0: Enable more tests while cross-compiling
Jussi Kukkonen [Mon, 9 Nov 2015 09:17:07 +0000 (11:17 +0200)] 
glib-2.0: Enable more tests while cross-compiling

(From OE-Core rev: e6e9260b97d873f14991a1143f1bda5b1b624955)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoglib-2.0: Upgrade 2.44.1 -> 2.46.1
Jussi Kukkonen [Thu, 5 Nov 2015 09:31:39 +0000 (11:31 +0200)] 
glib-2.0: Upgrade 2.44.1 -> 2.46.1

Fix cross-compilation build issue in gio tests.

(From OE-Core rev: 17bbd1957720d6faea04530211a76655541fe71e)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: Backport malloc-trace disabling
Jussi Kukkonen [Mon, 9 Nov 2015 08:32:38 +0000 (10:32 +0200)] 
qemu: Backport malloc-trace disabling

Allocation tracing has been removed from GLib 2.46 and trying to use
it results in an ugly warning: Backport patch to not use it in Qemu.

(From OE-Core rev: 5e6105a90acb86bf7e2c0d5e7fe51e6112080916)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agologrotate: do not move binary logrotate to /usr/bin
Hongxu Jia [Mon, 2 Nov 2015 08:33:27 +0000 (16:33 +0800)] 
logrotate: do not move binary logrotate to /usr/bin

In oe-core commit a46d3646a3e1781be4423b508ea63996b3cfca8a
...
Author: Fahad Usman <fahad_usman@mentor.com>
Date:   Tue Aug 26 13:16:48 2014 +0500

    logrotate: obey our flags

    Needed to quiet GNU_HASH warnings, and some minor fixes.
...
it explicitly move logrotate to /usr/bin without any reason,
which is against the original Linux location /usr/sbin.

So partly revert the above commit which let logrotate be
kept in the original place /usr/sbin.

(From OE-Core rev: 0007436b486fd0bea9e6ef60bf57603e7cfce54b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: drop unneeded $D check in prerm
Christopher Larson [Wed, 11 Nov 2015 05:35:43 +0000 (22:35 -0700)] 
systemd: drop unneeded $D check in prerm

(From OE-Core rev: 2bfc772425893ed5674eef76174be6e4b0b5cfd7)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: chown hwdb.bin to root:root for do_rootfs
Christopher Larson [Wed, 11 Nov 2015 05:34:01 +0000 (22:34 -0700)] 
systemd: chown hwdb.bin to root:root for do_rootfs

This is created by qemu for the do_rootfs case, which bypasses pseudo, so we
need to correct the ownership. This fixes a warning issued by
rootfs_check_host_user_contaminated.

(From OE-Core rev: 4ff6b8cadec10e17dbf884a873a227e29944f5d1)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: for valgrind, define VALGRIND=1
Christopher Larson [Wed, 11 Nov 2015 06:06:50 +0000 (23:06 -0700)] 
systemd: for valgrind, define VALGRIND=1

Per the systemd README, this should be defined to run systemd under valgrind,
otherwise false positives will be triggered.

(From OE-Core rev: c643fcf5152c50de130b16b567e2a9bad99546a1)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: make coredump a PACKAGECONFIG
Daniel McGregor [Tue, 3 Nov 2015 22:54:36 +0000 (16:54 -0600)] 
systemd: make coredump a PACKAGECONFIG

(From OE-Core rev: 70ddba0a5798362923c4c437541ab9992b5020fb)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: add machine-id to conffiles
Dan McGregor [Tue, 3 Nov 2015 22:54:35 +0000 (16:54 -0600)] 
systemd: add machine-id to conffiles

If / is mounted read-write machine-id will be overwritten on first boot.
This change ensures that the machine-id file persists across package
upgrades to systemd.

(From OE-Core rev: a25335967ac4aa62d77e862b4b80fed293eba0ad)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: ignore .so filenames in systemd-doc
Dan McGregor [Tue, 3 Nov 2015 22:54:34 +0000 (16:54 -0600)] 
systemd: ignore .so filenames in systemd-doc

systemd names two manual pages for .so files ${foo}.so.2.8,
the library being named ${foo}.so.2. This hits the libdir
sanity checker:
WARNING: QA Issue: systemd-doc: found library in wrong location:
/usr/share/man/man8/libnss_mymachines.so.2.8 [libdir]

Disable the libdir sanity check for systemd-doc.

(From OE-Core rev: 2c10bc96257a934d9431bef0c39006c7e100924d)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: fix Upstream-Status tag
Ross Burton [Wed, 11 Nov 2015 11:11:39 +0000 (11:11 +0000)] 
systemd: fix Upstream-Status tag

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomdadm: fix CFLAGS and ptest issues
Wenzong Fan [Fri, 16 Oct 2015 03:24:14 +0000 (23:24 -0400)] 
mdadm: fix CFLAGS and ptest issues

* Pass global CFLAGS to build:

The CFLAGS does not pass to build at all since it was redefined by
mdadm Makefile:

  CFLAGS = $(CWFLAGS) $(CXFLAGS) ...

This could be done by setting 'CXFLAGS="${CFLAGS}"'.

* Also fix ptest build errors caused by global CFLAGS:

  raid6check.c:352:2: error: ignoring return value of posix_memalign, \
  declared with attribute warn_unused_result [-Werror=unused-result]

  raid6check.c:315:8: error: 'stripe_buf' may be used uninitialized \
  in this function [-Werror=maybe-uninitialized]

(From OE-Core rev: 60f71fa4da86ca4c7c37115c343db194a3b7b47b)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-4.9: Fix various _FOR_BUILD and related variables
Juro Bystricky [Sat, 7 Nov 2015 17:46:42 +0000 (09:46 -0800)] 
gcc-4.9: Fix various _FOR_BUILD and related variables

This patch is based on the patch for gcc-5.2 (41cbfd7af60f93a4bd496b7b6bf477215a286950)

When doing a FOR_BUILD thing, you have to override CFLAGS with
CFLAGS_FOR_BUILD. And if you use C++, you also have to override
CXXFLAGS with CXXFLAGS_FOR_BUILD.
Without this, when building for mingw, you end up trying to use
the mingw headers for a host build.

The same goes for other variables as well, such as CPPFLAGS,
CPP, and GMPINC.

(From OE-Core rev: e6dc4b2ac0cc6417c0e0ddcdcbe3f334581af8fc)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: add sync command
Tzu-Jung Lee [Mon, 9 Nov 2015 10:30:32 +0000 (02:30 -0800)] 
devtool: add sync command

The sync command is similar to the extract command, except it
fetches the sync'ed and patched branch to an existing git repository.

This enables users to keep track the upstream development while
maintaining their own local git repository at the same time.

(From OE-Core rev: e2fe4c99f1020a20b579832c4feafcd0e9bc2f75)

Signed-off-by: Tzu-Jung Lee <roylee17@currantlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoboost.inc: remove unused parameter from get_boost_parallel_make()
Andre McCurdy [Thu, 12 Nov 2015 21:00:39 +0000 (13:00 -0800)] 
boost.inc: remove unused parameter from get_boost_parallel_make()

The bb parameter seems to have been accidentally left behind after:

  http://git.openembedded.org/openembedded-core/commit/?id=1ff36aaec25a7ee89514366fe484345e8d1d7b64

(From OE-Core rev: 871d3279fd3360628c8fd9a37134eca541b10636)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowireless-tools: remove unused files
Maxin B. John [Thu, 12 Nov 2015 15:39:48 +0000 (17:39 +0200)] 
wireless-tools: remove unused files

Remove wireless-tools.if-pre-up and zzz-wireless.if-pre-up.
As per the comment, these files were not in use from 20/8/08.

(From OE-Core rev: 85ed9f581184d4028d407cd69f1ae6c58836aa77)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogstreamer1.0: fix install race
Ross Burton [Thu, 12 Nov 2015 19:47:46 +0000 (19:47 +0000)] 
gstreamer1.0: fix install race

The install hook needs to be a data hook not an exec hook (because automake),
the explicit dependency upstream added to fix the ordering results in
install-helpersPROGRAMS executing twice and potentially racing.

(From OE-Core rev: 0fde7c96bd81f16a70ad7193a91c3c2021c4aca4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-multilib-config: make aarch64 support multilib
Robert Yang [Thu, 5 Nov 2015 08:20:51 +0000 (00:20 -0800)] 
gcc-multilib-config: make aarch64 support multilib

Fixed:
MACHINE = qemuarm64
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"

$ bitbake core-image-minimal -cpopulate_sdk

WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64
WARNING: gcc multilib setup is not supported for TARGET_ARCH=aarch64

[YOCTO #8638]

(From OE-Core rev: 9e0cad83eefae4c1a5e5e0334cc1cfdfc1f51057)

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 agolibxml2: fix CVE-2015-7942 and CVE-2015-8035
Armin Kuster [Wed, 11 Nov 2015 22:21:46 +0000 (14:21 -0800)] 
libxml2: fix CVE-2015-7942 and CVE-2015-8035

CVE-2015-7942 libxml2: heap-based buffer overflow in xmlParseConditionalSections()
CVE-2015-8035 libxml2: DoS when parsing specially crafted XML document if XZ support is enabled

[YOCTO #8641]

(From OE-Core rev: 27de51f4ad21d9b896e7d48041e7cdf20c564a38)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoterminal: Open a new window instead of split on older tmux versions (<1.9)
Leonardo Sandoval [Fri, 6 Nov 2015 23:25:08 +0000 (17:25 -0600)] 
terminal: Open a new window instead of split on older tmux versions (<1.9)

If an old version is detected (<1.9), create a new window instead of split:
the reason is that there is no easy way to get the active pane height if no
nested formats are supported.

(From OE-Core rev: 457bd6297ae99627c5f596c3c09086d787d5a5ab)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoflex: fix test-bison-yylval and test-bison-yylloc failed
Hongxu Jia [Wed, 11 Nov 2015 06:15:38 +0000 (01:15 -0500)] 
flex: fix test-bison-yylval and test-bison-yylloc failed

The tests in flex test-bison-yylval and test-bison-yylloc
failed, so we backport a patch from upstream to fix it.

(From OE-Core rev: 04810bf36720240cf0e1b8ba2cb1bba16b2ccac8)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogdbm 1.8.3: install libgdbm_compat
Robert Yang [Thu, 12 Nov 2015 08:51:38 +0000 (00:51 -0800)] 
gdbm 1.8.3: install libgdbm_compat

It has been built but not installed by default, while 1.11 builds and
installs it.

Fixed when build non_gplv3 + perl:
powerpc64-wrs-linux-gcc -m64 -mhard-float -mcpu=e6500
--sysroot=/mnt/docker/test_p/bitbake_build/tmp/sysroots/fsl-t2xxx
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -
fstack-protector -shared NDBM_File.o  -o
../../lib/auto/NDBM_File/NDBM_File.so   \
   -lgdbm -lgdbm_compat         \

ld: cannot find -lgdbm_compat
collect2: error: ld returned 1 exit status
Makefile:473: recipe for target '../../lib/auto/NDBM_File/NDBM_File.so' failed

(From OE-Core rev: 1a50961e63222e6196b9688f48700c7ba1596dbc)

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 agoharfbuzz: update to 1.0.6
Maxin B. John [Thu, 12 Nov 2015 08:53:23 +0000 (10:53 +0200)] 
harfbuzz: update to 1.0.6

1.0.2 -> 1.0.6

(From OE-Core rev: 1ca357c1a1e920e260d3d61863d3c6efa01f37b4)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoethtool: bump version to 4.2
Maxin B. John [Thu, 12 Nov 2015 08:53:22 +0000 (10:53 +0200)] 
ethtool: bump version to 4.2

4.0 -> 4.2

(From OE-Core rev: c3950647a3a84986380cc37d4a1dfbacc1c0acc6)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssl: fix ptest issues
Wenzong Fan [Mon, 3 Aug 2015 08:52:45 +0000 (16:52 +0800)] 
openssl: fix ptest issues

* follow symbolic links while copying sources from test/*
* install required target files to remove Make errors:

  make[2]: *** No rule to make target 'xxx', needed by 'yyy'.

* fix hardcode pathes:
  /usr/lib -> ${libdir}, /usr/bin -> ${bindir}

(From OE-Core rev: 928adfc807d3c812fcd748e2cf65f392eebd852c)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase-files: stage /etc/skel
Ioan-Adrian Ratiu [Thu, 22 Oct 2015 11:58:18 +0000 (14:58 +0300)] 
base-files: stage /etc/skel

Having skel in the staging area lets other recipes access these files.
For ex. recipes inheriting useradd, if passing "-m" to USERADD_PARAM,
.bashrc and .profile are put automatically in $HOME, as expected.

(From OE-Core rev: 784f4c80204a09b85b7e83c9bd91cd48f001384f)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomktemp: raise the priority to avoid conflicting with coreutils
Chen Qi [Thu, 29 Oct 2015 09:22:42 +0000 (17:22 +0800)] 
mktemp: raise the priority to avoid conflicting with coreutils

If mktemp and coreutils have the same priority for the 'mktemp' command,
/bin/mktemp might point to different destinations depending on which package
is installed first.

Raise the priority to 200 in mktemp recipe to avoid such problem.

(From OE-Core rev: 1c0cfffee21e99a7356c9046c86628bc0acf654c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibunwind: fix build for qemuarm
Martin Jansa [Thu, 29 Oct 2015 10:50:32 +0000 (11:50 +0100)] 
libunwind: fix build for qemuarm

(From OE-Core rev: 9c370e54101c2de13cbabefb38eaa6cf584f348c)

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>
9 years agogma500_gfx: Avoid inserting gma500_gfx module for certain devices
Alejandro Hernandez [Mon, 9 Nov 2015 16:11:57 +0000 (16:11 +0000)] 
gma500_gfx: Avoid inserting gma500_gfx module for certain devices

The gma500_gfx driver will match certain devices on which it causes incorrect functionality,
we want to avoid inserting this module, basicallly blacklist it for specific hardware,
but still allow it to work on other hardware by default; usually when we have an already working system,
using udev rules would do the job, but since we are building it, it is impossible to blacklist
a driver when a certain udev rule matches, since rootfs isn't writeable at this point during boot time,
the solution is to use modprobe install, which runs a certain command instead of inserting a matching module,
this command needs to insert the module manually afterwards and have a flag --ignore-install
so it doesnt create an infinite loop executing itself everytime it wants to insert the module,
busybox's modprobe doesn't provide this functionality, so a small hack had to be used to avoid
the infite loop instead.

(From meta-yocto rev: 70c143767a8b63921e668a62ac463b3a6b8c6132)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsndfile: fix CVE-2014-9756
Maxin B. John [Thu, 5 Nov 2015 15:56:09 +0000 (17:56 +0200)] 
libsndfile: fix CVE-2014-9756

Fix divide by zero bug (CVE-2014-9756)

(From OE-Core rev: f47cf07ab9d00ed7eddc8e867138481f7bd2bb7d)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-pycurl: update version to 7.19.5.2
Maxin B. John [Thu, 5 Nov 2015 15:44:41 +0000 (17:44 +0200)] 
python-pycurl: update version to 7.19.5.2

No change in License. Updated no-static-link.patch

README.rst: license checksum changed to reflect the Copyright update
COPYING-MIT: checksum changed to reflect the Copyright update

(From OE-Core rev: 8b990fd7054feaaaccce2819b5a915419c636a4a)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agort-tests: upgrade to version 0.96
Maxin B. John [Thu, 5 Nov 2015 15:50:10 +0000 (17:50 +0200)] 
rt-tests: upgrade to version 0.96

bump version to 0.96

(From OE-Core rev: 44a14209f358abfadf7fcd9934d2a3d5cdcc63a3)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorpcbind: don't use '-w' for starting rpcbind
Li Wang [Sat, 7 Nov 2015 06:43:19 +0000 (01:43 -0500)] 
rpcbind: don't use '-w' for starting rpcbind

While runing:

$ systemctl restart rpcbind
$ systemctl status rpcbind

There are errors like below:
  rpcbind[1722]: Cannot open '/tmp/rpcbind.xdr' file for reading, \
    errno 2 (No such file or directory)
  rpcbind[1722]: Cannot open '/tmp/portmap.xdr' file for reading, \
    errno 2 (No such file or directory)

'-w' causes rpcbind to do a "warm start" by read a state file when
rpcbind starts up. The state file is created when rpcbind terminates.

The state file is not always there, the patch refers to:
  https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/835833

(From OE-Core rev: 3d32a8a1fd90ca68b0d74d86165c8f3668faedcd)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsecret: add dependency on intltool-native
Joe Slater [Tue, 10 Nov 2015 22:28:34 +0000 (14:28 -0800)] 
libsecret: add dependency on intltool-native

intltoolize is needed by configure.

(From OE-Core rev: dc2c5a6a0316fa8d27b1b6884fb476403cf9b3e7)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssl: use subdir= instead of moving files in do_configure_prepend()
Ross Burton [Wed, 11 Nov 2015 15:14:07 +0000 (15:14 +0000)] 
openssl: use subdir= instead of moving files in do_configure_prepend()

For clarity and correctness of source archiving, don't move find.pl from WORKDIR
to S in do_configure_prepend but tell the fetcher to put it in the right place
when unpacking.

Also re-order the files in SRC_URI so that patches are grouped together.

(From OE-Core rev: a960b6024f1b17994b0f4683a4e70fd2a079bd90)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssl: sanity check that the bignum module is present
Ross Burton [Wed, 11 Nov 2015 14:50:27 +0000 (14:50 +0000)] 
openssl: sanity check that the bignum module is present

The crypto_use_bigint_in_x86-64_perl patch uses the "bigint" module to
transparently support 64-bit integers on 32-bit hosts.  Whilst bigint (part of
bignum) is a core Perl module not all distributions install it (notable Fedora
23).

As the error message when bignum isn't installed is obscure, add a task to check
that it is available and alert the user if it isn't.

[ YOCTO #8562 ]

(From OE-Core rev: 2f9a2fbc46aa435a0a7f7662bb62029ac714f25a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibsdl2: require GLES when building Wayland support
Ross Burton [Wed, 11 Nov 2015 13:38:37 +0000 (13:38 +0000)] 
libsdl2: require GLES when building Wayland support

The Wayland support requires GLES2 to be enabled as otherwise the EGL support
code in SDL2 isn't enabled.

| In file included from .../SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:34:0:
| .../SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c: In function 'Wayland_CreateDevice':
| .../SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:38:38: error: 'SDL_EGL_GetSwapInterval' undeclared (first use in this function)
|  #define Wayland_GLES_GetSwapInterval SDL_EGL_GetSwapInterval

Solve this by adding gles2 to the Wayland PACKAGECONFIG option.

(From OE-Core rev: 8a497ef5eb3b54ed45b826fec910ed61985e04ce)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agometa: add some missing Upstream-Status tags to patches
Ross Burton [Wed, 11 Nov 2015 11:51:05 +0000 (11:51 +0000)] 
meta: add some missing Upstream-Status tags to patches

Where Signed-off-by statements have been added they were sourced from the
original commit where the author claims creation.

(From OE-Core rev: 3e6f57059d1a5343fe1432fba408ee3f33b4c2f7)

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