]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agobitbake: build/runqueue: Add noextra stamp file parameter to fix multiconfig builds
Richard Purdie [Wed, 31 Aug 2016 10:37:53 +0000 (11:37 +0100)] 
bitbake: build/runqueue: Add noextra stamp file parameter to fix multiconfig builds

We can't execute the same task for the same package_arch multiple
times as the current setup has conflicting directories. Since
these would usually have the same stamp/hash, we want to execute in
sequence rather than in parallel, so for the purposes of task execution,
don't consider the "extra-info" on the stamp files. We need to add
a parameter to the stamp function to achieve this.

This avoids multiple update-rc.d populate_sysroot tasks executing in
parallel and breaking multiconfig builds.

(Bitbake rev: a9041fc96a14e718c0c1d1676e705343b9e872d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: fetch2: Handle multiconfig fetcher issues
Richard Purdie [Wed, 31 Aug 2016 10:34:23 +0000 (11:34 +0100)] 
bitbake: fetch2: Handle multiconfig fetcher issues

We need a separate fetcher cache per multiconfig as the revisions and other
SRC_URI data can potentially be different. For now, this is the simplest way
to achieve that and avoids linux-yocto kernel build failures when targeting
multiple machines for example.

(Bitbake rev: d98cc31d6668bc1d6372664593126b5e5132ef2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: tinfoil: add a parse_recipe_file function
Paul Eggleton [Tue, 30 Aug 2016 02:16:22 +0000 (14:16 +1200)] 
bitbake: tinfoil: add a parse_recipe_file function

Parsing a recipe is such a common task for tinfoil-using scripts, and is
a little awkward to do properly, so add an API function to do it. This
should also isolate scripts a little from future changes to the internal
code. The first user of this will be the OpenEmbedded layer index update
script.

Part of the fix for [YOCTO #10192].

(Bitbake rev: 39780b1ccbd76579db0fc6fb9369c848a3bafa9d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: cache: allow parsing a recipe with a custom config datastore
Paul Eggleton [Tue, 30 Aug 2016 08:45:09 +0000 (20:45 +1200)] 
bitbake: cache: allow parsing a recipe with a custom config datastore

To accommodate the OpenEmbedded layer index recipe parsing, we have to
have the ability to pass in a custom config datastore since it
constructs a synthetic one. To make this possible after the multi-config
changes, rename the internal _load_bbfile() function to parse_recipe(),
make it a function at the module level (since it doesn't actually need
to access any members of the class or instance) and move setting
__BBMULTICONFIG inside it since other code will expect that to be set.

Part of the fix for [YOCTO #10192].

(Bitbake rev: 5b3fedfe0822dd7effa4b6d5e96eaf42669a71df)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake-diffsigs/bitbake-layers: Ensure tinfoil is shut down correctly
Paul Eggleton [Wed, 5 Aug 2015 14:47:12 +0000 (15:47 +0100)] 
bitbake: bitbake-diffsigs/bitbake-layers: Ensure tinfoil is shut down correctly

We should always shut down tinfoil when we're finished with it, either
by explicitly calling the shutdown() method or by using it as a
context manager ("with ...").

(Bitbake rev: 131e6dc4bbd197774d35d2b266bfb0816f6e6b1e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: tinfoil: add context manager functions
Paul Eggleton [Wed, 5 Aug 2015 14:12:14 +0000 (15:12 +0100)] 
bitbake: tinfoil: add context manager functions

Since calling the shutdown() function is highly recommended, make
tinfoil objects a little easier to deal with by adding context manager
support - so you can do the following:

    with bb.tinfoil.Tinfoil() as tinfoil:
        tinfoil.prepare(True)
        ...

(Bitbake rev: f59bc6be2b4af1acdcf6a1b184956b5ffd297743)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake-user-manual: Added "Exporting Variables to the Environment"
Scott Rifenbark [Thu, 1 Sep 2016 21:01:21 +0000 (14:01 -0700)] 
bitbake: bitbake-user-manual: Added "Exporting Variables to the Environment"

Fixes [YOCTO #10196]

Added a new section named "Exporting Variables to the Environment".
This section provides a dedicated description for how to export
variables to the shell.

(Bitbake rev: b543458dd67d24a228fa2db0ecb4ddd20016a560)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: bitbake-user-manual: Corrected misspelled STAMPS_DIR
Scott Rifenbark [Mon, 22 Aug 2016 20:07:58 +0000 (13:07 -0700)] 
bitbake: bitbake-user-manual: Corrected misspelled STAMPS_DIR

Fixes [YOCTO #10141]

Section on Checksums (Signatures) had this variable referred to as
STAMP_DIR.

(Bitbake rev: 7dff6762148bc2ac8f81d89bbe595dfbfdf7b119)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoinit-install: Fixes the install script failing when not finding any mmcblk devices
Alejandro Hernandez [Tue, 30 Aug 2016 05:08:37 +0000 (05:08 +0000)] 
init-install: Fixes the install script failing when not finding any mmcblk devices

The init-install.sh and init-install-efi.sh scripts perform a check
to see which devices are available on a booted system for installation.

Recently, the way we check for these devices changed on 993bfb,
greping for devices found on /sys/block/, this change caused the installer
to fail (at least) when not finding any mmcblk devices, due to the fact
that we call sh -e to execute this script, so any command (grep)
or pipeline exiting with a non-zero status causes the whole script to exit

This patch throws in a harmless true exit status at the end of the pipeline(s)
of the grep commands to avoid the installer script from exiting, fixing the issue.

[YOCTO #10189]

(From OE-Core rev: 384cf92ca9c3e66763c2c1ff2776c53d47ae25d6)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Fixed small wording in PKGR in the glossary
Scott Rifenbark [Mon, 22 Aug 2016 23:00:48 +0000 (16:00 -0700)] 
ref-manual: Fixed small wording in PKGR in the glossary

Fixes [YOCTO #10138]

(From yocto-docs rev: e49e5055e48f3c426090d2bc62b2bffbc2577dd0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Replaced "bitbake-dumpsigs" with "bitbake-dumpsig".
Scott Rifenbark [Mon, 22 Aug 2016 22:30:57 +0000 (15:30 -0700)] 
ref-manual: Replaced "bitbake-dumpsigs" with "bitbake-dumpsig".

Fixes [YOCTO #10141]

(From yocto-docs rev: e74a66d146e7f666a71f2dab6a5f78de5ad1966c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Updates to PKGV, PKGE, and PKGR.
Scott Rifenbark [Mon, 22 Aug 2016 22:22:40 +0000 (15:22 -0700)] 
ref-manual: Updates to PKGV, PKGE, and PKGR.

Fixes [YOCTO #10138]

Small wording changes.

(From yocto-docs rev: 66afe7560f086ea350df92b2b40ce5790d3d523c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodev-manual, ref-manual: Systemd-boot: Update documents for new EFI bootloader
Scott Rifenbark [Mon, 22 Aug 2016 21:55:05 +0000 (14:55 -0700)] 
dev-manual, ref-manual: Systemd-boot: Update documents for new EFI bootloader

Fixes [YOCTO #9707]

* Replaced gummiboot with systemd-boot in the dev-manual
* Replaced the gummiboot class with a new systemd-boot class
* Replaced the appropriate gummiboot variables in the glossary
  with new variables SYSTEMD_BOOT_CFG, SYSTEMD_BOOT_ENTRIES,
  and SYSTEMD_BOOT_TIMEOUT.

(From yocto-docs rev: 778b620e65cc68531b3c41aeb8f27f2a07eb0d00)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Added bitbake.conf to list of example conf files
Scott Rifenbark [Mon, 22 Aug 2016 20:23:01 +0000 (13:23 -0700)] 
ref-manual: Added bitbake.conf to list of example conf files

Fixes [YOCTO #10144]

In the "Viewing Variable Names" section, there is a list of
example configuration files.  I added bitbake.conf to the list.

(From yocto-docs rev: 5a19d5c314881e223aaa567c8eb8f6ed4fbc01df)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Suggested fleshing out of the sigdata/siginfo documentation
Scott Rifenbark [Mon, 22 Aug 2016 20:13:14 +0000 (13:13 -0700)] 
ref-manual: Suggested fleshing out of the sigdata/siginfo documentation

Fixes [YOCTO #10141]

Provided several fixes to address this situation:

 * Renamed "Debugging Build Failures" to "Debugging Tools and
   Techniques" as it fit better the subsections.

 * Renamed "Viewing Dependencies" to "Viewing Dependencies
   Between Recipes and Tasks" as it fit better the description.

 * Added a new "Viewing Task Variable Dependencies" section
   to describe how sigdata and siginfo stuff can be used.

 * Replaced the contents of "4.3.4.1 Debugging" with a shorter
   bit that now references into the new section on veiwing
   task variable dependencies.

(From yocto-docs rev: 539d76366055bed74ccc926519e969324cac470d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoref-manual: Updated some variables in the glossary for nits.
Scott Rifenbark [Mon, 22 Aug 2016 17:54:28 +0000 (10:54 -0700)] 
ref-manual: Updated some variables in the glossary for nits.

Fixes [YOCTO #10138]

Small fixes for the following variables:

 * PKGV
 * PV
 * PE
 * PR

(From yocto-docs rev: 4ffc6a2fed330cec320e744561df3aad2a349cf5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added developer note for updating to Neon
Scott Rifenbark [Fri, 19 Aug 2016 20:50:56 +0000 (13:50 -0700)] 
sdk-manual: Added developer note for updating to Neon

(From yocto-docs rev: bd21fdd102d7daa3f03b978760d9190a3815e243)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Updated boxes to check when installing pre-built mars yp plug-in
Scott Rifenbark [Fri, 19 Aug 2016 20:24:23 +0000 (13:24 -0700)] 
sdk-manual: Updated boxes to check when installing pre-built mars yp plug-in

Removed the Bitbake commander item and renamed the ADT one to SDK.

(From yocto-docs rev: 7bb7823bd9991ce95315b76bdfb3175c53198401)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Removed "snapshot" in an example version string.
Scott Rifenbark [Fri, 19 Aug 2016 20:15:07 +0000 (13:15 -0700)] 
sdk-manual: Removed "snapshot" in an example version string.

(From yocto-docs rev: 5ce7ad30cfc95b459a3da7b1cc540d1207d50dd8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added note to link to the wiki on building an SDK
Scott Rifenbark [Fri, 19 Aug 2016 20:12:18 +0000 (13:12 -0700)] 
sdk-manual: Added note to link to the wiki on building an SDK

(From yocto-docs rev: 29704fa495a97279c5d4e29bee22f0aaa9e15cba)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added an example name for an extensible SDK
Scott Rifenbark [Fri, 19 Aug 2016 20:06:02 +0000 (13:06 -0700)] 
sdk-manual: Added an example name for an extensible SDK

(From yocto-docs rev: bbc2ac36d19713242307b73393035d3fca6ed5a0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Fixed a broken "do_install" task link
Scott Rifenbark [Fri, 19 Aug 2016 19:57:02 +0000 (12:57 -0700)] 
sdk-manual: Fixed a broken "do_install" task link

(From yocto-docs rev: bef1a51e0c0a5a0145e942c1cc3f868f1cfaa03c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Fixed a broken link to the "base" class
Scott Rifenbark [Fri, 19 Aug 2016 19:54:54 +0000 (12:54 -0700)] 
sdk-manual: Fixed a broken link to the "base" class

(From yocto-docs rev: 22eba313276ea95030634eef8632e4e05cb1e484)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: "Linkified" the CC variable in section 3.3.4
Scott Rifenbark [Fri, 19 Aug 2016 19:50:30 +0000 (12:50 -0700)] 
sdk-manual: "Linkified" the CC variable in section 3.3.4

(From yocto-docs rev: d020cfc08e5d0679d7d5d3fd4269be877413e863)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Grammar fix.
Scott Rifenbark [Fri, 19 Aug 2016 19:40:26 +0000 (12:40 -0700)] 
sdk-manual: Grammar fix.

(From yocto-docs rev: 709481dd0711abda063120f775b35b58c9a2af15)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Updated the extensible SDK installer example
Scott Rifenbark [Fri, 19 Aug 2016 19:30:02 +0000 (12:30 -0700)] 
sdk-manual: Updated the extensible SDK installer example

(From yocto-docs rev: 3791f4abc21c565f7e258a550e66327dbbe7a384)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Re-worded Step 6 for deploying image in eclipse flow.
Scott Rifenbark [Fri, 19 Aug 2016 18:49:35 +0000 (11:49 -0700)] 
sdk-manual: Re-worded Step 6 for deploying image in eclipse flow.

(From yocto-docs rev: dd0b96a3917ab6b6c0a22af1d23f48beee6a2cd3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added note about building the image for QEMU use
Scott Rifenbark [Fri, 19 Aug 2016 18:45:18 +0000 (11:45 -0700)] 
sdk-manual: Added note about building the image for QEMU use

Placed a note in step 4 of the "Workflow Using Eclipse(tm)"
section that an alternative method to getting the target
root filesystem and toolchain is to build them out.
Referenced the wiki.

(From yocto-docs rev: 60720be0fe0d29a0b695005bb40f5b0c25475b55)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Removed bad link
Scott Rifenbark [Fri, 19 Aug 2016 18:34:24 +0000 (11:34 -0700)] 
sdk-manual: Removed bad link

Dumped a link to pre-built kernel naming information.  The
link was to the sdk-manual, which made no sense.

(From yocto-docs rev: 9b7a9f8217d9251f2d7166afc0bb3b4235264201)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Provided better wording to intro running sdk env script.
Scott Rifenbark [Fri, 19 Aug 2016 18:18:11 +0000 (11:18 -0700)] 
sdk-manual: Provided better wording to intro running sdk env script.

(From yocto-docs rev: 41b9b8170179a59b6534db9e926d5086be7d4328)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Added note about building and SDK
Scott Rifenbark [Fri, 19 Aug 2016 17:07:20 +0000 (10:07 -0700)] 
sdk-manual: Added note about building and SDK

(From yocto-docs rev: 6518e03bc0259af04f01596f3f66c123616063e7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Used &DISTRO; for some output release versions.
Scott Rifenbark [Fri, 19 Aug 2016 16:52:44 +0000 (09:52 -0700)] 
sdk-manual: Used &DISTRO; for some output release versions.

(From yocto-docs rev: 4dbcd9957366665028adf955951af6256e67c152)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosdk-manual: Created new Mars Eclipse appendix
Scott Rifenbark [Fri, 12 Aug 2016 17:20:16 +0000 (10:20 -0700)] 
sdk-manual: Created new Mars Eclipse appendix

Fixes [YOCTO #7546]

First draft of the new appendix supporting the Mars version
of eclipse.  New appendix file created and entry made to
the sdk-manual.xml file to include that new appendix file
into the main book.

(From yocto-docs rev: 2fb79c29bcbb5c0801f67d4c245c07c3aa9d2ca2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
sdk-manual: WIP on appendix C

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocore-image-kernel-dev.bb: Standardize use of _append and leading space.
Robert P. J. Day [Thu, 18 Aug 2016 09:23:55 +0000 (05:23 -0400)] 
core-image-kernel-dev.bb: Standardize use of _append and leading space.

(From OE-Core rev: 00027aee12f4bbc9a4ba607c91fcc1e0e8257fa2)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-firmware: set a preferred provider for brcmfmac-sdio.bin
Ross Burton [Wed, 24 Aug 2016 21:50:57 +0000 (22:50 +0100)] 
linux-firmware: set a preferred provider for brcmfmac-sdio.bin

This recipe packages six alternatives to brcmfmac-sdio.bin but as they all have
equal priority there is no determinism on what provider will be used if they are
all installed.

Arbitrarily select 4339 to be the highest priority.

(From OE-Core rev: 72a3b7eda202336014e9246019885357d8025050)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogroff: correct the location path for awk
Zhenbo Gao [Wed, 24 Aug 2016 09:12:38 +0000 (17:12 +0800)] 
groff: correct the location path for awk

awk is located at /usr/bin/, but not /bin/

(From OE-Core rev: a3d9d310866fe37f9c072bc81203cbf1b7ca688b)

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoperl: Correct perl path for ptest
He Zhe [Wed, 24 Aug 2016 07:08:16 +0000 (15:08 +0800)] 
perl: Correct perl path for ptest

Substitute /usr/local with ${bindir}

(From OE-Core rev: bc372d65bc395290e1b7132908a3b943e1b73144)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolsbinitscripts: 9.64 -> 9.68
Wang Xin [Wed, 24 Aug 2016 06:45:03 +0000 (02:45 -0400)] 
lsbinitscripts: 9.64 -> 9.68

Upgrade lsbinitscripts from 9.64 to 9.68.

(From OE-Core rev: d3f6df98318f0751948041a129faed1bd0f7a7c6)

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd: split systemd-container
Chen Qi [Fri, 19 Aug 2016 02:24:11 +0000 (10:24 +0800)] 
systemd: split systemd-container

Split container/vm related units into a new package, systemd-container.

The split mainly references Fedora 24, with a few differences.
Apart from the bash and zsh completion files, the differences include
adding systemd-spawn@.service into the systemd-container package.

[YOCTO #9835]

(From OE-Core rev: 2a4bf6e4c96a8104733add315166210f04c02caf)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agorootfs.py: allow removal of unneeded packages
Stephano Cetola [Wed, 17 Aug 2016 23:25:33 +0000 (16:25 -0700)] 
rootfs.py: allow removal of unneeded packages

Current functionality allows for the removal of certain packages
based on the read-only image feature. This patch extends this
functionality by adding the FORCE_RO_REMOVE variable, which will
remove these packages regardless of any image features.

[ YOCTO #9491 ]

(From OE-Core rev: cfb869ffd4c37c3cc8e6b3eb732c1a7b7cfc3cb0)

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agounfs3: Simplify simultaneous usage of "_append" and "+="
Robert P. J. Day [Wed, 17 Aug 2016 14:16:41 +0000 (10:16 -0400)] 
unfs3: Simplify simultaneous usage of "_append" and "+="

(From OE-Core rev: 3437c0da8e89acb414298a338e13a8ae3efaad27)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuild-perf-test-wrapper.sh: make workdir configurable
Markus Lehtonen [Fri, 19 Aug 2016 13:18:55 +0000 (16:18 +0300)] 
build-perf-test-wrapper.sh: make workdir configurable

New command line argument '-w' may be used to specify work dir other
than the default <GIT_DIR>/build-perf-test.

(From OE-Core rev: 824284895f25146520a624b7b97f7475d0135814)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuild-perf-test-wrapper.sh: make archive dir configurable
Markus Lehtonen [Fri, 19 Aug 2016 12:21:06 +0000 (15:21 +0300)] 
build-perf-test-wrapper.sh: make archive dir configurable

Add new command line argument '-a' that can be used to define the
directory where results (tarballs) are archived. Giving an empty string
disables archiving which makes sense if you store results in Git.

(From OE-Core rev: d53cf92847aa80724be4412801c993948a09cd27)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuild-perf-test-wrapper.sh: allow saving results in Git
Markus Lehtonen [Fri, 19 Aug 2016 11:57:56 +0000 (14:57 +0300)] 
build-perf-test-wrapper.sh: allow saving results in Git

Add new command line argument '-C' that allows saving results in a Git
repository.

(From OE-Core rev: 3d06795d8cd9017b042a7283c16ac71d4f6317a6)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobuild-perf-test-wrapper.sh: parse args with getopts
Markus Lehtonen [Fri, 19 Aug 2016 10:48:58 +0000 (13:48 +0300)] 
build-perf-test-wrapper.sh: parse args with getopts

Use getopts for parsing the command line. This changes the usage so that
if a commit (to-be-tested) is defined it must be given by using '-c',
instead of a positional argument.

(From OE-Core rev: b1f77ba41033397a2b25977963682b86f2f76471)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-build-perf-test: add {git_commit_count} keyword for --commit-results-tag
Markus Lehtonen [Tue, 23 Aug 2016 14:08:40 +0000 (17:08 +0300)] 
oe-build-perf-test: add {git_commit_count} keyword for --commit-results-tag

Makes it possible to create easily sortable tags. Also, the default tag
format is updated to use the new keyword.

(From OE-Core rev: e3161654d75dfc3b059c519205b38b26e3ffb215)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa.buildperf: add git commit count to result data
Markus Lehtonen [Tue, 23 Aug 2016 13:48:46 +0000 (16:48 +0300)] 
oeqa.buildperf: add git commit count to result data

This number represents the number of commits since the beginning of git
history until the tested revision. This helps e.g. in ordering results.

(From OE-Core rev: b52070dd057ff5b410cd193f9be2f25bc4c506cc)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-build-perf-test: new {tag_num} keyword for --commit-results-tag
Markus Lehtonen [Tue, 23 Aug 2016 13:41:53 +0000 (16:41 +0300)] 
oe-build-perf-test: new {tag_num} keyword for --commit-results-tag

This makes it possible to create numbered tags, where the "basename" of
the tag is the same and the only difference is an (automatically)
increasing index number. This is useful if you do multiple test runs on
the same commit. For example, using:
--commit-results-tag {tester_host}/{git_commit}/{tag_num}

would give you tags something like:
myhost/decb3119dffd3fd38b800bebc1e510f9217a152e/0
myhost/decb3119dffd3fd38b800bebc1e510f9217a152e/1
...

The default tag format is updated to use this new keyword in order to
prevent unintentional tag name clashes.

(From OE-Core rev: cf2aba16338a147f81802f48d2e24a96c7133548)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-build-perf-test: tag results committed to Git
Markus Lehtonen [Tue, 16 Aug 2016 12:56:56 +0000 (15:56 +0300)] 
oe-build-perf-test: tag results committed to Git

Create a Git tag when committing results to a Git repository. This patch
also implements --commit-results-tag command line option for controlling
the tag name. The value
is a format string where the following fields may be used:
- {git_branch} - target branch being tested
- {git_commit} - target commit being tested
- {tester_host} - hostname of the tester machine

Tagging can be disabled by giving an empty string to
--commit-results-tag. The option has no effect if --commit-results is
not defined.

(From OE-Core rev: 60059ff5b81d6ba9ba344161d51d1290559ac2df)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-build-perf-test: pre-check Git repo when using --commit-results
Markus Lehtonen [Mon, 15 Aug 2016 10:38:43 +0000 (13:38 +0300)] 
oe-build-perf-test: pre-check Git repo when using --commit-results

Do a pre-check on the path that is specified with --commit-results
before running any tests. The script will create and/or initialize a
fresh Git repository if the given directory does not exist or if it is
an empty directory. It fails if it finds a non-empty directory that is
not a Git repository.

(From OE-Core rev: 759357a3bdbe75a3409b9e58979ab8b45d9b6ae8)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa.utils.git: implement init() method
Markus Lehtonen [Mon, 15 Aug 2016 12:19:44 +0000 (15:19 +0300)] 
oeqa.utils.git: implement init() method

Method for doing 'git init'.

(From OE-Core rev: c848e1dac68cd859a563a82286f8bc5ddabaa423)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-build-perf-test: implement --commit-results-branch
Markus Lehtonen [Fri, 12 Aug 2016 11:11:16 +0000 (14:11 +0300)] 
oe-build-perf-test: implement --commit-results-branch

A new command line option for defining the branch where results are
commited. The value is actually a format string accepting two field
names:
- {git_branch} expands to the name of the target branch being tested
- {tester_host} expands to the hostname of the tester machine

The option has no effect if --commit-results is not used.

(From OE-Core rev: b54b63395ec632748a57a702812c8a9a07af35ab)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-build-perf-test: support committing results data to Git
Markus Lehtonen [Fri, 12 Aug 2016 10:53:48 +0000 (13:53 +0300)] 
oe-build-perf-test: support committing results data to Git

Implement a new command line option '--commit-results' which commits the
test results data into a Git repository. The given path must be an
existing initialized local Git repository.

(From OE-Core rev: b6f635513ca971402e7a970acc2168fb5d4a9476)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa.buildperf: use term commit instead of revision
Markus Lehtonen [Tue, 23 Aug 2016 13:11:21 +0000 (16:11 +0300)] 
oeqa.buildperf: use term commit instead of revision

This is basically a internal change, at this point. Term 'commit' better
represents the data we actually have. Term 'revision' is more vague and
could be understood to point to a tag object, for example.

(From OE-Core rev: f49cf7959b8aaa52b79b22a5884c6aa580a50302)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa.utils.git.GitRepo: new arg to require topdir
Markus Lehtonen [Mon, 15 Aug 2016 10:56:58 +0000 (13:56 +0300)] 
oeqa.utils.git.GitRepo: new arg to require topdir

Add a new 'is_topdir' argument to the GitRepo init method which
validates that the given path is the top directory of a Git repository.
Without this argument GitRepo also accepts subdirectories of a Git
repository (in which case GitRepo will point to the parent directory
that is the top directory of this repository) which may have undesired
in some cases.

(From OE-Core rev: 044c81bd916fbe7140d184eb103f74786cfef604)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa.utils.git: implement GitRepo.get_current_branch()
Markus Lehtonen [Mon, 16 May 2016 11:36:27 +0000 (14:36 +0300)] 
oeqa.utils.git: implement GitRepo.get_current_branch()

(From OE-Core rev: dcba2302adab47b398f1ce7d09c38828ea9ae426)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa.utils.git: introduce GitRepo.rev_parse()
Markus Lehtonen [Mon, 16 May 2016 11:23:43 +0000 (14:23 +0300)] 
oeqa.utils.git: introduce GitRepo.rev_parse()

(From OE-Core rev: 55726e931536ed0cbd7b80588060b05a3145c934)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa.utils.git: support git commands with updated env
Markus Lehtonen [Fri, 13 May 2016 13:34:04 +0000 (16:34 +0300)] 
oeqa.utils.git: support git commands with updated env

Extend GitRepo.run_cmd so that the caller may redefine and/or define
additional environment variables that will be used when the git command
is run.

(From OE-Core rev: 9b3c7c47f5d0fa473fe1db81b59b26531414781c)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-build-perf-test: use absolute paths in cmdline args
Markus Lehtonen [Tue, 16 Aug 2016 13:07:04 +0000 (16:07 +0300)] 
oe-build-perf-test: use absolute paths in cmdline args

This is safer as the current working directory may change.

(From OE-Core rev: 4b7bf7860713581ba351599fe32817ba24e8f8d0)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-build-perf-test: implement --run-tests option
Markus Lehtonen [Thu, 11 Aug 2016 13:50:55 +0000 (16:50 +0300)] 
oe-build-perf-test: implement --run-tests option

Makes it possible to run only a subset of tests.

NOTE: The tests currently have (unwritten) dependencies on each other so
use this option with care. Mainly for debugging.

(From OE-Core rev: be4373be54e5b84f951771b0e75140f212838020)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-3.5-manifest: Add argparse module
Fabio Berton [Tue, 23 Aug 2016 21:23:59 +0000 (18:23 -0300)] 
python-3.5-manifest: Add argparse module

Adding argparse module from Python's standard library. This allow use
argparse without installing all python-misc modules. For compatibility,
add python3-argparse as RDEPENDS to python3-misc.

(From OE-Core rev: f2b96001e074d26f5eb8711c2217a695fb02de4c)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-3.5-manifest: Rename Queue module to queue
Fabio Berton [Tue, 23 Aug 2016 11:48:42 +0000 (08:48 -0300)] 
python-3.5-manifest: Rename Queue module to queue

The Queue module has been renamed to queue in Python 3.

(From OE-Core rev: e19a430da2ef60b2c6cf6a67210ec1a7b292c8ca)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd.bblass: Simplify target overrides
Ulf Magnusson [Tue, 23 Aug 2016 21:02:08 +0000 (23:02 +0200)] 
useradd.bblass: Simplify target overrides

The current style might be a leftover from when _class-target did not
exist.

Also change the assignment to SSTATECLEANFUNCS to an append, which makes
more sense. useradd.bbclass is the only user of SSTATECLEANFUNCS as of
writing, so it won't make any functional difference.

(From OE-Core rev: 79dd6be736211a722538a1234337ca16fefd5540)

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc: Update to final 6.2.0 release
Khem Raj [Tue, 23 Aug 2016 01:27:31 +0000 (18:27 -0700)] 
gcc: Update to final 6.2.0 release

(From OE-Core rev: 38b29d6730d67cd2421b6177472f6ed78f4542e0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopiglit: Add python3-argparse module to RDEPENDS
Fabio Berton [Tue, 23 Aug 2016 19:13:37 +0000 (16:13 -0300)] 
piglit: Add python3-argparse module to RDEPENDS

Python module argparse was removed from python3-misc package, so we
need to add new python3-argparse package to RDEPENDS.

(From OE-Core rev: 4fafb32d0544c1babe4ac4f68cadd056aadd6c82)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: build_image: Fix recipe filter
Ola x Nilsson [Tue, 23 Aug 2016 09:08:21 +0000 (11:08 +0200)] 
devtool: build_image: Fix recipe filter

The missing split() causes dev and dbg packages to match.

(From OE-Core rev: bf83e0f0a3d52958c4380599f1afc4b8e058afd7)

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: Use the wildcard flag in update_recipe_patch
Ola x Nilsson [Tue, 23 Aug 2016 07:28:10 +0000 (09:28 +0200)] 
devtool: Use the wildcard flag in update_recipe_patch

The --wilcard-version flag was only used in the srcrev variant of the
update-recipe command.

(From OE-Core rev: d3057cba0b01484712fcee3c52373c143608a436)

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonasm: 2.11.08 -> 2.12.02
Robert Yang [Tue, 23 Aug 2016 00:39:22 +0000 (17:39 -0700)] 
nasm: 2.11.08 -> 2.12.02

(From OE-Core rev: 2eddea3fe8cdc612a5e90806c832bea1570ddfce)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosubversion: 1.9.3 -> 1.9.4
Robert Yang [Tue, 23 Aug 2016 00:39:21 +0000 (17:39 -0700)] 
subversion: 1.9.3 -> 1.9.4

(From OE-Core rev: 8620d13f8cf18be13429b0015d11e4efefe75b20)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogit: 2.9.2 -> 2.9.3
Robert Yang [Tue, 23 Aug 2016 00:39:20 +0000 (17:39 -0700)] 
git: 2.9.2 -> 2.9.3

(From OE-Core rev: 91dea2fdb9be2654f1f530138bd8a90901575646)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd-compat-units: do not inherit allarch
Joe Slater [Mon, 22 Aug 2016 22:12:31 +0000 (15:12 -0700)] 
systemd-compat-units: do not inherit allarch

Even though we are just a script, we do depend on
systemd being on the target and need an RDEPENDS
which means we cannot also be allarch.

(From OE-Core rev: ef5be3c8256419d5abec566ce266718fe317417e)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobash-completion: add bash-completion to DEPENDS for target packages
Ross Burton [Tue, 23 Aug 2016 15:43:29 +0000 (16:43 +0100)] 
bash-completion: add bash-completion to DEPENDS for target packages

(From OE-Core rev: a2eedbc02321d8923492ffb38fec3cd8828cb1d3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoutils: check_app_exists: strip whitespace from binary when searching
Ross Burton [Tue, 23 Aug 2016 15:00:02 +0000 (16:00 +0100)] 
utils: check_app_exists: strip whitespace from binary when searching

It's possible that the binary to be searched for contains whitespace which will
cause the search to fail, so strip any whitespace before looking.

(From OE-Core rev: 9e920abdb0f3dcfd1a94a90461ec1ddfb2729d83)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/runtime/rpm: use su instead of sudo
Ross Burton [Tue, 23 Aug 2016 14:14:04 +0000 (15:14 +0100)] 
oeqa/runtime/rpm: use su instead of sudo

This test works fine with su, which is more likely to be installed in images
than sudo.

(From OE-Core rev: 59d10be745a1f7d31c68e4d5da9e1c3461b7d390)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolayer.conf: remove pointercal
Maxin B. John [Wed, 10 Aug 2016 09:01:03 +0000 (12:01 +0300)] 
layer.conf: remove pointercal

remove pointercal reference from layer.conf file since we moved the
pointercal recipe from oe-core.

(From OE-Core rev: 7a0f93956f43a5d000e845eeb429e9e37d48ae2e)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodistro_alias.inc: remove xtscal, pointercal and tslib references
Maxin B. John [Mon, 8 Aug 2016 09:45:18 +0000 (12:45 +0300)] 
distro_alias.inc: remove xtscal, pointercal and tslib references

Remove xtscal, pointercal and tslib reference from distro_alias.inc
file since we moved those recipes from oe-core

(From OE-Core rev: 7bcb388edf49b43b5642396cf1fb1036ed36e425)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopointercal: remove recipe
Maxin B. John [Wed, 10 Aug 2016 08:29:06 +0000 (11:29 +0300)] 
pointercal: remove recipe

Remove pointercal recipe along with xtscal since we replace it with
xinput-calibrator

[YOCTO #9365]

(From OE-Core rev: d56dffe629dfc86a8d3c7a043c8c2893004f803e)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotslib: remove recipe
Maxin B. John [Wed, 10 Aug 2016 08:32:07 +0000 (11:32 +0300)] 
tslib: remove recipe

Modern systems generally use the kernel driver or libinput instead
of tslib. Move tslib from oe-core along with xtscal.

(From OE-Core rev: d37f6b595fd9ce53c79ff9281f2e20df7fa0503d)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxtscal: remove recipe
Maxin B. John [Mon, 6 Jun 2016 12:44:01 +0000 (15:44 +0300)] 
xtscal: remove recipe

Remove xtscal in preference of xinput-calibrator

[YOCTO #9365]

(From OE-Core rev: 5bcdb9f0995474635789cf0774aba9b774277c53)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-x11-base.bb: remove pointercal
Maxin B. John [Tue, 5 Jul 2016 14:44:17 +0000 (17:44 +0300)] 
packagegroup-core-x11-base.bb: remove pointercal

Remove pointercal from packagegroup-core-x11-base since we removed
xtscal in favour of xinput-calibrator

(From OE-Core rev: 4ad04ae085c4ba2f0ddf3c717478853a419af492)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agox11-common: replace xtscal with xinput-calibrator
Maxin B. John [Mon, 6 Jun 2016 12:46:27 +0000 (15:46 +0300)] 
x11-common: replace xtscal with xinput-calibrator

Replace xtscal with xinput-calibrator as part of removing xtscal.

[YOCTO #9365]

(From OE-Core rev: 85afb3445da5c3526f6046eb98262f9af7b78cba)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-tools-testapps: remove tslib references
Maxin B. John [Wed, 10 Aug 2016 08:51:07 +0000 (11:51 +0300)] 
packagegroup-core-tools-testapps: remove tslib references

Remove tslib references from packagegroup-core-tools-testapps since
we removed tslib along with xtscal.

(From OE-Core rev: fe4648423ab7cc72f2d702265ca54d61537e7f88)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopointercal-xinput: add a dummy calibration file for qemu
Maxin B. John [Wed, 15 Jun 2016 12:59:17 +0000 (15:59 +0300)] 
pointercal-xinput: add a dummy calibration file for qemu

In qemu, the emulated PS/2 mouse reports itself as an "absolute coordinate"
device and that makes xinput_calibrator think it could be calibrated.

Add a dummy calibration file as a work around to prevent xinput_calibrator from
popping up on every boot in qemu.

[YOCTO #8380]

(From OE-Core rev: d044049362c53681ce1170f74c0802511acd3161)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoparselogs: Ignore uvesafb timeouts
Richard Purdie [Fri, 19 Aug 2016 10:03:00 +0000 (11:03 +0100)] 
parselogs: Ignore uvesafb timeouts

We're periodically seeing uvesafb timeouts on the autobuilder. Whitelist these
errors as there is little it seems we can do about them and we therefore
choose to ignore them rather than fail the builds.

[YOCTO #8245]

There is a better solution proposed in the bug with a -1 timeout however
this avoids failed builds until such times as that is implemented.

(From OE-Core rev: 8097f2da79b7862733494d2321e3dfdb0880804d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage_types: use COMPRESSIONTYPES variable for backward compatibility
Ed Bartosh [Fri, 19 Aug 2016 14:35:53 +0000 (17:35 +0300)] 
image_types: use COMPRESSIONTYPES variable for backward compatibility

Recent renaming of COMPRESSIONTYPES variable can break recipes that
still use it. Including value of COMPRESSIONTYPES variable into
CONVERSIONTYPES should prevent this.

(From OE-Core rev: 5b00d9bf5ebf2350e4a4d09b436193efba80a85c)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agohdparm: set LICENSE correctly
Ross Burton [Fri, 5 Aug 2016 15:15:41 +0000 (16:15 +0100)] 
hdparm: set LICENSE correctly

LICENSE is recipe-wide so should be BSD & GPLv2, and then override LICENSE_${PN}
to just BSD as LICENSE_wiper is GPLv2.

(From OE-Core rev: fd1b3fc1dc7ef1621ce6488db0cfa3878bc83a5d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense: simple verification of LICENSE_<pkg> values
Markus Lehtonen [Wed, 3 Aug 2016 13:32:15 +0000 (16:32 +0300)] 
license: simple verification of LICENSE_<pkg> values

LICENSE should be a superset of all LICENSE_<pkg> values. That is,
LICENSE should contain all licenses and LICENSE_<pkg> can be used to
"filter" this on a per-package basis. LICENSE_<pkg> shouldn't contain
anything that isn't specified in LICENSE.

This patch implements simple checking of LICENSE_<pkg> values. It does
do not do advanced parsing/matching of license expressions, but,
checks that all licenses mentioned in LICENSE_<pkg> are also specified in
LICENSE. A warning is printed if problems are found.

(From OE-Core rev: 0f4163a12ea431d0ba6265880ee1e557333d3211)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolicense.bbclass: do not process LICENSE_pn variables
Markus Lehtonen [Wed, 3 Aug 2016 13:32:14 +0000 (16:32 +0300)] 
license.bbclass: do not process LICENSE_pn variables

The loop iterating over LICENSE_pn variables has never worked. In
addition, the LICENSE variable is supposed to contain all licenses
defined in LICENSE_pn variables. Thus, it is simpler just to use LICENSE
as the data we get is essentially the same.

[YOCTO #9499]

(From OE-Core rev: d7229489c7dfd35164fd107d7944f3c273776118)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: fetch2: clean up remaining cwd saves/changes
Matt Madison [Sun, 21 Aug 2016 15:02:46 +0000 (08:02 -0700)] 
bitbake: fetch2: clean up remaining cwd saves/changes

Now that the fetchers all preserve the current working
directory, the cwd changes in the try_mirror_url,
download, and checkstatus methods are no longer needed.

(Bitbake rev: 0ed8975c42718342a104a9764a58816f964ec4ea)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: Update genericx86* SRCREVs for linux-yocto 4.4
Alejandro Hernandez [Thu, 25 Aug 2016 15:38:24 +0000 (15:38 +0000)] 
linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.4

Upgrades to Linux 4.4.18

(From meta-yocto rev: 3fadd68e9021993a082f453945bd8c0ce142ff6f)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: Update genericx86* SRCREVs for linux-yocto 4.1
Alejandro Hernandez [Thu, 25 Aug 2016 15:38:23 +0000 (15:38 +0000)] 
linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.1

Upgrades to Linux 4.1.30

(From meta-yocto rev: 7f3a857f94e29d1476c03ea9193fddd83a9b28bf)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocombo-layer: python3: fix UnicodeDecodeError
Ed Bartosh [Wed, 24 Aug 2016 10:16:15 +0000 (13:16 +0300)] 
combo-layer: python3: fix UnicodeDecodeError

check_patch function opens patch file in text mode. This causes
python3 to throw exception when calling readline():
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position
                        NNNN: invalid start byte

Opening file in binary mode and using binary type instead of strings
should fix this.

(From OE-Core rev: a7f1435c4c26237cdb55066c9f5408b4fdf016aa)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooeqa/buildiptables: Switch from netfilter.org to yoctoproject.org mirror
Richard Purdie [Tue, 23 Aug 2016 16:58:42 +0000 (17:58 +0100)] 
oeqa/buildiptables: Switch from netfilter.org to yoctoproject.org mirror

We've had some upstream mirror instability so use our own mirror for the
iptables sources to ensure this doesn't affect the test results.

(From OE-Core rev: 25f6af8895d5f5c6dcedde0a21285d63522769c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxserver-xf86-config: pre-load int10 and exa modules
Khem Raj [Sat, 20 Aug 2016 20:36:09 +0000 (13:36 -0700)] 
xserver-xf86-config: pre-load int10 and exa modules

musl doesn't like lazy loading that xorg uses, therefore
load the needed modules explicitly

[YOCTO #10169]

(From OE-Core rev: e279c9a30f0df400b06a47a487967a734854714b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocmake.bbclass: call cmake with a relative path
Thomas Witt [Mon, 22 Aug 2016 14:27:11 +0000 (16:27 +0200)] 
cmake.bbclass: call cmake with a relative path

CMake wants a relative path for CMAKE_INSTALL_*DIR, an absolute path
breaks cross-compilation. This fact is documented in the following
ticket: https://cmake.org/Bug/view.php?id=14367

$sysconfdir and $localstatedir are not relative to $prefix, so they are
still set as absolute paths. With his change ${PROJECT}Targets.cmake
that are generated by cmakes "export" function will contain relative
paths instead of absolute ones.

(From OE-Core rev: c03b32bd71dbe04f2f239556fea0b53215e403d7)

Signed-off-by: Thomas Witt <Thomas.Witt@bmw.de>
Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssh: Upgrade 7.2p2 -> 7.3p1
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:15 +0000 (15:23 +0300)] 
openssh: Upgrade 7.2p2 -> 7.3p1

Remove CVE-2015-8325.patch as it's included upstream. Rebase another
patch.

(From OE-Core rev: 4b695379dcf378e8d77deaf7e558e8cbd314683c)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowayland-protocols: 1.5 -> 1.7
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:14 +0000 (15:23 +0300)] 
wayland-protocols: 1.5 -> 1.7

* xdg-shell unstable v6 (backwards incompatible)
* new unstable protocols xdg-foreign, idle-inhibit

(From OE-Core rev: e3ea73039af5fbde52788188b750383aa5d6c2c8)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibinput: Upgrade 1.3.0 -> 1.4.1
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:13 +0000 (15:23 +0300)] 
libinput: Upgrade 1.3.0 -> 1.4.1

(From OE-Core rev: 33800186dbfa3a4b28ece558c9ff1eb68b99d54d)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agojson-glib: Upgrade 1.2.0 -> 1.2.2
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:12 +0000 (15:23 +0300)] 
json-glib: Upgrade 1.2.0 -> 1.2.2

(From OE-Core rev: a00280a96cd770e6c26e30eab10cc49b54d4992b)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agovte: Upgrade 0.44.1 -> 0.44.2
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:11 +0000 (15:23 +0300)] 
vte: Upgrade 0.44.1 -> 0.44.2

(From OE-Core rev: 68898cf20f70fc7e7f517111ea7c2b901859263e)

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>