]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agouseradd-example: exclude from world
Kai Kang [Thu, 22 Dec 2016 09:55:16 +0000 (17:55 +0800)]
useradd-example: exclude from world

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-selftest: fix behaviour if oe-selftest.log is a dangling symlink
Paul Eggleton [Thu, 22 Dec 2016 03:13:57 +0000 (16:13 +1300)]
oe-selftest: fix behaviour if oe-selftest.log is a dangling symlink

If you delete the log file that the oe-selftest.log symlink points to
but not the symlink itself, because we were using os.path.exists() here
the code assumed that the symlink didn't exist when in fact it still
did. Use os.path.lexists() instead.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: Remove gummiboot test
Alejandro Hernandez [Thu, 22 Dec 2016 19:11:54 +0000 (13:11 -0600)]
wic: Remove gummiboot test

Weve now migrated to systemd-boot, the gummiboot test on wic is no longer necessary

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogummiboot: Remove/change gummiboot references with systemd-boot
Alejandro Hernandez [Wed, 23 Nov 2016 22:53:30 +0000 (16:53 -0600)]
gummiboot: Remove/change gummiboot references with systemd-boot

After systemd-boot was introduced, its been tested for a while with no major
issues being found until now, this patch completely replaces all gummiboot
instances with systemd-boot ones, taking the next step into cleaning
up systemd-boot/gummiboot.

