]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
6 years agosystemd: fix PN-container package splitting
Adrian Freihofer [Sun, 25 Nov 2018 19:45:03 +0000 (20:45 +0100)] 
systemd: fix PN-container package splitting

- Fix package splitting for services installed with
  systemd-container. Some files have been installed with systemd
  package instead of systemd-container package. (*.service,
  *.socket, *.html...)
- Split journal-upload, journal-remote, journal-gatewayd into
  separate packages. These services are not strictly related to
  nspawn containers. Remote logging is now possible without
  installing all the container stuff.
- systemd-container package rrecommends journal-upload, journal-
  remote, journal-gatewayd packages.

(From OE-Core rev: d31ff84a5f4723700ed48fd14ace81d3c707065e)

Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoarchiver.bbclass: Fix COPYLEFT_LICENSE_{IN, EX}CLUDE
Adrian Bunk [Sun, 25 Nov 2018 18:54:03 +0000 (20:54 +0200)] 
archiver.bbclass: Fix COPYLEFT_LICENSE_{IN, EX}CLUDE

Setting them to empty before inheriting copyleft_filter
made them not getting their documented values there.

(From OE-Core rev: ee1f86ca7affc65265f219f0718f89406c9181a5)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/buildoptions: Improve ccache test failure output
Richard Purdie [Tue, 27 Nov 2018 12:19:39 +0000 (12:19 +0000)] 
oeqa/selftest/buildoptions: Improve ccache test failure output

The current failure mode doesn't show us what the logs actually looked like
and later cleans can lose them. Show the whole log in case of failure
to aid debugging intermittent problems on the autobuilder.

