]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
10 years agobitbake.conf: programatically generate COMBINED_FEATURES
Ross Burton [Fri, 22 May 2015 11:30:31 +0000 (12:30 +0100)] 
bitbake.conf: programatically generate COMBINED_FEATURES

Instead of hard-coding the set of features that can be considered in
COMBINED_FEATURES, simply generate the intersection of DISTRO_FEATURES and
MACHINE_FEATURES.

(From OE-Core rev: a66f812d4395dc27e22d0c99568aed0a6493df12)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutils: add helper to perform the intersection of two string lists
Ross Burton [Fri, 22 May 2015 11:30:26 +0000 (12:30 +0100)] 
utils: add helper to perform the intersection of two string lists

Useful for e.g. generating a COMBINED_FEATURES list from DISTRO_FEATURES and
MACHINE_FEATURES.

(From OE-Core rev: c5b6f672b88f5f42fe0bd59d28104b8dc9ee9a6e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: drop the padlock_conf.patch
Roy Li [Fri, 22 May 2015 09:16:02 +0000 (17:16 +0800)] 
openssl: drop the padlock_conf.patch

padlock_conf.patch will enable the padlock engine by default,
but this engine does not work on some 32bit machine, and lead
to openssl unable to work

(From OE-Core rev: f7d186abca6ed9b48ae7393b8f244e1bfb46cb41)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-qt4e: make phonon-gstreamer plugin optional
Paul Eggleton [Fri, 22 May 2015 08:37:08 +0000 (09:37 +0100)] 
packagegroup-core-qt4e: make phonon-gstreamer plugin optional

Having disabled phonon by default in Qt4 we need to ensure this
packagegroup is still buildable when it's not available.

(From OE-Core rev: c218dbb727b829342ef53cb7f1b8278d1a41bb1d)

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>
10 years agognutls: remove --with-libz-prefix configure option
Andre McCurdy [Fri, 22 May 2015 00:11:06 +0000 (17:11 -0700)] 
gnutls: remove --with-libz-prefix configure option

The default search path in sysroot is sufficient to find zlib, so the
--with-libz-prefix configure option seems to be unnecessary.

For target builds, relying on sysroot also prevents an absolute path
from being hardcoded in the gnutls.pc pkg-config file.

(From OE-Core rev: 7a800bfeb6c8c83ee7cc74739f496982cd71c8e8)

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>
10 years agotoolchain-scripts.bbclass: fix quoting for CCACHE_PATH
Andre McCurdy [Thu, 21 May 2015 04:41:07 +0000 (21:41 -0700)] 
toolchain-scripts.bbclass: fix quoting for CCACHE_PATH

Single quotes prevent expansion of $sdkpathnative$bindir.

(From OE-Core rev: 986e5f37f3450077c843777c22df6b2d0f9502c5)

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>
10 years agosquashfs-tools: build and install unsquashfs as well
Martin Jansa [Thu, 21 May 2015 11:22:36 +0000 (13:22 +0200)] 
squashfs-tools: build and install unsquashfs as well

* it's useful for debugging corrupt squashfs images from mksquashfs

(From OE-Core rev: af3c9bbf2db5a712f63145697d045d2f1ddce271)

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>
10 years agowic: Make sure file exists before removing it
Ed Bartosh [Thu, 21 May 2015 07:29:52 +0000 (10:29 +0300)] 
wic: Make sure file exists before removing it

Bunch of os.remove calls were added to the partition.py lately.
They're causing wic to fail with OSError: [Errno 2] No such file or directory
if file doesn't exist.

Added check for file existence to all recently added calls of
os.remove. That should fix this regression.

(From OE-Core rev: 75162b05b5ad9aac307f7911caecb2b8a017acbf)

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>
10 years agoclasses/buildhistory: ensure that git user email and name are set
Paul Eggleton [Thu, 21 May 2015 12:16:34 +0000 (13:16 +0100)] 
classes/buildhistory: ensure that git user email and name are set

The git user.email and user.name settings must be set or the commit to
the buildhistory repo (when BUILDHISTORY_COMMIT is set to "1") will
fail. If the user hasn't set these, set some dummy values since the
actual value is unlikely to be particularly useful and it's far worse
for the commit not to be done leaving the repository in a partially set
up state.

Prompted by [YOCTO #6973].

(From OE-Core rev: f62255bfa6c5a322c867b7c4ea5686ea7bfab3fe)

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>
10 years agoinitrdscripts: make boot drive detection more generic
Awais Belal [Thu, 21 May 2015 14:28:34 +0000 (19:28 +0500)] 
initrdscripts: make boot drive detection more generic

The init script that invokes install and install-efi scripts
passes the first parameter that identifies the boot drive but
in cases when this disk is labeled and kernel configurations
allow disk labeling under /run/media/ this would pass the disk
label.
The earlier implementation considered that the drive name will
be passed and in case the label is passed it fails and provides
the boot drive as an option for installation driver.
We now use a more generic approach to identify the boot drive
which can handle both drive name as well as label if passed.

(From OE-Core rev: 1964b697ddadc59e27087f9f1f6b24236f4addcc)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildstats-summary: add eventmask
Chen Qi [Wed, 20 May 2015 02:21:48 +0000 (10:21 +0800)] 
buildstats-summary: add eventmask

Add eventmask 'bb.event.BuildCompleted' for buildstats_summary handler to avoid
running the codes in the handler everytime there's an event.

The codes in buildstats_summary only need to run for bb.event.BuildCompleted.
So add this event mask.

Also, we remove the redundant isinstance() statement in the handler.

(From OE-Core rev: 3b635d34d44ee65f8cf93bc180f1ccc1095f2174)

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>
10 years agorootfs.py: Make set -x not break rootfs creation
Peter Seebach [Thu, 21 May 2015 20:36:35 +0000 (15:36 -0500)] 
rootfs.py: Make set -x not break rootfs creation

The rootfs logfile check errors out if it finds an "exit 1" in
a log. But consider the shell idiom:
if ! $command; then exit 1; fi
and consider a postinstall script with a "set -x" for debugging
purposes (to get log output in /var/log/postinstall.log.)

Solution: Ignore lines prefixed with a +, because those show shell
code even if a specific fragment won't be executed.

(From OE-Core rev: f23f129dba66144abf8fe8450320e01fa4c02f5c)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibepoxy: make buildable for x11-less environments / update to latest version
Andreas Müller [Thu, 21 May 2015 12:42:16 +0000 (14:42 +0200)] 
libepoxy: make buildable for x11-less environments / update to latest version

* Make glx part configurable by PACKAGECONFIG enabled by 'x11' distro feature
* Major upstream enhancement is using pkgconfig for egl. This should make
  those egl implementations happy that require compiler extra options for their
  egl headers.
  Example: meta-fsl-arm/imx-gpu-viv sets -DLINUX (and others) in egl.pc. These
  are mandatory for proper builds.

(From OE-Core rev: 7bbd34c0efd0f7d65edb7187abdde695e45f62e2)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.19: NFC config, Braswell fixes and axxia support
Bruce Ashfield [Thu, 21 May 2015 18:40:45 +0000 (14:40 -0400)] 
linux-yocto/3.19: NFC config, Braswell fixes and axxia support

Updating the 3.19 kernel SRCREVs for the following commits:

NFC:

   727cfce45077 meta: intel-common: enable generic NFC support
   f3e890065903 meta: features/nfc: add generic configuration for NFC support

Braswell:

   d3c0b958e688 drm/i915: New offset for reading frequencies on CHV.
   dac6babbba62 drm/i915/chv: Populate total EU count on Cherryview

Axxia:

   c706cb356dea arch/arm/axxia: Remove the axxia zImage.fm build
   45a1aaacf6cb drivers/hwmon: Remove adt75 redundant driver
   7203ee166c01 arch/arm/mach-axxia: Fixed L2 power up failure
   a1541e9f0a4c kernel/irq/manage.c: Fix irq_set_affinity to allow use with buslocks
   d42c0bd1c8be arch/arm/mach-axxia: Reverse checkpatch compatibility
   5dbd07431a7a arch/arm/mach-axxia: changed affinity parameter to cpu
   23e4ebc66acb char: hwrng: AXXIA TRNG driver added for AXM55xx
   61eb3c8ee1d7 arch/arm/mach-axxia: Updated Axxia 55xx PCIe driver to use correct Doorbell interrupt IRQs
   b03e0655094a AXM55xx RapidIO : Added support for Device revision and link down Monitor.
   7577ad26cf73 rionet: Fix the corruption of tx_cnt during Transmit.
   07fd2163ae56 arch/arm/mach-axxia: fixed NO SMP
   c9371e98cc80 arch/arm/mach-axxia: fixed compiler warning
   0a814fe7e747 arch/arm/mach-axxia: Updated PCIe driver doorbell support
   cd3d9b46bea4 misc: lsi-ncr: Only use AMP lock on PPC platforms.
   826c600c6ad6 fs: vmfs: Use generic mmap function
   e2d0047cb106 arch/arm/mach-axxia: Removed axxia_circular_queue
   f1ff06eaabed ARM: axxia: Add cluster and L2 power off in hotplug
   b98711344263 ARM: irq: Return error when set_affinity is called from hotplug
   9fd9306a30ae arch/arm/mach-axxia: Enable L3
   68989d446582 Revert "arch/arm/mach-axxia: Fixed affinity error on IRQ migration"
   0be0ef90a887 Revert "arch/arm/mach-axxia: fixed failure to power up cluster"
   1c6522a03e81 Revert "arch/arm/mach-axxia: fixed hang in preempt kernel"
   ef06a68393a3 fs/vmfs: Changes to add VMFS support for axxia.
   3025e9deede6 drivers/usb/host: Changes to support the axxia BSP
   b128b4f0d4e8 drivers/tty: Changes to support the axxia BSP
   d1b60a7e62ef drivers/hwmon: Changes made to support the axxia BSP
   2899ccbf1438 drivers/spi: Changes to support the axxia BSP
   8e9cff566254 drivers/rapidio/devices: Changes to support axxia BSP
   3424d2ca2653 drivers/net/ethernet: Changes to support the axxia BSP
   2353dc816d6b drivers/mtd: Changes to support the axxia BSP
   4b5fa2bf86cf drivers/misc: Changes made to support axxia BSP
   8a5bd53ec241 drivers/i2c: Changes to support axxia BSP
   02bfe1548d1a arch/arm/drivers/edac: Changes to support axxia BSP
   2431db7c0c90 arch/arm/drivers/dma: Changes to support the axxia BSP
   61fa3f268d5c arch/arm: arm changes to support the axxia BSP
   22e0fb7be665 arch/arm/mach-axxia: add power management support
   5cab63c5a1f2 arch/arm/mach-axxia: kernel files to support the mach-axxia
   1336aba51616 arch/arm/boot: Changes to support the axxia BSP
   97324fa920cb arch/arm/boot/dts: Files added to support axxia 5500 board

(From OE-Core rev: b74dafa8a3aad069140978420c535c18e89a964b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.19: CONFIG_ATA_BMDMA and gcc5 ARM64
Bruce Ashfield [Tue, 19 May 2015 20:59:39 +0000 (16:59 -0400)] 
linux-yocto/3.19: CONFIG_ATA_BMDMA and gcc5 ARM64

Integrating the following commit to remove a ATA configuration warning:

    common-pc-drivers: Enable CONFIG_ATA_BMDMA

    Enabling the ATA_BMDMA re-enables ATA_PIIX which was getting
    disabled

Signed-off-by: Saul Wold <sgw@linux.intel.com>
And the following to fix the ARM64 gcc5 boot:

    arm64: psci: move psci firmware calls out of line

    An arm64 allmodconfig fails to build with GCC 5 due to __asmeq
    assertions in the PSCI firmware calling code firing due to mcount
    preambles breaking our assumptions about register allocation of
    function
    arguments:

      /tmp/ccDqJsJ6.s: Assembler messages:
      /tmp/ccDqJsJ6.s:60: Error: .err encountered
      /tmp/ccDqJsJ6.s:61: Error: .err encountered
      /tmp/ccDqJsJ6.s:62: Error: .err encountered
      /tmp/ccDqJsJ6.s:99: Error: .err encountered
      /tmp/ccDqJsJ6.s:100: Error: .err encountered
      /tmp/ccDqJsJ6.s:101: Error: .err encountered

    This patch fixes the issue by moving the PSCI calls out-of-line into
    their own assembly files, which are safe from the compiler's
    meddling
    fingers.

Reported-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Armin Kuter <akuster@mvista.com>
(From OE-Core rev: 3977a70c197bf0d853ea9eb01f2185ae2c75ca4f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.19: Braswell DRM fixes
Bruce Ashfield [Fri, 15 May 2015 18:01:00 +0000 (14:01 -0400)] 
linux-yocto/3.19: Braswell DRM fixes

Updating the 3.19 kernel SRCREVs to integrate the following Braswell
changes:

  374b5d0e09ea drm/i915: Only wait for required lanes in vlv_wait_port_ready()
  fca99e8ee111 Revert "drm/i915: Hack to tie both common lanes together on chv"
  00682f31b612 drm/i915: Work around DISPLAY_PHY_CONTROL register corruption on CHV
  654b1a4497c5 drm/i915: Implement chv display PHY lane stagger setup

(From OE-Core rev: 211b631b0d7bf4df3152f4d8d626d798d023d512)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto: drop suggestion of devshell for patch failures
Bruce Ashfield [Tue, 12 May 2015 20:21:45 +0000 (16:21 -0400)] 
linux-yocto: drop suggestion of devshell for patch failures

When a patch fails to apply, the kernel-yocto bbclass attempted to
be helpful and suggest that devshell be used to fix the issue.

The only problem is that you can't get to devshell if a patch is
failing.

We drop this bad advise and instead point to the linux source directory.

[YOCTO: #6202]

(From OE-Core rev: d6a0c0f60ea85235479d968f75d067a10ce21574)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto-custom: clarify bbappend versus copy in comments
Bruce Ashfield [Mon, 11 May 2015 19:11:16 +0000 (15:11 -0400)] 
linux-yocto-custom: clarify bbappend versus copy in comments

The kernel development manual recommends making a copy of
linux-yocto-custom, while the comments in the recipe talk about
bbappends.

To synchronize the two, we remove the bbappend references from the
recipe and instead indicate that a copy should be updated.

[YOCTO: #6925]

(From OE-Core rev: 121498714b03339d2e5090c2a8fe0618bbaa8610)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.19: braswell DRM/i915 Graphics fixes
Bruce Ashfield [Mon, 11 May 2015 16:18:27 +0000 (12:18 -0400)] 
linux-yocto/3.19: braswell DRM/i915 Graphics fixes

Updating the SRCREVs to integrate the following fixes:

   0befa35f4099 drm/i915/chv: Remove DPIO force latency causing interpair skew issue
   184e0374e4eb drm/i915: Fix chv cdclk support
   e2a99b9cd086 drm/i915: Increase the range of sideband address.
   9d5d55ede53b drm/i915: Disable DDR DVFS on CHV
   96cce945ac97 drm/i915: Enable the maxfifo PM5 mode when appropriate on CHV
   b5005319da56 drm/i915: Program PFI credits for VLV
   c7aa33eb3697 drm/i915: Rewrite VLV/CHV watermark code
   a421d8bcaa6d drm/i915: Make sure PND deadline mode is enabled on VLV/CHV
   631afc98c4b5 drm/i915: Read out display FIFO size on VLV/CHV
   e0dcdc019b8a drm/i915: Pass plane to vlv_compute_drain_latency()
   a6a5562b7754 drm/i915: Reorganize VLV DDL setup
   bb662a47ec0c drm/i915: Hide VLV DDL precision handling
   3d2d93239cd7 drm/i915: Simplify VLV drain latency computation
   f68614743b92 drm/i915: Kill DRAIN_LATENCY_PRECISION_* defines
   86c658c06ede drm/i915: Reduce CHV DDL multiplier to 16/8
   8c4cdd96a3f2 drm/i915: Allow pixel clock up to 95% of cdclk on CHV
   d9d4fb889c2a drm/i915: Reduce CHV DPLL min vco frequency to 4.8 GHz

(From OE-Core rev: 5eaa3c2c57dad400305e5ca64c62b2507fd96a54)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-yocto/3.14: cavium and configuration changes
Bruce Ashfield [Fri, 8 May 2015 18:07:19 +0000 (14:07 -0400)] 
linux-yocto/3.14: cavium and configuration changes

Updating the 3.14 SRCREVs to integrate the latest round of cavium
support patches, as well as configuration backports from 3.19.

(From OE-Core rev: df552f18cf9852e0f04780399b78605c8085d935)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual: Updated "Delete a Task" section for broken deps
Scott Rifenbark [Fri, 22 May 2015 15:42:34 +0000 (09:42 -0600)] 
bitbake: bitbake-user-manual: Updated "Delete a Task" section for broken deps

Fixes [YOCTO #7803]

I added information for the scenario where deleting a task using the
deltask command could "break" implicit dependencies.

(Bitbake rev: 5ea3a206bb5beef4c12d56d9e42e29d324a08e16)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenericx860common.inc: Enable using the 3.19 kernel
Saul Wold [Tue, 19 May 2015 14:12:16 +0000 (07:12 -0700)] 
genericx860common.inc: Enable using the 3.19 kernel

This is the second half of enabling the 3.19 kernel for the
genericx86* meta-yocto BSPs.

(From meta-yocto rev: 7671a1f303b822e6773fc54bb623ef342203d917)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxvinfo: upgrade to 1.1.3
Ross Burton [Wed, 20 May 2015 20:23:15 +0000 (21:23 +0100)] 
xvinfo: upgrade to 1.1.3

(From OE-Core rev: c78eb923c20533a1b9fbab462c809b2652fac425)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxkeyboard-config: upgrade to 2.14
Ross Burton [Wed, 20 May 2015 20:21:31 +0000 (21:21 +0100)] 
xkeyboard-config: upgrade to 2.14

(From OE-Core rev: 4931e7d0460675713b4a5034b282a3eeae7f3178)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxdpyinfo: upgrade to 1.3.2
Ross Burton [Wed, 20 May 2015 20:20:06 +0000 (21:20 +0100)] 
xdpyinfo: upgrade to 1.3.2

(From OE-Core rev: 1703e287cad9103e132e6a6e22ebc0c513d831eb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopuzzles: upgrade to latest srcrev
Ross Burton [Wed, 20 May 2015 20:17:18 +0000 (21:17 +0100)] 
puzzles: upgrade to latest srcrev

(From OE-Core rev: 150853c3726a95d36329186c0c94c19474d90383)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity.bbclass: import subprocess in correct function
Jussi Kukkonen [Wed, 20 May 2015 19:11:06 +0000 (22:11 +0300)] 
sanity.bbclass: import subprocess in correct function

check_sanity() no longer needs the subprocess module but
sanity_handle_abichanges() does use subprocess.call().

(From OE-Core rev: 469b53fb3bb94c7e5e9fb53d07cec2292b13c87d)

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>
10 years agolicense_class: Add explicity avoid of CLOSED license in validations
Aníbal Limón [Mon, 18 May 2015 20:33:07 +0000 (20:33 +0000)] 
license_class: Add explicity avoid of CLOSED license in validations

The CLOSED license isn't a generic license it is a set and can
be any closed source license.

[YOCTO #7752]

(From OE-Core rev: f33651a46d12bb763a4e3c13438d084411406849)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogtk-engines: Make gtk-engines-dev installable by dropping dependency to not generated...
Florian Boor [Wed, 20 May 2015 13:48:34 +0000 (15:48 +0200)] 
gtk-engines: Make gtk-engines-dev installable by dropping dependency to not generated gtk-engines package.

(From OE-Core rev: da96efe73c2338fa660a80d043479106f732f1f5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs.py: Improve rpm log_check_regex
Ed Bartosh [Wed, 20 May 2015 10:40:18 +0000 (13:40 +0300)] 
rootfs.py: Improve rpm log_check_regex

Current regex can cause false negatives if paths in bitbake log files
contain "ERR" or "Fail". do_rootfs fails with return code 1 in
this case.

Improved regexp is based on error messages produced by rpm.
Those are found by analyzing rpm source code.

[YOCTO #7789]

(From OE-Core rev: 38871dc0295fb2516e1c8b1dc9948c2d2fc4d2cd)

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>
10 years agozlib: clean up base_libdir symlink
Ross Burton [Wed, 20 May 2015 14:38:49 +0000 (15:38 +0100)] 
zlib: clean up base_libdir symlink

libz.so symbolic link created in ${libdir} is
../../${base_libdir}/libz.so.1.2.8.  This doesn't work if base_libdir or libdir
is changed, so use oe.path.relative to construct the correct path at build time.

(From OE-Core rev: ada8972ec40441b06e50d3e9ccbc07241a48e30a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocombo-layer: handle unset dest_dir in sanity_check()
Patrick Ohly [Wed, 20 May 2015 11:48:20 +0000 (13:48 +0200)] 
combo-layer: handle unset dest_dir in sanity_check()

The previous "clean up dest_dir checking" patch (f8cdbe7497) improved
handling of empty dest_dir but made handling of unset dest_dir worse:
instead showing the "Option dest_dir is not defined for component ..."
error, it fails with a Python exception.

Avoid that by providing a sane fallback for the unset case. With that
change, dest_dir is no longer strictly required, but the check for it
is kept to ensure that a combo-layer.conf also works with older
combo-layer versions.

[Yocto #7773]

(From OE-Core rev: d4bf858b2c15bef128fd6d606b08203a318e2d4c)

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>
10 years agodistro: remove obsolete gstreamer 0.10 packages from distro configuration
Alexander Kanavin [Thu, 21 May 2015 14:39:29 +0000 (17:39 +0300)] 
distro: remove obsolete gstreamer 0.10 packages from distro configuration

(From meta-yocto rev: 552a9754f1e9cb9ff412cde740b2f3c91dae07c3)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupstream_tracking.inc: Remove obsolete reasons
Jussi Kukkonen [Thu, 21 May 2015 13:29:36 +0000 (16:29 +0300)] 
upstream_tracking.inc: Remove obsolete reasons

Remove no-update reasons where the mentioned blocking
dependency has already been upgraded or removed.

(From meta-yocto rev: 47159003439f1b24de53b1be8596dba067933b7b)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxdmcp: make libbsd usage deterministic
Ross Burton [Thu, 21 May 2015 09:19:22 +0000 (10:19 +0100)] 
libxdmcp: make libbsd usage deterministic

libxdmcp can optionally use arc4random_buf() from libbsd instead of it's own
random key generation code. As this is an optional dependency add a
PACKAGECONFIG for it and default to not using libbsd.

(From OE-Core rev: fe7780a9bbbfa4dcbbe457618a0842e91a3c6a0e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: Add handling of do_shared_workdir task
Richard Purdie [Wed, 20 May 2015 12:05:03 +0000 (13:05 +0100)] 
sstate: Add handling of do_shared_workdir task

Changing TMPDIR and rebuilding an image was resulting in rebuilds of
kernels due to dependencies on the shared_workdir task. If installed
from sstate, nothing needs this task so add it to the whitelisted
task patterns.

After this change, the kernel does not rebuild when a new TMPDIR and
hot sstate cache is used.

(From OE-Core rev: 624f575298c74272b69560735cb6f13f5a7761c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosqlite3: upgrade to 3.8.10
Roy Li [Tue, 19 May 2015 12:32:01 +0000 (20:32 +0800)] 
sqlite3: upgrade to 3.8.10

upgrade to include CVE fixes:
    CVE-2015-3414
    CVE-2015-3415
    CVE-2015-3416

(From OE-Core rev: 346505144a18b738846b9d5bc6f146426d3572ba)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomidori: fix build with GLib 2.44
Ross Burton [Tue, 19 May 2015 19:40:57 +0000 (20:40 +0100)] 
midori: fix build with GLib 2.44

GLib 2.44 introduced a GListStore type which is ambiguous with GtkListStore when
using wildcard using statements.  Use the full type name to fix builds.

(From OE-Core rev: e14f9f31d24c517e59f250cb79a536ed4b01bc5d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotestapps: remove old gst-meta-audio/video dependencies
Alexander Kanavin [Tue, 19 May 2015 14:14:43 +0000 (17:14 +0300)] 
testapps: remove old gst-meta-audio/video dependencies

Unnecessary because gst-player already pulls in correct gstreamer packages anyway.

(From OE-Core rev: bcbfc531b68799cf206277d13322a093879e17ae)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity.bbclass: improve the sanity check for PATH and BBPATH
Shiqun Lin [Wed, 7 Jan 2015 07:00:31 +0000 (15:00 +0800)] 
sanity.bbclass: improve the sanity check for PATH and BBPATH

Build fails if "./" is in the PATH

To reproduce the issue:

  $ export PATH="./:$PATH"
  $ make -C build-tools elfutils

  Error: ./ld: unrecognized option '--sysroot=/'

(From OE-Core rev: b6a23572b8f14e27d4341892b9069e7cac1e9c14)

Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopinentry: package update to 9.2
Armin Kuster [Tue, 19 May 2015 01:49:50 +0000 (18:49 -0700)] 
pinentry: package update to 9.2

added a few more PACKAGECONIG options.

(From OE-Core rev: fb5f00ae63e0e3ae890254b4286f7160694bf7ee)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-utils: upgrade to 1.0.29
Kai Kang [Tue, 19 May 2015 01:08:13 +0000 (09:08 +0800)] 
alsa-utils: upgrade to 1.0.29

Upgrade alsa-utils from 1.0.28 to 1.0.29.

* remove PR
* rename package alsa-utils-alsaconf to alsa-utils-scripts, and add
  script alsa-info.sh

(From OE-Core rev: 027ca092ab201dd1ef56d819d316faea2d68871f)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-tools: upgrade to version 1.0.29
Kai Kang [Tue, 19 May 2015 01:08:12 +0000 (09:08 +0800)] 
alsa-tools: upgrade to version 1.0.29

Upgrade alsa-tools from verion 1.0.28 to 1.0.29.

* update autotools.patch
* add file gitcompile which exists in git repo but missing in release
  tar ball for sub-directory hdajacksensetest

(From OE-Core rev: 9174c8bfe1aba1b32417d52d923fe5fff996814e)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovala: upgrade to version 0.28.0
Kai Kang [Tue, 19 May 2015 01:08:11 +0000 (09:08 +0800)] 
vala: upgrade to version 0.28.0

Upgrade vala from version 0.26.1 to 0.28.0.

(From OE-Core rev: dd06566f9bdc03da445226d250cbf220afbf0ba6)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer: remove 0.10 recipes
Alexander Kanavin [Mon, 18 May 2015 13:58:40 +0000 (16:58 +0300)] 
gstreamer: remove 0.10 recipes

gstreamer 0.10 is still available from meta-openembedded/meta-multimedia

See also
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294
http://lists.openembedded.org/pipermail/openembedded-core/2015-April/104276.html

(From OE-Core rev: fe44ac167a2a76531af3519f3889fce92024567b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowebkitgtk: disable audio and video support
Alexander Kanavin [Mon, 18 May 2015 13:58:39 +0000 (16:58 +0300)] 
webkitgtk: disable audio and video support

This allows removal of gstreamer 0.10 dependency from webkit recipe

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294

(From OE-Core rev: cae5c340e4c7af00a181d11346120b550ba83175)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqt4: disable Phonon framework
Alexander Kanavin [Mon, 18 May 2015 13:58:38 +0000 (16:58 +0300)] 
qt4: disable Phonon framework

This allows removal of gstreamer 0.10 dependency from Qt4 recipe

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294
(From OE-Core rev: 096b71a5c24378a449bc38063316555f02af8e18)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqt4: remove Qt Mobility
Alexander Kanavin [Mon, 18 May 2015 13:58:37 +0000 (16:58 +0300)] 
qt4: remove Qt Mobility

Qt Mobility is an obsolete and unmaintained framework that is also
dependent on gstreamer 0.10

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294

(From OE-Core rev: bbad6c226f1ff2657c6095141bbf3ec936a42feb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclutter-gst: update to latest upstream version 3.0.4
Alexander Kanavin [Mon, 18 May 2015 13:58:36 +0000 (16:58 +0300)] 
clutter-gst: update to latest upstream version 3.0.4

This also makes it GStreamer 1.0 compatible

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294

(From OE-Core rev: 4a2f9e7eebcfe106738af17917a700d769acf03b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-gst: remove obsolete Python gstreamer 0.10 bindings
Alexander Kanavin [Mon, 18 May 2015 13:58:35 +0000 (16:58 +0300)] 
python-gst: remove obsolete Python gstreamer 0.10 bindings

GStreamer 1.0 python bindings are gobject-introspection based,
so until that is fixed, they will not be available.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294

(From OE-Core rev: 89d5cf570e4e303054ba4cc3b1dfded80b4aebd4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoicu-native: fix hard paths in native icu
André Draszik [Mon, 18 May 2015 08:06:01 +0000 (09:06 +0100)] 
icu-native: fix hard paths in native icu

The icu recipe installs icu-native twice, once in the usual location,
and once for cross builds into the path given by --with-cross-build.

This latter path is not included in the list of paths recognised by
chrpath.bbclass, hence the binaries in there retain the rpath as used
during compilation. This causes the package to not be relocateable
from sstate
[YOCTO #6851]

We use the infrastructure that is in place already, and simply set
PREPROCESS_RELOCATE_DIRS as necessary, and things start to work.

(From OE-Core rev: e7fcaa534511e3f65b630b01cf0c824ee5a5fd4d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxkeyboard-config: remove GPLv3 files
Ross Burton [Mon, 18 May 2015 11:59:36 +0000 (12:59 +0100)] 
xkeyboard-config: remove GPLv3 files

xkeyboard-config is intended to be MIT licensed, so backport a patch from
upstream to relicense one file and temporarily delete another.

(From OE-Core rev: dd80d50a7943da4b58896b908b47a4aeed120075)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxx86vm: upgrade to 1.1.4
Ross Burton [Mon, 18 May 2015 16:45:31 +0000 (17:45 +0100)] 
libxx86vm: upgrade to 1.1.4

(From OE-Core rev: 576420640deebdf0c6728b9ee01aefcee9f59fb0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxvmc: upgrade to 1.0.9
Ross Burton [Mon, 18 May 2015 16:45:30 +0000 (17:45 +0100)] 
libxvmc: upgrade to 1.0.9

(From OE-Core rev: c579723a319c7782b3056bdd91a653a51451335f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxt: upgrade to 1.1.5
Ross Burton [Mon, 18 May 2015 16:45:29 +0000 (17:45 +0100)] 
libxt: upgrade to 1.1.5

Remove the custom compile logic as upstream now detects cross-compilation and
uses CC_FOR_BUILD.

(From OE-Core rev: a16b6b8658cf511a7e271ca70ed5a6f6a78d1133)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxshmfence: upgrade to 1.2
Ross Burton [Mon, 18 May 2015 16:45:28 +0000 (17:45 +0100)] 
libxshmfence: upgrade to 1.2

(From OE-Core rev: 6439989ca6b8a96d4be0058bdebe97e017d09865)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxrender: upgrade to 0.9.9
Ross Burton [Mon, 18 May 2015 16:45:27 +0000 (17:45 +0100)] 
libxrender: upgrade to 0.9.9

(From OE-Core rev: eef9db08aa0be15b7f6198a5bb802a986c7b75d5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxrandr: upgrade to 1.5.0
Ross Burton [Mon, 18 May 2015 16:45:26 +0000 (17:45 +0100)] 
libxrandr: upgrade to 1.5.0

(From OE-Core rev: 283d295e662034d8acc42c0e4f2b52080d199ca7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorandrproto: upgrade to 1.5.0
Ross Burton [Mon, 18 May 2015 16:45:25 +0000 (17:45 +0100)] 
randrproto: upgrade to 1.5.0

(From OE-Core rev: 787491c2040bd006b2a3e6c1e7254565b5cc300a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxkbfile: upgrade to 1.0.9
Ross Burton [Mon, 18 May 2015 16:45:24 +0000 (17:45 +0100)] 
libxkbfile: upgrade to 1.0.9

(From OE-Core rev: 2f3115345db44bd43dd0db07e795b6aef11ada58)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxfont: upgrade to 1.5.1
Ross Burton [Mon, 18 May 2015 16:45:23 +0000 (17:45 +0100)] 
libxfont: upgrade to 1.5.1

Remove the backported patches as they're integrated in this release.

(From OE-Core rev: 425096a81afcf1f60dad8e74e10b2fe36d72a854)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxdmcp: upgrade to 1.1.2
Ross Burton [Mon, 18 May 2015 16:45:22 +0000 (17:45 +0100)] 
libxdmcp: upgrade to 1.1.2

(From OE-Core rev: 20eb2ec75e41331bbbd94c39b10c31f50e55bd73)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibx11: upgrade to 1.6.3
Ross Burton [Mon, 18 May 2015 16:45:21 +0000 (17:45 +0100)] 
libx11: upgrade to 1.6.3

Drop backported patch always-use-XCOMM patch.
Refresh Add-missing-NULL-check.

(From OE-Core rev: 515d8b5de2d0ebd601d98ca16036aafdf54ce043)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibfontenc: upgrade to 1.1.3
Ross Burton [Mon, 18 May 2015 16:45:20 +0000 (17:45 +0100)] 
libfontenc: upgrade to 1.1.3

(From OE-Core rev: 19e569625d98fe087c42f1f8eee6f58dcb4936cb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofont-util: upgrade to 1.3.1
Ross Burton [Mon, 18 May 2015 16:45:19 +0000 (17:45 +0100)] 
font-util: upgrade to 1.3.1

License checksums updated as the Unicode license was modified (wording only).

(From OE-Core rev: 07878124fd65f10fec58767ea3062dfaab539425)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopcmciautils: fix the parallel building issue
Roy Li [Tue, 19 May 2015 08:38:11 +0000 (16:38 +0800)] 
pcmciautils: fix the parallel building issue

The building failure still display after upstream commit 055a5bbfc[
pcmciautils: fix for parallel build], so refix it.

(From OE-Core rev: fb426a1f5a103a1dc096977533dfbec2aefe07ae)

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: update-recipe: add option to write changes to bbappend
Paul Eggleton [Mon, 18 May 2015 15:15:08 +0000 (16:15 +0100)] 
devtool: update-recipe: add option to write changes to bbappend

Quite often what you want to do having made customisations to a piece of
software is to apply those customisations in your own layer rather than
in the original recipe. Thus, add a -a/--append option to the
update-recipe subcommand which allows you to specify the layer to write
a bbappend into. The bbappend will be created at the appropriate path
within the specified layer directory (which may or may not be in your
bblayers.conf) or if one already exists it will be updated
appropriately.

(This re-uses code written for recipetool appendfile.)

Implements [YOCTO #7587].

(From OE-Core rev: 87d487ea4fdfb6cd30e3b3fad47732db12e86f23)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipetool: add appendfile subcommand
Paul Eggleton [Mon, 18 May 2015 15:15:07 +0000 (16:15 +0100)] 
recipetool: add appendfile subcommand

Locating which recipe provides a file in an image that you want to
modify and then figuring out how to bbappend the recipe in order to
replace it can be a tedious process. Thus, add a new appendfile
subcommand to recipetool, providing the ability to create a bbappend
file to add/replace any file in the target system. Without the -r
option, it will search for the recipe packaging the specified file
(using pkgdata from previously built recipes). The bbappend will be
created at the appropriate path within the specified layer directory
(which may or may not be in your bblayers.conf) or if one already exists
it will be updated appropriately.

Fairly extensive oe-selftest tests are also provided.

Implements [YOCTO #6447].

(From OE-Core rev: dd2aa93b3c13d2c6464ef0fda59620c7dba450bb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooe-selftest: move recipetool tests to their own module
Paul Eggleton [Mon, 18 May 2015 15:15:06 +0000 (16:15 +0100)] 
oe-selftest: move recipetool tests to their own module

These tests really belong in their own module; if we refactor
out a base class from DevtoolTests with shared functions then we can
move them out easily. Also create temp directory in setupLocal() so we
don't have to do that in individual tests anymore.

(From OE-Core rev: 2f88f6e7b2e54b13376338354aae1d61c0c0db60)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/patch: use with open() for all file operations
Paul Eggleton [Mon, 18 May 2015 15:15:05 +0000 (16:15 +0100)] 
lib/oe/patch: use with open() for all file operations

with open(...)... is preferred for reading/writing files as it is neater
and takes care of closing the file for you.

(From OE-Core rev: 99ac382d84667eb496dc510d3277b8c55b237738)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool / recipetool: ensure bb.note() gets printed
Paul Eggleton [Mon, 18 May 2015 15:15:04 +0000 (16:15 +0100)] 
devtool / recipetool: ensure bb.note() gets printed

Most of the time when bb.note() gets called we want to see the output,
so ensure the level is set appropriately depending on the command line
options instead of being fixed at warning. (We don't want to see the
notes for fetch/unpack/patch though as they are too verbose).

(From OE-Core rev: 69f426a2d966a2228cbdc708b9ddab31005c6d96)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomsmtp: Upgrade to 1.6.2
Saul Wold [Mon, 18 May 2015 23:28:39 +0000 (16:28 -0700)] 
msmtp: Upgrade to 1.6.2

(From OE-Core rev: 0c65e61d029e2c2293b072ff950aa825394abb79)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliburcu: Upgrade to 0.8.7
Saul Wold [Mon, 18 May 2015 23:28:40 +0000 (16:28 -0700)] 
liburcu: Upgrade to 0.8.7

(From OE-Core rev: d6b83e43a5a5d711e2095b05dca61b64fde8f212)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibinitscripts: Upgrade to 9.63
Saul Wold [Mon, 18 May 2015 23:28:38 +0000 (16:28 -0700)] 
libinitscripts: Upgrade to 9.63

(From OE-Core rev: ceb77cfaee7789fdff07aaa08ab89de9d4b3e513)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibidn: Upgrade to 1.30
Saul Wold [Mon, 18 May 2015 23:28:36 +0000 (16:28 -0700)] 
libidn: Upgrade to 1.30

LIC_CHKSUM updated because year was changed in those associated files.

(From OE-Core rev: 1f030a5355c234dc6d1d2b22a25cbb96d5628056)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibksba: Upgrade to 1.3.3
Saul Wold [Mon, 18 May 2015 23:28:37 +0000 (16:28 -0700)] 
libksba: Upgrade to 1.3.3

(From OE-Core rev: ae8b2a22bd66eed114e8e0404660fadcd47441cd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-customization.xsl: Pointing to mirrors for XSL files.
Scott Rifenbark [Tue, 19 May 2015 19:08:25 +0000 (13:08 -0600)] 
bitbake: bitbake-user-manual-customization.xsl: Pointing to mirrors for XSL files.

Instead of pointing to the Sourceforge area, which seems to flake out
every so often, we are now pointing to a mirror to get the XSL files
needed to build the manual.

(Bitbake rev: d9811231b4c8211446bd9275084c26a4718cd175)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch/git: Fix uri in git checkstatus
Marcin Smoczyński [Thu, 2 Apr 2015 12:24:51 +0000 (14:24 +0200)] 
bitbake: fetch/git: Fix uri in git checkstatus

Pass proper repository url without arguments after a semicolon.

Executing checkuri on a rule with git repository in SRC_URI does
not report errors when working offline because wrong repository
url is passed to the ls-remote command. For example
"bitbake -c checkuri glibc" command executes:
"git -c core.fsyncobjectfiles=0 ls-remote git://sourceware.org/git/glibc.git;branch=release/2.21/master"
command in a shell subprocess to determine if url is valid.
Shell subprocess executes in fact 2 commands:
"git -c core.fsyncobjectfiles=0 ls-remote git://sourceware.org/git/glibc.git"
and
"branch=release/2.21/master"

First one returns 127 or 128 depending on error but second one
returns 0 because it is just env variable setup. Therefore we're not catching
connection error.

[YOCTO #7558]

(Bitbake rev: efa44d04137977f883db4a643b0f774e91514722)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Remove dependency on daemon application
Randy Witt [Mon, 18 May 2015 22:06:12 +0000 (15:06 -0700)] 
bitbake: toaster: Remove dependency on daemon application

The bitbake observer is now started using python subprocess. This should
allow for toaster to run without installing the "daemon" application.

[Yocto #7271]

(Bitbake rev: 1dd599ddfcdb547bee49bd7d86acddf64c675b42)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: localhostbecontroller: Fix server search debug message
Randy Witt [Mon, 18 May 2015 22:06:11 +0000 (15:06 -0700)] 
bitbake: localhostbecontroller: Fix server search debug message

When the output from the commands ran was redirected to
"toaster_server.log" instead of the console, the debug message stating
the port on which bitbake is running would no longer appear.

This change makes looks at "toaster_server.log" for the port rather than
the _shellcmd output. This makes the debug message useful again.

(Bitbake rev: 9097bae469cb1e005092c11610d92e908b8f19f5)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2/hg.py: add clean function
Robert Yang [Mon, 18 May 2015 09:04:07 +0000 (02:04 -0700)] 
bitbake: fetch2/hg.py: add clean function

Fixed when bitbake vim -ccleanall:

File: '/path/to/bitbake/lib/bb/fetch2/__init__.py', lineno: 1462, function: clean
     1458:    def clean(self, urldata, d):
     1459:        """
     1460:        Clean any existing full or partial download
     1461:        """
 *** 1462:        bb.utils.remove(urldata.localpath)
     1463:
     1464:    def try_premirror(self, urldata, d):
     1465:        """
     1466:        Should premirrors be used?
File: '/path/to/bitbake/lib/bb/utils.py', lineno: 633, function: remove
     0629:        subprocess.call(['rm', '-rf'] + glob.glob(path))
     0630:        return
     0631:    for name in glob.glob(path):
     0632:        try:
 *** 0633:            os.unlink(name)
     0634:        except OSError as exc:
     0635:            if exc.errno != errno.ENOENT:
     0636:                raise

Exception: OSError: [Errno 21] Is a directory: '/path/to/downloads/hg/vim.googlecode.com/hg/vim'

(Bitbake rev: 02763306662e15a4750395e5eab64ba98d1f9939)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: lib/bb/utils: fix and extend edit_metadata_file()
Paul Eggleton [Mon, 18 May 2015 15:08:36 +0000 (16:08 +0100)] 
bitbake: lib/bb/utils: fix and extend edit_metadata_file()

Fix several bugs and add some useful enhancements to make this into a
more generic metadata editing function:
* Support modifying function values (name must be specified ending with
  "()")
* Support dropping values by returning None as the new value
* Split out edit_metadata() function to provide same functionality
  on a list/iterable
* Pass operation to callback and allow function to return them
* Pass current output lines to callback so they can be modified
* Fix handling of single-quoted values
* Handle :=, =+, .=, and =. operators
* Support arbitrary indent string
* Support indenting by length of assignment (by specifying -1)
* Fix typo in variablename - intentspc -> indentspc
* Expand function docstring to cover arguments / usage
* Add a parameter to enable matching names with overrides applied
* Add some bitbake-selftest tests

Note that this does change the expected signature of the callback
function. The only known caller is in lib/bb/utils.py itself; I doubt
anyone else has made extensive use of this function yet.

(Bitbake rev: 20059e4d5ab9bf0f32c781ccb208da3c95818018)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: lib/bb/utils: fix several bugs in edit_metadata_file()
Paul Eggleton [Mon, 18 May 2015 15:08:35 +0000 (16:08 +0100)] 
bitbake: lib/bb/utils: fix several bugs in edit_metadata_file()

* Fix unchanged assignments being dropped if other lines changed
* Fix not passing variable name from single-line assignments to the
  function
* Fix not trimming the trailing quote from values

(Bitbake rev: 0b0c82f49cf2de887967d305768cbd95314bb171)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: lib/bb/utils: add function to get layer containing a file
Paul Eggleton [Mon, 18 May 2015 15:08:34 +0000 (16:08 +0100)] 
bitbake: lib/bb/utils: add function to get layer containing a file

In certain contexts it can be useful to find the layer that a file (e.g.
a recipe) appears in.

Implements [YOCTO #7723].

(Bitbake rev: 3bf9c8830c5d5eea5502230d5af84ebd87ad5849)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa-yocto-bsp: Add genericx86* BSP to use 3.19
Saul Wold [Mon, 18 May 2015 23:32:03 +0000 (16:32 -0700)] 
meta-yocto-bsp: Add genericx86* BSP to use 3.19

Add the linux-yocto_3.19.bbappend to support the genericx86 BSP

Tested on a variety of machines both 32 bit and 64 bit

(From meta-yocto rev: d54caed545cb865b4aff0a6eda381fe56a3f23ff)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc: CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow
Haris Okanovic [Fri, 15 May 2015 21:57:11 +0000 (16:57 -0500)] 
glibc: CVE-2015-1781: resolv/nss_dns/dns-host.c buffer overflow

Backport Arjun Shankar's patch for CVE-2015-1781:

A buffer overflow flaw was found in the way glibc's gethostbyname_r() and
other related functions computed the size of a buffer when passed a
misaligned buffer as input. An attacker able to make an application call
any of these functions with a misaligned buffer could use this flaw to
crash the application or, potentially, execute arbitrary code with the
permissions of the user running the application.

https://sourceware.org/bugzilla/show_bug.cgi?id=18287

(From OE-Core rev: c0f0b6e6ef1edc0a9f9e1ceffb1cdbbef2e409c6)

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Reviewed-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: tests/parse: Add file missing from previous commit
Richard Purdie [Sat, 16 May 2015 21:40:30 +0000 (22:40 +0100)] 
bitbake: tests/parse: Add file missing from previous commit

(Bitbake rev: 76f095107a0eaf987a5a6a48eed7b98f87aea121)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: remove intermediate partitions
Alexandre Belloni [Fri, 8 May 2015 19:17:14 +0000 (21:17 +0200)] 
wic: remove intermediate partitions

Remove intermediate partitions that may have been created by a previous
wic invocation. Those partitions are causing issues on some systems. In
particular vfat partition creation is hanging on mcopy execution on
Fedora.

(From OE-Core rev: 8d2587d87601a7ff0fad840dabc07d66363b2810)

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: tests/fetch: Add mirror of mirror tests
Richard Purdie [Fri, 15 May 2015 17:01:27 +0000 (18:01 +0100)] 
bitbake: tests/fetch: Add mirror of mirror tests

Add some tests of mirrors or mirrors to the fetcher unittests.

(Bitbake rev: e33d82bc10283d533f928836d56a6f0af80ea5c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Improve mirror building function error handling
Richard Purdie [Fri, 15 May 2015 17:00:49 +0000 (18:00 +0100)] 
bitbake: fetch2: Improve mirror building function error handling

First, when building mirror urls we don't do any fetching so we should never
be calling clean functions.

Currently, if a mirror url fails, we don't process it further to see
if there are any mirrors of the mirror.

We should do this even when the mirror url fails, else we may miss out
on valid/useful mappings, particularly in the case of file:// urls.

(Bitbake rev: b7fd3ec9994f664b17fc86423e6e7afac07e897b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Allow GIT_SMART_HTTP to be passed through
Liam R. Howlett [Fri, 15 May 2015 15:56:24 +0000 (11:56 -0400)] 
bitbake: fetch2: Allow GIT_SMART_HTTP to be passed through

Allow GIT_SMART_HTTP to be passed through to the fetch command so that
servers that cannot use GIT_SMART_HTTP can be used by the fetcher.

(Bitbake rev: e5c97a85bed0436d48eeaac2e32962cfb5371d2f)

Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouseradd.bbclass: Remove base-passwd dependency
Leonardo Sandoval [Thu, 14 May 2015 07:03:34 +0000 (07:03 +0000)] 
useradd.bbclass: Remove base-passwd dependency

shadow-sysroot (another useradd dependency) recipe already includes
base-passwd dependency, so removing it from useradd class.

This fixes the compilation issue observed when a recipe depends
on another where the latter inherits from useradd as in the
following scenario:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7724#c0

[Yocto #7724]

(From OE-Core rev: a68a797c7aec607a0720ec5421baf6be821803b8)

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>
10 years agodevtool: if workspace layer exists, still ensure it's in bblayers.conf
Paul Eggleton [Fri, 8 May 2015 14:26:04 +0000 (15:26 +0100)] 
devtool: if workspace layer exists, still ensure it's in bblayers.conf

When we run devtool, if the workspace layer already exists but isn't in
bblayers.conf (perhaps because it was previously created but
subsequently removed from bblayers.conf by the user) then we should add
it and notify the user, otherwise devtool operations won't work.

(From OE-Core rev: 313b622a6c6613092ed18a2158e090521344f6c0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: deploy-target: use tinfoil instead of bitbake -e
Paul Eggleton [Thu, 14 May 2015 10:47:35 +0000 (11:47 +0100)] 
devtool: deploy-target: use tinfoil instead of bitbake -e

Using tinfoil here is quicker and tidier than shelling out to
bitbake -e and interpreting its output.

(From OE-Core rev: 986ad99aee98dd5b7f30d59098dd9275097b8276)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/recipeutils: add a parse_recipe_simple() function
Paul Eggleton [Thu, 14 May 2015 10:44:59 +0000 (11:44 +0100)] 
lib/oe/recipeutils: add a parse_recipe_simple() function

Add a function that simply parses a recipe by name and optionally the
bbappends that apply to it. (Note that if you're using tinfoil you need
to have initialised it with config_only=False so that it can map the
recipe name to a recipe file.)

(From OE-Core rev: a8f221f6c6c0562a5ed06438231c2906e542fb7b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: fix build env command execution error handling
Paul Eggleton [Thu, 14 May 2015 09:18:18 +0000 (10:18 +0100)] 
devtool: fix build env command execution error handling

If we execute an external command, we ought to prepare for the
possibility that it can fail and handle the failure appropriately. We
can especially expect this to happen when running bitbake in this
scenario. Ensure we return the appropriate exit code to the calling
process.

Fixes [YOCTO #7757].

(From OE-Core rev: 98a716d79bfc5434a5b42d3ca683eab3eea30a41)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: deploy plugin: fix bad indentation
Markus Lehtonen [Mon, 11 May 2015 13:17:07 +0000 (16:17 +0300)] 
devtool: deploy plugin: fix bad indentation

(From OE-Core rev: 6866b3027babcc390130f0cba4990c0f769cdb6a)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: add missing docstrings
Markus Lehtonen [Mon, 11 May 2015 13:17:01 +0000 (16:17 +0300)] 
devtool: add missing docstrings

(From OE-Core rev: 07b2e731a378c56852e2715f6c001097b81abe46)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: rename unused variables
Markus Lehtonen [Mon, 11 May 2015 13:17:03 +0000 (16:17 +0300)] 
devtool: rename unused variables

(From OE-Core rev: 92b84d54292518a387460ee1ec5a994023eb26fc)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: remove unused imports / re-imports
Markus Lehtonen [Mon, 11 May 2015 13:17:02 +0000 (16:17 +0300)] 
devtool: remove unused imports / re-imports

(From OE-Core rev: e3de8aca33f612f2dd124ff712fb6758bf32a573)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>