[YOCTO #10332]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopkg-utils: warn if update-alternatives finds priority conflict
Chen Qi [Wed, 21 Dec 2016 04:32:47 +0000 (12:32 +0800)]
opkg-utils: warn if update-alternatives finds priority conflict

If multiple providers for a utility have the same alternatives priority,
which one would be chosen is determined by which one is installed later.
Our alternatives system should be able to detect such problem and warn users
so that potential problems could be avoided.

Modify update-alternatives to warn users when detecting multiple providers
with the same priority.

[YOCTO #8314]

(From OE-Core rev: 06cf956e3441868d69f81d6c034778d855ce1c98)

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>
8 years agotoaster: prevent use of unset variable BUILDSTATS_BASE
Jochen Jaegers [Wed, 4 Jan 2017 18:00:24 +0000 (19:00 +0100)]
toaster: prevent use of unset variable BUILDSTATS_BASE

Signed-off-by: Jochen Jaegers <jochen.jaegers@riedel-at.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses: Fix alternatives and rc.d ordering
David Vincent [Tue, 20 Dec 2016 09:47:45 +0000 (10:47 +0100)]
classes: Fix alternatives and rc.d ordering

When using an alternative as an initscript, the ordering between
update-rc.d and update-alternatives tasks during prerm and postinst
tasks must always be the following in order to work:
  * prerm:
    - stop daemon
    - remove alternative

  * postinst:
    - add alternative
    - start daemon

This patchset adds comments to the scripts generated by both classes and
organize the generated sections based on those comments.

[YOCTO #10433]

Changes since v5:
    - Remove boolean in d.getVar() calls

Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoexternalsrc: Add optional srcdir arg to srctree_hash_files
Ola x Nilsson [Thu, 22 Dec 2016 13:59:49 +0000 (14:59 +0100)]
externalsrc: Add optional srcdir arg to srctree_hash_files

Make it easier to reuse the function for other dirs than EXTERNALSRC.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoexternalsrc: Set STAMPCLEAN to match STAMP
Ola x Nilsson [Thu, 22 Dec 2016 13:16:34 +0000 (14:16 +0100)]
externalsrc: Set STAMPCLEAN to match STAMP

Only the last stamp file should be kept, but unless STAMPCLEAN matches
files generated using STAMP old stamp files may linger.  This may
cause false positives for skipping tasks.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/buildstats: don't expand variable pointing to SystemStats
Paul Eggleton [Thu, 22 Dec 2016 03:13:58 +0000 (16:13 +1300)]
classes/buildstats: don't expand variable pointing to SystemStats

We're placing an object into the datastore - it's very definitely not
something we want to be expanding.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/sstate: fix file conflict message
Paul Eggleton [Thu, 22 Dec 2016 02:19:59 +0000 (15:19 +1300)]
classes/sstate: fix file conflict message

* Fix not decoding output from grep ("Matched in b'manifest...')
* Fix showing "Matched in b''" if no match (show "not matched to any
  task" instead)
* Drop the filtering out of .populate-sysroot from matched manifest
  names - it should have been .populate_sysroot so it doesn't work, and
  in any case the value of removing the task name is questionable given
  that we aren't removing it for any other task, and that the rest of
  the filename isn't only the task name, we might as well have the whole
  thing. At least then you can do a find on that exact name without
  wildcards and find it.
* Fix indenting of file list entries and indent "matched in" further
  underneath
* Minor punctuation fixes

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/sstate: handle filenames containing square brackets
Paul Eggleton [Thu, 22 Dec 2016 02:19:58 +0000 (15:19 +1300)]
classes/sstate: handle filenames containing square brackets

If a recipe installs a file or directory whose name contains square
brackets [ ] that form a valid glob expression and that file then they
won't be correctly removed from the sysroot, because we pass each path
in the sstate manifest to our oe.path.remove() function which calls
glob.glob() on the path passed into it and the expression won't
actually match the original filename. Since we don't expect to put any
wildcarded expressions in the sstate manifests, and we already have a
try...except around this, we can actually use os.remove() here instead.

Similarly, when we pass existing file paths to "grep" looking through
the manifests, we don't want those paths to be treated as regexes - so
use grep's -F command line switch.

Fixes [YOCTO #10836].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/package_rpm: handle square brackets in filenames
Paul Eggleton [Thu, 22 Dec 2016 02:19:56 +0000 (15:19 +1300)]
classes/package_rpm: handle square brackets in filenames

When constructing a spec file we list files and directory paths in the
%files section. If ] or [ characters are in a file or directory name,
rpm treats them as wildcards which will mean it won't properly match the
filename. Instead, transform these into an ? wildcard so they don't
cause a problem.

(This fixes packaging the npm package "file-set" and anything that
happens to depend upon it, since it includes tests with files that
contain unusual characters including ] and [).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/path: add warning comment about oe.path.remove() with wildcarded filenames
Paul Eggleton [Thu, 22 Dec 2016 02:19:57 +0000 (15:19 +1300)]
lib/oe/path: add warning comment about oe.path.remove() with wildcarded filenames

Add a warning in the doc comment for oe.path.remove() about using that
function on paths that may contain wildcards in the actual
file/directory names.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agometa/scripts: Various getVar/getVarFlag expansion parameter fixes
Richard Purdie [Thu, 5 Jan 2017 21:15:08 +0000 (21:15 +0000)]
meta/scripts: Various getVar/getVarFlag expansion parameter fixes

There were a few straggling expansion parameter removals left for
getVar/getVarFlag where the odd whitespace meant they were missed
on previous passes. There were also some plain broken ussages such
as:

d.getVar('ALTERNATIVE_TARGET', old_name, True)
path = d.getVar('PATH', d, True)
d.getVar('IMAGE_ROOTFS', 'True')

which I've corrected (they happend to work by luck).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackagegroup-core-lsb: add opengl to REQUIRED_DISTRO_FEATURES
Christopher Larson [Wed, 4 Jan 2017 22:57:55 +0000 (15:57 -0700)]
packagegroup-core-lsb: add opengl to REQUIRED_DISTRO_FEATURES

This group pulls in libglu, which needs virtual/libgl, whose providers require
opengl in DISTRO_FEATURES.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackagegroup-self-hosted: add opengl to REQUIRED_DISTRO_FEATURES
Christopher Larson [Wed, 4 Jan 2017 22:57:54 +0000 (15:57 -0700)]
packagegroup-self-hosted: add opengl to REQUIRED_DISTRO_FEATURES

This rdepends on libgl.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoeglinfo-x11: add opengl to REQUIRED_DISTRO_FEATURES
Christopher Larson [Wed, 4 Jan 2017 22:57:53 +0000 (15:57 -0700)]
eglinfo-x11: add opengl to REQUIRED_DISTRO_FEATURES

The .inc already included this, but the x11 version was overriding it. This is
a problem, as the x11 version still needs opengl as well as x11. Append
instead.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibglu: add opengl to REQUIRED_DISTRO_FEATURES
Christopher Larson [Wed, 4 Jan 2017 22:57:52 +0000 (15:57 -0700)]
libglu: add opengl to REQUIRED_DISTRO_FEATURES

This requires libgl, and mesa requires the opengl distro feature.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopiglit: add opengl to REQUIRED_DISTRO_FEATURES
Christopher Larson [Wed, 4 Jan 2017 22:57:51 +0000 (15:57 -0700)]
piglit: add opengl to REQUIRED_DISTRO_FEATURES

This recipe depend on virtual/libgl, whose providers require the opengl distro
feature.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowaffle: add opengl to REQUIRED_DISTRO_FEATURES
Christopher Larson [Wed, 4 Jan 2017 22:57:50 +0000 (15:57 -0700)]
waffle: add opengl to REQUIRED_DISTRO_FEATURES

Multiple packageconfigs depend upon virtual/libgl, whose providers require the
opengl distro feature.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopopulate_sdk_ext: whitelist do_package tasks
Ed Bartosh [Wed, 4 Jan 2017 18:48:18 +0000 (20:48 +0200)]
populate_sdk_ext: whitelist do_package tasks

With enabled SSTATE_MIRRORS sstate code expects mirrors to
contain entries for all tasks, which is not the case for ext
installer as it uses reduced sstate cache.

Added do_package tasks to BB_SETSCENE_ENFORCE_WHITELIST to prevent
installer failing with ERROR: Sstate artifact unavailable

[YOCTO #10832]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopopulate_sdk_ext: fix working with uninative sstate
Ed Bartosh [Wed, 4 Jan 2017 18:48:17 +0000 (20:48 +0200)]
populate_sdk_ext: fix working with uninative sstate

Mapped uninative sstate directories to make ext SDK installer to
use them when it's run on systems with gcc version different from
gcc version used to build installer.

[YOCTO #10832]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-selftest: Improve BUILDDIR environment handling
Richard Purdie [Wed, 4 Jan 2017 23:34:30 +0000 (23:34 +0000)]
oe-selftest: Improve BUILDDIR environment handling

Its possible something (like bitbake/tinfoil2) may mess around with the
environment and using the enviroment as a global variable store isn't
particularly nice anyway.

This patch changes the BUILDDIR usages so that the environment isn't used
as a global store and a global variable is used instead. Whilst that
is still not perfect, it does avoid the current double and triple backtraces
we're seeing where tinfoil2/bitbake has trampled the enviroment leading
to failures of failures making debugging even harder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorunqemu: let command line parameters override defaults
Patrick Ohly [Wed, 21 Dec 2016 13:11:28 +0000 (14:11 +0100)]
runqemu: let command line parameters override defaults

It may be necessary to override the parameters gathered for the qemu
invocation. For example, the qemux86 machine configuration sets "-vga
vmware", but when using OVMF as BIOS, only "-vga std" is supported.

By putting the parameters derived from custom runqemu parameters like
"qemuparams" after the parameters derived from the machine
configuration the user gets the possibility to override those.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomodule.bbclass: allow to override location of Module.symvers
André Draszik [Mon, 21 Nov 2016 09:37:13 +0000 (09:37 +0000)]
module.bbclass: allow to override location of Module.symvers

Requiring all build systems for external kernel modules to
place Module.symvers directly into ${B}/. is quite an
artificial assumption/requirement. It doesn't have to end
up there, but could easily end up somewhere below ${B}.

Allow to override the location below ${B}

Note that we still don't make use of multiple
Module.symvers in case there are any generated by one
single kernel module build, but this is no change in
behaviour from before and could be added if there really
is a demand for that.

Reported-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoifupdown: upgrade to 0.8.16
Maxin B. John [Wed, 21 Dec 2016 15:20:28 +0000 (17:20 +0200)]
ifupdown: upgrade to 0.8.16

Refreshed the following patch:
 * inet-6-.defn-fix-inverted-checks-for-loopback.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosqlite3: upgrade to 3.15.2
Maxin B. John [Wed, 21 Dec 2016 15:20:27 +0000 (17:20 +0200)]
sqlite3: upgrade to 3.15.2

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agofile: 5.28 -> 5.29
Huang Qiyu [Wed, 21 Dec 2016 10:37:22 +0000 (02:37 -0800)]
file: 5.28 -> 5.29

Upgrade file from 5.28 to 5.29.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokexec-tools: Update to 2.0.14
He Zhe [Wed, 21 Dec 2016 09:56:23 +0000 (17:56 +0800)]
kexec-tools: Update to 2.0.14

Remove kexec-aarch64.patch since it has been merged upstream
Remove kexec-x32.patch since it has been reverted upstream
Backport patches for kdump arm64 from:
https://git.linaro.org/people/takahiro.akashi/kexec-tools.git

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer: Upgrade to 1.10.2
Khem Raj [Wed, 21 Dec 2016 07:02:38 +0000 (23:02 -0800)]
gstreamer: Upgrade to 1.10.2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoguile: 2.0.12 -> 2.0.13
Robert Yang [Wed, 21 Dec 2016 06:17:11 +0000 (22:17 -0800)]
guile: 2.0.12 -> 2.0.13

Remove 0002-Recognize-nios2-as-compilation-target.patch which is already
in the source.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoquilt: 0.64 -> 0.65
Robert Yang [Wed, 21 Dec 2016 06:17:10 +0000 (22:17 -0800)]
quilt: 0.64 -> 0.65

* Removed install.patch since it is already in the patch.
* Fix indent for file://test.sh

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodebianutils: 4.8 -> 4.8.1
Robert Yang [Wed, 21 Dec 2016 06:17:08 +0000 (22:17 -0800)]
debianutils: 4.8 -> 4.8.1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemu: Fix pci-assign
He Zhe [Tue, 29 Nov 2016 09:56:47 +0000 (17:56 +0800)]
qemu: Fix pci-assign

Fix iommu pci device assignment failure.

"qemu-system-x86_64: -device pci-assign,host=02:00.0: No IOMMU found.
Unable to assign device "(null)""

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopopulate_sdk: don't force target debug packages into SDK
Ross Burton [Wed, 21 Dec 2016 16:36:07 +0000 (16:36 +0000)]
populate_sdk: don't force target debug packages into SDK

TOOLCHAIN_TARGET_TASK doesn't need to explicitly list sdk-target-dbg because if
SDKIMAGE_FEATURES contains dbg-pkgs (as it does by default) then they'll all be
installed anyway.  This means that if the user removes dbg-pkgs from
SDKIMAGE_FEATURES then the SDK correctly doesn't have debug packages in.

[ YOCTO #9078 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/utils: Drop python2 compatibility code
Richard Purdie [Mon, 19 Dec 2016 16:37:44 +0000 (16:37 +0000)]
lib/oe/utils: Drop python2 compatibility code

We've moved to python3, we don't need this compatibility code which just makes
the code less readable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibgcc-common: Don't apply symlinks for nativesdk
Richard Purdie [Wed, 21 Dec 2016 13:33:07 +0000 (13:33 +0000)]
libgcc-common: Don't apply symlinks for nativesdk

nativesdk-libgcc doesn't need a symlink into the target space and if we do this
sstate installation of the recipe can fail depending on whether it races with
the cross-canadian toolchains.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake.conf: Add inclusion of BB_CURRENT_MC.conf after local.conf
Richard Purdie [Tue, 20 Dec 2016 19:05:01 +0000 (19:05 +0000)]
bitbake.conf: Add inclusion of BB_CURRENT_MC.conf after local.conf

People are strugling with multiconfig as the up front inclusion of the
configuration file doesn't do what people expect. The only way to meet
user expectations is to include the file immediately after local.conf.

We add BB_CURRENT_MC to bitbake so that the metadata can determine when
to include the extra configuration.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agouninative: Parameterise the use of STAGING_DIR
Richard Purdie [Wed, 21 Dec 2016 14:13:09 +0000 (14:13 +0000)]
uninative: Parameterise the use of STAGING_DIR

This means that a user can change TMPDIR in a multiconfig situation
and still only have one path to the uninative setup. Without this change
its not possile to make such a setup work.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoncurses.inc: add v6 binconfig-disabled entries
Trevor Woerner [Tue, 20 Dec 2016 16:11:58 +0000 (11:11 -0500)]
ncurses.inc: add v6 binconfig-disabled entries

Newer host distributions are moving to ncurses6, therefore add entries so the
host's ncurses{w}6-config scripts aren't picked up.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackagegroup-core-standalone-sdk-target: add libssp
Paul Eggleton [Tue, 20 Dec 2016 03:47:49 +0000 (16:47 +1300)]
packagegroup-core-standalone-sdk-target: add libssp

If you want to be able to use -fstack-protector then you need the
runtime support - you can either write this yourself or use libssp
supplied with GCC. If you're using GCC then it seems likely that you'd
just be using libssp, so include in the SDK by default; however use
RRECOMMENDS just in case it's been disabled or you aren't using GCC.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitscripts: populate-volatile: suppress read-only-rootfs warnings
André Draszik [Tue, 20 Dec 2016 09:02:40 +0000 (09:02 +0000)]
initscripts: populate-volatile: suppress read-only-rootfs warnings

rm: can't remove '/etc/resolv.conf': Read-only file system
ln: /etc/resolv.conf: File exists

/etc/default/volatiles contains an entry:
l root root 0644 /etc/resolv.conf /var/run/resolv.conf

which causes populate-volatile.sh to execute the following in link_file():
  if [ -L \"$2\" ]; then
    [ \"\$(readlink -f \"$2\")\" != \"\$(readlink -f \"$1\")\" ] && { rm -f \"$2\"; ln -sf \"$1\" \"$2\"; };
  elif [ -d \"$2\" ]; then
    ...

At the time the image is created, /etc/resolv.conf is already a
symlink to /var/run/resolv.conf, but at boot time when
populate-volatiles.sh is run, /var/run/resolv.conf doesn't
exist, causing it to try to rm -f and ln -sf which of course
fails due to the read-only filesystem.

[YOCTO #10814]

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoglew: build for EGL in non-X11 distros
Andre McCurdy [Tue, 20 Dec 2016 12:12:27 +0000 (04:12 -0800)]
glew: build for EGL in non-X11 distros

The glew 2.0.0 release added support for building for EGL:

  http://glew.sourceforge.net/log.html

Add PACKAGECONFIG options for 'opengl' (ie the previous default, with
dependencies on opengl and X11) and 'egl-gles2', which depends on EGL
and GLESv2 and allow glew to be built for non-X11 distros.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest/wic: extending test coverage for WIC script options
Jair Gonzalez [Sat, 17 Dec 2016 03:46:18 +0000 (21:46 -0600)]
selftest/wic: extending test coverage for WIC script options

The previous WIC script selftest didn't cover all of its command line
options. Some option variants were included in existing test cases and
the following tests were added to complete covering them:

1552 Test wic --version
1553 Test wic help create
1554 Test wic help list
1555 Test wic list images
1556 Test wic list source-plugins
1557 Test wic listed images help
1558 Test debug
1563 Test skip build check
1564 Test build rootfs
1559 Test image vars directory selection
1562 Test alternate output directory

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest/wic: reorganizing test methods by functionality
Jair Gonzalez [Sat, 17 Dec 2016 01:24:08 +0000 (19:24 -0600)]
selftest/wic: reorganizing test methods by functionality

Part of the test methods were rearranged to group them by
functionality and identify more easily opportunities to extend
coverage.

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest/wic: code cleanup
Jair Gonzalez [Fri, 16 Dec 2016 22:12:55 +0000 (16:12 -0600)]
selftest/wic: code cleanup

The following changes were added to improve the code readability:

- Removed redundant backlashes between brackets
- Aligned continuation lines according to PEP8 style
- Refactored command execution in the next methods for enhanced
  legibility:

  - test_build_image_name(self)
  - test_gpt_image(self)
  - test_qemux86_directdisk(self)
  - test_rootfs_indirect_recipes(self)
  - test_iso_image(self)
  - test_mkgummidisk(self)
  - test_mkefidisk(self)
  - test_directdisk_bootloader_config(self)
  - test_qemu(self)
  - test_bmap(self)
  - test_systemd_bootdisk(self)
  - test_sdimage_bootpart(self)

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest/wic: adding Testopia ID numbers to test cases missing it
Jair Gonzalez [Fri, 16 Dec 2016 18:13:05 +0000 (12:13 -0600)]
selftest/wic: adding Testopia ID numbers to test cases missing it

The following test cases were assigned an ID number on Testopia:

1496 Test generation of .bmap file
1560 Test creation of systemd-bootdisk image
1561 Test creation of sdimage-bootpart image

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel: Fix symlinks
David Vincent [Tue, 20 Dec 2016 09:53:29 +0000 (10:53 +0100)]
kernel: Fix symlinks

When installing a kernel package, the symlinks created by
update-alternatives should point to a path relative to KERNEL_IMAGEDEST
and not an absolute path to '/boot'.

Failing to do so causes problems when resolving the symlink inside some
bootloaders which mount the boot partition elsewhere.

Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-libav: Fix build on mips64
Khem Raj [Tue, 20 Dec 2016 08:47:01 +0000 (00:47 -0800)]
gstreamer1.0-libav: Fix build on mips64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoshared-mime-info 1.6 -> 1.8
Zheng Ruoqin [Tue, 20 Dec 2016 05:12:11 +0000 (13:12 +0800)]
shared-mime-info 1.6 -> 1.8

Upgrade shared-mime-info from 1.6 to 1.8

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: add kickstart file for MPC8315
Ed Bartosh [Fri, 16 Dec 2016 17:12:45 +0000 (19:12 +0200)]
wic: add kickstart file for MPC8315

Added kickstart file to produce partitioned image for
MPC8315 reference hardware.

[YOCTO #8719]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitscripts: populate-volatile: don't run commands in background
Mans Rullgard [Fri, 16 Dec 2016 16:28:38 +0000 (16:28 +0000)]
initscripts: populate-volatile: don't run commands in background

If commands are run asynchronously they may be completed out of
order causing problems if later entries depend on earlier ones.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: add --fixed-size wks option
Maciej Borzecki [Mon, 19 Dec 2016 11:20:58 +0000 (12:20 +0100)]
wic: add --fixed-size wks option

Added new option --fixed-size to wks. The option can be used to indicate
the exact size of a partition. The option cannot be added together with
--size, in which case an error will be raised. Other options that
influence automatic partition size (--extra-space, --overhead-factor),
if specifiec along with --fixed-size, will raise an error.

If it partition data is larger than the amount of space specified with
--fixed-size option wic will raise an error.

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/utils/commands.py: allow use of binaries from native sysroot
Maciej Borzecki [Mon, 19 Dec 2016 11:20:57 +0000 (12:20 +0100)]
oeqa/utils/commands.py: allow use of binaries from native sysroot

Tests may need to run a native tool that is not available on the host
filesystem, but can be built using one of the *-native recipes. In such case,
the tool will be available in native sysroot, and running in from that location
will require adjustments to PATH.

runCmd() can now take a path to native sysroot as one of its arguments and
setup PATH accordingly.

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agognutls: Do not use libunistring prefix
Khem Raj [Mon, 19 Dec 2016 19:12:10 +0000 (11:12 -0800)]
gnutls: Do not use libunistring prefix

when using clang, configure it poking at build host
if we do not use it then it falls back to sysroot
which is what we need here.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agox264: Fix build on mips architectures
Khem Raj [Mon, 19 Dec 2016 17:19:14 +0000 (09:19 -0800)]
x264: Fix build on mips architectures

Disable asm to fix

| You specified a pre-MSA CPU in your CFLAGS.
| If you really want to run on such a CPU, configure with --disable-asm.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoarch-mips: Add MIPS 64r6 N32 tune
Zubair Lutfullah Kakakhel [Fri, 16 Dec 2016 15:14:37 +0000 (15:14 +0000)]
arch-mips: Add MIPS 64r6 N32 tune

Add MIPS64R6-n32 tuning options.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopenssl: Add support for many MIPS configurations
Zubair Lutfullah Kakakhel [Fri, 16 Dec 2016 15:14:19 +0000 (15:14 +0000)]
openssl: Add support for many MIPS configurations

Add more case statements to catch MIPS tune configurations

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: modify: fix usage on the kernel
Paul Eggleton [Thu, 15 Dec 2016 21:17:37 +0000 (10:17 +1300)]
devtool: modify: fix usage on the kernel

When using devtool modify on the kernel, we have to do a bit of a dance
with tinfoil instances because we only find out that we're working on a
kernel recipe after tinfoil is initialised, but then we need to build
kern-tools-native which we're doing just by running bitbake directly.
With the tinfoil2 changes, a datastore for the recipe that we were
keeping around across the opening and closing of tinfoil is no longer
able to be used. Re-parse the recipe to avoid this problem.

(In future this whole thing will be able to be done in the same tinfoil
instance thanks to tinfoil2, but that refactoring is yet to be done.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: look for wks files in <layer>/wic
Ed Bartosh [Mon, 19 Dec 2016 12:41:02 +0000 (14:41 +0200)]
wic: look for wks files in <layer>/wic

Currently wic looks for wks files in
<layer dir>/scripts/lib/wic/canned-wks/ directories.
This path is too nested and doesn't look consistent with the
naming scheme of layer directories.

Added <layer>/wic directory to the list of paths
to look for wks files.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoapr: fix off_t size can't match when configure and in target glibc
Dengke Du [Tue, 20 Dec 2016 05:53:16 +0000 (13:53 +0800)]
apr: fix off_t size can't match when configure and in target glibc

When subversion run on x86 and lib32 on x86-64, it use the APR's
apr.h header file. But when configure the APR, APR meets the cross
compiling, it was hardcoded in configure.in in apr source code. As
the following:

APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>], off_t, 8)

It pass 8 bytes to off_t when meets cross compiling, but on x86 or lib32
the off_t in glibc was 4 bytes, so it let the application who use apr.h
go to wrong.

Such as subversion:

svnadmin create test

So we should let the APR detect the correct off_t when cross compiling,
change it to the following:

AC_CHECK_SIZEOF(off_t)

The same for the following hardcoded types for cross compiling:

pid_t 8
size_t 8
ssize_t 8

Change the above correspondingly.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoRevert "subversion: fix "svnadmin create" fail on x86"
Dengke Du [Mon, 19 Dec 2016 05:40:14 +0000 (13:40 +0800)]
Revert "subversion: fix "svnadmin create" fail on x86"

This reverts commit cfe6f3e251240c9d9a70354be0501600357f0b87.

This is because the apr configure wrong, when the apr configure meets the
cross compiling, it pass 8 bytes to "off_t", in apr source code configure.in,
it was hardcoded:

APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>], off_t, 8)

The macro "APR_CHECK_SIZEOF_EXTENDED" was defined in build/apr_common.m4,
it use the "AC_TRY_RUN" macro, this macro let the off_t to 8, when cross
compiling enable.

But in glibc on the x86 or multilib target the "off_t" was 4 bytes, so this
cases dismatch for softwares which use the apr.h, such as subversion, run this:

svnadmin create test

It failed because the "APR_OFF_T_FMT" was "lld" in apr.h when apr configure,
but the "apr_off_t" was 4 bytes, in the apr source code: apr_snprintf.c

i_quad = va_arg(ap, apr_int64_t);

When the function apr_vformatter meets "lld", it would use the above to parse,
but the above read 8 bytes, so the follow-up data go to wrong.

So we should configure the apr correct when cross compiling. I do this on the
following patchs.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd: point to correct resolv.conf when resolved is enabled
Khem Raj [Fri, 16 Dec 2016 22:07:31 +0000 (14:07 -0800)]
systemd: point to correct resolv.conf when resolved is enabled

latest systemd has changed the resolved defaults which points to
127.0.0.53 port 53 on local network. If someone wants to use
host-local IP address then it can be pointed to copy in /lib/systemd

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoruby: upgrade to 2.3.3
Edwin Plauchu [Fri, 16 Dec 2016 16:27:58 +0000 (10:27 -0600)]
ruby: upgrade to 2.3.3

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoRevert "selftest/wic: extending test coverage for WIC script options"
Richard Purdie [Tue, 20 Dec 2016 17:06:01 +0000 (17:06 +0000)]
Revert "selftest/wic: extending test coverage for WIC script options"

This reverts commit 68cb3180c1b0dcee50812b21f98850d188d8621b as this wasn't
ready for merge and there are new better versions.

8 years agobinutils-2.27.inc: Fix alignment frags for aarch64
Manjukumar Matha [Sat, 17 Dec 2016 01:43:31 +0000 (17:43 -0800)]
binutils-2.27.inc: Fix alignment frags for aarch64

There was bug with alignment frags for aarch64 in binutils. This is fixed in
master of binutils. This patch backports the fix to binutils 2.27 version.

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-selftest: import git module only when needed
Ed Bartosh [Mon, 19 Dec 2016 13:51:43 +0000 (15:51 +0200)]
oe-selftest: import git module only when needed

git module is not included into standard Python
library and therefore causes import errors on the systems
where PythonGit is not installed.

As git module only used in the code implementing --repository
functionality it's better to import git only in the scope
that requires it.

[YOCTO #10821]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomirrors.bbclass: Fix gnutls mirror directory
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:46 +0000 (15:35 +0200)]
mirrors.bbclass: Fix gnutls mirror directory

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocogl-1.0: Upgrade 1.22.0 -> 1.22.2
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:45 +0000 (15:35 +0200)]
cogl-1.0: Upgrade 1.22.0 -> 1.22.2

Bug fix release. Backport a build fixing patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclutter-gst-3.0: Upgrade 3.0.20 -> 3.0.22
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:44 +0000 (15:35 +0200)]
clutter-gst-3.0: Upgrade 3.0.20 -> 3.0.22

Bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocairo: Upgrade 1.14.6 -> 1.14.8
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:43 +0000 (15:35 +0200)]
cairo: Upgrade 1.14.6 -> 1.14.8

Small bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogdk-pixbuf: Upgrade 2.36.0 -> 2.36.1
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:42 +0000 (15:35 +0200)]
gdk-pixbuf: Upgrade 2.36.0 -> 2.36.1

New binary gdk-pixbuf-thumbnailer packaged in ${PN}-bin.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglib-2.0: Upgrade 2.50.1 -> 2.50.2
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:41 +0000 (15:35 +0200)]
glib-2.0: Upgrade 2.50.1 -> 2.50.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogsettings-desktop-schemas: Upgrade 3.20.0 -> 3.22.0
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:40 +0000 (15:35 +0200)]
gsettings-desktop-schemas: Upgrade 3.20.0 -> 3.22.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogtk+3: Upgrade 3.22.1 -> 3.22.5
Jussi Kukkonen [Mon, 19 Dec 2016 13:35:39 +0000 (15:35 +0200)]
gtk+3: Upgrade 3.22.1 -> 3.22.5

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoopenssl-native: Compile with -fPIC
Khem Raj [Mon, 19 Dec 2016 06:39:56 +0000 (22:39 -0800)]
openssl-native: Compile with -fPIC

Fixes
| /usr/bin/ld: libcrypto.a(sha1-x86_64.o): relocation R_X86_64_PC32 against undefined symbol `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
| /usr/bin/ld: final link failed: Bad value

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agoautoconf: Fix AC_HEADER_MAJOR with glibc 2.25
Khem Raj [Mon, 19 Dec 2016 06:39:55 +0000 (22:39 -0800)]
autoconf: Fix AC_HEADER_MAJOR with glibc 2.25

Backport the patch from master for 2.69

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agopax: Fix build with glibc 2.25
Khem Raj [Mon, 19 Dec 2016 06:39:53 +0000 (22:39 -0800)]
pax: Fix build with glibc 2.25

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agomdadm: Fix build with glibc 2.25
Khem Raj [Mon, 19 Dec 2016 06:39:52 +0000 (22:39 -0800)]
mdadm: Fix build with glibc 2.25

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agogrub: Fix build with glibc 2.25
Khem Raj [Mon, 19 Dec 2016 06:39:50 +0000 (22:39 -0800)]
grub: Fix build with glibc 2.25

Backport relevant patch from grub git

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agowebkitgtk: Fix atomic detection on arm architecture
Khem Raj [Mon, 19 Dec 2016 06:39:48 +0000 (22:39 -0800)]
webkitgtk: Fix atomic detection on arm architecture

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years agogdb: Upgrade to 7.12
Khem Raj [Mon, 19 Dec 2016 06:39:49 +0000 (22:39 -0800)]
gdb: Upgrade to 7.12

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest/wic: extending test coverage for WIC script options
Jair Gonzalez [Tue, 13 Dec 2016 15:53:27 +0000 (09:53 -0600)]
selftest/wic: extending test coverage for WIC script options

The previous WIC script selftest didn't cover all of its command
line options. The following test cases were added to complete
covering them:

1552 Test wic --version
1553 Test wic help create
1554 Test wic help list
1555 Test wic list images
1556 Test wic list source-plugins
1557 Test wic listed images help
1558 Test wic debug, skip-build-check and build_rootfs
1559 Test image vars directory selection
1562 Test alternate output directory

In addition, the following test cases were assigned an ID number on
Testopia:

1560 Test creation of systemd-bootdisk image
1561 Test creation of sdimage-bootpart image

Finally, part of the test methods were rearranged to group them by
functionality, and some cleanup was made to improve the code's
compliance with PEP8 style guide.

Fixes [YOCTO 10594]

(From OE-Core rev: 3d2ac67765020885a0996ebdd97a576ba37dbec0)

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackage: don't count every hardlink for PKGSIZE
Ross Burton [Fri, 16 Dec 2016 18:06:20 +0000 (18:06 +0000)]
package: don't count every hardlink for PKGSIZE

When calculating PKGSIZE we sum the size of files after doing lstat() so we
don't count directory metadata overhead, but were not correctly handling
hardlinks.  This results in packages such as e2fsprogs-mke2fs having PKGSIZE of
1.5M when it's actually a single 300K binary with five hardlinks.

[ YOCTO #10423 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython3-setuptools: upgrade to 31.0.0
Edwin Plauchu [Thu, 15 Dec 2016 19:00:22 +0000 (13:00 -0600)]
python3-setuptools: upgrade to 31.0.0

It is a simultaneous upgrade for python 2 and 3 over setuptools.

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython*-git: Upgrade to version 2.1.1
Jose Lamego [Thu, 15 Dec 2016 22:44:45 +0000 (16:44 -0600)]
python*-git: Upgrade to version 2.1.1

Both python-git and python3-git need to be upgraded to latest upstream
version.
This change includes python3 dependencies added and was tested
using qemux86 with core-image-sato.

Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: obey the rootfs size from the metadata
Christopher Larson [Thu, 15 Dec 2016 19:42:39 +0000 (12:42 -0700)]
wic: obey the rootfs size from the metadata

When no --size is specified for the rootfs in the .wks, we want to obey the
rootfs size from the metadata, otherwise the defined IMAGE_ROOTFS_EXTRA_SPACE
and IMAGE_OVERHEAD_FACTOR will not be obeyed. In some cases, this can result
in image construction failure, if the size determined by du was insufficient
to hold the files without the aforementioned extra space.

This fallback from --size to ROOTFS_SIZE was already implemented when
--rootfs-dir is specified in the .wks, but it did not occur otherwise, neither
when --rootfs-dir= was passed to `wic create` nor when IMAGE_ROOTFS was used.
This made a certain amount of sense, as this fallback logic happened at such
a level that it wasn't able to identify which partitions were rootfs
partitions otherwise. Rather than doing it at that level, we can do it in
prepare_rootfs(), which is run by the rootfs source plugins.

Note that IMAGE_OVERHEAD_FACTOR and a --overhead-factor in the .wks will now
both be applied when --size isn't specified in the .wks. A warning is added
about this, though a user won't see it unless wic fails or they examine the
do_image_wic log.

Fixes [YOCTO #10815]

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodbus-glib 0.106 -> 0.108
Zheng Ruoqin [Fri, 16 Dec 2016 04:51:44 +0000 (12:51 +0800)]
dbus-glib 0.106 -> 0.108

Upgrade dbus-glib from 0.106 to 0.108

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopcmanfm: upgrading to 1.2.5
Edwin Plauchu [Fri, 16 Dec 2016 14:54:04 +0000 (08:54 -0600)]
pcmanfm: upgrading to 1.2.5

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibfm: fix configure error if native vala is absent
Alexander Kanavin [Fri, 16 Dec 2016 14:57:28 +0000 (16:57 +0200)]
libfm: fix configure error if native vala is absent

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/package_manager: bail if createrepo can't be found
Ross Burton [Thu, 15 Dec 2016 17:19:46 +0000 (17:19 +0000)]
lib/oe/package_manager: bail if createrepo can't be found

If createrepo isn't found then the errors later are mysterious, so explicitly
check and error out early if it isn't there.

(From OE-Core rev: e09636bbb3ea8ec58984197fd9c691bb908efe00)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotzdata: update to 2016j
Armin Kuster [Thu, 15 Dec 2016 15:21:45 +0000 (07:21 -0800)]
tzdata: update to 2016j

Briefly: Saratov, Russia moves from +03 to +04 on 2016-12-04.

  Changes to future time stamps

    Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00.
    This hives off a new zone Europe/Saratov from Europe/Volgograd.
    (Thanks to Yuri Konotopov and Stepan Golosunov.)

  Changes to past time stamps

    The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like
    Asia/Aqtau except it switched from +05/+06 to +04/+05 in spring
    1999, not fall 1994.  (Thanks to Stepan Golosunov.)

  Changes to past time zone abbreviations

    Asia/Gaza and Asia/Hebron now use "EEST", not "EET", to denote
summer time before 1948. The old use of "EET" was a typo.

(From OE-Core rev: a0b389b5f3effad5194109f9914dec6125b3569d)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotzcode-native: update to 2016j
Armin Kuster [Thu, 15 Dec 2016 15:21:44 +0000 (07:21 -0800)]
tzcode-native: update to 2016j

Changes to code

    zic no longer mishandles file systems that lack hard links, fixing
    bugs introduced in 2016g.  (Problems reported by Tom Lane.)
    Also, when the destination already contains symbolic links, zic
    should now work better on systems where the 'link' system call
    does not follow symbolic links.

Changes to documentation and commentary

    tz-link.htm now documents the relationship between release version
    numbers and development-repository commit tags.  (Suggested by
    Paul Koning.)

    The 'Theory' file now documents UT.

    iso3166.tab now accents "Curaçao", and commentary now mentions
the names "Cabo Verde" and "Czechia". (Thanks to Jiří Boháč.)

(From OE-Core rev: 3fb5ddce97af1d4ada0dcc7f9c0ceef6ac392918)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-plugins-bad: default to using egl
Nicolas Dechesne [Thu, 15 Dec 2016 14:40:11 +0000 (15:40 +0100)]
gstreamer1.0-plugins-bad: default to using egl

With the current set of PACKAGECONFIG, we end up building with 'gles2' and neither
'opengl', nor 'egl'. As a result we are building -bad with neither 'glx' nor
'egl' platform support. So let's make sure that we at least have egl by default
(since we default to 'gles2').

(From OE-Core rev: 4de8447c6536385ca134866682709efebf7d4e3d)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-firmware: Split out Realtek chipsets rtl8188 rtl8723 rtl8821
Mike Looijmans [Thu, 15 Dec 2016 13:31:57 +0000 (14:31 +0100)]
linux-firmware: Split out Realtek chipsets rtl8188 rtl8723 rtl8821

Add rtl8188 rtl8712 rtl8723 rtl8821 packages to install only firmware for the
corresponding chipset. Uses a rather blunt approach by simply adding all firmware
files with matching prefix, to keep the package count down a bit.

(From OE-Core rev: 62a5c0a40d13594a0f16a01701e70dac5e492125)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-video-intel: fix upstream version check
Alexander Kanavin [Thu, 15 Dec 2016 12:48:09 +0000 (14:48 +0200)]
xf86-video-intel: fix upstream version check

Even though upstream hasn't tagged new versions for a long while,
we should not report a bogus tag as something that can be updated to.

(From OE-Core rev: e16e4892368ec2475853d69332f3732dbf7b06cd)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoupstream-version-is-even.bbclass: exclude various alphas, betas, pre-releases etc.
Alexander Kanavin [Thu, 15 Dec 2016 12:48:08 +0000 (14:48 +0200)]
upstream-version-is-even.bbclass: exclude various alphas, betas, pre-releases etc.

Was a problem with perl in particular.

(From OE-Core rev: cc40b3ad2c4a725f93d0b984f23d34d247cffb2f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoghostscript: fix upstream version check
Alexander Kanavin [Thu, 15 Dec 2016 12:48:07 +0000 (14:48 +0200)]
ghostscript: fix upstream version check

(From OE-Core rev: 10001924baf112a4556c5e85c16c482cbf435950)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agovala: update to 0.34.4
Alexander Kanavin [Thu, 15 Dec 2016 12:48:06 +0000 (14:48 +0200)]
vala: update to 0.34.4

(From OE-Core rev: 798af66e2e11baf53eff6b7f0e370fb77a1c5f72)

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