]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
8 years agobmap-tools: upgrade to v3.4
Ed Bartosh [Wed, 6 Sep 2017 12:08:23 +0000 (15:08 +0300)] 
bmap-tools: upgrade to v3.4

Upgraded to the latest upstream release.

(From OE-Core rev: fa36678698108023242f2afbd4e54d6709f84420)

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>
8 years agocve-check-tool: change BB_NO_NETWORK error to a warning
Mikko Rapeli [Wed, 6 Sep 2017 11:08:16 +0000 (14:08 +0300)] 
cve-check-tool: change BB_NO_NETWORK error to a warning

It is perfectly fine to execute cve_check tasks against a cached
CVE database during a BB_NO_NETWORK build.

(From OE-Core rev: acc9994a77972c49a98aabbfd579973885c95f10)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobootchart2: update python interpreter
Kai Kang [Wed, 6 Sep 2017 10:22:46 +0000 (18:22 +0800)] 
bootchart2: update python interpreter

For bootchart2-native, the python interpreter "#!FIXMESTAGINGDIRHOST/usr/bin/python3"
of file pybootchartgui is not right.

Use '#!${USRBINPATH}/env python3' instead to fix the issue.

(From OE-Core rev: 024caf6b0848118799fb15b912db7c5e1fc65488)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxdg-utils: Add HOMEPAGE info into recipe file.
Huang Qiyu [Wed, 6 Sep 2017 07:13:53 +0000 (15:13 +0800)] 
xdg-utils: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 1f8dae4ca60db21e8c24bf5bcf2153ebd26773f5)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython3-setuptools: extend to nativesdk
Chen Qi [Wed, 6 Sep 2017 04:54:46 +0000 (12:54 +0800)] 
python3-setuptools: extend to nativesdk

Extend python3-setuptools to nativesdk because nativesdk-python3-pip needs
it.

Also, adjust RDEPENDS variable setting to keep the runtime dependencies
for nativesdk package the same with the target one. The native package and
the target package's dependencies remain the same as before.

(From OE-Core rev: b9f0c54fd8b4f5f157e5f088bb304ddab0387ae6)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython3-pip: extend to nativesdk
Chen Qi [Wed, 6 Sep 2017 04:54:45 +0000 (12:54 +0800)] 
python3-pip: extend to nativesdk

Extend python3-pip to nativesdk because some nativesdk python3 packages
need it, e.g. nativesdk-python3-django from meta-python layer.

(From OE-Core rev: 31f1e5f438d19aa329e5f38b1ab4e7d521eff8a1)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosystemtap: Bump SRCREV for 4.12 Linux kernel support
Saul Wold [Tue, 5 Sep 2017 23:22:02 +0000 (16:22 -0700)] 
systemtap: Bump SRCREV for 4.12 Linux kernel support

This SRCREV bump brings in support for the 4.12 Linux Kernel, this kernel
also has some newer CONFIG settings. The newer DEBUG_INFO and DEBUG_INFO_DWARF4
settings can be used with systemtap to get the full information.  We do not
normally enabled these for a 'production' (standard) kernel, but can be
enabled via menuconfig.

When installing staprun and stapbpf on the target and native ensure we
don't try to create a new group and chown it.  There is no need since we
will be running as root, so we add a patch to comment that code out.

(From OE-Core rev: 026403cc7f995ecc32a99f269399a08abc221c77)

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>
8 years agoglib-2.0: recommend shared-mime-info
Ross Burton [Tue, 5 Sep 2017 15:06:06 +0000 (16:06 +0100)] 
glib-2.0: recommend shared-mime-info

Large portions of GIO are not that useful without the MIME database.  Add a
recommends to shared-mime-info so that GIO works out of the box, but can be
removed (using BAD_RECOMMENDATIONS) if shared-mime-info is too large and isn't
required.