(From OE-Core rev: 7c3a0dc5978cea898b1ca51decf4d6e7cf9d519f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/case: Use bb.utils.remove() instead of shutil.remove()
Richard Purdie [Tue, 27 Nov 2018 12:03:50 +0000 (12:03 +0000)] 
oeqa/selftest/case: Use bb.utils.remove() instead of shutil.remove()

This avoids problems where shutil.remove will error with:

  File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
    os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.extra'

when there are races over file deletion (gpg agent may be slow to exit).

We already worked around speed and race issues in bb.utils.

(From OE-Core rev: 00a8fd5b93a5c19ce0b7498e2bc653ce8ad58aaf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/signing: Use do_populate_lic target instead of do_package
Richard Purdie [Mon, 26 Nov 2018 17:03:13 +0000 (17:03 +0000)] 
oeqa/selftest/signing: Use do_populate_lic target instead of do_package

This should speed the test up signficiantly without any loss of functionality
for the purposes of the test.

(From OE-Core rev: 3dde0b749643575878bfbca2f8d2d9ec30bad166)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/signing: Allow tests not to need gpg on the host
Richard Purdie [Mon, 26 Nov 2018 17:00:10 +0000 (17:00 +0000)] 
oeqa/selftest/signing: Allow tests not to need gpg on the host

We ideally don't want to use gpg from the host. This is straightforward for package
management but not for sstate.

For sstate, create a second build directory to run the test in using gnupg-native
from the original build directory.

(From OE-Core rev: 10afa94c3f0d7eb7524a26deda86949073d55fde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/selftest/signing: Skip tests if gpg isn't found
Richard Purdie [Sat, 24 Nov 2018 17:56:06 +0000 (17:56 +0000)] 
oeqa/selftest/signing: Skip tests if gpg isn't found

Raising an assertionError in the class setup isn't a particuarly good way to
indicate gpg isn't installed. Instead skip the tests if the required binary
isn't present. For the signing tests we do require it to be present and can't
use a prebuilt one.

(From OE-Core rev: 2d486af97e51b9daa9c40482c31d637c9ab4ae79)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl: update to 1.1.1a
Alexander Kanavin [Sat, 24 Nov 2018 17:13:53 +0000 (18:13 +0100)] 
openssl: update to 1.1.1a

(From OE-Core rev: eec95f90093a6aa1d8be145e351fc9df4abef172)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoimage.bbclass: fix a wrong position blank
Ming Liu [Sat, 24 Nov 2018 12:54:05 +0000 (13:54 +0100)] 
image.bbclass: fix a wrong position blank

A flaw was introduced by commit c5fa6034:
[ image.bbclass: use prependVarFlag for postfuncs ]

it changed to use prependVarFlag instead of appendVarFlag, then the
blank also needs change to adapt it.

(From OE-Core rev: 6085023158ffbfbaf0f3d65ef18054c003d3f463)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomdadm: improve the run-ptest
Mingli Yu [Fri, 23 Nov 2018 06:58:49 +0000 (22:58 -0800)] 
mdadm: improve the run-ptest

* There are 120+ cases under ${libdir}/mdadm/ptest/tests,
  but the test will break if one test fails as
  below logic in run-ptest.
  ./test &>./test.log

  That's to say, the tests after the failed test
  have no chance to run with the current logic.

  To guarantee all the tests can run even one
  of the tests fails, the option --keep-going
  should be added.

* Refactor the test report to make the report
  more detailed and more common

(From OE-Core rev: 80d17497b719efb2ca9f36b8a730815547e93aa7)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agou-boot: Upgrade 2018.07 -> 2018.11
Otavio Salvador [Fri, 23 Nov 2018 13:51:48 +0000 (11:51 -0200)] 
u-boot: Upgrade 2018.07 -> 2018.11

This upgrades U-Boot to 2018.11 release and drop the backported
security fixes which are now included upstream.

(From OE-Core rev: 04469ab5b7f0446404b4cb55a15595678581ab26)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodnf: update to 4.0.9
Alexander Kanavin [Thu, 22 Nov 2018 15:41:36 +0000 (16:41 +0100)] 
dnf: update to 4.0.9

(From OE-Core rev: 7670325f4b04000255e2fd4ad58a42ab60a70579)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibdnf: update to 0.22.3
Alexander Kanavin [Thu, 22 Nov 2018 15:41:35 +0000 (16:41 +0100)] 
libdnf: update to 0.22.3

(From OE-Core rev: e5b650bdafbf6691ceed35fda251ac9ced1217c5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomeson: Disable rpath stripping at install time
Richard Purdie [Fri, 23 Nov 2018 15:28:28 +0000 (15:28 +0000)] 
meson: Disable rpath stripping at install time

As discussed in https://github.com/mesonbuild/meson/issues/2567 there
needs to be a way to allow our rpath options passed to the linker to be
preserved, else we run into weird build failures.

(e.g. libmodulemd-native used by libdnf can't find libyaml)

Disable this for now until upstream come up with a better way of handling
this.

(From OE-Core rev: b4e36281631e0b59d1058f5cf391eb8b15e605cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython: let more modules build in native
Ross Burton [Fri, 23 Nov 2018 13:40:44 +0000 (13:40 +0000)] 
python: let more modules build in native

(From OE-Core rev: 55b0a7332c57abc27367aba46702990e3a99cbf9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython: add tk support
Mingli Yu [Wed, 14 Nov 2018 09:38:16 +0000 (17:38 +0800)] 
python: add tk support

Add support to enable tk via PACKGECONFIG.
before the patch:
 # python
 Python 2.7.15 (default, Nov  8 2018, 04:53:50)
 [GCC 8.2.0] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import Tkinter
 Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
 ImportError: No module named _tkinter
 >>>

After the patch, if enable tk in PACKGECONFIG, then
 # python
 Python 2.7.15 (default, Oct 25 2018, 08:12:45)
 [GCC 8.2.0] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import Tkinter
 >>>

(From OE-Core rev: 26b2702475697c123937d237e00c34eb2216b5ea)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopython3: add tk support
Mingli Yu [Wed, 14 Nov 2018 09:36:11 +0000 (17:36 +0800)] 
python3: add tk support

Add support to enable tk via PACKAGECONFIG.
before this patch:
 # python3
 Python 3.5.6 (default, Nov  8 2018, 04:53:45)
 [GCC 8.2.0] on linux
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import tkinter
 Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.5/tkinter/__init__.py", line 35, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
 ImportError: No module named '_tkinter'
 >>>

After this patch, if enable tk in PACKAGECONFIG, then
 # python3
 Python 3.5.6 (default, Nov  8 2018, 03:15:52)
 [GCC 8.2.0] on linux
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import tkinter
 >>>

(From OE-Core rev: 4b781d545e7e0b084201cd6a8fad953b0f231513)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibdrm: Upgrade 2.4.94 -> 2.4.96
Otavio Salvador [Fri, 23 Nov 2018 09:39:24 +0000 (07:39 -0200)] 
libdrm: Upgrade 2.4.94 -> 2.4.96

(From OE-Core rev: e8e00d68eb8e114bdabd546e5c6634fb02a6e6c4)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoethtool: 4.17 -> 4.19
Changhyeok Bae [Thu, 22 Nov 2018 01:48:30 +0000 (01:48 +0000)] 
ethtool: 4.17 -> 4.19

(From OE-Core rev: 565bbbf43da14de466fccdfaa259bdb9b50b686e)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoiproute2: 4.18.0 -> 4.19.0
Changhyeok Bae [Thu, 22 Nov 2018 01:48:29 +0000 (01:48 +0000)] 
iproute2: 4.18.0 -> 4.19.0

(From OE-Core rev: b5acefc041b2316c75eefae745d894412ac7bd78)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobusybox: add zip to RDEPENDS of ptest package
Chen Qi [Fri, 23 Nov 2018 02:16:26 +0000 (10:16 +0800)] 
busybox: add zip to RDEPENDS of ptest package

busybox's unzip test case requires zip command. However, busybox
itself does not provide one. So add zip as a runtime dependency.

(From OE-Core rev: 223e5c3e1f7cb4001961347c85505d88a52d221f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobusybox: ship a symlink farm for ptest
Ross Burton [Fri, 23 Nov 2018 02:16:31 +0000 (10:16 +0800)] 
busybox: ship a symlink farm for ptest

Ship a symlink farm for busybox, which correctly considers SUID
split. This ensures that all utilities used in busybox's test cases
will first use that ones that are provided by busybox.

Modify run-ptest to prepend the directory to PATH, and also change
variable name from current_dir to current_path, as the former is
a little misleading. `readlink -f $0' gets a path to the current
script instead of the current directory.

(From OE-Core rev: 7ef8f96941ed52b2a00cbe8f57511a8891b39698)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobusybox: check CONFIG_DESKTOP before using 'od -t' in test case
Chen Qi [Fri, 23 Nov 2018 02:16:30 +0000 (10:16 +0800)] 
busybox: check CONFIG_DESKTOP before using 'od -t' in test case

The '-t' option support for 'od' is enabled by CONFIG_DESKTOP.
So check it before using it in test cases.

(From OE-Core rev: c89fa1992987fa3c12616d2d379f524188310a2e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobusybox: fix du-l-works test case
Chen Qi [Fri, 23 Nov 2018 02:16:29 +0000 (10:16 +0800)] 
busybox: fix du-l-works test case

64 + 64 + 16 = 144K
144 + sizeof_a_directory >= 145
So fix to use 145 instead of 144.

(From OE-Core rev: 4818223ca4d64ee9501250cb866c23630eafa2fa)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobusybox: use example.org instead of google.com in wget test case
Chen Qi [Fri, 23 Nov 2018 02:16:28 +0000 (10:16 +0800)] 
busybox: use example.org instead of google.com in wget test case

Use example.org to ensure it's always reachible.

(From OE-Core rev: 914960f06f035b82834e4b5313f7d3a5879220ae)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobusybox: check uudecode before using it in test case
Chen Qi [Fri, 23 Nov 2018 02:16:27 +0000 (10:16 +0800)] 
busybox: check uudecode before using it in test case

Check uudecode before using it in test case to avoid unexpected failure.

(From OE-Core rev: 32ff819233024f23af1caa889691ccc3b0dadc50)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobzip2: extend alternatives list to include bzip2
Chen Qi [Fri, 23 Nov 2018 02:16:25 +0000 (10:16 +0800)] 
bzip2: extend alternatives list to include bzip2

bzip2 could also be provided by busybox. So extend the alternatives
list to include bzip2.

(From OE-Core rev: 832ce25879d5e3df2d443bdf4362bf4af1377e87)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobusybox: enable bzip2 by default
Chen Qi [Fri, 23 Nov 2018 02:16:24 +0000 (10:16 +0800)] 
busybox: enable bzip2 by default

bunzip2 is enabled by default, but bzip2 is not. This is kind of
strange, and it also causes busybox's ptest failure regarding
bunzip2, as bunzip2's test case needs bzip2 command.

(From OE-Core rev: b54717b06e52970b3547cc5cb89424d824a4ef6a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosstate.bbclass: Only remove sstate file when task is existed
Robert Yang [Fri, 23 Nov 2018 02:37:56 +0000 (10:37 +0800)] 
sstate.bbclass: Only remove sstate file when task is existed

This can improve the performance a lot for "bitbake <recipe-native/cross/crosssdk>
-ccleansstate" when there are a lot of sstate files.

For example:
* Before
  $ bitbake quilt-native -ccleansstate
  - Check log.do_cleansstate:
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package_qa.tgz*
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package_write_rpm.tgz*
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_packagedata.tgz*
  Removing /sstate-cache/*/sstate:quilt-native::0.65:r0::3:*_populate_lic.tgz*
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*

  There are no package tasks for quilt-native, so the first 4 lines doesn't
  make any sense, but the glob pattern "sstate-cache/*/*" is very time
  consuming when there are no disk caches. E.g., I have more than 600,000
  sstate files:
  - Without disk caches
  # echo 3 >/proc/sys/vm/drop_caches
  $ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*")'
    real    4m32.583s
    user    0m5.768s
    sys     0m12.892s

  - With disk caches (e.g., run it in the second time)
  $ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz*")'
    real    0m5.128s
    user    0m2.772s
    sys     0m2.308s

  So the 4 removing *package* commands cost more than 20s or 272s in theory.

* After
  $ bitbake quilt-native -ccleansstate
  - Check log.do_cleansstate:
  Removing /sstate-cache/*/sstate:quilt-native::0.65:r0::3:*_populate_lic.tgz*
  Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*

  We can see that it saved 20s or 272s in theory.

(From OE-Core rev: bb2d6349ea87f090c58001f0d4348b24c2982cde)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobugzilla.bbclass: Remove it since obsoleted
Robert Yang [Fri, 23 Nov 2018 10:23:00 +0000 (18:23 +0800)] 
bugzilla.bbclass: Remove it since obsoleted

It is a still python2 bbclass, so it has been broken since bitbake changed to
python3 which was 2 years ago. No one reported/fixed it for python3 in recent 2
years. So we can assume that no one uses it anymore.

(From OE-Core rev: 7f6da5fb54cbcf8e358e988382f45839a8b80019)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoncurses: upgrade 6.1 -> 6.1+20181013
Hongxu Jia [Fri, 23 Nov 2018 07:47:23 +0000 (15:47 +0800)] 
ncurses: upgrade 6.1 -> 6.1+20181013

(From OE-Core rev: 0471efa2189c0ec2d4dece259e54cd38f82315b2)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibgcrypt: upgrade 1.8.3 -> 1.8.4
Hongxu Jia [Fri, 23 Nov 2018 07:47:22 +0000 (15:47 +0800)] 
libgcrypt: upgrade 1.8.3 -> 1.8.4

(From OE-Core rev: 1100e7f1519be91c90b139c337799c7ea635a8b3)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agognupg: upgrade 2.2.10 -> 2.2.11
Hongxu Jia [Fri, 23 Nov 2018 07:47:21 +0000 (15:47 +0800)] 
gnupg: upgrade 2.2.10 -> 2.2.11

(From OE-Core rev: 4a373ce7d718ee3299bcf7f9fa62e7337d41e40a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoelfutils: 0.174 -> 0.175
Hongxu Jia [Fri, 23 Nov 2018 07:47:20 +0000 (15:47 +0800)] 
elfutils: 0.174 -> 0.175

- Drop backport CVE patches
  0001-libdwfl-Sanity-check-partial-core-file-data-reads.patch
  0001-size-Handle-recursive-ELF-ar-files.patch
  0001-arlib-Check-that-sh_entsize-isn-t-zero.patch

- Drop patches that upstream has fixed
  0005-fix-a-stack-usage-warning.patch [9a74c19 backends: ppc use define
  instead of const for size of dwarf_regs array.]

- Update debian patches to 0.175

- Rebase local patch to 0.175
  0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch

(From OE-Core rev: 8748de4df5a4ece303f07f8bbb248920a199478a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agorecipes: Remove tab indentations in python code
Robert Yang [Fri, 23 Nov 2018 11:04:52 +0000 (19:04 +0800)] 
recipes: Remove tab indentations in python code

Use 4 spaces to replace a tab.

(From OE-Core rev: cbb6743d46752481782789fa1a0dfade11057114)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoclasses: Remove tab indentations in python code
Robert Yang [Fri, 23 Nov 2018 11:04:51 +0000 (19:04 +0800)] 
classes: Remove tab indentations in python code

Use 4 spaces to replace a tab.

(From OE-Core rev: 55eaf8779170b9396e94dc4a44667824c4f36363)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoptest: Reproducibility: Take control of umask
Douglas Royds [Thu, 22 Nov 2018 05:39:42 +0000 (18:39 +1300)] 
ptest: Reproducibility: Take control of umask

The build host umask was leaking into the thing-ptest packages
at do_install_ptest() time.

(From OE-Core rev: 891343e8ba6490ca3e1876c892269b611ddc7877)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agou-boot: Add mkenvimage tool
Alexey Brodkin [Thu, 22 Nov 2018 22:58:20 +0000 (01:58 +0300)] 
u-boot: Add mkenvimage tool

This utility is used for creation of images containing
usable in run-time U-Boot environment.

As of today this utility is added per-board like here [1]
for Intel Edison board.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison/tree/meta-intel-edison-bsp/recipes-bsp/u-boot/u-boot-tools_2014.04.bb

Given there're quite some U-Boot tools that we may want to add later
this recipe name switch from "u-boot-mkimage" to generic "u-boot-tools"
still for compatibility we provide "u-boot-mkimage" with help
of PROVIDES as well as proposed "u-boot-mkenvimage".

(From OE-Core rev: 314885b16e5d26d27d46a4bfb0d581b27a03b8fe)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Martin Jansa <martin.jansa@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodmidecode: fix the Upstream-Status in a custom patch
Alexander Kanavin [Thu, 22 Nov 2018 16:30:28 +0000 (17:30 +0100)] 
dmidecode: fix the Upstream-Status in a custom patch

(From OE-Core rev: c2d8081216b03c7f26063ca9f971661e76550464)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoarc: Disable LTTng
Alexey Brodkin [Thu, 22 Nov 2018 22:38:42 +0000 (01:38 +0300)] 
arc: Disable LTTng

LTTng depends on liburcu which is not yet ported to ARC
so disable LTTng on ARC for now.

(From OE-Core rev: 701e63154c727522704aee6e890dd7d2b5615c6d)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoreproducible: Don't look for youngest file when no source tarball
Douglas Royds [Thu, 22 Nov 2018 20:41:57 +0000 (09:41 +1300)] 
reproducible: Don't look for youngest file when no source tarball

Some packages (eg. init-ifupdown) take their source files entirely from
openembedded-core, that is, they download no source tarball.
These recipes either don't use S at all (ie. it is empty at unpack time),
or they set S = WORKDIR (as in init-ifupdown).
Looking at the file timestamps in the WORKDIR causes a non-reproducible
SOURCE_DATE_EPOCH, as files taken from file:// URIs do not have
reproducible timestamps.

If S == WORKDIR, we are better to assume that there is no source tarball,
and to fall back to a fixed timestamp for the SOURCE_DATE_EPOCH.
This makes the init-ifupdown build reproducible.

(From OE-Core rev: d395bad0179037eb5d0fa4d921985c87ae13f3a4)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoreproducible: Refactor: Break out fixed_source_date_epoch() function
Douglas Royds [Thu, 22 Nov 2018 20:41:56 +0000 (09:41 +1300)] 
reproducible: Refactor: Break out fixed_source_date_epoch() function

(From OE-Core rev: 4eb6def4fe82959c2a348142b9eada27d3354aef)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoboost-context: Reproducibility: Set .file section for all *_elf_gas.S files
Douglas Royds [Thu, 22 Nov 2018 20:34:07 +0000 (09:34 +1300)] 
boost-context: Reproducibility: Set .file section for all *_elf_gas.S files

Add a .file directive explicitly for all *_elf_gas.S files to prevent the linker
adding a host build-system path as a FILE symbol to the object file.

This replaces the existing patch that added the .file directive to a small
subset of these files.

Upstream-Status: Submitted [https://github.com/boostorg/context/issues/91]
(From OE-Core rev: 5ff5f89f2db079a6baf0275ebf1333b4b9642504)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosocat: fix LICENSE
Paul Eggleton [Thu, 22 Nov 2018 21:55:50 +0000 (10:55 +1300)] 
socat: fix LICENSE

According to both the README and source headers, the LICENSE value for
socat is explicitly GPLv2, not v2 or later, so adjust LICENSE
accordingly (leaving aside whether "GPL-2.0+-with-OpenSSL-exception"
should actually be considered a valid LICENSE string or not).

(From OE-Core rev: 466044a341a8b42159bd9388950c9079e0d7a2c3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolighttpd: update to 1.4.51
Alexander Kanavin [Thu, 22 Nov 2018 15:41:34 +0000 (16:41 +0100)] 
lighttpd: update to 1.4.51

(From OE-Core rev: 7e95eca23f06bfeb7b780958a46ec01feb58f20b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agolibwebp: update to 1.0.1
Alexander Kanavin [Thu, 22 Nov 2018 15:41:33 +0000 (16:41 +0100)] 
libwebp: update to 1.0.1

(From OE-Core rev: 67ae24f82279bb304b747e953a2b65ae5d46cad2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosysprof: update to 3.30.2
Alexander Kanavin [Thu, 22 Nov 2018 15:41:32 +0000 (16:41 +0100)] 
sysprof: update to 3.30.2

(From OE-Core rev: c2a63b10300cab8bc896fdd2509bb06cc08ac420)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopsmisc: update to 23.2
Alexander Kanavin [Thu, 22 Nov 2018 15:41:31 +0000 (16:41 +0100)] 
psmisc: update to 23.2

(From OE-Core rev: df7a2a50b20fcbae17b87d0291cbc405b04c37d7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agowebkitgtk: update to 2.22.4
Alexander Kanavin [Thu, 22 Nov 2018 15:41:30 +0000 (16:41 +0100)] 
webkitgtk: update to 2.22.4

(From OE-Core rev: a0d2154aac9926a4723bb3c38d511872b7b14f4c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agovala: update to 0.42.3
Alexander Kanavin [Thu, 22 Nov 2018 15:41:29 +0000 (16:41 +0100)] 
vala: update to 0.42.3

(From OE-Core rev: 0bbd83a06d7c7c435489188f31b3f82018cc1b84)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoicu: update to 63.1
Alexander Kanavin [Thu, 22 Nov 2018 15:41:27 +0000 (16:41 +0100)] 
icu: update to 63.1

(From OE-Core rev: 12765813bda38efe2a8ace2d7e56c32882530268)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogdbm: update to 1.18.1
Alexander Kanavin [Thu, 22 Nov 2018 15:41:26 +0000 (16:41 +0100)] 
gdbm: update to 1.18.1

(From OE-Core rev: 7fa0996f39f55dbc3c4441d8df7ff2aff17fc6b7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotiff: update to 4.0.10
Alexander Kanavin [Thu, 22 Nov 2018 15:41:25 +0000 (16:41 +0100)] 
tiff: update to 4.0.10

(From OE-Core rev: 92a2e6dc73085ccb5482986c6b61d40992fb4f50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodmidecode: update to 3.2
Alexander Kanavin [Thu, 22 Nov 2018 15:41:24 +0000 (16:41 +0100)] 
dmidecode: update to 3.2

Also, replace a sed hack with a proper patch.

(From OE-Core rev: bdde940c05490d3128721e4f5eb67d456e7cc323)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl10: update to 1.0.2q
Alexander Kanavin [Thu, 22 Nov 2018 15:41:22 +0000 (16:41 +0100)] 
openssl10: update to 1.0.2q

(From OE-Core rev: 03149ca307282c22dd9ceb6fe3224bf586b03f6d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogobject-introspection: update to 1.58.1
Alexander Kanavin [Thu, 22 Nov 2018 15:41:21 +0000 (16:41 +0100)] 
gobject-introspection: update to 1.58.1

Also, change default meson option to building introspection files
(previously they were not built by default).

(From OE-Core rev: 44e5bbbbed500553d1ddf451eba02e826a91e4cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl: don't disable the AFALG engine based on host kernel
Ross Burton [Thu, 22 Nov 2018 14:05:16 +0000 (14:05 +0000)] 
openssl: don't disable the AFALG engine based on host kernel

Whether the AFALG engine (use of hardware crypto via AF_ALG) is enable or
disable depends on whether the host kernel is 4.1 or above, which has no bearing
on whether the target system supports it.

Remove the complicated logic and simply enable/disable as requested.

(From OE-Core rev: 4b6c566c0540fe8e560d0feeb9c765c0eb6e5182)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoopenssl: output the configure data in do_configure
Ross Burton [Thu, 22 Nov 2018 14:05:15 +0000 (14:05 +0000)] 
openssl: output the configure data in do_configure

To aid debugging configure, dump the configdata in do_configure.

(From OE-Core rev: a385e6c47663854a375d061033efc856361f3dba)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodocumentation: Add newlib to TCLIBC's [doc] entry
Richard Purdie [Thu, 22 Nov 2018 15:44:12 +0000 (15:44 +0000)] 
documentation: Add newlib to TCLIBC's [doc] entry

TCBLIC can be set to 'newlib' now, document this.

[YOCTO #13032]

(From OE-Core rev: d06271500c485686536352f1202a74d21c51a406)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomdadm: Upgrade to 4.1
Mingli Yu [Thu, 22 Nov 2018 07:49:49 +0000 (23:49 -0800)] 
mdadm: Upgrade to 4.1

* Remove 5 backported patches
* Refresh patches to remove fuzz warnings

(From OE-Core rev: a455616df65f1e9dac5e283a9cda047868465d23)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agogcc: Select proper ARC CPU when build for target
Alexey Brodkin [Thu, 22 Nov 2018 12:06:00 +0000 (15:06 +0300)] 
gcc: Select proper ARC CPU when build for target

By default GCC for ARC is configured with ARC700 CPU.
This means when we don't pass "-mcpu=xxx":
 a) Code will be compiled for ARC700
 b) Libs will used for ARC700

And if we happen to run on ARCv2 core like ARC HSxx we
won't be able to use target gcc w/o "-mcpu=xxx" which
is not very convenient as we want to build "target" toolchain
but not canadian-cross.

Note the trick here is we set TUNE_PKGARCH in just 2 values,
it is either "arc700" for all ARCompact cores (ARC750 & ARC770)
and "archs" for all ARCv2 cores (ARC HS38 & HS48), see [1].
This gives us usable defaults.

For cross-compilation we use TUNE_CCARGS for fine-tuning depending
on which HW features we have on the current target so that
we may have HW feature A & B or B & C or A & B & C, see [2].

[1] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/conf/machine/include/tune-arcv2.inc#L4
[2] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/conf/machine/include/tune-arcv2.inc#L34

(From OE-Core rev: 6d2e44db7ebada41ad1cfc1c98ce9012242ced11)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agosstate.bbclass: set SSTATE_EXTRAPATHWILDCARD explicitly
Robert Yang [Thu, 22 Nov 2018 11:51:59 +0000 (19:51 +0800)] 
sstate.bbclass: set SSTATE_EXTRAPATHWILDCARD explicitly

The glob.glob("/sstate/*/*/") is very time consuming, set
SSTATE_EXTRAPATHWILDCARD explicity to avoid that. This can save a lot of time
when there are many sstate files.

For example, I have more than 600,000 sstate files:
* Before
  - Without disk caches
  $ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
    real    4m32.583s
    user    0m5.768s
    sys     0m12.892s

  - With disk caches
  $ time python3 -c 'import glob; glob.glob("/sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
  real    0m4.111s
  user    0m2.348s
  sys     0m1.756s

* After
  $ time python3 -c 'import glob; glob.glob("/sstate-cache.bak/universal/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_populate_sysroot.tgz*")'
  - Without disk caches:
  real    0m7.928s
  user    0m0.172s
  sys     0m0.124s

  - With disk caches:
  real    0m0.131s
  user    0m0.088s
  sys     0m0.044s

We can see that it saves about 3.8s with disk caches, and saves about 264s
without disk caches.

(From OE-Core rev: 8b31c919814b8bdf25b3381053656523c001ae0d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoterminal: Cope with unreleased versions of tmux
Mike Crowe [Thu, 22 Nov 2018 10:14:08 +0000 (10:14 +0000)] 
terminal: Cope with unreleased versions of tmux

When tmux is built from a non-release Git version, its version number is
"next-X" where X appears to be the expected version number for the next
release. For example, when built from the current state of master, running
"tmux -V" yields:

 tmux next-2.9

Currently check_tmux_pane_size only checks for the version being less than
1.9, so it seems unfair to fail with an obscure Python error in this case.

Let's just use the version number after the "next-" prefix if it is
present.

(From OE-Core rev: 07b59afd52244410d8d833e6dfe262d952e5e344)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agotestimage: Add support for slirp
Yeoh Ee Peng [Thu, 22 Nov 2018 09:10:46 +0000 (17:10 +0800)] 
testimage: Add support for slirp

Enable testimage to support qemu slirp. Configure "QEMU_USE_SLIRP"
& "TEST_SERVER_IP" variables to enable slirp.

[YOCTO#10713]

(From OE-Core rev: 3df9ee85ce7fe52f0893fd33aea3bf1fcc6ead0a)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/qemu: Add support for slirp
Yeoh Ee Peng [Thu, 22 Nov 2018 09:10:45 +0000 (17:10 +0800)] 
oeqa/qemu: Add support for slirp

Enable qemu for slirp. Initialize Qemurunner with slirp. Setup ip
and port attribute to enable connection with qemu running with slirp.

[YOCTO#10713]

(From OE-Core rev: 815e05ac4abb42238d6fdeb15d7426759e059ce1)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoqemurunner: Add support for slirp
Yeoh Ee Peng [Thu, 22 Nov 2018 09:10:44 +0000 (17:10 +0800)] 
qemurunner: Add support for slirp

Enable qemurunner for slirp. Retrieved the ip & port from host machine
to connect to qemu from host machine.

[YOCTO#10713]

(From OE-Core rev: 1db6a6fc9cde28d0a29bcf6d24a8bfbe51d120b1)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agooeqa/qemu & runtime: qemu do not need ip input from external
Yeoh Ee Peng [Thu, 22 Nov 2018 09:10:43 +0000 (17:10 +0800)] 
oeqa/qemu & runtime: qemu do not need ip input from external

Qemu do not use the ip input from external. It will
retrieve ip from QemuRunner instance and assign
ip value.

(From OE-Core rev: 14d99dc6c39c963ba3e0d9a30274846bd5369210)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: fetch: don't use shell=True when listing ar files
Ross Burton [Fri, 23 Nov 2018 15:01:22 +0000 (15:01 +0000)] 
bitbake: fetch: don't use shell=True when listing ar files

(Bitbake rev: 7414b3537e8adfb41a9581d70bf8296c4f7d38c0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobitbake: layerindex: don't use shell=True when cloning
Ross Burton [Fri, 23 Nov 2018 15:01:21 +0000 (15:01 +0000)] 
bitbake: layerindex: don't use shell=True when cloning

(Bitbake rev: cb4aab7406dc8aefb646b37330b722cf9060ad73)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated list of supported Linux Distros:
Armin Kuster [Mon, 19 Nov 2018 19:36:54 +0000 (11:36 -0800)] 
ref-manual: Updated list of supported Linux Distros:

Updates for the "thud" release.

(From yocto-docs rev: ccd2d2c7b062627a3fd1961ab23ee6fff714428a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodev-manual: Added note stating no WSL support
Scott Rifenbark [Fri, 16 Nov 2018 18:02:29 +0000 (10:02 -0800)] 
dev-manual: Added note stating no WSL support

The Windows Subsystem for Linux is not supported.  Added a note
in the section on setting up the build host.

(From yocto-docs rev: e6c3b0acd77569e0422cf86e7dc56433e76bdf20)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added a note saying WSL is not supported.
Scott Rifenbark [Fri, 16 Nov 2018 17:55:51 +0000 (09:55 -0800)] 
ref-manual: Added a note saying WSL is not supported.

Windows Subsystem for Linux (WSL) is not supported with the
Yocto Project.

(From yocto-docs rev: 0898d7fb7166da91598854f385cd574004098ac3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agobrief-yoctoprojectqs: Added warnings about WSL, which can't be used.
Scott Rifenbark [Fri, 16 Nov 2018 17:38:39 +0000 (09:38 -0800)] 
brief-yoctoprojectqs: Added warnings about WSL, which can't be used.

Windows Subsystem for Linux (WSL) is not compatible with the
Yocto Project.  Added information in the beginning to note this
fact to the user.

(From yocto-docs rev: d8fcc0e3dc609086ca82a3419a337350f4e5c529)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agokernel-dev: Updated phrasing for what a "defconfig" file is.
Scott Rifenbark [Thu, 15 Nov 2018 22:30:15 +0000 (14:30 -0800)] 
kernel-dev: Updated phrasing for what a "defconfig" file is.

It was over simplistic.

(From yocto-docs rev: 1c17e3ef607d18c89c3e20d2d44eb5120779cd2c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated image_types.bbclass description.
Ming Liu [Wed, 14 Nov 2018 19:57:18 +0000 (11:57 -0800)] 
ref-manual: Updated image_types.bbclass description.

The "image_types" class is now inherited mandatorily in
image.bbclass through the variable IMGCLASSES.  Users do not
have to inherit it in their customized image type bbclass.
They also do not have to put it in IMAGE_CLASSES.

(From yocto-docs rev: bd391092b216e39dad317dc1aae5c715371766ef)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added description for devupstream.bbclass
Scott Rifenbark [Wed, 14 Nov 2018 19:07:12 +0000 (11:07 -0800)] 
ref-manual: Added description for devupstream.bbclass

New section added.

Fixes [YOCTO #12732]

(From yocto-docs rev: 3d4a1fef8e1809cd7f1dece55790b6ee12dc60b3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodev-manual: Updated the "Post-Installation Scripts" section.
Scott Rifenbark [Tue, 13 Nov 2018 18:29:59 +0000 (10:29 -0800)] 
dev-manual: Updated the "Post-Installation Scripts" section.

Added a better, more up-to-date description of the way to defer
a post-installation script past the boot.

(From yocto-docs rev: 1bcec14eed720fd05e81fbe7ecaa2f95174c0fbf)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added cross-references to "Post-Installation Scripts"
Scott Rifenbark [Tue, 13 Nov 2018 18:13:20 +0000 (10:13 -0800)] 
ref-manual: Added cross-references to "Post-Installation Scripts"

Two areas in the migration chapter discuss the post-installation
behavior when you defer the scripts to after boot.  I added a
couple references to each of those migration note sections that
go into the dev-manual's section.

(From yocto-docs rev: eeb09b5fa208499f37be4e5aafcf55db82715fd1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated "Packaging Changes" section for 2.6 migration.
Scott Rifenbark [Tue, 13 Nov 2018 17:41:20 +0000 (09:41 -0800)] 
ref-manual: Updated "Packaging Changes" section for 2.6 migration.

Changed reference to "python-modules" to "python-modules /
python3-modules".

(From yocto-docs rev: 49d66f928366dda19b6afd1e9ac6431f0f66ab21)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Applied review edits to the 2.6 migration section.
Scott Rifenbark [Mon, 12 Nov 2018 17:18:43 +0000 (09:18 -0800)] 
ref-manual: Applied review edits to the 2.6 migration section.

Minor fixes here and there.

(From yocto-docs rev: 740b4392bd98a12f188b79ae3ecdc7c3031f9f7d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: New 2.6 Migration section complete.
Scott Rifenbark [Fri, 9 Nov 2018 22:47:57 +0000 (14:47 -0800)] 
ref-manual: New 2.6 Migration section complete.

(From yocto-docs rev: 6597ea2d706e3975ff0ffae15cf748ffd7aaed8b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added new python3 profile-optimization migration topic
Scott Rifenbark [Fri, 9 Nov 2018 22:38:23 +0000 (14:38 -0800)] 
ref-manual: Added new python3 profile-optimization migration topic

(From yocto-docs rev: 2d0960d9282ffcb843ed9956a0e49183b22f11f2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated postinstall migration note.
Scott Rifenbark [Fri, 9 Nov 2018 22:21:05 +0000 (14:21 -0800)] 
ref-manual: Updated postinstall migration note.

(From yocto-docs rev: fa6582df36d770e7207e4c5201dafe0e64f46a76)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updates to the 2.6 migration section.
Scott Rifenbark [Fri, 9 Nov 2018 20:32:26 +0000 (12:32 -0800)] 
ref-manual: Updates to the 2.6 migration section.

This is the completed first draft.

(From yocto-docs rev: 45d39b7655ea5b515c8dda91249a84ee19387099)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added KERNEL_ARTIFACT_NAME and adjusted referencing variables.
Scott Rifenbark [Fri, 9 Nov 2018 20:30:33 +0000 (12:30 -0800)] 
ref-manual: Added KERNEL_ARTIFACT_NAME and adjusted referencing variables.

The KERNEL_ARTIFACT_NAME variable is used throughout to set the names
of build artifacts.  Rather than repeat informaiton about
KERNEL_ARTIFACT_NAME in the many variables that use it, I added
a new entry for the variable.  This also impacted the descriptions
of the variables that were repeating information.  I updated those
variable descriptions as well.

(From yocto-docs rev: 5750d30be21e17fe21d89254925dc0e773c08e66)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Removed the NOISO and NOHDD references.
Scott Rifenbark [Fri, 9 Nov 2018 18:52:35 +0000 (10:52 -0800)] 
ref-manual: Removed the NOISO and NOHDD references.

(From yocto-docs rev: fdce52a34db29c98140daa05bd9c660a2494dc12)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agodev-manual: Removed occurrence of mkefidisk.sh script.
Scott Rifenbark [Fri, 9 Nov 2018 18:51:42 +0000 (10:51 -0800)] 
dev-manual: Removed occurrence of mkefidisk.sh script.

Script has been removed.

(From yocto-docs rev: c23de8eb2648f98864579e857a1de0b2ed74532a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Removed the NOISO and NOHDD variables.
Scott Rifenbark [Fri, 9 Nov 2018 18:49:11 +0000 (10:49 -0800)] 
ref-manual: Removed the NOISO and NOHDD variables.

(From yocto-docs rev: bdb67279cd6707e5b0141ecfbfbc09101d508ef4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added several new sections to the 2.6 migration section.
Scott Rifenbark [Thu, 8 Nov 2018 00:48:29 +0000 (16:48 -0800)] 
ref-manual: Added several new sections to the 2.6 migration section.

(From yocto-docs rev: 54703fbde3f7808b9257da883fe8e4769a65fc44)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added new artifact naming variables to glossary.
Scott Rifenbark [Thu, 8 Nov 2018 00:47:49 +0000 (16:47 -0800)] 
ref-manual: Added new artifact naming variables to glossary.

(From yocto-docs rev: ed122fae8ec6e9eb38c196decfc6f5016945f4ee)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Changed "post 2.6" to correct wording.
Scott Rifenbark [Tue, 6 Nov 2018 19:16:18 +0000 (11:16 -0800)] 
ref-manual: Changed "post 2.6" to correct wording.

I changed the wording "post 2.6" to state "2.6 and
forward".  It was incorrect as the changes are  inclusive
of YP release 2.6.

(From yocto-docs rev: fb3f3db17ea416cd829a291df3933cc3597392b8)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added KERNEL_IMAGE_NAME description
Scott Rifenbark [Tue, 6 Nov 2018 18:31:08 +0000 (10:31 -0800)] 
ref-manual: Added KERNEL_IMAGE_NAME description

The KERNEL_IMAGE_NAME variable is new and is effectively
a renamed KERNEL_IMAGE_BASE_NAME variable now.  I provided a
new glossary description for the new variable.  I updated the
existing KERNEL_IMAGE_BASE_NAME description to note it has
changed.  We can't just delete the old variable as there are
migration notes for previous releases of YP.

(From yocto-docs rev: e5a38711342f88ded4368521a70e9d117b6d991c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added GCCVERSION variable description to glossary.
Scott Rifenbark [Tue, 6 Nov 2018 16:49:16 +0000 (08:49 -0800)] 
ref-manual: Added GCCVERSION variable description to glossary.

(From yocto-docs rev: 8095f61c0bf0bbfc7fcf83e3f1c080913ed5f17d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated migration section for 2.6
Scott Rifenbark [Fri, 2 Nov 2018 15:48:58 +0000 (08:48 -0700)] 
ref-manual: Updated migration section for 2.6

Made two minor corrections from reviewer feedback.

(From yocto-docs rev: 765e44127f52e1d9d4d1c365b0574ca73364add2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated 2.6 migration topic "_remove"
Scott Rifenbark [Wed, 31 Oct 2018 17:38:21 +0000 (10:38 -0700)] 
ref-manual: Updated 2.6 migration topic "_remove"

Provided more explanation and also a link into the BB manual
for a detailed example.

(From yocto-docs rev: ca1e113dc837f5104f765b655880a87d1fbd66ac)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Added the 2.6 Migration Section.
Scott Rifenbark [Tue, 30 Oct 2018 21:11:01 +0000 (14:11 -0700)] 
ref-manual: Added the 2.6 Migration Section.

Provided some new sections on the information for migrating from the
2.5 release to the 2.6 release.

(From yocto-docs rev: dd721a31594c753d7229c45ebad0ce11640a0704)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual: Updated testimage and testsdk class descriptions.
Scott Rifenbark [Tue, 30 Oct 2018 19:14:55 +0000 (12:14 -0700)] 
ref-manual: Updated testimage and testsdk class descriptions.

I added notes indicating that the best practice for automated testing
is to inherit these classes by using the IMAGE_CLASSES variable instead
of the INHERIT variable.

(From yocto-docs rev: 8f4765db897c20f0011ea65f62d6b45495d313d2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agoref-manual, dev-manual: Removed TEST_IMAGE for TESTIMAGE_AUTO.
Scott Rifenbark [Tue, 30 Oct 2018 18:41:37 +0000 (11:41 -0700)] 
ref-manual, dev-manual: Removed TEST_IMAGE for TESTIMAGE_AUTO.

The TEST_IMAGE variable went away and was replaced with the
TESTIMAGE_AUTO variable.  Fixed all related/affected areas.

(From yocto-docs rev: 660da40b4fcdc05666e1877037fa63eb1dfe7227)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agopoky.ent: Updated release month to November 2018 (thud)
Scott Rifenbark [Tue, 30 Oct 2018 15:46:54 +0000 (08:46 -0700)] 
poky.ent: Updated release month to November 2018 (thud)

(From yocto-docs rev: b90dd0f7e8d6762bb5dafaedd10cbc01044635d3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 years agomaintainers: Add entry for new recipe libdazzle
Richard Purdie [Thu, 22 Nov 2018 10:00:12 +0000 (10:00 +0000)] 
maintainers: Add entry for new recipe libdazzle

(From OE-Core rev: c80972be1f3592d797da9eb0845b739420c6da4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>