[ YOCTO #11792 ]

(From OE-Core rev: 51e4f9ca5368af5cefa26f4ca50b282e858982f8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoshared-mime-info: enable nativesdk builds
Ross Burton [Tue, 5 Sep 2017 16:15:30 +0000 (17:15 +0100)] 
shared-mime-info: enable nativesdk builds

Also remove the redundant DEPENDS_class-native, as the native class generates
this value automatically.

(From OE-Core rev: 7d2d73bf5e9fba30ae79e535adff256b94248e62)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: selftest: add test_wic_rm_ext test case
Ed Bartosh [Tue, 5 Sep 2017 11:54:42 +0000 (14:54 +0300)] 
wic: selftest: add test_wic_rm_ext test case

Tested if 'wic rm' correctly removes files from the ext4 partition
of the wic image.

(From OE-Core rev: 693b555e4f419b5d24f9f86c44354866492f8bb0)

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>
8 years agowic: selftest: add test_wic_cp_ext test case
Ed Bartosh [Tue, 5 Sep 2017 11:54:41 +0000 (14:54 +0300)] 
wic: selftest: add test_wic_cp_ext test case

Tested if 'wic cp' correctly copies files to the ext4 partition
of the wic image.

(From OE-Core rev: 7970907c72d9533fd63d2c8796bbeb9be86b3fc3)

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>
8 years agowic: selftest: add test_wic_ls_ext test case
Ed Bartosh [Tue, 5 Sep 2017 11:54:40 +0000 (14:54 +0300)] 
wic: selftest: add test_wic_ls_ext test case

Tested if 'wic ls' correctly lists directory contents
of the ext* partition.

(From OE-Core rev: 6ae3ff957b5c28c7853966cd5a7665772c594546)

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>
8 years agowic: update help content
Ed Bartosh [Tue, 5 Sep 2017 11:54:39 +0000 (14:54 +0300)] 
wic: update help content

Added ext* partitions to the description of 'wic ls',
'wic cp' and 'wic rm' commands.

(From OE-Core rev: fcff05d666e55a017f11851aa4aad6c3ba9d4ff0)

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>
8 years agowic: implement ext fs support for 'wic rm'
Ed Bartosh [Tue, 5 Sep 2017 11:54:38 +0000 (14:54 +0300)] 
wic: implement ext fs support for 'wic rm'

Implemented removing files or directories from the ext
partition using debugfs tool.

(From OE-Core rev: be530b7c7beae6f9fc95eed245cb37066d56581e)

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>
8 years agowic: implement ext fs support for 'wic cp'
Ed Bartosh [Tue, 5 Sep 2017 11:54:37 +0000 (14:54 +0300)] 
wic: implement ext fs support for 'wic cp'

Implemented copying files to the ext partition
using debugfs tool.

(From OE-Core rev: 1a2bc70e6f85f414e7af48489e24c09ff335486d)

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>
8 years agowic: implement ext fs support for 'wic ls'
Ed Bartosh [Tue, 5 Sep 2017 11:54:36 +0000 (14:54 +0300)] 
wic: implement ext fs support for 'wic ls'

Implemented listing directory contents for ext file
system using debugfs tool.

(From OE-Core rev: b591ba6f4d684aef3d7666bbdc678954e3255df5)

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>
8 years agosysstat: Add ability to enable lm-sensors
Mark Hatle [Tue, 5 Sep 2017 02:10:52 +0000 (21:10 -0500)] 
sysstat: Add ability to enable lm-sensors

Add lm-sensors PACKAGECONFIG option.

Change from setting LFLAGS="" to --disable-strip, otherwise lm-sensors will not link
properly.

(From OE-Core rev: ff9f629d70a9016f8f40d3d68c80111897c7a2c3)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopsplash: Initialize psplash only if a framebuffer exists
Mark Hatle [Tue, 5 Sep 2017 02:10:32 +0000 (21:10 -0500)] 
psplash: Initialize psplash only if a framebuffer exists

psplash-init exits if there is no framebuffer device detected.
This is done to avoid the following error message from
occurring when booting up:

"Error opening /dev/fb0: No such file or directory"

(From OE-Core rev: 2348dda6b8a86352e72ef41b24df3a19e8bc98ce)

Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoyocto-compat-layer.py: Fix trace when layers can't be processed
Mark Hatle [Tue, 5 Sep 2017 02:10:11 +0000 (21:10 -0500)] 
yocto-compat-layer.py: Fix trace when layers can't be processed

When all of the requested layers have unsatisfied dependencies, an error
can occur.  Check for the condition to avoid the traceback:

Traceback (most recent call last):
  File "../scripts/yocto-compat-layer.py", line 203, in <module>
    ret =  main()
  File "../scripts/yocto-compat-layer.py", line 194, in main
    if not results[layer_name].wasSuccessful():
AttributeError: 'NoneType' object has no attribute 'wasSuccessful'

(From OE-Core rev: 32c9b3d99a0c27f6736696082b9da812a8464bf8)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel: Stop using update-alternatives
Otavio Salvador [Tue, 5 Sep 2017 06:04:44 +0000 (03:04 -0300)] 
kernel: Stop using update-alternatives

The update-alternatives where using relative links so not being really
in use since December 2016 (see OE-Core:c7bc46b9 "kernel: Fix
symlinks") so instead we now generate the relative symlinks during the
do_install task and drop the update-alternatives use at all.

Acked-by: Saul Wold <sgw@linux.intel.com>
(From OE-Core rev: 10a1b293191268e6792ac8e27bd6427f1974c7ce)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglibc: add ld.so locks in _libc_fork
Zhixiong Chi [Tue, 5 Sep 2017 04:29:44 +0000 (12:29 +0800)] 
glibc: add ld.so locks in _libc_fork

The patch in this Bugzilla entry was requested by a customer:
  https://sourceware.org/bugzilla/show_bug.cgi?id=4578
  https://www.sourceware.org/bugzilla/show_bug.cgi?id=19282

If a thread happens to hold dl_load_lock and have r_state set to RT_ADD or
RT_DELETE at the time another thread calls fork(), then the child exit code
from fork (in nptl/sysdeps/unix/sysv/linux/fork.c in our case) re-initializes
dl_load_lock but does not restore r_state to RT_CONSISTENT. If the child
subsequently requires ld.so functionality before calling exec(), then the
assertion will fire.

The patch acquires dl_load_lock on entry to fork() and releases it on exit
from the parent path.  The child path is initialized as currently done.
This is essentially pthreads_atfork, but forced to be first because the
acquisition of dl_load_lock must happen before malloc_atfork is active
to avoid a deadlock.

The __libc_fork() code reset dl_load_lock, but it also needed to reset
dl_load_write_lock.

(From OE-Core rev: f2e586ebf59a9b7d5b216fc92aeb892069a4b0c1)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackage_[deb|ipk]: improve multiprocess logic when creating deb/ipk packages
Leonardo Sandoval [Mon, 4 Sep 2017 21:35:48 +0000 (14:35 -0700)] 
package_[deb|ipk]: improve multiprocess logic when creating deb/ipk packages

Current implementation does not handle possible exceptions coming from child
processes, the latter responsible for creating packages. With the aim to have more
control, use pipes to communicate exceptions and stop package creation in case
of failure.

Helps to debug [YOCTO #12012].

(From OE-Core rev: 11350a67ba137f560d04aa643ff500a7ff112c73)

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>
8 years agopackage_deb, ipk: improve subprocess output on package manager command
Leonardo Sandoval [Mon, 4 Sep 2017 21:35:47 +0000 (14:35 -0700)] 
package_deb, ipk: improve subprocess output on package manager command

Redirecting stderr to stdout helps debugging issues, i.e instead of just
getting the return code, get also the error log from the pkg manger
This commit is in the way to figure out the root cause of [YOCTO #12012],
where dpkg-deb fails with a 2 return code and according to the man page,
there are multiple issues leading to the same code.

(From OE-Core rev: 9ff023fb26f5f0ce19e757beda00ccc32c009b21)

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>
8 years agodevtool: status: Sort entries before printing
Ola x Nilsson [Mon, 4 Sep 2017 14:18:37 +0000 (16:18 +0200)] 
devtool: status: Sort entries before printing

Sorted entries are easier to read.

(From OE-Core rev: d0a123ec564f6d36977e472f8bc63f9c050ee616)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogtk-doc.bbclass: add all directories where .so files are found to library search...
Alexander Kanavin [Wed, 23 Aug 2017 17:06:21 +0000 (20:06 +0300)] 
gtk-doc.bbclass: add all directories where .so files are found to library search path

This should reduce the need to manually specify the path in recipes.

(From OE-Core rev: 40e8a15d7f0a39788164c3ed4fcdb6969af499b5)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinsane.bbclass: write QA issues to log file only when they are in ERROR_QA or WARN_QA
Martin Jansa [Mon, 21 Aug 2017 20:56:24 +0000 (22:56 +0200)] 
insane.bbclass: write QA issues to log file only when they are in ERROR_QA or WARN_QA

* QA check which aren't included in WARN_QA and ERROR_QA are shown
  during the build only as NOTE message (not shown at all with default
  knotty setting), so it might be surprising to see them later in qa.log
  file

(From OE-Core rev: 35ab2c7b08359f22f74106339841f8134123adf4)

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>
8 years agorootfs: improve postinst intercept logging
Ross Burton [Mon, 4 Sep 2017 20:13:17 +0000 (21:13 +0100)] 
rootfs: improve postinst intercept logging

Ensure we capture stderr, always write the output to the log, and don't be so
emotional in the warning message.

(From OE-Core rev: 87110e971c548d9d3eb7296ea6772d18e0226e53)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa: Replace "append +=" with normal "append =" in layerappend.py
Robert P. J. Day [Sat, 2 Sep 2017 16:49:20 +0000 (12:49 -0400)] 
oeqa: Replace "append +=" with normal "append =" in layerappend.py

(From OE-Core rev: 0fae16b67542c59b059aa359146c38040785f200)

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>
8 years agoinitramfs-framework: split setup-live and install-efi into separate recipes
California Sullivan [Sat, 2 Sep 2017 00:04:58 +0000 (17:04 -0700)] 
initramfs-framework: split setup-live and install-efi into separate recipes

Having these the initramfs-framework recipe forced initramfs-framework
users to build several tools they didn't need, and made it more
difficult to declare the recipe as allarch.

Fixes [YOCTO #12024].

(From OE-Core rev: e4cc1a22dd4fc9b3b12808c86213eb613f1ecb51)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopsplash: upgrade to latest git revision
Ross Burton [Sat, 2 Sep 2017 00:23:31 +0000 (01:23 +0100)] 
psplash: upgrade to latest git revision

Non-housekeeping commits:

2015f70 Fix text width calculation.
5b3c1cc Add --fbdev option to psplash like --rotation.
505aeca psplash: fix remaining unused-parameter warnings
e3e0ab4 psplash: remove unused parameter length from parse_command
121720e psplash-fb: remove unused parameter from psplash_fb_text_size
9f6baa6 psplash-fb: fix sign-compare warning

(From OE-Core rev: 43b1475afcbfe5aaa741e40d6a81f52763010822)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoalsa-utils: Do not hardcode path to /lib/udev
Peter Kjellerstedt [Fri, 1 Sep 2017 17:49:29 +0000 (19:49 +0200)] 
alsa-utils: Do not hardcode path to /lib/udev

Use ${nonarch_base_libdir}/udev instead. This avoids problems when
usrmerge is enabled in DISTRO_FEATURES and udev support is disabled.

(From OE-Core rev: 0a4372705a030ca54ed420cdfec33d46ab93499c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/selftest/case: Add recipeinc method
Ola x Nilsson [Mon, 28 Aug 2017 14:58:15 +0000 (16:58 +0200)] 
oeqa/selftest/case: Add recipeinc method

The recipeinc method returns the absolute path of the test_recipe.inc
file of a specified recipe.  It replaces four instances of identical
code, and make it possible to access the filename from a testcase for
cleanup.

The write_recipeinc and append_recipeinc methods are changed to return
the path to the file in case that is useful.

The test_recipe.inc file is usually cleaned up in a finally block,
but that block executes before any teardown operations.  This blocks
any teardown that requires the presence of the test_recipe.inc file.

(From OE-Core rev: cdb431676456f47da1a3b70caddf49f083948798)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/selftest: Add missing IDs to various test cases
Jose Perez Carranza [Fri, 1 Sep 2017 20:30:24 +0000 (13:30 -0700)] 
oeqa/selftest: Add missing IDs to various test cases

Add decorator @OETestID() with Tesopia TC-ID to the test cases
that did not have it properly set.

[YOCTO #11873]

(From OE-Core rev: aa5b9edbd9c4495befe1912a5b401b536be39d5b)

Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopulseaudio: Backport a patch to replace use of VLAIS
Khem Raj [Fri, 1 Sep 2017 05:20:40 +0000 (22:20 -0700)] 
pulseaudio: Backport a patch to replace use of VLAIS

Fix build with clang

(From OE-Core rev: ff980856d1b6ec392d684bfe758c8304933c18bd)

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>
8 years agoqemurunner.py: refactor searching for QEMU PID
Juro Bystricky [Thu, 7 Sep 2017 00:33:58 +0000 (17:33 -0700)] 
qemurunner.py: refactor searching for QEMU PID

Ask QEMU to store the QEMU process PID in a file, this way we don't
have to parse running processes and analyze descendents.
This is done via QEMU command line argument "-pidfile".

[YOCTO #12001]

(From OE-Core rev: 67612dcd2a8a1aa1d683dddb0bd2f592886ff020)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/qemurunner: Improve logging
Richard Purdie [Thu, 7 Sep 2017 09:49:19 +0000 (10:49 +0100)] 
oeqa/qemurunner: Improve logging

Python unittest intercepts stdout and stderr however qemurunner sets
up a streamhandler before that interception occurs, hence the messages
spam the unittest output.

By moving the logging init to the class init time, we use the unittest
stdout/stderr and this means unittest can only show the log output upon
failure. This cleans up the selftest and testimage output whilst still
showing logging upon failure.

(From OE-Core rev: 9099cecc727fe0ae5f1559582426d30ba7a9f4d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: update pyro to rocko as stable release
David Reyna [Fri, 8 Sep 2017 04:50:48 +0000 (21:50 -0700)] 
bitbake: toaster: update pyro to rocko as stable release

Update the Toaster stable release selection to 'Rocko' and
the bitbake version to '1.36'.

[YOCTO #12037]

(Bitbake rev: ed3aab90dbf9b6efefd9eb66d81123cb94d3c7da)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: handle early exceptions
David Reyna [Fri, 8 Sep 2017 04:50:47 +0000 (21:50 -0700)] 
bitbake: toaster: handle early exceptions

Stop the pending build and report to the user if there is
an internal exception due to a git error, a bitbake server
error, or if the server-only mode halts due to for example
a user syntax error in a layer or recipe.

These exceptions were not caught because they occure before
the normal toastergui processing was started.

[YOCTO #12056]

(Bitbake rev: 2cd664097c29ad07b08c82d07a239ca199abbc9a)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: tests/fetch: handle network failures gracefully
Ross Burton [Thu, 7 Sep 2017 09:24:25 +0000 (10:24 +0100)] 
bitbake: tests/fetch: handle network failures gracefully

If there is a network failure the return value from latest_versionstring() is
('','') which later causes an exception when comparing versions.

Improve this by checking the return value and failing the test early.

[ YOCTO #12053 ]

(Bitbake rev: 3f034d2172bf64ecc43577b43e0cf032a54b1358)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: fetch2: add stub latest_versionstring to FetchMethod
Ross Burton [Thu, 7 Sep 2017 09:24:24 +0000 (10:24 +0100)] 
bitbake: fetch2: add stub latest_versionstring to FetchMethod

(Bitbake rev: c45453d1f6bc7bcecd84f58e2f7d93d6bd1e8499)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: Replace deprecated git branch parameter "--set-upstream"
Andre Rosa [Thu, 7 Sep 2017 09:15:55 +0000 (11:15 +0200)] 
bitbake: Replace deprecated git branch parameter "--set-upstream"

Since 2017-08-17 (git version 2.14.1.473.g3ec7d702a) using deprecated
git branch parameter "--set-upstream" causes a fetcher error. Replace
it by "--set-upstream-to".

https://git.kernel.org/pub/scm/git/git.git/commit/?id=52668846ea2d41ffbd87cda7cb8e492dea9f2c4d
says, it's deprecated since 2012-08-30 so hopefully all still supported
host distributions have new enough git to support "--set-upstream-to".

ERROR: PACKAGE do_unpack: Fetcher failure: ...;
git -c core.fsyncobjectfiles=0 branch --set-upstream master origin/master failed with exit code 128, output:
fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.

ERROR: PACKAGE do_unpack: Function failed: base_do_unpack

(Bitbake rev: 2ab50074c1a6c56a8a178755de108447d7b7acaf)

Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomesa-gl: Fix build after recent mesa PACKAGECONFIG changes
Jussi Kukkonen [Mon, 4 Sep 2017 08:39:24 +0000 (11:39 +0300)] 
mesa-gl: Fix build after recent mesa PACKAGECONFIG changes

48d39cf43b added "opengl" PACKAGECONFIG option to mesa: before that
the configuration was always enabled. "opengl" should have been added
to mesa-gl default PACKAGECONFIG but wasn't: do it now.

(From OE-Core rev: cc319b6dcc5b4a5019fb91c9771b12ce17f3c953)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-plugins-good: fix 4k playback for v4l2 decoder
Nicolas Dechesne [Mon, 4 Sep 2017 08:23:34 +0000 (10:23 +0200)] 
gstreamer1.0-plugins-good: fix 4k playback for v4l2 decoder

Backport a fix already merged upstream in master and 1.12 branch, it fixes 4K video
playback on any platform that uses v4l2 codecs, such as Dragonboard 820c.

(From OE-Core rev: b662944b28080dfb68833d4a81655262b04ada67)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoutil-linux: split out ionice into its own package
André Draszik [Mon, 4 Sep 2017 07:57:02 +0000 (08:57 +0100)] 
util-linux: split out ionice into its own package

For systems that don't otherwise depend on the full
util-linux package, ionice is a mere 31k (on mipsel).

(From OE-Core rev: 50d6f2c21eca162b82d5cbe135b87c1b1ea871b9)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocve-check.bbclass: detect patched CVE's also from patch file names
Mikko Rapeli [Mon, 4 Sep 2017 06:22:14 +0000 (09:22 +0300)] 
cve-check.bbclass: detect patched CVE's also from patch file names

While poky master branch has been fixed so that all CVE patch files have
the:

CVE: CVE-2017-1234556

strings in the patch comments, many older versions of poky and other meta
layers are not, but the CVE patches quite often have the CVE id in the
patch file name.

If the CVE: string also found, there are no duplicates in the report.

(From OE-Core rev: 5ee5b0c66627c9e974c838b86e2e659c2f601f2a)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorootfs-postcommands: add test for unsatisfied RRECOMMENDS
Jose Alarcon [Mon, 4 Sep 2017 05:12:24 +0000 (08:12 +0300)] 
rootfs-postcommands: add test for unsatisfied RRECOMMENDS

The do_rootfs log contains a number of unsatisfied package
recommendations. At the moment those are only visible when
reviewing the rootfs log.

This patch adds an extra check to surface any unsatisfied
recommendation  as WARNINGS to the build output.

Enable this check with:
ROOTFS_POSTPROCESS_COMMAND += "rootfs_log_check_recommends;"

(From OE-Core rev: 9d049bf7941f30e35c51775684559e95185fba96)

Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorootfs-postcommands: remove empty line
Jose Alarcon [Mon, 4 Sep 2017 05:12:23 +0000 (08:12 +0300)] 
rootfs-postcommands: remove empty line

(From OE-Core rev: 76a801da7fe5651d9e8310a2b32c275e1700daf3)

Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosystemtap: Add HOMEPAGE info into recipe file.
Fan Xin [Mon, 4 Sep 2017 04:55:08 +0000 (13:55 +0900)] 
systemtap: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 492f43f1aa402a60902fafb2d524ae67007f59bd)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocurl: fix CVE-2017-1000099, 1000100, 1000101
Wenzong Fan [Mon, 4 Sep 2017 03:31:10 +0000 (20:31 -0700)] 
curl: fix CVE-2017-100009910001001000101

Backport upstream commits to fix:
- CVE-2017-1000099
  https://curl.haxx.se/docs/adv_20170809C.html
  https://curl.haxx.se/CVE-2017-1000099.patch

- CVE-2017-1000100
  https://curl.haxx.se/docs/adv_20170809B.html
  https://curl.haxx.se/CVE-2017-1000100.patch

- CVE-2017-1000101
  https://curl.haxx.se/docs/adv_20170809A.html
  https://curl.haxx.se/CVE-2017-1000101.patch

(From OE-Core rev: 2eb590bbeab4dbf2583a78fcbaf3723757116123)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogconf: Add HOMEPAGE info into recipe file.
Fan Xin [Mon, 4 Sep 2017 03:15:53 +0000 (12:15 +0900)] 
gconf: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 5fca1aa08e2ca2de5a9ee6cdedaab057cbfd7a03)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoreadline: Add HOMEPAGE info into recipe file.
Fan Xin [Mon, 4 Sep 2017 03:06:02 +0000 (12:06 +0900)] 
readline: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 516e0dda595c3c40bda4f4d3f4fd86225ace55c9)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoperf: Add HOMEPAGE info into recipe file.
Fan Xin [Mon, 4 Sep 2017 03:00:18 +0000 (12:00 +0900)] 
perf: Add HOMEPAGE info into recipe file.

(From OE-Core rev: c46e49c06e16e46422f925662cd2c8c698dc04ee)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocups: Add HOMEPAGE info into recipe file.
Fan Xin [Mon, 4 Sep 2017 01:58:40 +0000 (10:58 +0900)] 
cups: Add HOMEPAGE info into recipe file.

(From OE-Core rev: b4fb21c5d21dc1b0e3a4560aa51f43b0915e6de0)

Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocurl: enable threaded resolver
André Draszik [Mon, 4 Sep 2017 09:42:44 +0000 (10:42 +0100)] 
curl: enable threaded resolver

Multi-threaded applications using libcurl crash
on DNS timeouts when built using OE.

The reason is as follows:
By default, libcurl implements DNS timeouts using a
timer (alarm()) and a pair of setjmp()/longjmp().
This approach is unsafe in multi-threaded applications
for various reasons, as e.g. explained in the relevant
man-pages.

To avoid this, libcurl can be compiled with a built-in
threaded resolver, or against the c-ares asynchronous
resolver library.

To keep extra dependencies to a minimum, and to mimic
other distributions (debian at least), and because
c-ares is not available in OE-core, add a PACKAGECONFIG
to be able to enable use of of the built-in threaded
resolver and enable it by default.

(From OE-Core rev: 41f1e44fce976c4140cda62a41349e91e69d04ef)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: cooker: clear extra config settings and remote datastores on client disconnect
Paul Eggleton [Mon, 4 Sep 2017 02:00:31 +0000 (14:00 +1200)] 
bitbake: cooker: clear extra config settings and remote datastores on client disconnect

When the UI disconnects, we can throw away any server-side remote
datastores we created in response to calls from the UI, and we *must*
drop everything in extraconfigdata or it will taint any future
operations.

Dropping extraconfigdata upon disconnect fixes taskhash mismatch errors
when running devtool.DevtoolTests.test_devtool_update_recipe_local_files
within oe-selftest with BB_SERVER_TIMEOUT=100 in OpenEmbedded.

(Bitbake rev: 1ca2eec459424892391f060442ef38cf28d6a54a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: cooker.py: Fix layer priority processing
Mark Hatle [Sat, 2 Sep 2017 15:09:43 +0000 (10:09 -0500)] 
bitbake: cooker.py: Fix layer priority processing

If you have a layer with a blank BBFILE_PATTERN the layer was ignored
when processing the list of layers with priorities.  This list is not
only used for processing recipes, but also by additional programs such
as bitbake-layers show-layers.

Without this change, a layer that provides configuration or classes
only does now show up in show-layers, which is used by the
yocto-compat-layer.py script.  This causes a failures in the compatibility
check.

(Bitbake rev: a0eaf8c0f228f984bafff09e4e9739f758dc1a9b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: siggen: move reset() definition to base SignatureGenerator class
Paul Eggleton [Mon, 4 Sep 2017 09:03:12 +0000 (21:03 +1200)] 
bitbake: siggen: move reset() definition to base SignatureGenerator class

If we're implementing reset() in SignatureGenerator at all (and we need
to for a basic non-OE BitBake setup where that is the default signature
generator), then we need it to be clearing out the internal values
properly.

(Bitbake rev: 13f52d38fdbcb84c2a0c46f85baa44b22d53fdc1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: edit column list not sorted
David Reyna [Mon, 4 Sep 2017 04:02:23 +0000 (21:02 -0700)] 
bitbake: toaster: edit column list not sorted

The list of columns in the many 'Edit Columns' pop-ups became unsorted
with the 'Toaster Table' implementation. These entries need to be
gathered and sorted in the column processing.

[YOCTO #12004]

(Bitbake rev: 17aa1ef8f0a00dd3456aac199e558a2f96bf7ad9)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: recipe links broken for default layers
David Reyna [Mon, 4 Sep 2017 04:02:22 +0000 (21:02 -0700)] 
bitbake: toaster: recipe links broken for default layers

The default layers are missing the recipe link definitions in
the fixture files, and because they are predefined they do not
get the updated information from the Layer Index.

[YOCTO #12006]

(Bitbake rev: 2ff5592baf011de9c778d3c2481b8ed3912f1a4b)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: missing ToasterSetting import
David Reyna [Mon, 4 Sep 2017 04:02:21 +0000 (21:02 -0700)] 
bitbake: toaster: missing ToasterSetting import

The file "lsupdates.py" is missing the import of 'ToasterSetting',
and that breaks setting up and updating Toaster and its database.

[YOCTO #12036]

(Bitbake rev: d4aef1f1f03d88acc76423b55d8bd6c137f66f44)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: set default pokydirname if no external layers
Olaf Mandel [Sun, 3 Sep 2017 05:24:07 +0000 (22:24 -0700)] 
bitbake: toaster: set default pokydirname if no external layers

If no external layers are defined, pokydirname is not set. Rectify
this by taking the 'be.sourcedir' as the pokydirname.

[YOCTO #12015]

(Bitbake rev: 3b0f04c7b00aaf44ba146c432fcb5d6fd7dafcea)

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: debug message for lists layers missing separators
Olaf Mandel [Sun, 3 Sep 2017 05:24:06 +0000 (22:24 -0700)] 
bitbake: toaster: debug message for lists layers missing separators

One of the debug messages during build contains a list of all layers
but without spaces or other separators between them. Use pformat
instead.

[YOCTO #12014]

(Bitbake rev: 9fe38f94b54a8644ac6f493c49e63dd6da5bfbdf)

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: Order column in Tasks selectable
Awais Belal [Sun, 3 Sep 2017 05:24:05 +0000 (22:24 -0700)] 
bitbake: toaster: Order column in Tasks selectable

The build page provides tables related to performance that
cover build time, CPU time and disk IO. The "Edit columns"
drop down does not allow selection of the Order column and
makes it hidden as well which is not accurate from user
interaction point of view.
This patch enables the hideable property for the Order column
so it is hidden by default but the user can enable it through
the drop down if need be.

[YOCTO #11040]

(Bitbake rev: 1f1cc1edb21aeec684ef7323554794b33d84d414)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: display error when the fstype select is empty
David Reyna [Sun, 3 Sep 2017 05:24:04 +0000 (22:24 -0700)] 
bitbake: toaster: display error when the fstype select is empty

There must be at least one FSTYPE selected in the Toaster bitbake
variable editor page. When the user deselects all the "Save"
button gets disabled, but the error message is missing.

[YOCTO #8126]

(Bitbake rev: 193577655b7491126ca5fa91fa76d79329e900c2)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Removed bad reference for creating patches.
Scott Rifenbark [Fri, 1 Sep 2017 21:27:04 +0000 (14:27 -0700)] 
kernel-dev: Removed bad reference for creating patches.

We do not want to mix traditional kernel development with
kernel development using devtool.  This reference implied that
was okay to do.

(From yocto-docs rev: 38c3a5d3b47e15880ca10ed30ae4a450ecc851cd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Added output to kernel clone example.
Scott Rifenbark [Fri, 1 Sep 2017 21:12:19 +0000 (14:12 -0700)] 
kernel-dev: Added output to kernel clone example.

(From yocto-docs rev: d5880262ab74499fbeef620af7907ee6e5d328fd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Removed bare clone stuff for trad. kernel dev.
Scott Rifenbark [Fri, 1 Sep 2017 21:01:56 +0000 (14:01 -0700)] 
kernel-dev: Removed bare clone stuff for trad. kernel dev.

Bare clone setup is no longer recommended or necessary for
traditional kernel development.  All that is required is to
clone the kernel Git repo locally.

(From yocto-docs rev: cbe6d79da4fc2d5bba530b0fe6abead7783bdfbe)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Some cleanup of the output for the kernel flow ex.
Scott Rifenbark [Thu, 31 Aug 2017 23:38:31 +0000 (16:38 -0700)] 
kernel-dev: Some cleanup of the output for the kernel flow ex.

(From yocto-docs rev: 30bbe308339ad0665d59d8238e9420d1d594332e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobsp-guide, mega-manual: Updated BSP dev flow figure
Scott Rifenbark [Thu, 31 Aug 2017 22:12:15 +0000 (15:12 -0700)] 
bsp-guide, mega-manual: Updated BSP dev flow figure

Removed spelling warning that was underlining "BSP" in the figure

(From yocto-docs rev: 354fe8c39057ab3aec24474ead65d2d13a5bb3b7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodev-manual, kernel-dev: Working kernel flow process using devtool
Scott Rifenbark [Wed, 30 Aug 2017 20:34:52 +0000 (13:34 -0700)] 
dev-manual, kernel-dev: Working kernel flow process using devtool

A work-in-progress of an example that modifies the kernel
using the devtool.  The procedure is not complete yet as it
does not run properly.

(From yocto-docs rev: 462ba2e46f237c294f05805ad5044291a085975d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodev-manual: Added "next steps" for setting up a native linux host
Scott Rifenbark [Mon, 28 Aug 2017 17:59:13 +0000 (10:59 -0700)] 
dev-manual: Added "next steps" for setting up a native linux host

The end of this section did not direct the user to the next
logical step for preparing a development host.  I added a
paragraph to guide the user to the next area they would need
to read based on their development methods.

(From yocto-docs rev: 4a1aa7800e7bca82dddef0ed83e14e075b3aa9f2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Updated Eclipse information
Scott Rifenbark [Wed, 23 Aug 2017 22:21:04 +0000 (15:21 -0700)] 
sdk-manual: Updated Eclipse information

Fixed [YOCTO #11970]

Updated the field description for "Specify Sysroot Location" to
note that the user can have this either downloaded or built and
the ramifications of using a downloaded root filesystem.

Updated the "Deploying and Debugging the Application" steps for
both supported Eclipse versions to tell the user what to do if
a browse operation fails or times out.

(From yocto-docs rev: 623000af186cb5632af551f95384d4c96d4d6c54)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodev-manual: Added support for signed RPM package feeds
Kristi Rifenbark [Wed, 23 Aug 2017 22:52:58 +0000 (15:52 -0700)] 
dev-manual: Added support for signed RPM package feeds

Fixed [YOCTO #11209]

Rewrote so text indicates signed RPM package feeds work.

(From yocto-docs rev: 41c1e3d786f4436de59697431b2494cbabdebb8d)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Added review comments
Kristi Rifenbark [Wed, 23 Aug 2017 22:08:32 +0000 (15:08 -0700)] 
ref-manual: Added review comments

Added review comments to variables COMPONENTS_DIR,
and SYSROOT_DESTDIR. Added review comments to
task do_prepare_recipe_sysroot.

(From yocto-docs rev: 362998c71b44ddf89d32ed5c45e4251e932a9217)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Added new variable COMPONENTS_DIR to glossary
Kristi Rifenbark [Tue, 22 Aug 2017 23:24:58 +0000 (16:24 -0700)] 
ref-manual: Added new variable COMPONENTS_DIR to glossary

Added new description and created a link for an
existing occurance of the variable.

(From yocto-docs rev: 9ab6e6aed685c9419cb7df3df3ab029033d9ba0e)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Fixed broken link.
Scott Rifenbark [Tue, 22 Aug 2017 00:33:23 +0000 (17:33 -0700)] 
ref-manual: Fixed broken link.

(From yocto-docs rev: 79d1615389f51a0856ea4130684a618abb1c6a93)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Removed duplicate section id.
Scott Rifenbark [Tue, 22 Aug 2017 00:10:38 +0000 (17:10 -0700)] 
ref-manual: Removed duplicate section id.

(From yocto-docs rev: b5ef950136b2d2bb00fdd86f971f77cb744a8c82)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodev-manual: removed note indicating signed RPM packages unsupported.
Scott Rifenbark [Mon, 21 Aug 2017 23:57:31 +0000 (16:57 -0700)] 
dev-manual: removed note indicating signed RPM packages unsupported.

(From yocto-docs rev: 00c312e7515d82661fb16cd51f8fe9d03b4ea394)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Added a cross-reference link to "tmp/sysroots-components"
Kristi Rifenbark [Mon, 21 Aug 2017 23:43:32 +0000 (16:43 -0700)] 
ref-manual: Added a cross-reference link to "tmp/sysroots-components"

(From yocto-docs rev: 29458d81901336ae7c904a23e02786e024f20963)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Updated SSTATE_SCAN_FILES variable description
Kristi Rifenbark [Fri, 18 Aug 2017 21:19:15 +0000 (14:19 -0700)] 
ref-manual: Updated SSTATE_SCAN_FILES variable description

(From yocto-docs rev: 190b257e788d7f6f2f87e4e8c031bcda4a9f6d46)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Added tmp/sysroots-components task
Kristi Rifenbark [Fri, 18 Aug 2017 16:36:20 +0000 (09:36 -0700)] 
ref-manual: Added tmp/sysroots-components task

(From yocto-docs rev: ae635dfc2f53e026b597c1d2ca93ecaa9416417c)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Corrected spelling errors
Kristi Rifenbark [Fri, 18 Aug 2017 00:05:49 +0000 (17:05 -0700)] 
ref-manual: Corrected spelling errors

Updated two instances of "sysroot-components" to
"sysroots-components".

(From yocto-docs rev: 035be964e6f345c058c1dacbb58b09745e8f827d)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Updates on how to prepare for kernel modification.
Scott Rifenbark [Sat, 19 Aug 2017 01:22:20 +0000 (18:22 -0700)] 
kernel-dev: Updates on how to prepare for kernel modification.

WIP at this point.

(From yocto-docs rev: 12e44f6ee7f9437d85c33d0789dbafe937af5664)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Updated step 1 of flow and intro verbiage
Scott Rifenbark [Fri, 18 Aug 2017 22:27:09 +0000 (15:27 -0700)] 
kernel-dev: Updated step 1 of flow and intro verbiage

Updated the step to include proper links and verbiage for
setting up the system for YP development.

(From yocto-docs rev: d5d908847d66178a995d2be985c605e6a5c48d76)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev, dev-manual: Moved Kernel prep steps
Scott Rifenbark [Fri, 18 Aug 2017 22:12:33 +0000 (15:12 -0700)] 
kernel-dev, dev-manual: Moved Kernel prep steps

The dev-manual had a place-holder section for getting the
build host ready for using YP and then doing kernel
development.  This stuff is better suited for the actual
kernel development manual.  I moved the section.  Moving
created several broken links in the manual set that had to
be fixed.

In the dev-manual, I updated the introductory list to include
the newly moved kernel stuff.

(From yocto-docs rev: 2e21260bb5f84e9e30eb353ec841d5962e8a7642)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoMakefile: Fixed broken tar by adding ".png" to figure
Scott Rifenbark [Fri, 18 Aug 2017 22:06:04 +0000 (15:06 -0700)] 
Makefile: Fixed broken tar by adding ".png" to figure

The figure "figures/kernel-overview-2-generic.png" was missing
the ".png" suffix in the TARFILES statment.  This was throwing
an error during the make process for the manual.  Probably an
error for quite some time and not noticed.  I added the suffix
to remove the make early exit error.

(From yocto-docs rev: 00ad7874f8da149f193caeab8fd89bbf6d8132d7)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobsp-guide: Removed bogus link to Linux Yocto Kernel.
Scott Rifenbark [Fri, 18 Aug 2017 21:34:52 +0000 (14:34 -0700)] 
bsp-guide: Removed bogus link to Linux Yocto Kernel.

(From yocto-docs rev: 7c267ede783dc25fa623673d51c49bf9535a4fcd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodev-manual: Pulled Eclipse preparation section
Scott Rifenbark [Fri, 18 Aug 2017 20:43:08 +0000 (13:43 -0700)] 
dev-manual: Pulled Eclipse preparation section

I moved the section on preparing a build host to use the
Eclipse IDE and placed it as introductory text for the
section that talks about getting the system ready for either
native Linux or CROPS use to use YP.

I also created as part of that list, links to the BSP manual
where I now talk about getting the system ready for BSP
development.

(From yocto-docs rev: f5b5d27ea5036792a96c0a42a3d7513a2a57a4b0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobsp-guide, dev-manual: Moved BSP Layer prep steps to bsp-guide
Scott Rifenbark [Fri, 18 Aug 2017 19:48:44 +0000 (12:48 -0700)] 
bsp-guide, dev-manual: Moved BSP Layer prep steps to bsp-guide

The YP Development Manual had some build host preparation steps
as part of the chapter that talks about getting a host ready
for using YP.  These steps are better suited in the BSP Guide.
I moved them there and filled out the steps to be more complete.

(From yocto-docs rev: 2277812d0dd411a103a4a4252d4cb90c471901c9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodev-manual, kernel-dev, sdk-manual: Moved patching kernel section
Scott Rifenbark [Tue, 15 Aug 2017 22:52:21 +0000 (15:52 -0700)] 
dev-manual, kernel-dev, sdk-manual: Moved patching kernel section

Moved the "Patching the Kernel" section, which was in the
dev-manual to the kernel-dev manual.  During the move,
renamed the section to "Using devtool to Patch the Kernel".

This move bothered a lot of links so I had to fix them in
various manuals.

(From yocto-docs rev: a000be1eddf33e4d7de8f350e076d48e27ca4b98)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosdk-manual: Updated steps to build an SDK installer
Scott Rifenbark [Tue, 15 Aug 2017 22:11:31 +0000 (15:11 -0700)] 
sdk-manual: Updated steps to build an SDK installer

The steps needed updated to reflect the introduction of CROPS
as a way to prepare a build host.

(From yocto-docs rev: 8f52372afad4c32d0b895a88c2298625e7f53da3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoyocto-project-qs: Fixed broken links to "Source Directory"
Scott Rifenbark [Tue, 15 Aug 2017 22:09:22 +0000 (15:09 -0700)] 
yocto-project-qs: Fixed broken links to "Source Directory"

These references now go to the ref-manual and not the
dev-manual.

(From yocto-docs rev: e58681488c307ba1daf2e10423e56b7d3ec486b8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Added new variable
Kristi Rifenbark [Thu, 17 Aug 2017 01:06:43 +0000 (18:06 -0700)] 
ref-manual: Added new variable

Added SYSROOT_DESTDIR to the variable glossary.

(From yocto-docs rev: 37388eccf162811ba7b9fd3ee3c110a8fa0f2556)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Updated kernel dev flow figure and supporting text.
Scott Rifenbark [Tue, 15 Aug 2017 19:50:47 +0000 (12:50 -0700)] 
kernel-dev: Updated kernel dev flow figure and supporting text.

(From yocto-docs rev: 68dafc1a68d48a8fe5292185d5ca62d1bdcd80ab)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobsp-guide: Updated BSP workflow list and figure
Scott Rifenbark [Thu, 10 Aug 2017 22:43:22 +0000 (15:43 -0700)] 
bsp-guide: Updated BSP workflow list and figure

With the introduction of CROPS as a way to set up the build
system, I had to alter the first bullet of the BSP workflow
list and the figure.

(From yocto-docs rev: f1db3db4053142619c62629d4b05023f0b148e6c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodev-manual: Updated simple build flow, text and diagram
Scott Rifenbark [Thu, 10 Aug 2017 21:56:38 +0000 (14:56 -0700)] 
dev-manual: Updated simple build flow, text and diagram

Now that we have CROPS as an option, the step for preparing
your build host is condenced to include cloning poky.  This
resulted in removal of step 2 and updating of the figure.

(From yocto-docs rev: 903d1f98b736a744de1d9c973f7a96b6a92049b5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-dev: Updated "Creating and Preparing a Layer" section
Scott Rifenbark [Thu, 10 Aug 2017 20:36:43 +0000 (13:36 -0700)] 
kernel-dev: Updated "Creating and Preparing a Layer" section

This section failed to mention the "yocto-layer create" script,
which is a simple way to create a layer.  I have added this info
into the section by way of a "Tip" box.

(From yocto-docs rev: cf204f2b72b1da0104315f54cfe55c3f1eaf0f96)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Fixed links in do_prepare_recipe_sysroot task
Kristi Rifenbark [Tue, 15 Aug 2017 00:08:13 +0000 (17:08 -0700)] 
ref-manual: Fixed links in do_prepare_recipe_sysroot task

(From yocto-docs rev: 80c60be5f560d20ee60270df0de2c86b23e004df)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Edited Migration section
Kristi Rifenbark [Mon, 14 Aug 2017 21:39:44 +0000 (14:39 -0700)] 
ref-manual: Edited Migration section

Edited OpenEmbedded reference in "Recipe-specific
Sysroots" secion. Edited bullet title in
"Recipe-specific Sysroots" section.

(From yocto-docs rev: b2ee4bb8b31d5c7df22287ae390e68c845ec0732)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Edits to staging.bbclass
Kristi Rifenbark [Mon, 14 Aug 2017 21:24:27 +0000 (14:24 -0700)] 
ref-manual: Edits to staging.bbclass

Added a missing closing parenthesis. Edited Note for
for file clarification.

(From yocto-docs rev: fd7bb7aa57cfcf8b77f82edea65773e50e751902)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>