Compare commits

...

188 Commits

Author SHA1 Message Date
Richard Purdie
1cab405d88 build-appliance-image: Update to thud head revision
(From OE-Core rev: ad0a553f0bbdbed5f78a27162289a1e358580dcc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 22:50:45 +00:00
Richard Purdie
ca417455d7 poky: Update version to 2.6.1
(From meta-yocto rev: e8de212ef932e6e837483517dff324aa9d9bbe5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 22:49:30 +00:00
Khem Raj
5fe5271c9d local.conf.sample: Update the sample config as per new migration manual
Syncs with oe-core and the documentation
https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-TESTIMAGE_AUTO
https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#migration-2.6-automatic-testing-changes

(From meta-yocto rev: 1d180bc08eb6b46be4127d0b1a067b0fb92544d5)

(From meta-yocto rev: 42ee4df294851e442d7abf11e6126c82ae3270ee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 21:41:06 +00:00
Peter Kjellerstedt
8bbd177bb8 bitbake: bitbake-diffsigs: Support recursive deps with signature files
Follow dependent hash changes recursively also when specifying two
signature files explicitly. Previously this was only done when using the
--task option.

(Bitbake rev: a5f5ec9e09e2b2891cade97d0568284fc064cb26)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 21:41:06 +00:00
Peter Kjellerstedt
2ef46c44f5 bitbake: bitbake-diffsigs: Merge with bitbake-dumpsig
The functionalities of bitbake-diffsigs and bitbake-dumpsig are so
similar that they can be merged into one. Add an option --dump to make
bitbake-diffsigs dump the last signature data instead of comparing it.
Keep bitbake-dumpsig as a symbolic link to bitbake-diffsigs. When it is
called as bitbake-dumpsig, it behaves as if --dump was specified.

Also make -D the short option for --debug again (the way it used to be,
and still was for bitbake-dumpsig), so that -d can be used as the short
option for --dump.

(Bitbake rev: e7130f8bd86843c0b780b2ecabd297cd35ddcbe3)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 21:41:06 +00:00
Richard Purdie
263cf203bd poky.conf: Update the distros we test against on the autobuilder
(From meta-yocto rev: e2bad29f075d668d70b55f85aec4fd6039e7c119)

(From meta-yocto rev: 7c7856b863f43dc1d88e7ce343e52336cf7bf4fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:18:55 +00:00
Richard Purdie
0c6290b6bc bitbake: server/process: Show last 60 lines of the log if the server didn't start
We're seeing issues where the server doesn't start with no logs as to why. Allow
the server to print the last 60 log lines just in case this shows us something useful
about what is failing.

(Bitbake rev: 1351978585b76262cb104f3d609d79c184ee5d2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:18:55 +00:00
Richard Purdie
cfbd125fef bitbake: server/process: Show the last 60 log lines, not the last 10
10 log lines may not capture any full traceback, increase the number of
lines to 60 which covers most tracebacks.

(Bitbake rev: 2626ff964c0a5726037e539cfd07027aded0b7a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:18:55 +00:00
Robert Yang
103f13ac6e bitbake: server/process: print a message when no logfile
[YOCTO #12898]

There might be no bitbake-cookerdaemon.log, print a message for debugging.

(Bitbake rev: 9c3c965b9d90617e8aa2cf439019534a35a7bcb1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:18:55 +00:00
Richard Purdie
b5dd9158e9 bitbake: server/process: Make lockfile handling clearer
This simplifies the code and makes it easier to read but has the
same functionality.

(Bitbake rev: b829d1b5eb486786cae088f6927530433a7e08e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:18:55 +00:00
Ross Burton
25c7bf985e bitbake: fetch: don't use shell=True when listing ar files
(Bitbake rev: ff2e5d435046886791551587a0988f21ddfe6e2a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:18:55 +00:00
Ross Burton
e313645b88 bitbake: layerindex: don't use shell=True when cloning
(Bitbake rev: b94d4728b35350b812838cdbc7afada776ad5122)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:18:54 +00:00
Bruce Ashfield
894df54323 linux-yocto: correct qemumips64el definition
The big endian mips definition was used as the basis for the little
endian machine. Unfortunatey, the KMACHINE definitions were not fully
cleared, so big endian builds will match on the 'le' variant .. and
break.

We drop the BE machine definitions from the LE variant and we are fixed.

(From OE-Core rev: 863e520059cdc96817ec87983d1e036f291bf37c)

(From OE-Core rev: 16643e8309afd03e99be2482ae7f7ce11cb0bebe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Dropped 4.19 changes]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Bruce Ashfield
de7be89608 linux-yocto: configuration updates (virtio and tpm)
Integrating the following configuration changes:

  1992fb4dad30 virtio.cfg: enable CONFIG_DRM_VIRTIO_GPU
  9e9ba7cb6756 features/tpm: enable tpm support

(From OE-Core rev: c4e273f6a2213ac898fbc504b9bfc12af633c9b8)

(From OE-Core rev: a6356975709cb7bcfbea60ce9f1507583eccd2e2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Drop 4.19 changes]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Khem Raj
a4e7bb5346 populate_sdk_ext.bbclass: Include site.conf in parsing for contents for local.conf
Some distros use site.conf to emit certain variables which are important
for eSDK e.g. DISTRO with out which eSDK will not be able to ger right
metadata when it tries to build

(From OE-Core rev: 95659bed3f6f3216b346f70cfc9ffae9788c0fc1)

(From OE-Core rev: d2f802b656dea7f9c227bd86db35e02c33f69021)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Zheng Ruoqin
c9bffece78 createrepo-c: Fix setup of logging (log domains)
New debug messages were added into GLib library. These messages come
from the "GLib" log domain and were not hidden in the standard and
quiet mode of the application.
This fix hides log messages regardless on source log domain.

Backport from 80810f04f2de6bae6e394f52ad9cdd2189862f74.

(From OE-Core rev: a41927366c3c3070dfb95ec7f595e9f73105a517)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Zheng Ruoqin
bb2d4def8d nss: Fix SHA_HTONL bug for arm 32be.
Rpm use nss as digest crypto library and which will cause an error as follows:

error: test-manual-1.2.3-20181012.noarch.rpm: Header SHA1 digest: BAD (Expected
f1deb7dc4a10742d88ccd1e967dbc62ae45095a5 !=4ad9d7dad6d70d6086eefec62612ad5d77f2fe81)  => this value is wrong
error: test-manual-1.2.3-20181012.noarch.rpm: not an rpm package (or package manifest)

The error is caused by SHA_HTONL in nss, for there is no need to reverse the host value for arm 32be, so fix it.

(From OE-Core rev: 257a1ccd16928dff64aa4d2e1553f52e910edbb2)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Hongxu Jia
a8bccfa9a5 go 1.9/1.11: fix textrel qa warning for non mips arch
While building go itself, the go build system does not support
to set `-buildmode=pie' from environment.

Add GOBUILDMODE to support it which make PIE executables the default
build mode, as PIE executables are required as of Yocto

But mips doesn't support -buildmode=pie, so skip the QA checking for
mips and its variants

(From OE-Core rev: 7a8c5d29f70574043d695bc60da16c823d12a83e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Ross Burton
3fc361f5f0 python3: drop redundant patch
This patch altered the clean target's behaviour to skip the ipkg-install
directory.  However this directory isn't created by opkg, opkg-utils, or the
package_ipk class; and we don't invoke the clean target as we perform
out-of-tree builds.

(From OE-Core rev: 9f8bd475701e5d797d3ffc1ba97647101ba0b9b0)

(From OE-Core rev: e147baad7ab722b8319225561eb23cd4442629e1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Ross Burton
356c6a7b68 python3: don't cripple target distutils
We stop distutils for *native* Python from rewriting hashbangs when installing
(so installed scripts don't have a hashbang that refers to sysroot paths), but
this isn't needed nor desirable for the *target* Python.

(From OE-Core rev: 52e128619803907c804d42815ea979b1848529c4)

(From OE-Core rev: 17a2731bd2795974197b1dca3de53094cec58126)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Alexey Brodkin
45e3843c30 gdb: Remove long ago upstreamed patch
This fix was upstreamed a long ago, see [1].

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=37ce4055fe907b9edd25498dcda7a133dbd19784

(From OE-Core rev: 873507c0cbbf1f7ef22d1cb9dcb0e2b167460490)

(From OE-Core rev: 7a4cc4c690272579491ba8340b63da7efa3ca665)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Khem Raj
7c7daa3ec0 valgrind: Skip vgpreload_memcheck shared object from stripping
This is a special library for memcheck tool, where it needs to have the
symbols intact for the stack traces to work on target, current option is
to install valgrind-dbg ( 151 MB uncompressed ) is quite big for some
systems which may not have space to install it all. Leaving it
unstripped adds about 200KB to image which is much better, this alone
gets memcheck working, as an aside we might need same solution for other
tools e.g. helgrind etc. when needed, they also have leading libraries
installed

(From OE-Core rev: 23da8f50b1e0a74777035c9f7b65b81456908f9f)

(From OE-Core rev: 49e38e029a21c02ca44d6db1bc91190f7c6e11ca)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Joshua Watt
ee036060a8 classes/icecc.bbclass: Fix ccache disable
The ccache disable flag was misspelled, preventing it from being
disabled.

(From OE-Core rev: 33fba601a7365aced9f4b206c1fadda997076d4c)

(From OE-Core rev: aefa930d9cfcdc32ba9411311f269e005e5372e0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Ross Burton
436b5ceca4 patchreview: Various fixes/improvements
Add various fixes and improvements including the ability to export
patch statsitics as json data.

(From OE-Core rev: aa4a4b3ca799948047337e006ee9bf482be7b409)

(From OE-Core rev: 1d0eb08f016db5d5ab08b37dea654950731fcab3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Ross Burton
2b91be4910 insane: Clarify GNU_HASH warning
We have a fatal error if ELF objects don't have GNU_HASH segments but it
doesn't explain what the problem is.  At least give a hint to users by
suggesting that LDFLAGS wasn't passed to the compiler.

(From OE-Core rev: 5d4da6713b40e10e853eb746f700096307ffe158)

(From OE-Core rev: a0ac85826aeee633e01d00d7a1f188724a2937f0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
André Draszik
e82982094a linux-firmware: better packaging for TI wl12xx & wl18xx firmwares
Currently, the linux-firmware-wl12xx contains all wl12xx and
wl18xx firmwares, except for the wl18xx compatibility symlinks
for old kernels and the linux-firmware-wl18xx contains just
those compatibility symlinks and nothing else. This doesn't
make sense...

Be more specific about what to package into each package, in
particular because the existing wl12xx package is specific
about symlinks already.

At the same time, we split the common bits into a -wlcommon
package, so that the wl18xx package doesn't need to depend
on all the wl12xx firmwares, saving several MiB in the file
system.

(From OE-Core rev: e4423eef71c463efe7a1cdf1a426cc9619c78b8a)

(From OE-Core rev: eb85e7c4d011157d7d7db1b4706a60f6e609c980)

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Otavio Salvador
171367cbfd linux-firmware: Bump revision to 1baa348
This adds following changes:

1baa348 Merge branch 'nxp_mc' of https://github.com/NXP/linux-firmware
c7ba355 qed: Add 8.37.7.0 firmware image
1cb4e51 amdgpu: add raven dmcu firmware
aa71b2d amdgpu: update raven firmware to 18.40
fcd5a5f amdgpu: update fiji firmware to 18.40
453caa3 amdgpu: update tonga firmware to 18.40
7ceb224 amdgpu: update carrizo firmware to 18.40
a136e78 amdgpu: update polaris10 firmware to 18.40
ac5f8bd amdgpu: update vega10 firmware to 18.40
8d3825c linux-firmware: add firmware for mt7650e
96d6db5 linux-firmware: add MC firmware for NXP DPAA2 SoCs
d877533 linux-firmware: liquidio: fix GPL compliance issue
2618544 linux-firmware: Update firmware file for Intel Bluetooth,8265
c34a52a linux-firmware: Update firmware patch for Intel Bluetooth 8260
d8e8163 linux-firmware: Update firmware file for Intel Bluetooth,9260
66b58d4 linux-firmware: Update firmware file for Intel Bluetooth,9560
50b8b0b linux-firmware: add firmware for mt7610e
de9cefa Merge branch 'firmware-update' of https://github.com/01org/opa-firmware
951cd9e Merge branch 'ath10k-20181010' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/linux-firmware
c6398e3 Update Intel OPA hfi1 firmware
eaceb79 ath10k: QCA9984 hw1.0: update board-2.bin
a00e61b ath10k: QCA9984 hw1.0: update firmware-5.bin to 10.4-3.6.0.1-00003
50d4180 ath10k: QCA988X hw2.0: update firmware-5.bin to 10.2.4-1.0-00041
427d31d ath10k: QCA9888 hw2.0: update board-2.bin
d87e815 ath10k: QCA9888 hw2.0: update firmware-5.bin to 10.4-3.6-00140
097bbdf ath10k: QCA9887 hw1.0: update firmware-5.bin to 10.2.4-1.0-00041
3e2e5d3 ath10k: QCA9377 hw1.0: add firmware-6.bin to WLAN.TF.2.1-00021-QCARMSWP-1
a87eb5f ath10k: QCA6174 hw3.0: update firmware-6.bin to RM.4.4.1.c2-00057-QCARMSWP-1
14024d3 ath10k: QCA4019 hw1.0: update board-2.bin
2ac415e ath10k: QCA4019 hw1.0: update firmware-5.bin to 10.4-3.6-00140
f503e1d nfp: Add Agilio BPF firmware rev 2.0.6.124
c6b6265 Merge tag 'iwlwifi-fw-2018-10-03' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware
338684a rtw88: Add firmware file for driver rtw88
68a4930 nfp: update Agilio SmartNIC flower firmware to rev AOTC-2.9.A.37
da110f2 iwlwifi: add -41.ucode firmwares for 9000 series
b1ac8f4 iwlwifi: update firmwares for 9000 series
58265e0 iwlwifi: update firmwares for 7000, 8000 and 9000 series
dc638d6 nfp: update Agilio SmartNIC firmware to rev 2.1.13
7c81f23 ti-connectivity: add firmware for CC2560(A) Bluetooth
f0a1cbf linux-firmware: mediatek: add firmware for mt7668u Bluetooth
eb6419c nvidia: add GV100 signed firmware
1ab9095 Merge git://git.marvell.com/mwifiex-firmware
2ddd8f0 Merge branch 'master' of https://github.com/bgodavar/qca_rome_firmware
18c4c8a firmware/icl/dmc: Add v1.07 of DMC for Icelake
52b23a9 linux-firmware: add Marvell SD8997 firmware image
534daf4 qca: update BT firmware files for QCA ROME chip.

License-Update: new firmware files additions
(From OE-Core rev: f1638d3acbabe43f4909a6dc8de6158e1d8cb439)

(From OE-Core rev: c3a5769d04c974051f8ed0b8e7547170cbca252f)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Christophe PRIOUZEAU
2b70fb6ff9 openssl: correct bad path on package preprocess
In case of SDK generation, /usr/bin/ path are not correct
and must be replaced by ${bindir}.

(From OE-Core rev: 0fa7d99444763192914e798d8bc9dba1d9cdae42)

(From OE-Core rev: 6a1c020008d334b56b94399a61ad1dc3a4817b36)

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:44 +00:00
Ross Burton
25f260f593 ruby: upgrade 2.5.1 -> 2.5.3
(From OE-Core rev: 17a8576375fadbfa44e9272a942bf12887b5e1a2)

(From OE-Core rev: ef91e281bb1e24a26f3179fd9f511714a0d4c746)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
477b925f55 linux-yocto/4.18: update to v4.18.21
Integrating Paul Gortmaker's 4.18.x -stable queue that comprises the
following commits:

   7791d9ae24f8 Linux 4.18.21
   a80801badd68 libceph: fall back to sendmsg for slab pages
   fa1d15db0676 HID: Add quirk for Microsoft PIXART OEM mouse
   539bf8a221c2 HID: Add quirk for Primax PIXART OEM mice
   e5cfd0902404 HID: uhid: forbid UHID_CREATE under KERNEL_DS or elevated privileges
   c2d5a17480e1 ACPI / platform: Add SMB0001 HID to forbidden_id_list
   a6f05874e5e4 drivers/misc/sgi-gru: fix Spectre v1 vulnerability
   a2106abb1311 mtd: rawnand: atmel: fix OF child-node lookup
   852707bdc43c USB: misc: appledisplay: add 20" Apple Cinema Display
   025b1def8764 misc: atmel-ssc: Fix section annotation on atmel_ssc_get_driver_data
   9e7b23298a7e usb: quirks: Add delay-init quirk for Corsair K70 LUX RGB
   013de23dac1c USB: Wait for extra delay time after USB_PORT_FEAT_RESET for quirky hub
   3f514468061f USB: quirks: Add no-lpm quirk for Raydium touchscreens
   bbcc56d2f095 usb: cdc-acm: add entry for Hiro (Conexant) modem
   97e2f24e1a83 ALSA: hda/ca0132 - Call pci_iounmap() instead of iounmap()
   745bb5e7cfeb ALSA: hda/realtek - Add quirk entry for HP Pavilion 15
   1c6195c1d07e RISC-V: Fix raw_copy_{to,from}_user()
   58d333dec778 MIPS: OCTEON: cavium_octeon_defconfig: re-enable OCTEON USB driver
   574cddd586ad x86/ldt: Unmap PTEs for the slot before freeing LDT pages
   e5992ad333bb x86/ldt: Split out sanity check in map_ldt_struct()
   4fec0315cc99 x86/mm: Move LDT remap out of KASLR region on 5-level paging
   06e06217b513 x86/mm/doc: Enhance the x86-64 virtual memory layout descriptions
   afddf2bc08b8 x86/mm/doc: Clean up the x86-64 virtual memory layout descriptions
   251fe62f9fbd SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()
   39cc3a6bf7a4 kbuild: deb-pkg: fix too low build version number
   4cbf9bb5d870 net: aquantia: invalid checksumm offload implementation
   7efe7160032f net: aquantia: fixed enable unicast on 32 macvlan
   3dcebf4e0021 net: aquantia: fix potential IOMMU fault after driver unbind
   7ab68bbd45e5 net: stmmac: Fix RX packet size > 8191
   13cf931db889 qed: Fix potential memory corruption
   edc856a3748d qed: Fix SPQ entries not returned to pool in error flows
   85423a9f1925 qed: Fix blocking/unlimited SPQ entries leak
   98e7cd88b52b qed: Fix memory/entry leak in qed_init_sp_request()
   82f212b802a0 i40e: restore NETIF_F_GSO_IPXIP[46] to netdev features
   85f5e5f14d5a ice: Change req_speeds to be u16
   da1d12c17f9f ice: Fix the bytecount sent to netdev_tx_sent_queue
   2a7e71e87d96 ice: Fix dead device link issue with flow control
   14e275bde8d7 perf tools: Do not zero sample_id_all for group members
   76cc23113132 perf tools: Fix undefined symbol scnprintf in libperf-jvmti.so
   2d21e584e738 sched/core: Take the hotplug lock in sched_init_smp()
   2ada9a15c672 i2c: omap: Enable for ARCH_K3
   53d22ae3d66e nvme: make sure ns head inherits underlying device limits
   446c01fb4f92 ceph: quota: fix null pointer dereference in quota check
   9e10f7374c41 s390/perf: Change CPUM_CF return code in event init function
   9de8b1448395 drm/amd/amdgpu/dm: Fix dm_dp_create_fake_mst_encoder()
   f360a418cccb drm/amd/display: Drop reusing drm connector for MST
   7f7cef0bfc2f block: Clear kernel memory before copying to user
   f9e5bd7ff2eb drm/amd/display: Stop leaking planes
   4239764e6ba8 lib/raid6: Fix arm64 test build
   7c5fe0f1b003 mtd: nand: Fix nanddev_pos_next_page() kernel-doc header
   c3c978e03a0b clk: fixed-factor: fix of_node_get-put imbalance
   1e6a626e9a85 arm64: dts: renesas: r8a7795: add missing dma-names on hscif2
   8904df27645c Revert "drm/exynos/decon5433: implement frame counter"
   bc80947ec235 ARM: dts: fsl: Fix improperly quoted stdout-path values
   0256a4666ccc hwmon: (ibmpowernv) Remove bogus __init annotations
   7cce145bb0bc net: hns3: Fix for out-of-bounds access when setting pfc back pressure
   49ca763b85a3 s390/qeth: fix HiperSockets sniffer
   2a5adbb88317 netfilter: nft_compat: ebtables 'nat' table is normal chain type
   b1045a2ed7d0 netfilter: ipset: Fix calling ip_set() macro at dumping
   6339fe77369f netfilter: xt_IDLETIMER: add sysfs filename checking routine
   5f53cf58e657 netfilter: ipset: Correct rcu_dereference() call in ip_set_put_comment()
   ac802253a7f6 bpf: fix bpf_prog_get_info_by_fd to return 0 func_lens for unpriv
   38dd3dd00b30 s390/mm: Fix ERROR: "__node_distance" undefined!
   da97e4fe8be9 s390/mm: fix mis-accounting of pgtable_bytes
   8d30ef7ca397 netfilter: ipset: fix ip_set_list allocation failure
   61c4117c1a74 netfilter: ipset: actually allow allowable CIDR 0 in hash:net,port,net
   969721e7b329 netfilter: ipset: list:set: Decrease refcount synchronously on deletion and replace
   429746904248 Revert "netfilter: nft_numgen: add map lookups for numgen random operations"
   a5e3863ac044 netfilter: use PTR_ERR_OR_ZERO()
   0ae8e99ec8cd HID: alps: allow incoming reports when only the trackstick is opened
   15b457203750 Revert "HID: add NOGET quirk for Eaton Ellipse MAX UPS"
   b031d919f5a3 HID: i2c-hid: Add a small delay after sleep command for Raydium touchpanel
   6e7506e7ffa1 netfilter: ipv6: fix oops when defragmenting locally generated fragments
   ffe4bc3d6f34 netfilter: ipv6: nf_defrag: drop skb dst before queueing
   9b1f3e55b288 clk: ti: fix OF child-node lookup
   dd638be4185f clk: meson: clk-pll: drop CLK_GET_RATE_NOCACHE where unnecessary
   0d6b6e708bc7 arm64: percpu: Initialize ret in the default case
   bbc36472de49 platform/x86: acerhdf: Add BIOS entry for Gateway LT31 v1.3307
   1a256be39690 x86/earlyprintk: Add a force option for pciserial device
   f7554181a88f apparmor: Fix uninitialized value in aa_split_fqname
   012871d08c0d clk: samsung: exynos5420: Enable PERIS clocks for suspend
   064e571701ce fs/exofs: fix potential memory leak in mount option parsing
   831690c6459c perf symbols: Set PLT entry/header sizes properly on Sparc
   0f9ecdb3bd83 clk: fixed-rate: fix of_node_get-put imbalance
   ede1c4fcdde1 platform/x86: intel_telemetry: report debugfs failure
   ee66e4013b23 afs: Handle EIO from delivery function
   aef20e808b30 drm/edid: Add 6 bpc quirk for BOE panel.
   24bb4410cef8 um: Give start_idle_thread() a return code
   2d40d681ae35 perf unwind: Take pgoff into account when reporting elf to libdwfl
   cb3e550391e9 hfsplus: prevent btree data loss on root split
   fa5cc3040873 hfs: prevent btree data loss on root split
   ee916b4885a5 reiserfs: propagate errors from fill_with_dentries() properly
   ef40ee9ed9ae ixgbe: fix MAC anti-spoofing filter after VFLR
   c0fee8923e4f net: hns3: bugfix for the initialization of command queue's spin lock
   8d77763100a2 net: hns3: bugfix for handling mailbox while the command queue reinitialized
   2fb7315d2cf8 net: hns3: Prevent sending command during global or core reset
   ab0b26b06885 net: hns3: bugfix for rtnl_lock's range in the hclgevf_reset()
   cd72d052e2e0 block: brd: associate with queue until adding disk
   0d11623a80f2 arm64: kprobe: make page to RO mode when allocate it
   a52826b7b283 cifs: fix return value for cifs_listxattr
   875f9a25fe16 cifs: don't dereference smb_file_target before null check
   726e26c18837 usbnet: smsc95xx: disable carrier check while suspending
   1b02f8a0f99a net: smsc95xx: Fix MTU range
   43ec8ff9d9d1 mlxsw: spectrum: Fix IP2ME CPU policer configuration
   5084168f4ddb sctp: not increase stream's incnt before sending addstrm_in request
   2d3ba28f6872 net: phy: mdio-gpio: Fix working over slow can_sleep GPIOs
   fbe671bf4640 sctp: fix strchange_flags name for Stream Change Event
   1071eded0415 net: dsa: microchip: initialize mutex before use
   92df935ee5bd net: qualcomm: rmnet: Fix incorrect assignment of real_dev
   8524e5f23056 sctp: define SCTP_SS_DEFAULT for Stream schedulers
   839c08b2e53f net: phy: realtek: fix RTL8201F sysfs name
   511ac11522c8 net: dsa: mv88e6xxx: Fix clearing of stats counters
   4166d97c8114 net/mlx5e: IPoIB, Reset QP after channels are closed
   057174ecf7c3 net/mlx5: IPSec, Fix the SA context hash key
   776d3005c370 l2tp: fix a sock refcnt leak in l2tp_tunnel_register
   5b7d8593e89d inet: frags: better deal with smp races
   38cdb31946c1 net/mlx5e: Removed unnecessary warnings in FEC caps query
   0fa0336430a4 net/mlx5e: Fix selftest for small MTUs
   35f08cfda6e4 net/mlx5e: Always use the match level enum when parsing TC rule match
   81dff097d4f1 Revert "sctp: remove sctp_transport_pmtu_check"
   956f3384ec99 net/mlx5e: Adjust to max number of channles when re-attaching
   e717c85edd16 net/mlx5e: Claim TC hw offloads support only under a proper build config
   73965525b4a5 net: systemport: Protect stop from timeout
   0c6765847a3e tuntap: fix multiqueue rx
   1f1f1f9f5c04 tipc: fix lockdep warning when reinitilaizing sockets
   4882b7bfa4f4 tipc: don't assume linear buffer when reading ancillary data
   8ee89a1dba58 tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths
   29939b28474d tcp: Fix SOF_TIMESTAMPING_RX_HARDWARE to use the latest timestamp during TCP coalescing
   2d02df9e00f6 sctp: not allow to set asoc prsctp_enable by sockopt
   f8079b5a352d net-gro: reset skb->pkt_type in napi_reuse_skb()
   893ebde4310f net: bcmgenet: protect stop from timeout
   d50e12a49aa0 ipv6: Fix PMTU updates for UDP/raw sockets in presence of VRF
   a72cc86b5f1b ipv6: fix a dst leak when removing its exception
   05b6cf8bd43b ip_tunnel: don't force DF when MTU is locked
   9de9dc5fac67 ibmvnic: fix accelerated VLAN handling
   67485ab94ea6 flow_dissector: do not dissect l4 ports for fragments

(From OE-Core rev: 39afea5282fed75a4f70d8f8b1af767620923828)

(From OE-Core rev: 7b820f693fa6c2a9d9464a2a8bc8368b70ffd9f7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
f130b74f8d linux-yocto/4.18: update to v4.18.20
Integrating the korg releases that comprise the following commits:

   a9da8725b7a7 Linux 4.18.20
   55eac9e85dea Revert "ACPICA: AML interpreter: add region addresses in global list during initialization"
   770271829fbe CONFIG_XEN_PV breaks xen_create_contiguous_region on ARM
   355c0d23ff88 drm/i915: Fix possible race in intel_dp_add_mst_connector()
   0400eb06d37c drm/i915/execlists: Force write serialisation into context image vs execution
   06e562e7f515 drm/i915/ringbuffer: Delay after EMIT_INVALIDATE for gen4/gen5
   41a2334c224e drm/i915: Mark pin flags as u64
   a4820798a2ed drm/i915: Don't oops during modeset shutdown after lpe audio deinit
   d0baf6ac9fcc drm/i915: Compare user's 64b GTT offset even on 32b
   b9d3cae0b451 drm/i915: Fix ilk+ watermarks when disabling pipes
   877e75bc93ec drm/i915: Fix error handling for the NV12 fb dimensions check
   63f4972b9b22 drm/i915/hdmi: Add HDMI 2.0 audio clock recovery N values
   df00d4ac7d26 drm/i915/dp: Restrict link retrain workaround to external monitors
   6440b1a7f8f2 drm/i915/dp: Fix link retraining comment in intel_dp_long_pulse()
   f28285d10021 drm/i915: Large page offsets for pread/pwrite
   874d2275ee94 drm/i915: Skip vcpi allocation for MSTB ports that are gone
   0cf4813b215f drm/i915: Don't unset intel_connector->mst_port
   6aba99c55748 drm/i915: Restore vblank interrupts earlier
   68b4918e7072 drm/i915/dp: Link train Fallback on eDP only if fallback link BW can fit panel's native mode
   a90d6f083b7a drm: panel-orientation-quirks: Add quirk for Acer One 10 (S1003)
   4a7daecdaab9 drm/dp_mst: Check if primary mstb is null
   fbea4573dc0b drm/etnaviv: fix bogus fence complete check in timeout handler
   13b3707bafea drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD
   1cca6c472fcc drm/nouveau: Fix nv50_mstc->best_encoder()
   699242cf4aca drm/nouveau: Check backlight IDs are >= 0, not > 0
   bbf40af9c2d8 drm/amdgpu: add missing CHIP_HAINAN in amdgpu_ucode_get_load_type
   842b99a831c5 drm/amdgpu: Fix typo in amdgpu_vmid_mgr_init
   5b231a7b3326 drm/msm: fix OF child-node lookup
   0ad256e8ed36 drm/rockchip: Allow driver to be shutdown on reboot/kexec
   6f680252dc25 efi/arm/libstub: Pack FDT after populating it
   e47645d9b0fb mm/swapfile.c: use kvzalloc for swap_info_struct allocation
   82743f44a420 hugetlbfs: fix kernel BUG at fs/hugetlbfs/inode.c:444!
   2ca904bea902 lib/ubsan.c: don't mark __ubsan_handle_builtin_unreachable as noreturn
   f4ae32cf2589 crypto: user - fix leaking uninitialized memory to userspace
   f784bb167d5f libata: blacklist SAMSUNG MZ7TD256HAFV-000L9 SSD
   08f382aeba0c gfs2: Fix metadata read-ahead during truncate (2)
   47e7c3fc9b8b gfs2: Put bitmap buffers in put_super
   bd9568c3484b configfs: replace strncpy with memcpy
   5fe5a24a8cc8 selinux: check length properly in SCTP bind hook
   a80cb9b67334 fuse: fix leaked notify reply
   e6fed825e0eb fuse: fix use-after-free in fuse_direct_IO()
   693a06b52aab rtc: hctosys: Add missing range error reporting
   651c5d16f3a9 nfsd: COPY and CLONE operations require the saved filehandle to be set
   f194756edd6c NFSv4: Don't exit the state manager without clearing NFS4CLNT_MANAGER_RUNNING
   7142f0dcc2c8 sunrpc: correct the computation for page_ptr when truncating
   13c70ef5b3c7 kdb: print real address of pointers instead of hashed addresses
   6514d22a21ad kdb: use correct pointer when 'btc' calls 'btt'
   6520fe938946 mnt: fix __detach_mounts infinite loop
   d1a5f8e4d27e mount: Prevent MNT_DETACH from disconnecting locked mounts
   376732709e5d mount: Don't allow copying MNT_UNBINDABLE|MNT_LOCKED mounts
   afae7f7336d5 mount: Retest MNT_LOCKED in do_umount
   e1d8594f10d1 ext4: fix buffer leak in __ext4_read_dirblock() on error path
   4f1e87322991 ext4: fix buffer leak in ext4_expand_extra_isize_ea() on error path
   73b05bc9cfdc ext4: fix buffer leak in ext4_xattr_move_to_block() on error path
   93b0fc8e9005 ext4: release bs.bh before re-using in ext4_xattr_block_find()
   ef3af4ee5b81 ext4: fix buffer leak in ext4_xattr_get_block() on error path
   2efa77a4df20 ext4: fix possible leak of s_journal_flag_rwsem in error path
   891dd04dc1cc ext4: fix possible leak of sbi->s_group_desc_leak in error path
   0ff14c16afc8 ext4: avoid possible double brelse() in add_new_gdb() on error path
   84d88fc7e751 ext4: fix missing cleanup if ext4_alloc_flex_bg_array() fails while resizing
   78805335fb17 ext4: avoid buffer leak in ext4_orphan_add() after prior errors
   aac055dfa4ee ext4: avoid buffer leak on shutdown in ext4_mark_iloc_dirty()
   d61417997e50 ext4: fix possible inode leak in the retry loop of ext4_resize_fs()
   dd6d368f6f18 ext4: missing !bh check in ext4_xattr_inode_write()
   c802502a2e80 ext4: avoid potential extra brelse in setup_new_flex_group_blocks()
   56415293423b ext4: add missing brelse() add_new_gdb_meta_bg()'s error path
   ab88f38df803 ext4: add missing brelse() in set_flexbg_block_bitmap()'s error path
   5ee0b3985aec ext4: add missing brelse() update_backups()'s error path
   d4b97e20c7ea clockevents/drivers/i8253: Add support for PIT shutdown quirk
   a77da38bfda3 Btrfs: fix data corruption due to cloning of eof block
   0c4fb98c8f6f Btrfs: fix infinite loop on inode eviction after deduplication of eof block
   1064b11af79d Btrfs: fix cur_offset in the error case for nocow
   383ceb87733b btrfs: fix pinned underflow after transaction aborted
   57da76a94a8a watchdog/core: Add missing prototypes for weak functions
   11cf9be2e473 arch/alpha, termios: implement BOTHER, IBSHIFT and termios2
   7d7a750eabf2 termios, tty/tty_baudrate.c: fix buffer overrun
   d74a4fc841cf x86/hyper-v: Enable PIT shutdown quirk
   bcdff99a9348 x86/cpu/vmware: Do not trace vmware_sched_clock()
   9eaed9022502 of, numa: Validate some distance map rules
   688995faeb6f perf stat: Handle different PMU names with common prefix
   b66ad9290fbf hwmon: (core) Fix double-free in __hwmon_device_register()
   1ef2d80cb3da mtd: docg3: don't set conflicting BCH_CONST_PARAMS option
   ca589cb08cd6 mtd: nand: Fix nanddev_neraseblocks()
   98f1ce39c92c mtd: spi-nor: cadence-quadspi: Return error code in cqspi_direct_read_execute()
   ab2b363733ac bonding/802.3ad: fix link_failure_count tracking
   e36798fc10e2 ARM: 8809/1: proc-v7: fix Thumb annotation of cpu_v7_hvc_switch_mm
   5d64390cff09 netfilter: conntrack: fix calculation of next bucket number in early_drop
   ca1c5698fa94 memory_hotplug: cond_resched in __remove_pages
   a01e1536fc68 mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings
   b74b152e9442 ocfs2: free up write context when direct IO failed
   8362d09a7ff3 ocfs2: fix a misuse a of brelse after failing ocfs2_check_dir_entry
   f458499f2c96 soc: ti: QMSS: Fix usage of irq_set_affinity_hint
   dd4f21dfb81d Revert "powerpc/8xx: Use L1 entry APG to handle _PAGE_ACCESSED for CONFIG_SWAP"
   094e5a111d0e SCSI: fix queue cleanup race before queue initialization is done
   aef93deeff58 scsi: qla2xxx: Initialize port speed to avoid setting lower speed
   3fb039d37f96 vhost/scsi: truncate T10 PI iov_iter to prot_bytes
   543c52975eb8 reset: hisilicon: fix potential NULL pointer dereference
   84d1d9cc1c0c acpi, nfit: Fix ARS overflow continuation
   13bb0de8e25c acpi/nfit, x86/mce: Validate a MCE's address before using it
   cdd219834f93 acpi/nfit, x86/mce: Handle only uncorrectable machine checks
   69df28065f30 mach64: fix image corruption due to reading accelerator registers
   7f6c07f5402e mach64: fix display corruption on big endian machines
   c5a924179783 thermal: core: Fix use-after-free in thermal_cooling_device_destroy_sysfs
   bb34fbacd90c Revert "ceph: fix dentry leak in splice_dentry()"
   e5d8d13800ca libceph: bump CEPH_MSG_MAX_DATA_LEN
   1189a2216800 clk: rockchip: Fix static checker warning in rockchip_ddrclk_get_parent call
   91a17b82ae41 clk: rockchip: fix wrong mmc sample phase shift for rk3328
   7b659a3e5116 clk: sunxi-ng: h6: fix bus clocks' divider position
   3a6f7116bf57 clk: at91: Fix division by zero in PLL recalc_rate()
   b4972d19dbf8 clk: s2mps11: Fix matching when built as module and DT node contains compatible
   7b8b07a696c2 um: Drop own definition of PTRACE_SYSEMU/_SINGLESTEP
   8e81ecdcbaaf xtensa: fix boot parameters address translation
   b9474cabc3c4 xtensa: make sure bFLT stack is 16 byte aligned
   8501e03baaf2 xtensa: add NOTES section to the linker script
   454dd3e93e38 MIPS: Loongson-3: Fix BRIDGE irq delivery problem
   099ef76d3dd9 MIPS: Loongson-3: Fix CPU UART irq delivery problem
   22f185cf0272 zram: close udev startup race condition as default groups
   b2405b2330d3 clk: meson: axg: mark fdiv2 and fdiv3 as critical
   b7dcf0d3a8f1 clk: meson-gxbb: set fclk_div3 as CLK_IS_CRITICAL
   74cd739ed987 arm64: dts: stratix10: fix multicast filtering
   f0ef4cf3d407 arm64: dts: stratix10: Support Ethernet Jumbo frame
   f8c835816ad4 scsi: qla2xxx: Fix NVMe session hang on unload
   318cb27e7fa0 scsi: qla2xxx: Fix re-using LoopID when handle is in use
   aa67028ac422 ovl: fix recursive oi->lock in ovl_link()
   1b8ca12ee8af fuse: set FR_SENT while locked
   10b6b5d193b6 fuse: fix blocked_waitq wakeup
   8b71920c90c3 fuse: Fix use-after-free in fuse_dev_do_write()
   f7e709c59e58 fuse: Fix use-after-free in fuse_dev_do_read()
   38d3f7b2e20f scsi: qla2xxx: Fix driver hang when FC-NVMe LUNs are configured
   f05744c0277c scsi: qla2xxx: Fix duplicate switch database entries
   792b70b674bf scsi: qla2xxx: shutdown chip if reset fail
   187dc52ddacb scsi: qla2xxx: Remove stale debug trace message from tcm_qla2xxx
   008bab2eb77d scsi: qla2xxx: Fix process response queue for ISP26XX and above
   7e9178071fb1 scsi: qla2xxx: Fix incorrect port speed being set for FC adapters
   c1d44176f2c3 serial: sh-sci: Fix could not remove dev_attr_rx_fifo_timeout
   6fcbb25da516 ovl: check whiteout in ovl_create_over_whiteout()
   6915a20df5f8 ovl: fix error handling in ovl_verify_set_fh()
   1dffd49a92dd cdrom: fix improper type cast, which can leat to information leak.
   09901a24c215 9p: clear dangling pointers in p9stat_free
   ab5b8371449b ARM: dts: imx6ull: keep IMX6UL_ prefix for signals on both i.MX6UL and i.MX6ULL
   8515b9edf7a0 udf: Prevent write-unsupported filesystem to be remounted read-write
   a9dbfcffbfba 9p locks: fix glock.client_id leak in do_lock
   b710256edba8 staging: most: video: fix registration of an empty comp core_component
   938e30c56446 drm/amdgpu: Fix SDMA TO after GPU reset v3
   35c37a531fa0 drm: rcar-du: Update Gen3 output limitations
   e6b5db61b2d6 staging:iio:ad7606: fix voltage scales
   3136e7a31323 powerpc/selftests: Wait all threads to join
   e7bce56063ac media: tvp5150: fix width alignment during set_selection()
   2139f23fd233 sc16is7xx: Fix for multi-channel stall
   809923bfbf77 MIPS/PCI: Call pcie_bus_configure_settings() to set MPS/MRRS
   0305be8f74fb powerpc/memtrace: Remove memory in chunks
   439f5244a9f4 powerpc/boot: Ensure _zimage_start is a weak symbol
   c6e2ae7ca034 MIPS: kexec: Mark CPU offline before disabling local IRQ
   09249888b1ad media: coda: don't overwrite h.264 profile_idc on decoder instance
   56a738841c49 media: pci: cx23885: handle adding to list failure
   ae2a9a2cebf3 drm/hisilicon: hibmc: Do not carry error code in HiBMC framebuffer pointer
   7cb3b831fea3 drm/amd/display: fix gamma not being applied
   7657b5bd3475 drm/omap: fix memory barrier bug in DMM driver
   56b14ace2cda powerpc/mm: Don't report hugepage tables as memory leaks when using kmemleak
   905119e2ea85 powerpc/nohash: fix undefined behaviour when testing page size support
   c89005fa57cc ARM: imx_v6_v7_defconfig: Select CONFIG_TMPFS_POSIX_ACL
   fab609de31de drm/amdgpu/powerplay: fix missing break in switch statements
   50513ecaf5f8 tracing/kprobes: Check the probe on unloaded module correctly
   39abc57fe589 tty: check name length in tty_find_polling_driver()
   45394cc9a3c4 powerpc/eeh: Fix possible null deref in eeh_dump_dev_log()
   6fc2ea857297 powerpc/Makefile: Fix PPC_BOOK3S_64 ASFLAGS
   9cfe21c38e5b Input: wm97xx-ts - fix exit path
   f813b2981fc3 drm/amd/display: fix bug of accessing invalid memory
   d74680a91a15 powerpc/mm: fix always true/false warning in slice.c
   7bd05ac862e2 powerpc/mm: Fix page table dump to work on Radix
   c467bb652d44 powerpc/64/module: REL32 relocation range check
   8d16dd049428 powerpc/traps: restore recoverability of machine_check interrupts
   6559b2338d96 Linux 4.18.19
   5c4f8ea1f313 MD: fix invalid stored role for a disk - try2
   ddf734ede053 bpf: wait for running BPF programs when updating map-in-map
   bbfed258eb08 userns: also map extents in the reverse map to kernel IDs
   46aa7eb182c9 net: sched: Remove TCA_OPTIONS from policy
   928b261cfbe6 Btrfs: fix use-after-free when dumping free space
   b7edab6df938 Btrfs: fix use-after-free during inode eviction
   4fbcf14ceb4c btrfs: move the dio_sem higher up the callchain
   904c7dc9dec1 btrfs: don't run delayed_iputs in commit
   13d6628c019d btrfs: fix insert_reserved error handling
   68c7db7c8f76 btrfs: only free reserved extent if we didn't insert it
   3e9205b1d619 btrfs: don't use ctl->free_space for max_extent_size
   171d45102ea8 btrfs: set max_extent_size properly
   17a7240a9508 btrfs: reset max_extent_size properly
   645dd2f9feab Btrfs: fix deadlock when writing out free space caches
   d7c7d298a76f Btrfs: fix assertion on fsync of regular file when using no-holes feature
   191597b15b24 Btrfs: fix null pointer dereference on compressed write path error
   07cf04229031 btrfs: qgroup: Dirty all qgroups before rescan
   96437af32b61 Btrfs: fix wrong dentries after fsync of file that got its parent replaced
   41bdbc9ea1ec Btrfs: fix warning when replaying log after fsync of a tmpfile
   09cbc39c1b7f btrfs: make sure we create all new block groups
   302e6eaa09d8 btrfs: reset max_extent_size on clear in a bitmap
   6078b6126651 btrfs: protect space cache inode alloc with GFP_NOFS
   ff9e68fd136b btrfs: release metadata before running delayed refs
   07ddb36eb150 Btrfs: don't clean dirty pages during buffered writes
   0efba7a66329 btrfs: wait on caching when putting the bg cache
   112249f4f379 btrfs: keep trim from interfering with transaction commits
   74a0609298dc btrfs: don't attempt to trim devices that don't support it
   599c6e4376cb btrfs: iterate all devices during trim, instead of fs_devices::alloc_list
   d12a47554ea9 btrfs: Ensure btrfs_trim_fs can trim the whole filesystem
   89dbabf7e2c3 btrfs: Enhance btrfs_trim_fs function to handle error better
   449f9b8dcf15 btrfs: fix error handling in btrfs_dev_replace_start
   e7e2afa8f83c btrfs: fix error handling in free_log_tree
   9fc2295c6ce8 btrfs: locking: Add extra check in btrfs_init_new_buffer() to avoid deadlock
   a0d7061e2905 btrfs: Handle owner mismatch gracefully when walking up tree
   68b0e1cae6f3 btrfs: qgroup: Avoid calling qgroup functions if qgroup is not enabled
   3734cce8cf6c tracing: Return -ENOENT if there is no target synthetic event
   7d3714bb7abe selftests/powerpc: Fix ptrace tm failure
   4bd6237fc951 selftests/ftrace: Fix synthetic event test to delete event correctly
   efd03258cc5c soc/tegra: pmc: Fix child-node lookup
   d4d1e7a2b1c8 soc: qcom: rmtfs-mem: Validate that scm is available
   4bfdd88d22a1 arm64: dts: stratix10: Correct System Manager register size
   09242a77726c ARM: dts: socfpga: Fix SDRAM node address for Arria10
   29b85eacc07a Cramfs: fix abad comparison when wrap-arounds occur
   cb3de273d7a3 rpmsg: smd: fix memory leak on channel create
   fd376dc39890 arm64: lse: remove -fcall-used-x0 flag
   391d6f13307e media: hdmi.h: rename ADOBE_RGB to OPRGB and ADOBE_YCC to OPYCC
   11e879dd4a6d media: replace ADOBERGB by OPRGB
   aff52a2f431b media: media colorspaces*.rst: rename AdobeRGB to opRGB
   2b33dfe74c2a drm/mediatek: fix OF sibling-node lookup
   795449cb0c51 media: adv7842: when the EDID is cleared, unconfigure CEC as well
   feb3a39a17ab media: adv7604: when the EDID is cleared, unconfigure CEC as well
   5df5d951c107 media: em28xx: fix handler for vidioc_s_input()
   634eb3c8780a media: em28xx: make v4l2-compliance happier by starting sequence on zero
   be91657a304c media: em28xx: fix input name for Terratec AV 350
   95dfd1d5aad4 media: tvp5150: avoid going past array on v4l2_querymenu()
   1ac7a4b394ad media: em28xx: use a default format if TRY_FMT fails
   e448dfd6d3ec media: cec: forgot to cancel delayed work
   b8ee0bd5b099 media: cec: fix the Signal Free Time calculation
   11f9f361470d media: cec: add new tx/rx status bits to detect aborts/timeouts
   6b92b55fd2cf xen-blkfront: fix kernel panic with negotiate_mq error path
   6bc564ec5682 xen: remove size limit of privcmd-buf mapping interface
   905632c2e61d xen: fix xen_qlock_wait()
   dbcbbbbf5aa3 media: cec: integrate cec_validate_phys_addr() in cec-api.c
   e4e97d13dd13 media: cec: make cec_get_edid_spa_location() an inline function
   239efda32abd kgdboc: Passing ekgdboc to command line causes panic
   e589ba2d14ad Revert "media: dvbsky: use just one mutex for serializing device R/W ops"
   d661c89b177d media: v4l2-tpg: fix kernel oops when enabling HFLIP and OSD
   ebc14b2ad1e7 net: bcmgenet: fix OF child-node lookup
   0f664bdc5f98 TC: Set DMA masks for devices
   eddf6140dbea iommu/arm-smmu: Ensure that page-table updates are visible before TLBI
   220720a431bf ocxl: Fix access to the AFU Descriptor Data
   02eabf6ac681 power: supply: twl4030-charger: fix OF sibling-node lookup
   8631b7bd98b9 rtc: cmos: Remove the `use_acpi_alarm' module parameter for !ACPI
   5b6bdf14357c rtc: cmos: Fix non-ACPI undefined reference to `hpet_rtc_interrupt'
   e0e518677149 rtc: ds1307: fix ds1339 wakealarm support
   1145e2b587d7 MIPS: OCTEON: fix out of bounds array access on CN68XX
   5cd5e22d5b1d MIPS: memset: Fix CPU_DADDI_WORKAROUNDS `small_fixup' regression
   163121109386 powerpc/64s/hash: Do not use PPC_INVALIDATE_ERAT on CPUs before POWER9
   ba5a3866a609 powerpc/tm: Fix HFSCR bit for no suspend case
   c0668860758e powerpc/msi: Fix compile error on mpc83xx
   a0bac51733c0 fsnotify: Fix busy inodes during unmount
   ddb75410b6a6 media: ov7670: make "xclk" clock optional
   933833d56e3c dm zoned: fix various dmz_get_mblock() issues
   8acae84c058c dm zoned: fix metadata block ref counting
   58963dc60bb5 dm ioctl: harden copy_params()'s copy_from_user() from malicious users
   1bc549827094 lockd: fix access beyond unterminated strings in prints
   7b4718d2d53d nfsd: Fix an Oops in free_session()
   04868067e324 nfsd: correctly decrement odstate refcount in error path
   209502944483 nfs: Fix a missed page unlock after pg_doio()
   006a1e6a2d9e NFSv4.1: Fix the r/wsize checking
   8fb746ed8e0c NFC: nfcmrvl_uart: fix OF child-node lookup
   193e214685dd genirq: Fix race on spurious interrupt detection
   06cbcf582caf printk: Fix panic caused by passing log_buf_len to command line
   fa4aec4d1e65 smb3: on kerberos mount if server doesn't specify auth type use krb5
   e8c4202e4b16 smb3: do not attempt cifs operation in smb3 query info error path
   278223e1fa26 smb3: allow stats which track session and share reconnects to be reset
   418f8bfb26e9 w1: omap-hdq: fix missing bus unregister at removal
   9cdbf32ae7d2 iio: adc: at91: fix wrong channel number in triggered buffer mode
   b4c1120e3182 iio: adc: at91: fix acking DRDY irq on simple conversions
   8221ff37fbb8 iio: adc: imx25-gcq: Fix leak of device_node in mx25_gcq_setup_cfgs()
   bcd4f42d000c iio: ad5064: Fix regulator handling
   33af6b490a1b kbuild: fix kernel/bounds.c 'W=1' warning
   dad142caf8b3 KVM: arm64: Fix caching of host MDCR_EL2 value
   a665c4ab7796 KVM: arm/arm64: Ensure only THP is candidate for adjustment
   d09d8eaa1806 mm/hmm: fix race between hmm_mirror_unregister() and mmu_notifier callback
   7bf8e1e365ba mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly
   6d2ac8dbfd92 hugetlbfs: dirty pages as they are added to pagecache
   e484e62bc857 ima: fix showing large 'violations' or 'runtime_measurements_count'
   6f3691794c1a mm: /proc/pid/smaps_rollup: fix NULL pointer deref in smaps_pte_range()
   2016e63b7692 crypto: speck - remove Speck
   d4c47d9cf347 crypto: aegis/generic - fix for big endian systems
   805fd900bda2 crypto: morus/generic - fix for big endian systems
   9899e0e4528e crypto: aesni - don't use GFP_ATOMIC allocation if the request doesn't cross a page in gcm
   c00600a96550 crypto: tcrypt - fix ghash-generic speed test
   6aa3369f1768 crypto: lrw - Fix out-of bounds access on counter overflow
   9f0654d9a878 signal: Guard against negative signal numbers in copy_siginfo_from_user32
   071161f0cce4 signal/GenWQE: Fix sending of SIGKILL
   a5d415583c30 PCI: vmd: White list for fast interrupt handlers
   a06dfc8d5e18 PCI: Add Device IDs for Intel GPU "spurious interrupt" quirk
   c34f34ce93bb PCI/ASPM: Fix link_state teardown on device removal
   2e952918d04a ARM: dts: dra7: Fix up unaligned access setting for PCIe EP
   5074cd8b9936 EDAC, skx_edac: Fix logical channel intermediate decoding
   b0fc82d940a5 EDAC, {i7core,sb,skx}_edac: Fix uncorrected error counting
   6ba33971125c EDAC, amd64: Add Family 17h, models 10h-2fh support
   d08463386852 HID: hiddev: fix potential Spectre v1
   fafa54248a2f HID: wacom: Work around HID descriptor bug in DTK-2451 and DTH-2452
   6f076021ce7e selinux: fix mounting of cgroup2 under older policies
   dabb79bd2602 ext4: fix use-after-free race in ext4_remount()'s error path
   798d9a4c4d37 ext4: propagate error from dquot_initialize() in EXT4_IOC_FSSETXATTR
   c68737e3e4c3 ext4: fix setattr project check in fssetxattr ioctl
   5dd65242be71 ext4: initialize retries variable in ext4_da_write_inline_data_begin()
   34e60cb2f8ea ext4: fix EXT4_IOC_SWAP_BOOT
   d543195430fa gfs2_meta: ->mount() can get NULL dev_name
   08a394fe1c04 jbd2: fix use after free in jbd2_log_do_checkpoint()
   54baa22b41dc IB/rxe: Revise the ib_wr_opcode enum
   5855f2051298 IB/mlx5: Fix MR cache initialization
   2a270b59969a ASoC: sta32x: set ->component pointer in private struct
   31a02dd4ee74 ASoC: intel: skylake: Add missing break in skl_tplg_get_token()
   db1af9641867 libnvdimm, pmem: Fix badblocks population for 'raw' namespaces
   847179b1261a libnvdimm, region: Fail badblocks listing for inactive regions
   e31a8418c8df libnvdimm: Hold reference on parent while scheduling async init
   1ebefc8202c8 dmaengine: ppc4xx: fix off-by-one build failure
   389d46234082 net/ipv4: defensive cipso option parsing
   a11eb1510617 iwlwifi: mvm: check return value of rs_rate_from_ucode_rate()
   255768cf1b57 mt76: mt76x2: fix multi-interface beacon configuration
   7ea2dd519f59 usb: gadget: udc: renesas_usb3: Fix b-device mode for "workaround"
   4d5f0d220a29 usb: typec: tcpm: Fix APDO PPS order checking to be based on voltage
   d0e02f4b273b usbip:vudc: BUG kmalloc-2048 (Not tainted): Poison overwritten
   fc988a353d59 libertas: don't set URB_ZERO_PACKET on IN USB transfer
   9c47f44d0a93 xen/pvh: don't try to unplug emulated devices
   9006cb392293 xen/pvh: increase early stack size
   f91721a7895e xen: make xen_qlock_wait() nestable
   2c2395aaa9ba xen: fix race in xen_qlock_wait()
   726a8d0ae0f9 xen/balloon: Support xend-based toolstack
   a49e27c0efe5 xen/blkfront: avoid NULL blkfront_info dereference on device removal
   a76ef635cb22 tpm: Restore functionality to xen vtpm driver.
   2c400cb65dc4 xen-swiotlb: use actually allocated size on check physical continuous
   884f8f6e1b41 ARM: dts: exynos: Mark 1 GHz CPU OPP as suspend OPP on Exynos5250
   feb08c3f3916 ARM: dts: exynos: Convert exynos5250.dtsi to opp-v2 bindings
   4d5dd7609a88 arm: dts: exynos: Add missing cooling device properties for CPUs
   e552bb9a21fd OPP: Free OPP table properly on performance state irregularities
   d07c6c437300 f2fs: fix to account IO correctly
   16eb8add5ee9 f2fs: fix to recover cold bit of inode block during POR
   e8683288c629 Revert "f2fs: fix to clear PG_checked flag in set_page_dirty()"
   e602d368b007 cpupower: Fix AMD Family 0x17 msr_pstate size
   1511aba32429 ALSA: hda: Check the non-cached stream buffers more explicitly
   050d782641c2 IB/rxe: fix for duplicate request processing and ack psns
   8efbd111471e dmaengine: dma-jz4780: Return error if not probed from DT
   faef9773f48a mfd: menelaus: Fix possible race condition and leak
   2dc063e47362 signal: Always deliver the kernel's SIGKILL and SIGSTOP to a pid namespace init
   6d5b9f9d3ec3 f2fs: report error if quota off error during umount
   b41c30c5acc9 f2fs: avoid sleeping under spin_lock
   ec8eb8b57057 scsi: lpfc: Correct race with abort on completion path
   051b5fa2890b scsi: lpfc: Correct soft lockup when running mds diagnostics
   e30cf6a23808 uio: ensure class is registered before devices
   6a5975e8383c IB/mlx5: Allow transition of DCI QP to reset
   12142fb13d30 firmware: coreboot: Unmap ioregion after device population
   0470ae4236d0 driver/dma/ioat: Call del_timer_sync() without holding prep_lock
   fbb33dd581b3 Smack: ptrace capability use fixes
   6ae6cf2975fe usb: chipidea: Prevent unbalanced IRQ disable
   c4b86b1461f0 crypto: caam - fix implicit casts in endianness helpers
   d7f59eb8ae0d PCI: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode
   0cf50920c081 coresight: etb10: Fix handling of perf mode
   c259506c8a79 PCI/MSI: Warn and return error if driver enables MSI/MSI-X twice
   14bbbe74bc3e f2fs: fix to recover inode's i_flags during POR
   9e40e1123323 f2fs: fix to recover inode's crtime during POR
   60e562bb965a xhci: Avoid USB autosuspend when resuming USB2 ports.
   2c5e9a93e478 nvmem: check the return value of nvmem_add_cells()
   40cdac6bfb73 MD: fix invalid stored role for a disk
   175d020db6cf ext4: fix argument checking in EXT4_IOC_MOVE_EXT
   f41d070e9fcb usb: gadget: udc: atmel: handle at91sam9rl PMC
   3162e793c743 usb: dwc2: fix a race with external vbus supply
   bcb003c30ac3 irqchip/pdc: Setup all edge interrupts as rising edge at GIC
   10be774a8d44 xprtrdma: Reset credit grant properly after a disconnect
   5f8ffba0789c PCI / ACPI: Enable wake automatically for power managed bridges
   eedd2de8dc72 VMCI: Resource wildcard match fixed
   fe0f3e9e6830 Drivers: hv: vmbus: Use cpumask_var_t for on-stack cpu mask
   0e264876d8a6 f2fs: clear PageError on the read path
   fbc88d502e81 tpm: suppress transmit cmd error logs when TPM 1.2 is disabled/deactivated
   47b1c864123a usb: typec: tcpm: Report back negotiated PPS voltage and current
   b88a5dd150a5 PCI: cadence: Use AXI region 0 to signal interrupts from EP
   979fbe4045c8 PCI: mediatek: Fix mtk_pcie_find_port() endpoint/port matching logic
   f91a686192f6 usb: host: ohci-at91: fix request of irq for optional gpio
   fd4049585f15 RDMA/bnxt_re: Fix recursive lock warning in debug kernel
   12100249f2be RDMA/bnxt_re: Avoid accessing nq->bar_reg_iomem in failure case
   255cecf2a5eb IB/ipoib: Clear IPCB before icmp_send
   086b1e14c525 RDMA/core: Do not expose unsupported counters
   9b7b9aead186 scsi: megaraid_sas: fix a missing-check bug
   4b4ae263d7d5 KVM: nVMX: Clear reserved bits of #DB exit qualification
   58d06d2dbea7 UAPI: ndctl: Fix g++-unsupported initialisation in headers
   97f21a6b942c scsi: ufs: Schedule clk gating work on correct queue
   34fb187df0d0 scsi: esp_scsi: Track residual for PIO transfers
   9b9dd8af6dd5 md: fix memleak for mempool
   99c08e1dd146 MD: Memory leak when flush bio size is zero
   e2065558bfab f2fs: fix to account IO correctly for cgroup writeback
   8eadae7951d5 net: stmmac: dwmac-sun8i: fix OF child-node lookup
   35df1a8080ab cgroup, netclassid: add a preemption point to write_classid
   477fa78844c3 thermal: da9062/61: Prevent hardware access during system suspend
   2ba7c7660bed thermal: rcar_thermal: Prevent doing work after unbind
   363e948fcc3a libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9
   043b60105fc2 ath10k: schedule hardware restart if WMI command times out
   c0368ed155a2 ixgbevf: VF2VF TCP RSS
   0cfe42772c1d ixgbe: disallow IPsec Tx offload when in SR-IOV mode
   253b526d998b gpio: brcmstb: allow 0 width GPIO banks
   ab9a0e99bf29 iwlwifi: mvm: fix BAR seq ctrl reporting
   dec405826694 rsi: fix memory alignment issue in ARM32 platforms
   d8b03c1e7663 net: dsa: mv88e6xxx: Fix writing to a PHY page.
   ba0885680af7 net: hns3: Fix for vf vlan delete failed problem
   ff80ed73b6cf net: hns3: Fix ping exited problem when doing lp selftest
   65187c05f489 net: hns3: Preserve vlan 0 in hardware table
   23c98b4d9fbd pinctrl: ssbi-gpio: Fix pm8xxx_pin_config_get() to be compliant
   f5ba8363907c pinctrl: spmi-mpp: Fix pmic_mpp_config_get() to be compliant
   f0ff16f0402a perf tests: Fix record+probe_libc_inet_pton.sh without ping's debuginfo
   baef398e5dea failover: Add missing check to validate 'slave_dev' in net_failover_slave_unregister
   f47ceb5f3a08 bpf/verifier: fix verifier instability
   c0222ea97aa1 pinctrl: qcom: spmi-mpp: Fix drive strength setting
   64b74ae515f7 ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers
   d70f08ad0162 spi: gpio: No MISO does not imply no RX
   e67ec9ef7925 kprobes: Return error if we fail to reuse kprobe instead of BUG_ON()
   7a035a98f1b3 arm64: entry: Allow handling of undefined instructions from EL1
   ae9fc312a6d8 block, bfq: correctly charge and reset entity service in all cases
   3f353034eaf7 net: phy: phylink: ensure the carrier is off when starting phylink
   4ac72411c7b4 net: hns3: Set STATE_DOWN bit of hdev state when stopping net
   110bdc652904 net: hns3: Check hdev state when getting link status
   a0f6b282ca78 brcmfmac: fix for proper support of 160MHz bandwidth
   2cd3b487ff72 pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux
   fae41efdcdb6 pinctrl: sunxi: fix 'pctrl->functions' allocation in sunxi_pinctrl_build_state
   7458126fbbf3 net: hns3: Fix ets validate issue
   e0d9799dffb1 net: hns3: Add nic state check before calling netif_tx_wake_queue
   9fae4092be8b x86: boot: Fix EFI stub alignment
   249af5d52486 Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth
   f8ec431379a5 net: hns3: Fix for packet buffer setting bug
   9ffa5136a36b ice: update fw version check logic
   345e47a7dfc2 ice: fix changing of ring descriptor size (ethtool -G)
   e7a23fd7c189 signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstack
   0f1f59872204 mtd: rawnand: atmel: Fix potential NULL pointer dereference
   e8c9540b02ce x86/intel_rdt: Show missing resctrl mount options
   0efa31256ace cpufreq: dt: Try freeing static OPPs only if we have added them
   17b8bb13ac9d ACPI / processor: Fix the return value of acpi_processor_ids_walk()
   dcb2a7c21469 ACPI / PM: LPIT: Register sysfs attributes based on FADT
   9c7247b6f6a9 ACPI/PPTT: Handle architecturally unknown cache types
   ef9c7ed4de60 x86/olpc: Indicate that legacy PC XO-1 platform should not register RTC
   f7121de89b55 iwlwifi: mvm: check for n_profiles validity in EWRD ACPI
   af0d1438f4e2 iwlwifi: mvm: clear HW_RESTART_REQUESTED when stopping the interface
   e364a986fe41 iwlwifi: pcie: avoid empty free RB queue
   ba4a1b62a2d7 mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES register to 8 if unset
   8c9e66266a16 sdhci: acpi: add free_slot callback
   8be558fb46df mmc: sdhci-pci-o2micro: Add quirk for O2 Micro dev 0x8620 rev 0x01
   f9fa6d72d149 bcache: Populate writeback_rate_minimum attribute
   46b8a8d2f33a cpupower: Fix coredump on VMWare
   3d8b0617b2a5 perf strbuf: Match va_{add,copy} with va_end
   74a5a6e86f82 perf tools: Cleanup trace-event-info 'tdata' leak
   6b6ed6f4c33b perf tools: Free temporary 'sys' string in read_event_files()
   91747a58abc5 spi: spi-ep93xx: Use dma_data_direction for ep93xx_spi_dma_{finish,prepare}
   feea46d8f5b0 lightnvm: pblk: fix race condition on metadata I/O
   afa8688bd3bf lightnvm: pblk: fix two sleep-in-atomic-context bugs
   beaff0a07547 lightnvm: pblk: fix race on sysfs line state
   fd524f47ecc5 hwmon: (pwm-fan) Set fan speed to 0 on suspend
   340029579377 s390/sthyi: Fix machine name validity indication
   034d29a7ef6a tun: Consistently configure generic netdev params via rtnetlink
   dcaa9d656d10 nfp: devlink port split support for 1x100G CXP NIC
   4db6211a5bda arm64: cpufeature: ctr: Fix cpu capability check for late CPUs
   ddb265c32880 swim: fix cleanup on setup error
   140a8e218463 ataflop: fix error handling during setup
   3967f93cb91b netfilter: xt_nat: fix DNAT target for shifted portmap ranges
   0713bef08f09 locking/lockdep: Fix debug_locks off performance problem
   92cc2f9792aa net: socionext: Reset tx queue in ndo_stop
   9da20df2fbf6 i2c: rcar: cleanup DMA for all kinds of failure
   4f7381656228 selftests: ftrace: Add synthetic event syntax testcase
   89c678ab4908 drm: Get ref on CRTC commit object when waiting for flip_done
   9fdd80c2ef12 r8169: re-enable MSI-X on RTL8168g
   6b78ea67151b net: qla3xxx: Remove overflowing shift statement
   8a5805bcc603 x86/fpu: Remove second definition of fpu in __fpu__restore_sig()
   027622eacae7 perf report: Don't crash on invalid inline debug information
   a34b5a9d90b1 perf cpu_map: Align cpu map synthesized events properly.
   632f9277621b perf tools: Fix use of alternatives to find JDIR
   71797bf860be perf evsel: Store ids for events with their own cpus perf_event__synthesize_event_update_cpus
   f8148d7cea1f sched/fair: Fix the min_vruntime update logic in dequeue_entity()
   e0d017fe2a43 nfp: flower: use offsets provided by pedit instead of index for ipv6
   d8e7c3329332 nfp: flower: fix pedit set actions for multiple partial masks
   23ef37c73bd7 r8169: Enable MSI-X on RTL8106e
   1810feb860b1 perf vendor events intel: Fix wrong filter_band* values for uncore events
   4e670a32d242 xfrm: policy: use hlist rcu variants on insert
   2b0cdfb29439 xsk: do not call synchronize_net() under RCU read lock
   d1d394e201f0 selftests: usbip: add wait after attach and before checking port status
   c714f12f60ba Revert "perf tools: Fix PMU term format max value calculation"
   7ceb3d05aff5 nvme: remove ns sibling before clearing path
   c5849e9bf203 bpf: do not blindly change rlimit in reuseport net selftest
   6dd0eaf03c0a drm: fix use of freed memory in drm_mode_setcrtc
   c9493729df39 ARM: dts: exynos: Disable pull control for MAX8997 interrupts on Origen
   db611db0ee15 x86/speculation: Support Enhanced IBRS on future CPUs
   178ecd621450 x86/mm/pat: Disable preemption around __flush_tlb_all()
   d601f8c2e0b0 x86/corruption-check: Fix panic in memory_corruption_check() when boot option without value is provided
   1a359f8f8ec8 x86/xen: Fix boot loader version reported for PVH guests
   02fb68711ba6 x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation
   e5e99bd18db3 ALSA: ca0106: Disable IZD on SB0570 DAC to fix audio pops
   9c30febb7383 ALSA: hda: Add 2 more models to the power_save blacklist
   0cfca999ee94 ALSA: hda - Add mic quirk for the Lenovo G50-30 (17aa:3905)
   43a57738232c ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715
   9580bd128c3b ALSA: hda - Fix headphone pin config for ASUS G751
   618ad7fe0e41 ALSA: hda - Add quirk for ASUS G751 laptop
   1396c159647a parisc: Fix exported address of os_hpmc handler
   5e3efb6ff698 parisc: Fix map_pages() to not overwrite existing pte entries
   d9ad0ecfd503 parisc: Fix address in HPMC IVA
   acf2f1783055 acpi, nfit: Fix Address Range Scrub completion tracking
   cf7d33fa2dd3 mailbox: PCC: handle parse error
   f703cf73a0cd ipmi: Fix timer race with module unload
   13b8c2e55d7b kprobes/x86: Use preempt_enable() in optimized_callback()
   5ef3e6e8d3e6 ACPICA: AML Parser: fix parse loop to correctly skip erroneous extended opcodes
   7876d54ad642 ACPICA: AML interpreter: add region addresses in global list during initialization
   165ec328038d ACPI / OSL: Use 'jiffies' as the time bassis for acpi_os_get_timer()
   9c869687da7c pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges
   6457bbfb62d8 dma-mapping: fix panic caused by passing empty cma command line argument
   6995a939af68 cpufreq: conservative: Take limits changes into account properly
   f793bede6a92 block: make sure writesame bio is aligned with logical block size
   1e660a354aaa block: make sure discard bio is aligned with logical block size
   5d7cc07a4a09 block: don't deal with discard limit in blkdev_issue_discard()
   9acb7e6aa615 block: setup bounce bio_sets properly
   22315bd1693b jffs2: free jffs2_sb_info through jffs2_kill_sb()
   4e0b30d87323 hwmon: (pmbus) Fix page count auto-detection.
   79e8dc743d12 bcache: fix miss key refill->end in writeback
   c483d0e293af bcache: correct dirty data statistics
   0d0bac807a44 bcache: trace missed reading by cache_missed
   4588df8e529c spi: bcm-qspi: fix calculation of address length
   af70ba70b95e spi: bcm-qspi: switch back to reading flash using smaller chunks
   9b86e6f06127 spi: spi-mem: Adjust op len based on message/transfer size limitations
   056a4dd50034 mtd: spi-nor: fsl-quadspi: Don't let -EINVAL on the bus
   0368e0a3ab70 mtd: spi-nor: intel-spi: Add support for Intel Ice Lake SPI serial flash
   82a401cad1be mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB
   57459faa2fbe mtd: rawnand: marvell: fix the IRQ handler complete() condition
   99661278215d Linux 4.18.18
   afc1e5e54138 x86/fpu: Fix i486 + no387 boot crash by only saving FPU registers on context switch if there is an FPU
   5581e4eed999 x86/swiotlb: Enable swiotlb for > 4GiG RAM on 32-bit kernels
   022601efef9e x86/time: Correct the attribute on jiffies' definition
   5d59cf0b1833 x86/percpu: Fix this_cpu_read()
   d1c0e525c430 x86, hibernate: Fix nosave_regions setup for hibernation
   227db93beac0 x86/tsc: Force inlining of cyc2ns bits
   dfc1a81b0143 sched/fair: Fix throttle_list starvation with low CFS quota
   962bc4202bf0 drm/sun4i: Fix an ulong overflow in the dotclock driver
   05d586677df0 Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15IGM
   ea6b10f79dd3 tracing: Fix synthetic event to allow semicolon at end
   762472aec1f9 tracing: Fix synthetic event to accept unsigned modifier
   e6b8e426bf8f USB: fix the usbfs flag sanitization for control transfers
   a790c9e4d51f usb: xhci: pci: Enable Intel USB role mux on Apollo Lake platforms
   06a70c3f60b6 usb: roles: intel_xhci: Fix Unbalanced pm_runtime_enable
   ebe34fdc10ad usb: gadget: storage: Fix Spectre v1 vulnerability
   8ae5849083f4 usb: usbip: Fix BUG: KASAN: slab-out-of-bounds in vhci_hub_control()
   b69c7f45b2d3 cdc-acm: fix race between reset and control messaging
   ffc3136034c3 cdc-acm: correct counting of UART states in serial state notification
   e4e6a27f3786 cdc-acm: do not reset notification buffer index upon urb unlinking
   1d375e3b4663 IB/ucm: Fix Spectre v1 vulnerability
   7f99af5c5510 RDMA/ucma: Fix Spectre v1 vulnerability
   a69c03dca8c1 drm: fb-helper: Reject all pixel format changing requests
   c6dd29d7a92d drm/edid: VSDB yCBCr420 Deep Color mode bit definitions
   1ef7c81f8d5f drm/edid: Add 6 bpc quirk for BOE panel in HP Pavilion 15-n233sl
   32c95444f91b ptp: fix Spectre v1 vulnerability
   fc7f79df0f2a fscache: Fix out of bound read in long cookie keys
   4bdc50b060ca cachefiles: fix the race between cachefiles_bury_object() and rmdir(2)
   9ccc817d3fb0 fscache: Fix incomplete initialisation of inline key space
   e65c5ffc44ad clk: sunxi-ng: sun4i: Set VCO and PLL bias current to lowest setting
   cfb0622c2d95 gpio: mxs: Get rid of external API call
   c6259258b48b bpf: fix partial copy of map_ptr when dst is scalar
   1d15a9f08704 vfs: swap names of {do,vfs}_clone_file_range()
   de1341b7a671 eeprom: at24: Add support for address-width property

(From OE-Core rev: 77939f82e29dccd170c4f0a1d63dba89d5320ded)

(From OE-Core rev: 68129febe9adfbeed01d0aadab016ae83be3474e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
d8276fb3af linux-yocto/4.18: integrate CVE fixes
Integrating the following CVE fixes into the 4.18 tree:

  e78a46f375fe cdrom: fix improper type cast, which can leat to information leak.
  4815231b9b65 btrfs: tree-checker: Verify block_group_item
  6dfe2fe5dd52 btrfs: Introduce mount time chunk <-> dev extent mapping check
  ccd06dcdc11b btrfs: Verify that every chunk has corresponding block group at mount time
  7cf70b1e759a btrfs: Check that each block group has corresponding chunk at mount time
  166bbd6ff86b btrfs: validate type when reading a chunk
  ecf31c809599 ip: frags: fix crash in ip_do_fragment()
  02fc22c5eb30 ip: use rb trees for IP frag queue.
  72dd075ee367 net: modify skb_rbtree_purge to return the truesize of all purged skbs.
  7a9f904c49aa ip: discard IPv4 datagrams with overlapping segments.
  abea198657b7 f2fs: fix to do sanity check with i_extra_isize
  408c425c41e4 f2fs: fix to do sanity check with node footer and iblocks
  5e4ccef734c3 f2fs: fix to do sanity check with user_block_count

(From OE-Core rev: e09309a50dd5f4d8fc75915a5f2e97a16603aa9a)

(From OE-Core rev: 75e694bd12906a88894f6541ab490039204ec4e2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
1118e24f23 linux-yocto/4.14: update to v4.14.79
Integrating the -stable releases the comprise the following changes:

   50961e4888a1 Linux 4.14.79
   fe54a7c4f0d1 net/mlx5: Fix build break when CONFIG_SMP=n
   b0ee9bd40d74 net/sched: cls_api: add missing validation of netlink attributes
   c8c2df18eedf net: bcmgenet: Poll internal PHY for GENETv5
   71944eb54288 net: ipmr: fix unresolved entry dumps
   4ca72d6336df rtnetlink: Disallow FDB configuration for non-Ethernet device
   ac65fd7094ac net/mlx5e: fix csum adjustments caused by RXFCS
   855cb69f4e6d net: fix pskb_trim_rcsum_slow() with odd trim offset
   623670a9f207 net: drop skb on failure in ip_check_defrag()
   fd090ba395fb net: sched: Fix for duplicate class dump
   bc4787003687 net/mlx5: Take only bit 24-26 of wqe.pftype_wq for page fault type
   1d50b74a33d0 openvswitch: Fix push/pop ethernet validation
   f288424ea85e ip6_tunnel: Fix encapsulation layout
   8a865095d399 bonding: fix length of actor system
   95c337646585 ethtool: fix a privilege escalation bug
   574af67123c3 virtio_net: avoid using netif_tx_disable() for serializing tx routine
   b522f279f91b vhost: Fix Spectre V1 vulnerability
   189771d69e14 udp6: fix encap return code for resubmitting
   606694e5ec81 sctp: fix race on sctp_id2asoc
   aa8d067c8547 r8169: fix NAPI handling under high load
   0ecebdfb2e3a net: udp: fix handling of CHECKSUM_COMPLETE packets
   441d0e754082 net: stmmac: Fix stmmac_mdio_reset() when building stmmac as modules
   7d58456872c4 net: socket: fix a missing-check bug
   29d871195e9e net: sched: gred: pass the right attribute to gred_change_table_def()
   e581e28f9dcb net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs
   ff96a3977440 net: fec: don't dump RX FIFO register when not available
   6bb1381cc865 llc: set SOCK_RCU_FREE in llc_sap_add_socket()
   1e42e97af983 ipv6/ndisc: Preserve IPv6 control buffer if protocol error handlers are called
   5d4c5861211f ipv6: mcast: fix a use-after-free in inet6_mc_check
   c3cf86dac56d net: bridge: remove ipv6 zero address check in mcast queries
   1bd68d5612af bridge: do not add port to router list when receives query with source 0.0.0.0
   b6534b3e08e8 drm/i915/gvt: fix memory leak of a cmd_entry struct on error exit path
   2980235974cd perf tools: Disable parallelism for 'make clean'
   ac7c2bb59870 Revert "netfilter: ipv6: nf_defrag: drop skb dst before queueing"
   ee66ad5896ae ALSA: usx2y: Fix invalid stream URBs
   e75194d29442 media: uvcvideo: Fix driver reference counting
   cdb44bdafc3a ARM: dts: r8a7790: Correct critical CPU temperature
   871424f0c3cf kvm: x86: fix WARN due to uninitialized guest FPU state
   3642e3544749 mtd: spi-nor: Add support for is25wp series chips
   bd6df7a19559 sch_netem: restore skb->dev after dequeuing from the rbtree
   3d69b85e14be fs/fat/fatent.c: add cond_resched() to fat_count_free_clusters()
   5309191ec049 selftests: rtnetlink.sh explicitly requires bash.
   1e4f8315a5c8 net: ena: fix NULL dereference due to untimely napi initialization
   ba4cf1eefd54 net: ena: fix warning in rmmod caused by double iounmap
   252869e5fb49 rxrpc: Fix connection-level abort handling
   f1d27ff6e027 rxrpc: Only take the rwind and mtu values from latest ACK
   9a6d45700adf rxrpc: Don't check RXRPC_CALL_TX_LAST after calling rxrpc_rotate_tx_window()
   4fdaadbce403 perf python: Use -Wno-redundant-decls to build with PYTHON=python3
   c005e014fbc6 ARM: dts: imx53-qsb: disable 1.2GHz OPP
   3c3bec81e267 compiler.h: Allow arch-specific asm/compiler.h
   b8f4d375cd1e perf tests: Fix indexing when invoking subtests
   543f1084b67f libertas: call into generic suspend code before turning off power
   48f1b3b56ee4 kconfig: fix the rule of mainmenu_stmt symbol
   cbc38304947e net: stmmac: mark PM functions as __maybe_unused
   726f05951941 x86/paravirt: Fix some warning messages
   aa3aff5b469b net: phy: phylink: Don't release NULL GPIO
   f72388e3670e btrfs: quota: Set rescan progress to (u64)-1 if we hit last leaf
   3c92c7e96fc4 scsi: sd: Remember that READ CAPACITY(16) succeeded
   5aa0d86363b2 scsi: ibmvfc: Avoid unnecessary port relogin
   07e2121f4f2b selftests/powerpc: Add ptrace hw breakpoint test
   672fdbd5966e iio: buffer: fix the function signature to match implementation
   1bee5f3d9530 enic: do not overwrite error code
   b9627a218e2b lan78xx: Don't reset the interface on open
   f18ed65d70f0 MIPS: Workaround GCC __builtin_unreachable reordering bug
   f274c57f0479 mmc: dw_mmc-rockchip: correct property names in debug
   e6df57b60b86 IB/usnic: Update with bug fixes from core code
   d29f27192a2d xen-netfront: Fix mismatched rtnl_unlock
   a0fcefb70022 xen-netfront: Update features after registering netdev
   9de255666ce3 tpm: tpm_crb: relinquish locality on error path.
   3c0cff34e91e bpf: sockmap, map_release does not hold refcnt for pinned maps
   db9d15988afb tpm: move the delay_msec increment after sleep in tpm_transmit()
   c1fdafea627c sparc64: Fix regression in pmdp_invalidate().
   090246ff5f6c KVM: x86: Update the exit_qualification access bits while walking an address
   7d768c84ec31 test_bpf: Fix testing with CONFIG_BPF_JIT_ALWAYS_ON=y on other arches
   8f041940aaf2 cifs: Use ULL suffix for 64-bit constant
   5c097f55e980 l2tp: remove configurable payload offset
   b39ac5421519 ARM: tegra: Fix ULPI regression on Tegra20
   579493b9f689 IB/mlx5: Avoid passing an invalid QP type to firmware
   6cfb67394a42 kbuild: set no-integrated-as before incl. arch Makefile
   a972222a6a30 scsi: qla2xxx: Avoid double completion of abort command
   651f11a83af3 net/mlx5e: Refine ets validation function
   8b882dbba717 net: phy: Add general dummy stubs for MMD register access
   8d9d7f018464 net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b
   4fbd26a1484c dm integrity: fail early if required HMAC key is not available
   aa2a0c23c9b7 powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n
   71a9d1240a30 net/mlx5: Fix mlx5_get_vector_affinity function
   049fee28bba3 s390/qeth: fix error handling in adapter command callbacks
   18addd960fe8 IB/rxe: put the pool on allocation failure
   8c954368de69 IB/ipoib: Fix lockdep issue found on ipoib_ib_dev_heavy_flush
   c750773f3942 scsi: aacraid: address UBSAN warning regression
   3b6c6d9cbdea usbip: vhci_hcd: update 'status' file header and format
   e37e383a4e66 tools/testing/nvdimm: unit test clear-error commands
   18a83c013392 iwlwifi: fix the ALIVE notification layout
   4187fbd60c39 iwlwifi: dbg: allow wrt collection before ALIVE
   d1efab095c20 iwlwifi: mvm: check for short GI only for OFDM
   f83f38fcf17f ocfs2: fix crash in ocfs2_duplicate_clusters_by_page()
   d0539c56391d yam: fix a missing-check bug
   ec4e9618d1fd net: cxgb3_main: fix a missing-check bug
   049b662eeadd be2net: don't flip hw_features when VXLANs are added/deleted
   45894023bee9 locking/ww_mutex: Fix runtime warning in the WW mutex selftest
   a0ab962b674d net: qualcomm: rmnet: Skip processing loopback packets
   3095f0c98c6a declance: Fix continuation with the adapter identification message
   1837dbb25cc5 net: fec: fix rare tx timeout
   784f8395895f perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events
   40568f21f235 perf/x86/intel/uncore: Fix PCI BDF address of M3UPI on SKX
   a18e2159c3ff perf/ring_buffer: Prevent concurent ring buffer access
   ffc3cb561ece perf/core: Fix perf_pmu_unregister() locking
   492a81318e8c cfg80211: fix use-after-free in reg_process_hint()
   35ffbd523797 smsc95xx: Check for Wake-on-LAN modes
   9e3a0366365b smsc75xx: Check for Wake-on-LAN modes
   9eaabc0a7779 r8152: Check for supported Wake-on-LAN Modes
   4301fb3391ed sr9800: Check for supported Wake-on-LAN modes
   9f0962c0f6f7 lan78xx: Check for supported Wake-on-LAN modes
   a0fc06335530 ax88179_178a: Check for supported Wake-on-LAN modes
   eef5935c2d7a asix: Check for supported Wake-on-LAN modes
   915670c48eb3 nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
   b93393d63d8f qed: Avoid implicit enum conversion in qed_iwarp_parse_rx_pkt
   ee86b4d659c2 qed: Avoid constant logical operation warning in qed_vf_pf_acquire
   935d441968b1 qed: Avoid implicit enum conversion in qed_roce_mode_to_flavor
   ab7998abfea2 qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
   76f86190774e qed: Avoid implicit enum conversion in qed_set_tunn_cls_info
   865741554925 pxa168fb: prepare the clock
   0f8a689c6a2f Bluetooth: SMP: fix crash in unpairing
   db2a11e706bf mac80211_hwsim: do not omit multicast announce of first added radio
   c7b66583c9ed nl80211: Fix possible Spectre-v1 for NL80211_TXRATE_HT
   fa1578ec411d soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()
   795b13034224 soc: fsl: qbman: qman: avoid allocating from non existing gen_pool
   d9e742766c76 net: macb: Clean 64b dma addresses if they are not detected
   a5bdfc6892b5 ARM: dts: BCM63xx: Fix incorrect interrupt specifiers
   1241679ce248 arm64: hugetlb: Fix handling of young ptes
   1157713407a6 netfilter: bridge: Don't sabotage nf_hook calls from an l3mdev
   26c6b9da7a00 xfrm: validate template mode
   5d7bf7b4d022 ARM: 8799/1: mm: fix pci_ioremap_io() offset check
   73c6f8606070 xfrm: Fix NULL pointer dereference when skb_dst_force clears the dst_entry.
   35507aabf0e5 mac80211: fix TX status reporting for ieee80211s
   ebec37ed21a2 mac80211: TDLS: fix skb queue/priority assignment
   9da59d2e283d cfg80211: Address some corner cases in scan result channel updating
   574be53ab82c mac80211: fix pending queue hang due to TX_DROP
   d46c334f07f5 cfg80211: reg: Init wiphy_idx in regulatory_hint_core()
   b0be0d83fc68 mac80211: Always report TX status
   64f38286c7be xfrm: reset crypto_done when iterating over multiple input xfrms
   a95d9004fbde xfrm: reset transport header back to network header after all input transforms ahave been applied
   2a55e64d5c5e xfrm6: call kfree_skb when skb is toobig
   3b5d512831af xfrm: Validate address prefix lengths in the xfrm selector.
   e7405910ca55 Linux 4.14.78
   6edd85a7870a IB/hfi1: Fix destroy_qp hang after a link down
   4d5af836674f i2c: rcar: handle RXDMA HW behaviour on Gen3
   faf578e3593e drm/i915/glk: Add Quirk for GLK NUC HDMI port issues.
   2a797fd8f8ae mm: disallow mappings that conflict for devm_memremap_pages()
   8e6173c12467 staging: ccree: check DMA pool buf !NULL before free
   61377bc80861 drm/i915: Nuke the LVDS lid notifier
   e896a2adba93 HID: quirks: fix support for Apple Magic Keyboards
   7b9f716d5550 ARC: build: Don't set CROSS_COMPILE in arch's Makefile
   b6d06b180ff8 ARC: build: Get rid of toolchain check
   541500abfe9e mremap: properly flush TLB before releasing the page
   f473bf921696 Revert "vfs: fix freeze protection in mnt_want_write_file() for overlayfs"
   e261faa2eccb powerpc/lib/feature-fixups: use raw_patch_instruction()
   f78ae314c6e3 iommu/amd: Return devid as alias for ACPI HID devices
   62c15d061f5f powerpc/tm: Avoid possible userspace r1 corruption on reclaim
   256707d3b89b powerpc/tm: Fix userspace r13 corruption
   4f5dbf26a1bd clocksource/drivers/fttmr010: Fix set_next_event handler
   f75ad0441a0a net/mlx4: Use cpumask_available for eq->affinity_mask
   4c0e2e4a4b54 scsi: sd: don't crash the host on invalid commands
   b6b5bc245dc2 scsi: ipr: System hung while dlpar adding primary ipr adapter back
   26377fe2f7b0 drm: mali-dp: Call drm_crtc_vblank_reset on device init
   940d35f3a572 PCI: dwc: Fix scheduling while atomic issues
   48047b847808 ravb: do not write 1 to reserved bits
   997cdc46f436 net: emac: fix fixed-link setup for the RTL8363SB switch
   1c22d2cbd9f2 Input: atakbd - fix Atari CapsLock behaviour
   8b8ab47a093d Input: atakbd - fix Atari keymap
   2b8b339c53d2 intel_th: pci: Add Ice Lake PCH support
   3353c04dd4d7 scsi: ibmvscsis: Ensure partition name is properly NUL terminated
   40e49c155313 scsi: ibmvscsis: Fix a stringop-overflow warning
   89450e431a63 clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs
   498c536f5931 batman-adv: fix hardif_neigh refcount on queue_work() failure
   3e9f714fb58b batman-adv: fix backbone_gw refcount on queue_work() failure
   2b1c4897f256 batman-adv: Prevent duplicated tvlv handler
   b46fd722b7bc batman-adv: Prevent duplicated global TT entry
   2a544b2da44b batman-adv: Prevent duplicated softif_vlan entry
   18733cfe4126 batman-adv: Prevent duplicated nc_node entry
   3b38bed3304d batman-adv: Prevent duplicated gateway_node entry
   c553f7e514b9 batman-adv: Fix segfault when writing to sysfs elp_interval
   acdaf28d8cf5 batman-adv: Fix segfault when writing to throughput_override
   fa04cc5e7b81 batman-adv: Avoid probe ELP information leak
   88be243901ff media: af9035: prevent buffer overflow on write
   8263087bf627 Linux 4.14.77
   d0c9f9f9fb44 perf tools: Fix snprint warnings for gcc 8
   57bff812c4e2 ARM: spectre-v1: mitigate user accesses
   4a1948d692f1 ARM: spectre-v1: use get_user() for __get_user()
   f64824a3d475 ARM: use __inttype() in get_user()
   70b96be10d15 ARM: oabi-compat: copy semops using __copy_from_user()
   38752f417487 ARM: vfp: use __copy_from_user() when restoring VFP state
   faac72dc9150 ARM: signal: copy registers using __copy_from_user()
   b690ec0dc735 ARM: spectre-v1: fix syscall entry
   4186f7cfa1d6 ARM: spectre-v1: add array_index_mask_nospec() implementation
   f6909113ad1f ARM: spectre-v1: add speculation barrier (csdb) macros
   e7fc401a8800 ARM: KVM: report support for SMCCC_ARCH_WORKAROUND_1
   8502541ee216 ARM: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling
   ee4e537d3aa1 ARM: spectre-v2: KVM: invalidate icache on guest exit for Brahma B15
   1df9a0a8201b ARM: KVM: invalidate icache on guest exit for Cortex-A15
   75e48eff8aae ARM: KVM: invalidate BTB on guest exit for Cortex-A12/A17
   6d75fe7ed2f6 ARM: spectre-v2: warn about incorrect context switching functions
   510155b2d95b ARM: spectre-v2: add firmware based hardening
   5ab8c6e8879c ARM: spectre-v2: harden user aborts in kernel space
   81b215a5b80b ARM: spectre-v2: add Cortex A8 and A15 validation of the IBE bit
   3e52aff79d5e ARM: spectre-v2: harden branch predictor on context switches
   c0f64070a310 ARM: spectre: add Kconfig symbol for CPUs vulnerable to Spectre
   0d5360ee15e9 ARM: bugs: add support for per-processor bug checking
   c7825c277bad ARM: bugs: hook processor bug checking into SMP and suspend paths
   9a42b70744b1 ARM: bugs: prepare processor bug infrastructure
   1789de335428 ARM: add more CPU part numbers for Cortex and Brahma B15 CPUs
   d62b8ac8cd54 mm: don't show nr_indirectly_reclaimable in /proc/vmstat
   5de69d648a09 mm: treat indirectly reclaimable memory as free in overcommit logic
   6d7942377c88 dcache: account external names as indirectly reclaimable memory
   dc09a5b68d83 mm: treat indirectly reclaimable memory as available in MemAvailable
   c605894c84b9 mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES
   7a4f9efdb213 xhci: Don't print a warning when setting link state for disabled ports
   74a960430a8d i2c: i2c-scmi: fix for i2c_smbus_write_block_data
   1b7ff5208d2f mm: Preserve _PAGE_DEVMAP across mprotect() calls
   68ba0bdfe494 mm/thp: fix call to mmu_notifier in set_pmd_migration_entry() v2
   3e6275d940a4 arm64: perf: Reject stand-alone CHAIN events for PMUv3
   b3e4b3c70a0a pinctrl: mcp23s08: fix irq and irqchip setup order
   d5833a50c6a3 mmc: block: avoid multiblock reads for the last sector in SPI mode
   bc183079ddfd cgroup: Fix dom_cgrp propagation when enabling threaded mode
   c339fab172a9 dm linear: fix linear_end_io conditional definition
   efd6537984d5 dm linear: eliminate linear_end_io call if CONFIG_DM_ZONED disabled
   261f2cba100b dm: fix report zone remapping to account for partition offset
   6c8faa19e9cc dm cache: destroy migration_cache if cache target registration failed
   8d2f62cb2d46 s390/cio: Fix how vfio-ccw checks pinned pages
   e3f725f5c46a perf script python: Fix export-to-sqlite.py sample columns
   82ac2740aa74 perf script python: Fix export-to-postgresql.py occasional failure
   54886c978397 percpu: stop leaking bitmap metadata blocks
   6c8f4babb57b mach64: detect the dot clock divider correctly on sparc
   86717a97f921 MIPS: VDSO: Always map near top of user memory
   8676e0b4a28f mm/vmstat.c: fix outdated vmstat_text
   059726864271 drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7
   e4865b46e195 x86/kvm/lapic: always disable MMIO interface in x2APIC mode
   88659387b9d5 clk: x86: Stop marking clocks as CLK_IS_CRITICAL
   ba54417f8d01 clk: x86: add "ether_clk" alias for Bay Trail / Cherry Trail
   cac34c122cf3 PCI: hv: support reporting serial number as slot information
   18918ed70db9 ARM: dts: at91: add new compatibility string for macb on sama5d3
   c77295d6fa1c net: macb: disable scatter-gather for macb on sama5d3
   3265bda5bd9f stmmac: fix valid numbers of unicast filter entries
   1826e5562516 hv_netvsc: fix schedule in RCU context
   37ca1cc8d4c0 sound: don't call skl_init_chip() to reset intel skl soc
   2af2b70c107b sound: enable interrupt after dma buffer initialization
   a5733703e38c scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()
   254cc00e53d7 scsi: iscsi: target: Don't use stack buffer for scatterlist
   5d53f0d897c3 mfd: omap-usb-host: Fix dts probe of children
   e3583d7b1bd9 Bluetooth: hci_ldisc: Free rw_semaphore on close
   bac561137155 ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER
   ad9ad950a37b ASoC: rsnd: adg: care clock-frequency size
   6d52f3e1e729 selftests: memory-hotplug: add required configs
   e121efd796c9 selftests/efivarfs: add required kernel configs
   c5f7b0d2ce9e ASoC: sigmadsp: safeload should not have lower byte limit
   c08a99325a56 ASoC: wm8804: Add ACPI support
   a15fac93a3e6 ASoC: rt5514: Fix the issue of the delay volume applied again
   c5df58138946 inet: make sure to grab rcu_read_lock before using ireq->ireq_opt
   17af5475aef3 tcp/dccp: fix lockdep issue when SYN is backlogged
   4b7b26024f52 net-ethtool: ETHTOOL_GUFO did not and should not require CAP_NET_ADMIN
   98c77f2eef29 bnxt_en: don't try to offload VLAN 'modify' action
   eb79c31aac15 nfp: avoid soft lockups under control message storm
   f578e5b34c38 bonding: fix warning message
   90a3d8afe1f4 bonding: pass link-local packets to bonding master also.
   83eb2fdd0483 net/mlx5: E-Switch, Fix out of bound access when setting vport rate
   7aa339e90994 net: aquantia: memory corruption on jumbo frames
   7ba8867fb3a7 net/mlx5e: Set vlan masks for all offloaded TC rules
   431a4fee7114 net: dsa: bcm_sf2: Fix unbind ordering
   5150140b4ea7 net/packet: fix packet drop as of virtio gso
   5e7bb38dc696 net: stmmac: Fixup the tail addr setting in xmit path
   7976e6b70ecf udp: Unbreak modules that rely on external __skb_recv_udp() availability
   49984ca4e60e tipc: fix flow control accounting for implicit connect
   66c1b9cfa07d team: Forbid enslaving team device to itself
   d63d3995d7db sctp: update dst pmtu with the correct daddr
   a8b0f004eb90 rtnl: limit IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES to 4096
   5f999abba33f rtnetlink: fix rtnl_fdb_dump() for ndmsg header
   72675512fb1a qmi_wwan: Added support for Gemalto's Cinterion ALASxx WWAN interface
   0d5b9edea995 qlcnic: fix Tx descriptor corruption on 82xx devices
   133aea0f2108 net/usb: cancel pending work when unbinding smsc75xx
   3e80ad8cbf22 net: systemport: Fix wake-up interrupt race during resume
   d9057423312e net: sched: Add policy validation for tc attributes
   85ebbc5a2543 net: mvpp2: fix a txq_done race condition
   d9bf6699aee8 net: mvpp2: Extract the correct ethtype from the skb for tx csum offload
   19c5e73c745c netlabel: check for IPV4MASK in addrinfo_get
   335c37612f9f net/ipv6: Display all addresses in output of /proc/net/if_inet6
   9b4869cf385a net: ipv4: update fnhe_pmtu when first hop's MTU changes
   6c61dae979ae net: hns: fix for unmapping problem when SMMU is on
   8193b775247a net: dsa: bcm_sf2: Call setup during switch resume
   48c14f2ea5c5 ipv6: take rcu lock in rawv6_send_hdrinc()
   32b193216e18 ipv4: fix use-after-free in ip_cmsg_recv_dstaddr()
   deb33b68f40e ip_tunnel: be careful when accessing the inner header
   18bf9a724362 ip6_tunnel: be careful when accessing the inner header
   94402f23659f bonding: avoid possible dead-lock
   e73b51a995ac bnxt_en: free hwrm resources, if driver probe fails.
   67d1ee6c7b76 bnxt_en: Fix TX timeout during netpoll.

(From OE-Core rev: 01a2f1ca3d06f0b2a4eb1cf4c8450352031296ff)

(From OE-Core rev: 849a3549fbf72343248094c043602a926155b38e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
7171e8dcfc linux-yocto/4.18: update to v4.18.17
Integrating the korg -stable updates that comprise the following
commits:

   2237effd7edc Linux 4.18.17
   1757ec69500e net: bridge: remove ipv6 zero address check in mcast queries
   2ec673dbb0cd sparc: Throttle perf events properly.
   12176be9fc14 sparc: Fix syscall fallback bugs in VDSO.
   366187ea2b33 sparc: Fix single-pcr perf event counter management.
   4ce6adbc410a sparc64: Wire up compat getpeername and getsockname.
   a756494fb7bd sparc64: Set %l4 properly on trap return after handling signals.
   1a47e59c4471 sparc64: Make proc_id signed.
   f64ff34d414e sparc64: Make corrupted user stacks more debuggable.
   69e6b8f41fbf sparc64: Export __node_distance.
   6a84bdb84df3 mlxsw: core: Fix devlink unregister flow
   2d484ce0a878 net/mlx5: WQ, fixes for fragmented WQ buffers API
   f8e70fa84f76 net: fix pskb_trim_rcsum_slow() with odd trim offset
   4eb937395873 net: drop skb on failure in ip_check_defrag()
   dc4526d3bfeb net: bpfilter: use get_pid_task instead of pid_task
   79a6dd1cb8e3 mlxsw: spectrum_switchdev: Don't ignore deletions of learned MACs
   f235cdcf4fc4 net/smc: fix smc_buf_unuse to use the lgr pointer
   d09a8fb16103 net/mlx5: Fix memory leak when setting fpga ipsec caps
   63f8939f793b sctp: not free the new asoc when sctp_wait_for_connect returns err
   c1b1e96cffd2 sctp: fix the data size calculation in sctp_data_size
   81e31abfa81d net/ipv6: Allow onlink routes to have a device mismatch if it is the default route
   c5038b492cb1 net/sched: cls_api: add missing validation of netlink attributes
   45675e6e6344 net: sched: Fix for duplicate class dump
   11681b07d320 net: bcmgenet: Poll internal PHY for GENETv5
   b9a30ce087b4 net/mlx5: Take only bit 24-26 of wqe.pftype_wq for page fault type
   739b2449f0cf net: ipmr: fix unresolved entry dumps
   f8c96597387e openvswitch: Fix push/pop ethernet validation
   0b73d75ab52f ip6_tunnel: Fix encapsulation layout
   2f75b5a2c832 bonding: fix length of actor system
   03e00d0609eb ethtool: fix a privilege escalation bug
   e30293d0a03a virtio_net: avoid using netif_tx_disable() for serializing tx routine
   c75d697c8197 vhost: Fix Spectre V1 vulnerability
   886de7239b16 udp6: fix encap return code for resubmitting
   b3c2e8e106df tipc: fix unsafe rcu locking when accessing publication list
   721933262ef7 sctp: fix race on sctp_id2asoc
   2645237c90e7 rtnetlink: Disallow FDB configuration for non-Ethernet device
   9ae97da02a54 r8169: fix NAPI handling under high load
   6c5f9c2de021 net: udp: fix handling of CHECKSUM_COMPLETE packets
   cbfb26f3eb03 net: stmmac: Fix stmmac_mdio_reset() when building stmmac as modules
   a04092cebd73 net: socket: fix a missing-check bug
   ea824d70d673 net: sched: gred: pass the right attribute to gred_change_table_def()
   7344adab32c7 net/mlx5e: fix csum adjustments caused by RXFCS
   60a2c3b4a991 net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs
   4dcde3a4c5ea net: fec: don't dump RX FIFO register when not available
   cc30c16a04cb llc: set SOCK_RCU_FREE in llc_sap_add_socket()
   23b5d05d9114 ipv6: rate-limit probes for neighbourless routes
   9198d01eb02d ipv6/ndisc: Preserve IPv6 control buffer if protocol error handlers are called
   558af64846ca ipv6: mcast: fix a use-after-free in inet6_mc_check
   9801a672beb6 bridge: do not add port to router list when receives query with source 0.0.0.0
   b13411edcf71 perf tools: Disable parallelism for 'make clean'
   f1f040bf29b7 Revert "netfilter: ipv6: nf_defrag: drop skb dst before queueing"
   d496cdeede28 Revert "mm: slowly shrink slabs with a relatively small number of objects"
   4afb03f48e7e fs/fat/fatent.c: add cond_resched() to fat_count_free_clusters()
   9721f5af4d23 afs: Fix cell proc list
   9277b65e04d6 vmlinux.lds.h: Fix linker warnings about orphan .LPBX sections
   e266c397e724 vmlinux.lds.h: Fix incomplete .text.exit discards
   c4659254b987 selftests: udpgso_bench.sh explicitly requires bash
   92e648292600 selftests: rtnetlink.sh explicitly requires bash.
   941a8d0b8409 rds: RDS (tcp) hangs on sendto() to unresponding address
   87113db1242c IB/mlx5: Unmap DMA addr from HCA before IOMMU
   e14b8b11ac50 gpio: Assign gpio_irq_chip::parents to non-stack pointer
   e7579cb736ec net: ena: fix NULL dereference due to untimely napi initialization
   2abc117c9799 net: ena: fix rare bug when failed restart/resume is followed by driver removal
   b0af327d145f net: ena: fix warning in rmmod caused by double iounmap
   6be48d8274ef KVM: x86: support CONFIG_KVM_AMD=y with CONFIG_CRYPTO_DEV_CCP_DD=m
   98154205f7a9 rxrpc: Fix connection-level abort handling
   47af9661cc87 rxrpc: Only take the rwind and mtu values from latest ACK
   54776c736d41 rxrpc: Carry call state out of locked section in rxrpc_rotate_tx_window()
   e3dcbf121240 rxrpc: Don't check RXRPC_CALL_TX_LAST after calling rxrpc_rotate_tx_window()
   903fb78f7436 perf record: Use unmapped IP for inline callchain cursors
   37e241d14094 perf python: Use -Wno-redundant-decls to build with PYTHON=python3
   2b401f26406f ARM: dts: imx53-qsb: disable 1.2GHz OPP
   755b72711bbc compiler.h: Allow arch-specific asm/compiler.h
   ff78e12f6587 HID: i2c-hid: Remove RESEND_REPORT_DESCR quirk and its handling
   e911f46c0cc5 tls: Fix improper revert in zerocopy_from_iter
   2033959b7421 perf report: Don't try to map ip to invalid map
   15ea940bc3fb libertas: call into generic suspend code before turning off power
   d33c4297bac5 clk: mvebu: armada-37xx-periph: Remove unused var num_parents
   e7f8508aca5e x86/paravirt: Fix some warning messages
   3b917cecac61 mm/migrate.c: split only transparent huge pages when allocation fails
   28d6d2236564 mm/gup_benchmark: fix unsigned comparison to zero in __gup_benchmark_ioctl
   203711a8820b ocfs2: fix crash in ocfs2_duplicate_clusters_by_page()
   72c25b9bf77d yam: fix a missing-check bug
   4c8345b62cfe net: cxgb3_main: fix a missing-check bug
   3397d28b3e27 powerpc/numa: Skip onlining a offline node in kdump path
   a7af3a2ae488 be2net: don't flip hw_features when VXLANs are added/deleted
   43cb734246c0 drm/amd/display: Signal hw_done() after waiting for flip_done()
   76c84d0a2313 locking/ww_mutex: Fix runtime warning in the WW mutex selftest
   1ac18a1dbc3f Revert "serial: 8250_dw: Fix runtime PM handling"
   0cf9edba8270 RISCV: Fix end PFN for low memory
   5278d9550d4d declance: Fix continuation with the adapter identification message
   c770ce978ac2 net: fec: fix rare tx timeout
   5613fc70844b thunderbolt: Initialize after IOMMUs
   1699207e9c7c thunderbolt: Do not handle ICM events after domain is stopped
   14ad1e0af45f perf/x86/amd/uncore: Set ThreadMask and SliceMask for L3 Cache perf events
   9f1aaaae92ff perf/x86/intel/uncore: Fix PCI BDF address of M3UPI on SKX
   8764955cc03e perf/ring_buffer: Prevent concurent ring buffer access
   3617d16a5744 perf/x86/intel/uncore: Use boot_cpu_data.phys_proc_id instead of hardcorded physical package ID 0
   d318ef466d5f perf/core: Fix perf_pmu_unregister() locking
   2f56f220a61e KVM: nVMX: Fix emulation of VM_ENTRY_LOAD_BNDCFGS
   3c81fff77cfd KVM: x86: Do not use kvm_x86_ops->mpx_supported() directly
   82ba86c25383 KVM: nVMX: Do not expose MPX VMX controls when guest MPX disabled
   2dbf48f8ffb3 cfg80211: fix use-after-free in reg_process_hint()
   9069c847f3fe smsc95xx: Check for Wake-on-LAN modes
   4f1268db2975 smsc75xx: Check for Wake-on-LAN modes
   e3935fa141b8 r8152: Check for supported Wake-on-LAN Modes
   e8f4ce7df75e sr9800: Check for supported Wake-on-LAN modes
   35c636108bc4 lan78xx: Check for supported Wake-on-LAN modes
   58d2f3f743a1 ax88179_178a: Check for supported Wake-on-LAN modes
   afc7b1940200 asix: Check for supported Wake-on-LAN modes
   723b7d86877d netfilter: avoid erronous array bounds warning
   8d3156b3c109 netfilter: nft_set_rbtree: add missing rb_erase() in GC routine
   18cb92701a5d rxrpc: Fix error distribution
   4ca2cf672c5b rxrpc: Fix transport sockopts to get IPv4 errors on an IPv6 socket
   1a75026c857a rxrpc: Fix RTT gathering
   6a14d1c9336f rxrpc: Fix checks as to whether we should set up a new call
   605c374d8d70 scsi: qedi: Initialize the stats mutex lock
   aa1945964a7c nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
   7a9bda693628 qed: Avoid implicit enum conversion in qed_iwarp_parse_rx_pkt
   d627d3b8bed3 qed: Avoid constant logical operation warning in qed_vf_pf_acquire
   02e2aef498f7 qed: Avoid implicit enum conversion in qed_roce_mode_to_flavor
   b65e69499980 qed: Fix mask parameter in qed_vf_prep_tunn_req_tlv
   a2b1a38ad02b qed: Avoid implicit enum conversion in qed_set_tunn_cls_info
   b9e005da34ff pxa168fb: prepare the clock
   6c2222c8f039 Bluetooth: SMP: fix crash in unpairing
   68fd462426c4 mac80211_hwsim: do not omit multicast announce of first added radio
   5b79f65376d3 mac80211_hwsim: fix race in radio destruction from netlink notifier
   a245a12394fe mac80211_hwsim: fix locking when iterating radios during ns exit
   de835e3911a3 nl80211: Fix possible Spectre-v1 for NL80211_TXRATE_HT
   4417f9e05c28 soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()
   d87e83a55f4b soc: fsl: qbman: qman: avoid allocating from non existing gen_pool
   da5e35d2f776 net: macb: Clean 64b dma addresses if they are not detected
   5499ce65ff9c ARM: dts: BCM63xx: Fix incorrect interrupt specifiers
   a958dc5482c1 arm64: hugetlb: Fix handling of young ptes
   eaab185b06cd netfilter: conntrack: get rid of double sizeof
   044c43754741 netfilter: bridge: Don't sabotage nf_hook calls from an l3mdev
   6b7174a50fb2 drm/i2c: tda9950: set MAX_RETRIES for errors only
   4abac4cf573a drm/i2c: tda9950: fix timeout counter check
   9981ca44ae4b xfrm: validate template mode
   3dc70478360e ARM: 8799/1: mm: fix pci_ioremap_io() offset check
   c473a489d409 xfrm: Fix NULL pointer dereference when skb_dst_force clears the dst_entry.
   53d617654c50 mac80211: fix TX status reporting for ieee80211s
   fd6b693e1d94 mac80211: TDLS: fix skb queue/priority assignment
   a9489521a39c cfg80211: Address some corner cases in scan result channel updating
   2c4739102f0e mac80211: fix pending queue hang due to TX_DROP
   2953d28476c3 cfg80211: reg: Init wiphy_idx in regulatory_hint_core()
   e20c2a6a7144 mac80211: Always report TX status
   c3767729df27 xfrm: reset crypto_done when iterating over multiple input xfrms
   fdb06c787b34 xfrm: reset transport header back to network header after all input transforms ahave been applied
   401979de6e8b xfrm6: call kfree_skb when skb is toobig
   36ad133bf987 xfrm: Validate address prefix lengths in the xfrm selector.
   6b3252287aa2 Linux 4.18.16
   645ad2d5cccc ARC: build: Don't set CROSS_COMPILE in arch's Makefile
   dfed0698a22e ARC: build: Get rid of toolchain check
   d80183541e60 mremap: properly flush TLB before releasing the page
   94d2da5ba1dd Revert "vfs: fix freeze protection in mnt_want_write_file() for overlayfs"
   7fde798123ef x86/boot: Fix kexec booting failure in the SEV bit detection code
   44e564aa4525 iommu/amd: Return devid as alias for ACPI HID devices
   0e963ecefb72 powerpc/numa: Use associativity if VPHN hcall is successful
   4a079f0a5398 powerpc/tm: Avoid possible userspace r1 corruption on reclaim
   8725b910e72d powerpc/tm: Fix userspace r13 corruption
   b0b901600550 pinctrl/amd: poll InterruptEnable bits in amd_gpio_irq_set_type
   0fe04d27b5e3 iommu/rockchip: Free irqs in shutdown handler
   1e23af485f89 RISC-V: include linux/ftrace.h in asm-prototypes.h
   086906d90bae RDMA/bnxt_re: Fix system crash during RDMA resource initialization
   87e75317fe81 clocksource/drivers/fttmr010: Fix set_next_event handler
   323ad7436184 net/mlx4: Use cpumask_available for eq->affinity_mask
   bcb2acdf27b3 bpf: test_maps, only support ESTABLISHED socks
   19e43942cbb7 bpf: sockmap, fix transition through disconnect without close
   60c302b7aea5 bpf: sockmap only allow ESTABLISHED sock state
   019a15f9bd44 scsi: sd: don't crash the host on invalid commands
   6dba1e338b6e scsi: ipr: System hung while dlpar adding primary ipr adapter back
   ce32caf41e53 drm: mali-dp: Call drm_crtc_vblank_reset on device init
   fab5471586f4 scsi: lpfc: Synchronize access to remoteport via rport
   7dc74b2622c2 RDMA/uverbs: Fix validity check for modify QP
   2c93f6f118ad PCI: dwc: Fix scheduling while atomic issues
   1093a05b5828 qed: Do not add VLAN 0 tag to untagged frames in multi-function mode.
   c23f22169cac qed: Fix populating the invalid stag value in multi function mode.
   9bdac39234d0 net/smc: fix sizeof to int comparison
   4b238ea05476 net/smc: fix non-blocking connect problem
   6b7d727a2d18 ravb: do not write 1 to reserved bits
   14bbe1ab20ac net: emac: fix fixed-link setup for the RTL8363SB switch
   66acb86c0905 selftests: pmtu: properly redirect stderr to /dev/null
   6a08cbb10aac Input: atakbd - fix Atari CapsLock behaviour
   ef17628c07da Input: atakbd - fix Atari keymap
   462809659a39 intel_th: pci: Add Ice Lake PCH support
   ee43eeb4d1b9 scsi: ibmvscsis: Ensure partition name is properly NUL terminated
   10ad9dcade4b scsi: ibmvscsis: Fix a stringop-overflow warning
   bb59249268cf clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs
   385ce0611598 cxgb4: fix abort_req_rss6 struct
   413baacefef9 batman-adv: fix hardif_neigh refcount on queue_work() failure
   04125a63ea54 batman-adv: fix backbone_gw refcount on queue_work() failure
   39b0e1c4c79f batman-adv: Prevent duplicated tvlv handler
   c25ae7c479af batman-adv: Prevent duplicated global TT entry
   71d6d75e5801 batman-adv: Prevent duplicated softif_vlan entry
   2d1749b0fab0 batman-adv: Prevent duplicated nc_node entry
   d8ed2b187456 batman-adv: Prevent duplicated gateway_node entry
   eddab21dd463 batman-adv: Fix segfault when writing to sysfs elp_interval
   54231bb59a9a batman-adv: Fix segfault when writing to throughput_override
   52406f34bbb6 batman-adv: Avoid probe ELP information leak
   26c0bac0c117 spi: gpio: Fix copy-and-paste error
   affb1840c578 media: af9035: prevent buffer overflow on write
   1228a75335e0 soundwire: Fix acquiring bus lock twice during master release
   ad9107d7e1c7 soundwire: Fix incorrect exit after configuring stream
   b1bafbe4ff2d soundwire: Fix duplicate stream state assignment
   2724bf10255a Linux 4.18.15
   4a15f8a1de59 KVM: PPC: Book3S HV: Avoid crash from THP collapse during radix page fault
   726c11216e33 i2c: i2c-scmi: fix for i2c_smbus_write_block_data
   a249cdf8fc74 mm: Preserve _PAGE_DEVMAP across mprotect() calls
   7230bb7c98c1 filesystem-dax: Fix dax_layout_busy_page() livelock
   3c3bb028a3b7 mm/thp: fix call to mmu_notifier in set_pmd_migration_entry() v2
   ffa4d6624e1a mm/mmap.c: don't clobber partially overlapping VMA with MAP_FIXED_NOREPLACE
   53abe5164894 arm64: perf: Reject stand-alone CHAIN events for PMUv3
   59d9c7cba4ba pinctrl: mcp23s08: fix irq and irqchip setup order
   3df1331f63cd mmc: block: avoid multiblock reads for the last sector in SPI mode
   7088776eb06a drm/nouveau/drm/nouveau: Grab runtime PM ref in nv50_mstc_detect()
   ca45da09bc32 Input: xpad - add support for Xbox1 PDP Camo series gamepad
   d8408e8fc720 cgroup: Fix dom_cgrp propagation when enabling threaded mode
   012e6bceab53 dm linear: fix linear_end_io conditional definition
   996a427d8683 dm linear: eliminate linear_end_io call if CONFIG_DM_ZONED disabled
   689ba84574c2 dm: fix report zone remapping to account for partition offset
   e725141c0f4e dm cache: destroy migration_cache if cache target registration failed
   d8e15b143e4d s390/cio: Fix how vfio-ccw checks pinned pages
   b51943f088e5 perf script python: Fix export-to-sqlite.py sample columns
   cfb08fb1815f perf script python: Fix export-to-postgresql.py occasional failure
   37e64cb69f0f percpu: stop leaking bitmap metadata blocks
   71cfcc667ffa vsprintf: Fix off-by-one bug in bstr_printf() processing dereferenced pointers
   254754169d9d mach64: detect the dot clock divider correctly on sparc
   e4882348eaa9 MIPS: VDSO: Always map near top of user memory
   baa63c6a5b11 MIPS: Fix CONFIG_CMDLINE handling
   84a397478153 afs: Fix clearance of reply
   b28b1a5f8653 afs: Fix afs_server struct leak
   04473bb7793b mm/vmstat.c: fix outdated vmstat_text
   62aad93f09c1 mm: slowly shrink slabs with a relatively small number of objects
   3792c002b9ff drm/amdkfd: Fix ATS capablity was not reported correctly on some APUs
   c2fd5b21cbd9 drm/amdkfd: Change the control stack MTYPE from UC to NC on GFX9
   2d3966dd95dc drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7
   1c9f357d3ebb x86/kvm/lapic: always disable MMIO interface in x2APIC mode
   5d85d4e0e105 pinctrl: cannonlake: Fix gpio base for GPP-E
   9f8318a1c50c clk: x86: Stop marking clocks as CLK_IS_CRITICAL
   81b8b9dffca8 clk: x86: add "ether_clk" alias for Bay Trail / Cherry Trail
   b25a8dd9895b PCI: hv: support reporting serial number as slot information
   aed5429279f8 ARM: dts: at91: add new compatibility string for macb on sama5d3
   ee62a5d3ea8a net: macb: disable scatter-gather for macb on sama5d3
   53035808c294 net: ethernet: ti: add missing GENERIC_ALLOCATOR dependency
   8be050c4011b hwmon: (nct6775) Use different register to get fan RPM for fan7
   1d753e689276 stmmac: fix valid numbers of unicast filter entries
   d8eeee24ced8 hwmon: (nct6775) Fix RPM output for fan7 on NCT6796D
   510dc356ff2c hwmon: (nct6775) Fix virtual temperature sources for NCT6796D
   4dc76c13f297 bpf: use __GFP_COMP while allocating page
   d2440a0b0672 bpf: btf: Fix end boundary calculation for type section
   aeaca3563bea sound: don't call skl_init_chip() to reset intel skl soc
   9761976f8e01 sound: enable interrupt after dma buffer initialization
   a1d77f9cd10a scsi: qla2xxx: Fix an endian bug in fcpcmd_is_corrupted()
   9ac4572a7374 scsi: iscsi: target: Don't use stack buffer for scatterlist
   970f5df113b1 KVM: PPC: Book3S HV: Don't use compound_order to determine host mapping size
   ba73c6ed5010 mfd: omap-usb-host: Fix dts probe of children
   e7c4c41389ff Bluetooth: hci_ldisc: Free rw_semaphore on close
   0d95a3d1fcf6 Bluetooth: Use correct tfm to generate OOB data
   3194c412f471 Bluetooth: SMP: Fix trying to use non-existent local OOB data
   5421ce8b59bc drm/pl111: Make sure of_device_id tables are NULL terminated
   d0200873bc9c ASoC: AMD: Ensure reset bit is cleared before configuring
   5d1a5a5eed92 Fix cg_read_strcmp()
   636dd4536009 hwmon: (nct6775) Fix access to fan pulse registers
   59fcb2491ca0 ASoC: rsnd: don't fallback to PIO mode when -EPROBE_DEFER
   ee3953f7b81c ASoC: rsnd: adg: care clock-frequency size
   b7bad669da54 selftests: memory-hotplug: add required configs
   9a90b9e380c5 selftests/efivarfs: add required kernel configs
   40299ec565fa selftests: add headers_install to lib.mk
   36a89768d19f ASoC: q6routing: initialize data correctly
   64458ca97124 ASoC: sigmadsp: safeload should not have lower byte limit
   4a7f15b6d5fa ASoC: wm8804: Add ACPI support
   55261a2cddb5 ASoC: max98373: Added 10ms sleep after amp software reset
   686da99baa28 selftests: kselftest: Remove outdated comment
   6a4d1b70e323 selftests: android: move config up a level
   334411face5a ASoC: rt5514: Fix the issue of the delay volume applied again
   e4c577698c7c ASoC: max98373: Added speaker FS gain cotnrol register to volatile.
   6e6b32ed0413 ASoC: dapm: Fix NULL pointer deference on CODEC to CODEC DAIs
   ffac8fa2bee5 vxlan: fill ttl inherit info
   241e5a13a5ad r8169: set RX_MULTI_EN bit in RxConfig for 8168F-family chips
   87441df1e19e r8169: fix network stalls due to missing bit TXCFG_AUTO_FIFO
   761ea5beff71 qed: Fix shmem structure inconsistency between driver and the mfw.
   6133d8e499e6 net: mscc: fix the frame extraction into the skb
   d29a558b56ee net/ipv6: stop leaking percpu memory in fib6 info
   e3827b9bc3ba net/ipv6: Remove extra call to ip6_convert_metrics for multipath case
   47049f54f89d bnxt_en: get the reduced max_irqs by the ones used by RDMA
   dce53396b52d bnxt_en: Fix enables field in HWRM_QUEUE_COS2BW_CFG request
   23631aa634ef net/mlx5: Check for SQ and not RQ state when modifying hairpin SQ
   6691a126ed63 net: ipv4: don't let PMTU updates increase route MTU
   530a9463cbe6 bnxt_en: Fix VNIC reservations on the PF.
   5d4fe8e6344b rtnetlink: Fail dump if target netnsid is invalid
   36298c66d8dc net: dsa: b53: Keep CPU port as tagged in all VLANs
   efef3f2073d1 inet: make sure to grab rcu_read_lock before using ireq->ireq_opt
   9fd4b0122ac3 tcp/dccp: fix lockdep issue when SYN is backlogged
   54d72415f8b2 sfp: fix oops with ethtool -m
   24205e4e62dd net: phy: phylink: fix SFP interface autodetection
   37b309773a67 net-ethtool: ETHTOOL_GUFO did not and should not require CAP_NET_ADMIN
   2402fbb7aa01 bnxt_en: don't try to offload VLAN 'modify' action
   f219cd971281 nfp: avoid soft lockups under control message storm
   2b4588d75b89 net: stmmac: Rework coalesce timer and fix multi-queue races
   8f389cd37d10 bonding: fix warning message
   5fb48fe95e41 bonding: pass link-local packets to bonding master also.
   92a2a40c876f net/mlx5: E-Switch, Fix out of bound access when setting vport rate
   02e16d375ee6 net: aquantia: memory corruption on jumbo frames
   6db3fc2839be net/mlx5e: Set vlan masks for all offloaded TC rules
   42296a164196 net: dsa: bcm_sf2: Fix unbind ordering
   53afeb0b222b net/packet: fix packet drop as of virtio gso
   75ebeb2e6a60 net: stmmac: Fixup the tail addr setting in xmit path
   0c5eff9c2cf2 tun: napi flags belong to tfile
   d013c6b952f0 tun: initialize napi_mutex unconditionally
   7d96410f397b tun: remove unused parameters
   095a5309c6c6 net: qualcomm: rmnet: Fix incorrect allocation flag in receive path
   9db5df4c92dd net: qualcomm: rmnet: Fix incorrect allocation flag in transmit
   3283c92e91f7 net: qualcomm: rmnet: Skip processing loopback packets
   3ab83c6a1fb4 udp: Unbreak modules that rely on external __skb_recv_udp() availability
   4f6017d6ef53 tipc: fix flow control accounting for implicit connect
   0240ca1b11d3 team: Forbid enslaving team device to itself
   375c63d4a70c sctp: update dst pmtu with the correct daddr
   2ac4b03c0fcc rtnl: limit IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES to 4096
   5369306f960f rtnetlink: fix rtnl_fdb_dump() for ndmsg header
   7f4a4fa5fa58 qmi_wwan: Added support for Gemalto's Cinterion ALASxx WWAN interface
   cbf2e16dd724 qlcnic: fix Tx descriptor corruption on 82xx devices
   0993dc028ed2 net/usb: cancel pending work when unbinding smsc75xx
   a308452e12c0 net: systemport: Fix wake-up interrupt race during resume
   6da1bd2d008f net: sched: cls_u32: fix hnode refcounting
   57ad6586fd57 net: sched: Add policy validation for tc attributes
   94d93e549eb1 net: mvpp2: fix a txq_done race condition
   ac521a40054c net: mvpp2: Extract the correct ethtype from the skb for tx csum offload
   dbbae2c07809 netlabel: check for IPV4MASK in addrinfo_get
   e4a00db35924 net/ipv6: Display all addresses in output of /proc/net/if_inet6
   ff34695ced21 net: ipv4: update fnhe_pmtu when first hop's MTU changes
   87d57bb87dd8 net: hns: fix for unmapping problem when SMMU is on
   1ae21378ab43 net: dsa: bcm_sf2: Call setup during switch resume
   08e8e22b6d3a ipv6: take rcu lock in rawv6_send_hdrinc()
   18ea575f665d ipv4: fix use-after-free in ip_cmsg_recv_dstaddr()
   fa111ec2d2c5 ip_tunnel: be careful when accessing the inner header
   84b262a5a008 ip6_tunnel: be careful when accessing the inner header
   1b420a9999f0 bonding: avoid possible dead-lock
   2fc26dfba49d bnxt_en: free hwrm resources, if driver probe fails.
   f462adcb0638 bnxt_en: Fix TX timeout during netpoll.

(From OE-Core rev: 9c7770cf622571b7e8ba0f3447323bcf777b5486)

(From OE-Core rev: e778de28d83637c08e538f42fb24acbe8cb24d4b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
e662a84379 linux-yocto/4.18: bug fixes and configuration tweaks
Integrating the following commits:

  2ba9a28434f8 netfilter: use kvmalloc_array to allocate memory for hashtable
  6e1fae5d233a ipv4: net namespace does not inherit network configurations

As well as the following configuration changes:

  ed1978c99214 features/module-signing: add new feature
  a28fd4843381 edac: Drop CONFIG_EDAC_MM_EDAC and add dependency
  8ae63963256e xfs: add xfs support

(From OE-Core rev: d88ce948ff2c910e796b78be388bec9578f6eb9c)

(From OE-Core rev: 13aa70bbcd508816dd9452a86afd2e198bc1841d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
5114d69d95 linux-yocto/tiny: restore qemuarm support
qemuarm-tiny support was added to the 4.15 linux-yocto kernel, and
was incorrectly dropped from 4.18.

This restores the support for out of the box builds in 4.18+.

(From OE-Core rev: bd066bf4aa47b6ca37fbeb4ac4909d75a8a1e285)

(From OE-Core rev: 4d84095d30e7b2c525622b4bc01226306833a8a7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
0e75cee6fb linux-yocto/tiny: switch default branch to standard/tiny/base
The default KBRANCH for building -tiny should not be machine specific.
In fact, the SRCREVs that have been in place for -tiny have been using
the hashes from tiny/base for some time, but since the machine specific
branches all contain that hash, the mismatch hasn't been spotted.

Setting the default branch to standard/tiny/base makes sure that the
default branch and SRCREVs always match.

(From OE-Core rev: dc11aab60e7561d764c56808277b47e7bb40c6c0)

(From OE-Core rev: 7e11000c348175aabc60cf65d07e61b24d24d396)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
18ac0e2cee linux-yocto/4.18: -rt sync and config cleanups
Integrating the following -rt patches:

  cab37ca8426b rt: update localversion to match latest content
  186274b2b6dc tty: serial: pl011: explicitly initialize the flags variable
  ac121b7124a0 mm/kasan: make quarantine_lock a raw_spinlock_t
  6100773500e7 watchdog: prevent deferral of watchdogd wakeup on RT
  ce594291c4eb kthread: convert worker lock to raw spinlock

And the following configuration tweaks:

  e39413ec2bdd sound.cfg: enable SND_SOC_INTEL_SKYLAKE

(From OE-Core rev: a757e0638e8411fe6b4c58f3840ee27d49feb97e)

(From OE-Core rev: f2a881c7db339166f8fd5f21db38b7d30fbf3ec4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
7f3ee480cd linux-yocto/4.14: configuration cleanups
Integrating the following configuration cleanups/tweaks:

 19c174f547e6 sound.cfg: enable SND_SOC_INTEL_SKYLAKE explicitly

(From OE-Core rev: bd754dbf1f0c8ba7a77e720cbc30232712ee34e0)

(From OE-Core rev: f0dba9b17492b45f9362b2f37bd08f45eb160f4d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Bruce Ashfield
d4326022ba linux-yocto: remove obselete options from lxc config
The lxc config fragments have some options that are no long valid. So we
can safely drop them.

  721f3cfcb199 lxc: drop CONFIG_MM_OWNER
  3b5f717d0311 vfio: drop CONFIG_KVM_DEVICE_ASSIGNMENT

(From OE-Core rev: b7ddaeab2c48b68e2be24c8f810ac9e84c6bb171)

(From OE-Core rev: 4dd28e8426abcd8520bcecdac13fed655a3c6d17)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Eric Chanudet
910cdcc764 licence: Add license file CC-BY-SA-4.0
Original legalcode.txt:
https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt

(From OE-Core rev: fa06fcce7942f5960178dcdeb61a7b659f7f8207)

(From OE-Core rev: 7e53f67d2d94d6811aa9d6fa078ea3fbeddb708c)

Signed-off-by: Eric Chanudet <chanudete@ainfosec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Ross Burton
14c767243b piglit: add missing waffle-bin dependency
The sanity test uses wflinfo, so depend on waffle-bin.

(From OE-Core rev: 0f5c8ce010a296904f767f38e262eef251417c4e)

(From OE-Core rev: 75e8193ae708e5dba9888e098c05c6435a77cc2e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Ross Burton
c8e72df9f1 binconfig: only try to mangles files
If a file matches the glob that is an absolute symlink then sed will try to
alter files on the host, so restrict the search to just actual files.

(From OE-Core rev: 5556b5ca9efac132754bd82af52a0f68bc4ce85a)

(From OE-Core rev: 3d148218387e968dbf2d3d587329b37d22d7d19e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Alexander Kanavin
e09515d282 libc-package: fix postinst error when ENABLE_BINARY_LOCALE_GENERATION = "0"
[YOCTO #13028]

(From OE-Core rev: f630da64b010795482e013362c3fe184dcbd8d25)

(From OE-Core rev: 29759c2c3b4d97c835740a7f233b8e8f7b4570a1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Alejandro Enedino Hernandez Samaniego
8bfb94cc9f python: Adds instructions to the manifest file
While there is a bit of documentation regarding building a new
manifest file for python, it seems that users usually only read
the manifest file.

The manifest file is in JSON format which doesn't allow comments,
hence why instructions were initially put elsewhere.

This patch hacks the call to open the JSON manifest file by using a
marker to trick it into reading only part of the file as the manifest
itself, and keep the other part as comments, which contain instructions
for the user to run the create_manifest task after an upgrade or
when adding a new package.

(From OE-Core rev: 5641a24a70b54544012c04c6a082514d9a5aa49a)

(From OE-Core rev: 3050a4c634da74eba53380bf23de515ed651bc03)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Ross Burton
72c040ef58 libtasn1: no need to inherit binconfig
This recipe doesn't ship a *-config binary, so don't inherit binconfig.

(From OE-Core rev: 8b7d74aa7bb73daf84593fafde3eef4595918b63)

(From OE-Core rev: 8fd1b5fb464a3b72c94dffb3535e244b72c18b02)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Ross Burton
f3205c7e24 image_types: use cpio-native to build cpio images
As per the previous commit, upstream cpio has a bug which means it crashes on
append. If the image being built has already had testimage ran then cpio-native
will be in the sysroot.  It's also possible that some distributions are shipping
this broken CVE patch too.

Now that our cpio-native is fixed, until we can be sure that the host cpio isn't
broken depend on cpio-native if building a cpio image.

[ YOCTO #13042 ]

(From OE-Core rev: c3b9aedcbe538d7fa74bd814644b4899769dec46)

(From OE-Core rev: a75eba71145efa1c3d206c5e5c00608a50f013bc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Ross Burton
cfee41c482 cpio: fix crash when appending to archives
The upstream fix for CVE-2016-2037 introduced a read from uninitialized memory
bug when appending to an existing archive, which is an operation we perform when
building an image.

(From OE-Core rev: 046e3e1fca925febf47b3fdd5d4e9ee2e1fad868)

(From OE-Core rev: 2ff6ab2e2944c6a53523b4b1611e1d22f6393500)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Richard Purdie
f5a6daefa7 meta-selftest/error: Cleanup large trailing whitespace
(From OE-Core rev: 0772b6de9dfbb276845c0a08ebcce41896b8056e)

(From OE-Core rev: 9037102e38e55a47102660daa274db544a79463f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Mingli Yu
06558e8263 nspr: improve reproducibility
Remove _BUILD_STRING and _BUILD_TIME in _pl_bld.h
to avoid introducing timestamp in the .so library
such as libnspr4.so as below:
 $ readelf --wide --decompress --hex-dump=.rodata libnspr4.so
 [snip]
  0x00004000 32303138 2d31312d 31352030 353a3439 2018-11-15 05:49
 [snip]

[YOCTO #12639]

(From OE-Core rev: a3ca6272845c33f48430210470f133034ad8399d)

(From OE-Core rev: af18be423ead8a5aabf29dcf2fa5fcb874edd24d)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Hongxu Jia
19627f0f0f ghostscript: 9.25 -> 9.26
- Drop backported CVE fixes
  000[1-8]*.patch

(From OE-Core rev: f30bd6bf01dbf81f0872382be44d507fb981f953)

(From OE-Core rev: c62b64e771eb27089738a153ee61d34cdf6441ab)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Richard Purdie
cefe82c765 scripts/runqemu: Fix logic error causing failures with MACHINE from the environment
MACHINE=qemux86-64 oe-selftest -r runqemu.RunqemuTests.test_boot_machine_slirp_qcow2

fails yet

oe-selftest -r runqemu.RunqemuTests.test_boot_machine_slirp_qcow2

with MACHINE in local.conf would work.

It turns out that:

runqemu slirp wic.qcow2 qemux86-64

works but:

MACHINE=qemux86-64 runqemu slirp wic.qcow2 qemux86-64

does not.

The reason are the misplaced return statements in runqemu, its skipping a block
of logic when MACHINE is set in the environment when it shouldn't. Fix this.

(From OE-Core rev: 98d113ae52cbbc88773a81a17b0933412a8e463b)

(From OE-Core rev: bf2ae1ca01edf02a930d70e50b8e1e71f7ec2237)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
6806965405 gst-validate: upgrade 1.14.2 -> 1.14.4
(From OE-Core rev: 21387613fec1a8c142ed48d7a74d587e205b0c98)

(From OE-Core rev: 1d753f62d3e09cac92aadffc45992a04b95f0396)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
aa22459112 gstreamer1.0-python: upgrade 1.14.3 -> 1.14.4
(From OE-Core rev: 454129a0dc8eabb53753f9d416cf7271c796acf4)

(From OE-Core rev: 3f54c23c0ebed00de72d395c2718a6a86f13f3ef)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
499c3f1b18 gstreamer1.0-omx: upgrade 1.14.3 -> 1.14.4
(From OE-Core rev: 9b613f029490a3540492393206be004b649c0806)

(From OE-Core rev: 4f431f740186a2d5ab8cc0f592f6d8e908411637)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
f1273ebf04 gstreamer1.0-rtsp-server: upgrade 1.14.3 -> 1.14.4
(From OE-Core rev: 8a73dc7da63bbd3c57bde2a3733d172d784e5f46)

(From OE-Core rev: 1c010f3162cfd2047ce7e2df19423fd30aa87043)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
ca9b96c55e gstreamer1.0-vaapi: upgrade 1.14.3 -> 1.14.4
(From OE-Core rev: 9caacfe4c3ef92f3701f24ff3c924f50adb5f9de)

(From OE-Core rev: 7fbf1dbacb7a55ac5b1b34bff01f485a88a05cd0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
75edf19b26 gstreamer1.0-libav: upgrade 1.14.3 -> 1.14.4
(From OE-Core rev: 14370389a50bda84eee7b3a024709fd43fc7c5aa)

(From OE-Core rev: b6d44a2acb3ce38932f43cfe9ae72bd0501d62d8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
6ea3ee45c8 gstreamer1.0-plugins-ugly: upgrade 1.14.3 -> 1.14.4
(From OE-Core rev: d1e5c9b85f980e747c9d6c5682448e0756bd25cd)

(From OE-Core rev: 85717f65cec20275d50d88228e087d2ed4d32daf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
f0da07d5ec gstreamer1.0-plugins-bad: upgrade 1.14.3 -> 1.14.4
(From OE-Core rev: 74d9bd02f41d555317eef6b82e94f351ffc61529)

(From OE-Core rev: d91ae9f5bf03c4880510093da5fc621b95d069c9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
c85578d5c8 gstreamer1.0-plugins-good: upgrade 1.14.3 -> 1.14.4
(From OE-Core rev: adeec11d875a5603bd64b9bfb888da5cdb7631e5)

(From OE-Core rev: 76ac5c6154e0f6531b3a35ad7d460e606d54f16f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
11e16fcf37 gstreamer1.0-plugins-base: upgrade 1.14.3 -> 1.14.4
(From OE-Core rev: 868059f052547a73e428fe8d4066dc4412e29478)

(From OE-Core rev: e6aa515e0e7f70a791f032fb4a25ec9f8729b08e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
7ab39b34cf gstreamer1.0: upgrade 1.14.3 -> 1.14.4
This release only contains bugfixes and it should be safe to update from
1.14.x.

Release notes:

https://gstreamer.freedesktop.org/releases/1.14/

(From OE-Core rev: 4286f191c4b10cf5f3a14ed391902a11a9d61a09)

(From OE-Core rev: 4dbc8e765f58aa24d148b7d2cbf87f14755d412b)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Anuj Mittal
bdb6d5e51c gst-plugins-bad: add PACKAGECONFIG for msdk
gst-msdk is a plugin for Intel Media SDK. More details:

https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/msdk/README

(From OE-Core rev: c138fa26dde7fca5b366ab69bac84359ebbd0fd7)

(From OE-Core rev: aff1dc73ef17cb26eea1428b2ade0bae566711c9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Carlos Rafael Giani
e215480cff gstreamer1.0-python: upgrade to version 1.14.3
(From OE-Core rev: 750e03a231eb3bcf31c30cf67ff80a6bc821ee66)

(From OE-Core rev: 5220cda51a22536f2d64a655ffeecd756d042dc5)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Carlos Rafael Giani
a1130dca9c gstreamer1.0-omx: upgrade to version 1.14.3
(From OE-Core rev: ea4882b89500d9da8d7a731968ea7a311737f6ea)

(From OE-Core rev: cce309ad98133c30cb2ab086bad4851e9833bd84)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:43 +00:00
Carlos Rafael Giani
f193f12407 gstreamer1.0-vaapi: upgrade to version 1.14.3
(From OE-Core rev: c3d863f4f989461c61e7d61259423fe0e8202eed)

(From OE-Core rev: 70032101535a4430a1f9233ec7d730cc1ce88e28)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Carlos Rafael Giani
91c987bda1 gstreamer1.0-rtsp-server: upgrade to version 1.14.3
(From OE-Core rev: f62a87b3c6638c6da764d19133eba552f2102bae)

(From OE-Core rev: 0217240ceab31732405d452eebabf908ac1737aa)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Carlos Rafael Giani
0d7fc933c2 gstreamer1.0-libav: upgrade to version 1.14.3
(From OE-Core rev: 4508d6f0befb1b91f9cfe74b0ca84c8fb5f79da5)

(From OE-Core rev: 0bdcc3761d87137b6b706856fb135c55f5fc45f3)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Carlos Rafael Giani
2402547c97 gstreamer1.0-plugin-ugly: upgrade to version 1.14.3
(From OE-Core rev: aedec50bc8fb2ddcd1ea7cadbdd07f9d103840aa)

(From OE-Core rev: e8d3087ddd782d40ac0ea93024b4e07c58e937b5)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Carlos Rafael Giani
d488e8c03b gstreamer1.0-plugin-bad: upgrade to version 1.14.3
(From OE-Core rev: 22e124ef0b01c3aae75e8e29a3078cb42a47ae17)

(From OE-Core rev: da106910ac04d9bc215378a8b681d2286ab45755)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Carlos Rafael Giani
d28d537a54 gstreamer1.0-plugin-good: upgrade to version 1.14.3
(From OE-Core rev: 63753e9c06641025ba4711af61a4f34e2388ec72)

(From OE-Core rev: b601bde71de9270a6b64112ac128e5178004f65a)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Carlos Rafael Giani
9299827d5b gstreamer1.0-plugin-base: upgrade to version 1.14.3
(From OE-Core rev: df2a0fd27a23ece636c018d007e2dcf9343fb7a8)

(From OE-Core rev: 3396554efc6853949039090dce56bd26ec1a932c)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Carlos Rafael Giani
0fee785a13 gstreamer1.0: upgrade to version 1.14.3
(From OE-Core rev: fb840932018cb449ee96904b8a2f17e7693a5669)

(From OE-Core rev: 96442dab95a24d8716d12cf1e8fce3921a600d55)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Anuj Mittal
99c989b250 maintainers.inc: update Intel owners
(From OE-Core rev: 198fe6d08f000b3db9082b5fd4337536931719ee)

(From OE-Core rev: a7be891dde68225bd037d4ae1c9f81e6920037ce)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Adrian Freihofer
6fa338d15e devtool: fix target-deploy --strip
This is a fixup for: e1ba46109e

devtool deploy-target --strip foo root@192.168.7.2
ended up with:
Traceback (most recent call last):
  File "/home/user/bar_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/
        devtool", line 344, in <module>
   ret = main()
  File "/home/user/bar_sdk/sysroots/x86_64-pokysdk-linux/usr/bin/
        devtool", line 331, in main
    ret = args.func(args, config, basepath, workspace)
  File "/home/user/bar_sdk/layers/poky/scripts/lib/devtool/
        deploy.py", line 187, in deploy
    rd.getVar('base_libdir'))
TypeError: strip_exbar() missing 1 required positional argument: 'd'

(From OE-Core rev: bc349b2d99d74f6d7fb590fd97750e5ff8d6e6c4)

(From OE-Core rev: fc5cd4b4b17fc932b987f66cbfc002345ee694b6)

Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Kai Kang
117da4d473 multilib_script: fix packages split
In multilib_script.bbclass it renames script file which listed in
MULTILIB_SCRIPTS. It may mix up packages split. Take package curl as
example, ${bindir}/curl-config is packaged to curl-dev originally. But
it is renamed to curl-config-${MULTILIB_SUFFIX} and packaged to curl
when multilib is enabled.

And expand 'pkg' to fix QA warning:

| WARNING: Variable key FILES_${PN}-dev (
| ${bindir}/curl-config-${MULTILIB_SUFFIX}) replaces original key
| FILES_curl-dev (${includedir} ${FILES_SOLIBSDEV} ... ${bindir}/*-config)

Insert a necessary space to the argument 'value' of d.appendVar() as well.

(From OE-Core rev: 841bcbe429dcab54de3b89a927394750f9ccae60)

(From OE-Core rev: de222b08fbcc46f60da811a5542d20a9346c32df)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Adrian Freihofer
e92d3cfbb4 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)

(From OE-Core rev: 44f552c93f7053794289c0bc8cf1defadb8a6a06)

Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Adrian Bunk
b68c73127e 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)

(From OE-Core rev: b5586a83155e07b0c7a7e82568c18f5e29eaaed2)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Alexander Kanavin
e4694ebda6 openssl: update to 1.1.1a
(From OE-Core rev: eec95f90093a6aa1d8be145e351fc9df4abef172)

(From OE-Core rev: c9909ff8b5134d77d9ae5f205f863fcdab7b9fd0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Ming Liu
d1138c618c 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)

(From OE-Core rev: 0e62a5a6e2d3c453dc7e970fd497e050a9e17c7a)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Mingli Yu
cc4ce7db19 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)

(From OE-Core rev: 1b84064b15022a0834d7f443a8d6bde7f4cfeb6d)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Peter Kjellerstedt
f48d96e4df meson: Correct use of the _append operator
The value to SRC_URI_append_class-native was not prefixed with a space.
This was not noticed as the SRC_URI before applying the _append contains
trailing spaces. However, if one, e.g., has a .bbappend and adds to the
SRC_URI using SRC_URI += "file://foo.patch", then there no longer is any
trailing space and the _append concatenates the two URIs together,
leading to a build failue.

(From OE-Core rev: c07ee11e99dfe28405a7225903a541b33aeb1de6)

(From OE-Core rev: 53594c9fd01f7bd02e24aa82a5bd3a14d3dd465e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Richard Purdie
b55b254f4e 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)

(From OE-Core rev: 98a76c3171f9080d6246aac0188ef05c40852adc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Alexander Kanavin
1cfa86d80f meson: do not manipulate the environment when looking for python via pkg-config
meson does it in a way that breaks oe builds (they export a bunch of PKG_CONFIG_ variables)

(From OE-Core rev: f071c5eb0a46b8ac5424c5baeb471a8080d4a078)

(From OE-Core rev: d5f1211b0820d5039ecec932fda92cbe1ba9132e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Changhyeok Bae
b4e664db71 ethtool: 4.17 -> 4.19
(From OE-Core rev: 565bbbf43da14de466fccdfaa259bdb9b50b686e)

(From OE-Core rev: 4bcacd05428498158ae2fedc11bf4d6f11824967)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Changhyeok Bae
34a2953a95 iproute2: 4.18.0 -> 4.19.0
(From OE-Core rev: b5acefc041b2316c75eefae745d894412ac7bd78)

(From OE-Core rev: 875ebdcaf479b38f7564d68f1530de08e50f8ba8)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Robert Yang
90e0658f2e 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)

(From OE-Core rev: aa35fbeb995b62523d44c8fad17f67d9852c594f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Robert Yang
037a69934c 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)

(From OE-Core rev: 7264c248946c09b139110b512dd12ce6d8d72ddc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Hongxu Jia
26750a75dc libgcrypt: upgrade 1.8.3 -> 1.8.4
(From OE-Core rev: 1100e7f1519be91c90b139c337799c7ea635a8b3)

(From OE-Core rev: 6187f5eff556d5f308fa6812dc5335a2769cb249)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Hongxu Jia
ce93ac6395 gnupg: upgrade 2.2.10 -> 2.2.11
(From OE-Core rev: 4a373ce7d718ee3299bcf7f9fa62e7337d41e40a)

(From OE-Core rev: 65134404a6572f126e159503a079d5b8d3e1c1d5)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Hongxu Jia
98d689400d gnupg: upgrade 2.2.9 -> 2.2.10
(From OE-Core rev: 5efe9eb79ac325f55fc52f67b522afaf7ebb847a)

(From OE-Core rev: 5c8a8465d24b33f53a7e3bc4dc1d0dfbb14685d6)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Armin Kuster
6b673012d9 gnutls: update to 3.6.4
Notable change:

libgnutls: Added the final (RFC8446) version numbering of the TLS1.3 protocol.
see: https://lists.gnupg.org/pipermail/gnutls-help/2018-September/004457.html

(From OE-Core rev: 0697141e7be0b755db600aa0d5a975eac62cc7b8)

(From OE-Core rev: 7c062c9d2c48cd758b3ca9a4c7a5b26d74b9c1e3)

Signed-off-by: Armin Kuster <akuster808@gmail.com>

--
[v2]
Fix typo in version in subject

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Hongxu Jia
d50041ea78 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)

(From OE-Core rev: 81ae67e603087166ec5583cc9686a60f769be799)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Robert Yang
38887e6c1a recipes: Remove tab indentations in python code
Use 4 spaces to replace a tab.

(From OE-Core rev: cbb6743d46752481782789fa1a0dfade11057114)

(From OE-Core rev: 42ebdc7253c3a319d671a7f924603d85a22bbb4e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Robert Yang
bc246384a1 classes: Remove tab indentations in python code
Use 4 spaces to replace a tab.

(From OE-Core rev: 55eaf8779170b9396e94dc4a44667824c4f36363)

(From OE-Core rev: dadd66706515ada3fab50779bfb75be8e776c975)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Douglas Royds
1dc65214c8 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)

(From OE-Core rev: 6cbc54790d9a0784fb0df4772aa38392ddea682b)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Douglas Royds
c90a56ed6d 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)

(From OE-Core rev: cd56795a1588d780ca6a0cb974bf4024ab636be7)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Douglas Royds
e2a2f8cd89 reproducible: Refactor: Break out fixed_source_date_epoch() function
(From OE-Core rev: 4eb6def4fe82959c2a348142b9eada27d3354aef)

(From OE-Core rev: 98b7d22ed563efdf58beba1ba65270b731673103)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Douglas Royds
d513b1d6bb 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)

(From OE-Core rev: 763398b87c257ab672430bedd01004b9317d02b2)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Niko Mauno
da35b05c7f opkg-utils: Fix update-alternatives link relocation
Recently Debian-style support for link relocation was added to
'update-alternatives' script, but it fails under circumstances where
host rootfs root directory differs from target rootfs root directory
and two alternative packages provide a symbolic link with source
located in different directories.

An example of the case is busybox provided /bin/rev (symlinking to
/bin/busybox.nosuid) and util-linux provided /usr/bin/rev (symlinking
to /usr/bin/rev.util-linux) in which case following failure occurs
during image recipe's do_rootfs() task:

  ERROR: core-image-minimal-1.0-r0 do_rootfs: Postinstall scriptlets of ['util-linux'] have failed. If the intention is to defer them to first boot,
  then please place them into pkg_postinst_ontarget_${PN} ().
  Deferring to first boot via 'exit 1' is no longer supported.
  Details of the failure are in .../tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.
  ERROR: core-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs

Looking in log.do_rootfs file, following relevant lines can be observed:

  update-alternatives: renaming rev link from /bin/rev to /usr/bin/rev
  mv: cannot stat '/bin/rev': No such file or directory

Mitigate issue by applying patch which adds target root filesystem root
directory path prefix to failing 'mv' calls relevant variable references

(From OE-Core rev: f0912e23629758fe4303284e7db8f4089bb7b4cb)

(From OE-Core rev: 58f062843008c42d28f14c42fb5f991aef73728e)

Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Joshua Watt
7e27a9c351 meta/icecc.bbclass: Update system blacklists
Updates the system blacklists to include packages that are known to have
problems compiling under icecream

(From OE-Core rev: fc5418e7bbdecfb27bafe595084e0fd0f991a388)

(From OE-Core rev: be54e1e0e769a9833b9b595e7a820ea9e098b91d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:42 +00:00
Joshua Watt
f85b494630 meta/icecc.bbclass: Move system blacklist to variables
The system blacklists are moved to variables which are ignore when
hashing. This prevents changes to the blacklists from causing all
taskhashes to change (and thus rebuild).

(From OE-Core rev: f5be9f6e9180ace3362bba52c7ced3b039441d7d)

(From OE-Core rev: 6f001b7b2ec3a6fb77184ca32664f89fee7ff5c3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:41 +00:00
Paul Eggleton
c56383ce65 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)

(From OE-Core rev: 8d5565274545628cb0a7125b660e94f763cc7f49)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-08 20:14:41 +00:00
Peter Kjellerstedt
87e3a9739d bitbake: siggen: Adapt colors used by bitbake-diffsigs to support light themes
The colors specified for use with bitbake-diffsigs were adapted for a
dark theme, e.g., by setting the background color to black, which made
it look very bad when used with a light theme.

To make it look good both with a dark or a light theme, it is better
to drop the background color. It is also better to leave out the color
altogether for the title and just use bold. Finally, dropping bold for
the red and green texts indicating removed/added values better matches
other colorized diff implementations as, e.g., git diff.

(Bitbake rev: 35769412de6387f55e5efa4ebc59a8d1e3c8870f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-02 16:32:59 +00:00
Scott Rifenbark
004ec4fb4d Documentation: Prepare for 2.6.1 release.
Updated the following:

 * poky.ent to use new variables values for 2.6.1
 * mega-manual.sed to use "2.6.1" string for links
 * *.xml manual files to have a new entry in the manual history
   tables.  Using the variable for the most recent entry.
   Hard-coded "November 2018" for the previous release, which
   was "2.6".

(From yocto-docs rev: bada424e14169d1ae378c0481970e55ce8f5df51)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:55 +00:00
Peter Kjellerstedt
8349383002 ref-manual: Document the fifth argument to PACKAGECONFIG
(From yocto-docs rev: 1a4a95d070d79bfeb202faf381c2e0a288ba88f5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:55 +00:00
Peter Kjellerstedt
af4b3c6f9b ref-manual: Add missing whitespace around "=" in a few code examples.
(From yocto-docs rev: 0ed3bd9cfe6a3ad04e2ebbbcc95320275dcfacad)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:55 +00:00
Scott Rifenbark
a3c44df7b7 poky.ent: Updated copyright variable to span into 2019.
(From yocto-docs rev: 995543e9810ba7870ba17b35bd9696af13c57e23)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:55 +00:00
Scott Rifenbark
dbc9755027 ref-manual: Updates to CMake and cmake.bbclass.
I cleaned up the terminology used for the CMake build system.
I provided some meaningful links to a good overview page for CMake.
I also built in some cross-referencing as needed.

(From yocto-docs rev: 7e825427a2dcef2b91a1bfbf1827b73e034e0974)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:55 +00:00
Armin Kuster
d99d261613 ref-manual: Updated list of supported Linux Distros:
Updates for the "thud" release.

(From yocto-docs rev: 1e8dd2130c7814895cf745b615346d3715d39fac)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:55 +00:00
Scott Rifenbark
59c4460203 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: e806ea6ae534608e84540ac59f972914017ccce9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:55 +00:00
Scott Rifenbark
582f0ca361 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: 68dea2908b5cfeb9e374c6e72493f6b635267dda)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:55 +00:00
Scott Rifenbark
1b2dccd9b9 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: 2f8f4eb5534125396fdb1958c4ef271a9ece0e7c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:55 +00:00
Scott Rifenbark
8271ca3968 kernel-dev: Updated phrasing for what a "defconfig" file is.
It was over simplistic.

(From yocto-docs rev: 8c66db6f2a35e9e57423690976a16d6a815ccbc9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:55 +00:00
Ming Liu
94a6cd1c2f 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: 9d71cd281864478c76e40fa6e0b9cd0055f131c0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
95b373b7eb ref-manual: Added description for devupstream.bbclass
New section added.

Fixes [YOCTO #12732]

(From yocto-docs rev: e0c4006614cca76f07782c8273f4c8cba5394220)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
e8fb450ad5 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: 722b1b9c5bee1d43c45d943624854a53adc07939)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
7ded3cc8cc 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: fd550364c6fcfdff24b5c69f289733ed319c6be1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
4623ec19ac ref-manual: Updated "Packaging Changes" section for 2.6 migration.
Changed reference to "python-modules" to "python-modules /
python3-modules".

(From yocto-docs rev: d3efb499d0f027be5233dc2f922cef98b03015ca)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
274946ead7 ref-manual: Applied review edits to the 2.6 migration section.
Minor fixes here and there.

(From yocto-docs rev: 37617222d5e76cd9debfb8271807ff016d124010)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
2559ad01c3 ref-manual: New 2.6 Migration section complete.
(From yocto-docs rev: 6d898834bbcef29934f9fcf895880acdb8838a57)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
7d0a2ece0b ref-manual: Added new python3 profile-optimization migration topic
(From yocto-docs rev: 108adb60eabf43ddd4fa91f26b701e7a2930dcee)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
44d52d9c72 ref-manual: Updated postinstall migration note.
(From yocto-docs rev: beb7286abdfa2a6f9cc1772429671250a52d6425)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
339d7d2bd6 ref-manual: Updates to the 2.6 migration section.
This is the completed first draft.

(From yocto-docs rev: f7f7e6b64c3dc8380b107851abc5719fd806683a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
7ef287ae21 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: e3fd82b1c65460097d7e0f2398be8c8756892e65)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
e886536f1b ref-manual: Removed the NOISO and NOHDD references.
(From yocto-docs rev: ae83daebbb316d2c34136c466bdf7b491c9fff1b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
494ba9bf74 dev-manual: Removed occurrence of mkefidisk.sh script.
Script has been removed.

(From yocto-docs rev: e1db4da1f7de8b9aa6e1ffffe71cdcf4929e5821)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
b57a73f9c3 ref-manual: Removed the NOISO and NOHDD variables.
(From yocto-docs rev: 969533a299c559eadeb8807e94f6af79fbf8f66a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
2aabfcb46d ref-manual: Added several new sections to the 2.6 migration section.
(From yocto-docs rev: 0f5d18d0118632db43706beef7d2020ec6890ade)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
667f70276d ref-manual: Added new artifact naming variables to glossary.
(From yocto-docs rev: 8c4d8fba8e5bf84a230c112b1b46a3bc5453184a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
356355d1a7 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: 93720a1c072ad6268cb5681c51660f03059d880a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
8b9e5b95e5 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: 2a7bc2dd274f23d58c997771175c37005763ed08)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
d6725d934d ref-manual: Added GCCVERSION variable description to glossary.
(From yocto-docs rev: f48ffe39e2d0c1bc57579e4ee457c72b7c626ad1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
425b42f720 ref-manual: Updated migration section for 2.6
Made two minor corrections from reviewer feedback.

(From yocto-docs rev: 41e657ba47dd91a10a1d1ae4855e959eb697ea76)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
f34e49fa2f 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: eb2a3bc65c99ae72173d5f3848af423af112ccb2)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
d0884492a8 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: b95183e9f2358ec5bc67081334e13526ba1ad48d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
c5ba99bc06 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: 70e18e93e96f283ae183f5f4468859bfca37c581)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
400d491e8d 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: 84e2c149fa823ab6e12be17b049c9bae1c1dd904)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Scott Rifenbark
9cedaa6740 poky.ent: Updated release month to November 2018 (thud)
(From yocto-docs rev: 8f7b74097e29b4dc8fea5b999b54a0a92896d9e3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-27 22:54:54 +00:00
Richard Purdie
074cd4f22c oeqa/selftest/esdk: Fix typo causing test failure
2018-12-06 23:19:24,564 - oe-selftest - INFO - Traceback (most recent call last):
  File "/media/build1/poky-sumo/meta/lib/oeqa/core/case.py", line 32, in _oeSetUpClass
    clss.setUpClassMethod()
  File "/media/build1/poky-sumo/meta/lib/oeqa/selftest/cases/eSDK.py", line 78, in setUpClass
    cls.tmpdir_eSDKQA = cls.tempdirobj.name
AttributeError: type object 'oeSDKExtSelfTest' has no attribute 'tempdirobj'

(From OE-Core rev: 75cd4edaa8a42f76c0594ce26df05c7a51d620df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
2cafee8620 oeqa/selftest/esdk: Ensure parent directory exists
INFO - ======================================================================
INFO - ERROR: setUpClass (eSDK.oeSDKExtSelfTest)
INFO - ----------------------------------------------------------------------
INFO - Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/core/case.py", line 32, in _oeSetUpClass
    clss.setUpClassMethod()
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/eSDK.py", line 76, in setUpClass
    cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"])
  File "/usr/lib/python3.5/tempfile.py", line 929, in __init__
    self.name = mkdtemp(suffix, prefix, dir)
  File "/usr/lib/python3.5/tempfile.py", line 507, in mkdtemp
    _os.mkdir(file, 0o700)
FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/oe-selftest-debian/build/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-q7ln84gc'

(From OE-Core rev: eca3c0a6aa4bce48f295ba25f613da8dcaefac20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
237ff3e462 testimage/testsdk/selftest: Avoid platform.distro_identifier deprecation warnings
Use our own lsb function instead as used elsewhere by the codebase.

(From OE-Core rev: acac45a6fd604d28ef7c23d67482af3d7e8bcfe3)

(From OE-Core rev: 570256a64af5a3fa994a20a5cc4c74d59ffc361f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
ea1ffae258 oeqa/concurrencytest: Avoid unclosed file warnings
Avoid an unclosed file per thread warning when running selftests concurrently
by closing the result stream.

(From OE-Core rev: 33a4a076e8aa72a872807332501e7f5ae1cee0e2)

(From OE-Core rev: a7dceca55b169bcdb8d1528238cbdedfd131f37f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
19287294c1 oeqa/utils/qemurunner.py: Fix python regex warnings
Fix the warnings:

meta/lib/oeqa/utils/qemurunner.py:250: DeprecationWarning: invalid escape sequence \.
  ips = re.findall("((?:[0-9]{1,3}\.){3}[0-9]{1,3})", cmdline.split("ip=")[1])
meta/lib/oeqa/utils/qemurunner.py:343: DeprecationWarning: invalid escape sequence \-
  if re.search("root@[a-zA-Z0-9\-]+:~#", output):
poky/meta/lib/oeqa/utils/qemurunner.py:350: DeprecationWarning: invalid escape sequence \-
  if re.search("root@[a-zA-Z0-9\-]+:~#", output):
meta/lib/oeqa/utils/qemurunner.py:448: DeprecationWarning: invalid escape sequence \-
  if re.search("[a-zA-Z0-9]+@[a-zA-Z0-9\-]+:~#", data):

by correctly marking the regexs.

(From OE-Core rev: 8e6987735002560fca714f77ea8ece9d4b28f7fa)

(From OE-Core rev: a980cb8a0940d4db4bb5d338650cf848cd292f5b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
0a5b7850e5 oeqa/selftest/context: Replace deprecated imp module usage
Avoid the warning:

meta/lib/oeqa/selftest/context.py:8: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp

In this case importlib is a direct replacement.

(From OE-Core rev: db7a60c36a2d3eefc61ae6e1ede01680dc932035)

(From OE-Core rev: 1e7bbdaf78fd2a75d03c6a0c48afed13fffd4397)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
01d00cd776 oeqa/utils/commands: Avoid unclosed file warnings
Avoid warnings such as:

meta/lib/oeqa/utils/commands.py:213: ResourceWarning: unclosed file <_io.BufferedReader name=4>
  return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options)

(From OE-Core rev: 6a68c42de08cffbadb59ebda63fa5e19f6e5acef)

(From OE-Core rev: f65a5fbd4fd13a52b54c808a6f5d2afab426e050)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
f349ec0424 oeqa/core/runner: Correctly markup regexs
Avoid the warning "DeprecationWarning: invalid escape sequence \(" by marking
the regexs correctly.

(From OE-Core rev: cb49980fa4a158d5529902df731dec61a8c9b3d4)

(From OE-Core rev: bb2cddb08d7c4c6c56dfe6b2f0d26dce1cdf20e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
e09a79e997 oeqa/loader: Fix deprecation warning
Clean up the warning:
meta/lib/oeqa/core/loader.py:27: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()
  _failed_test_args = inspect.getargspec(unittest.loader._make_failed_test).args

(From OE-Core rev: d2deb66830be2d44532fea3d5db763b57778252a)

(From OE-Core rev: e65e9492acad4861b22e6f29d5f470a82778f2b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
86dbdfa00d oeqa/runner: Sort the test result output by result class
We want to see failures/errors listed last since this is the most easily
visible part of the log on consoles or autobuilder output and makes
human processing easier rather than having to scroll up and scan for
a single failure.

(From OE-Core rev: 7954b19020c28a4120bc1671aa81b9e1e2b05fa2)

(From OE-Core rev: 260738158b09aea0beeca85b778aa4ab08ba1c4c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
359ce89adf oeqa/runner: Always show a summary of success/fail/error/skip counts
Its useful to have the counts of success/failure/error/skipped at the end of the
results to allow for easier human reading of what happened.

(From OE-Core rev: 080d8900d470a8e7f929b0c5c2765ad461744fbb)

(From OE-Core rev: 5bc862d8f16df5611537cb51da95812e519c61f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Ross Burton
510e6e2143 oeqa/selftest/esdk: run selftest inside workdir not /tmp
We've seen issues with rootfs size calculations and we've seen systems
like opensuse which have btrfs mounted on /tmp causing selftest failures.

(From OE-Core rev: 61be3cd748d1b7321a1fc4cfe84efa9b26a6aee0)

(From OE-Core rev: 63eefbe21612e58e88f1eb3fde3d314da53927fa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Ross Burton
29361d7aeb oeqa: don't litter /tmp with temporary directories
If we need to create a temporary directory in targetbuild or buildproject use
tempfile.TemporaryDirectory so that when the test case is finished, the
directory is deleted.

Also synchronise the logic and don't possibly store the temporary directory in
self.tmpdir as nothing uses that.

(From OE-Core rev: db0e658097130d146752785d0d45f46a3e0bad71)

(From OE-Core rev: 6e2c6668791a80ee0ffe44c756cc0caceebea0e2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
c7ff99ab44 oeqa/utils/qemurunner: Avoid tracebacks on closed files
Reorder the shutdown/teardown to avoid:

  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/qemurunner.py", line 224, in launch
    op = self.getOutput(output)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/qemurunner.py", line 90, in getOutput
    fl = fcntl.fcntl(o, fcntl.F_GETFL)
ValueError: I/O operation on closed file

(From OE-Core rev: 8e7d756862d2a8d62f3c87497d6d65ddb3c1b962)

(From OE-Core rev: 11d4bf460030eb6f072bd0e15550e26e055e632b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
d69080b9da oeqa/selftest/runqemu: Improve testcase failure handling
assertTrue doesn't give good debug information when things fail. Update
several to use assertIn which gives information upon failure, for the
others print the log information upon failure.

(From OE-Core rev: c29cb75d5ce6b0873a934f4709b0c8824f7164d3)

(From OE-Core rev: e9c6e974b49b8821cce8f2c7e3ba0dc16a5b46a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
d6ba484506 lib/oe/utils: Improve multiprocess_lauch exception handling
We've seen a cryptic:

"ERROR: Fatal errors occurred in subprocesses, tracebacks printed above"

message from oe-selftest with no other traceback information. Improve the
traceback logging to try and give a better indication of any errors that is
ocurring.

(From OE-Core rev: 521dd3d00979a27b6932e58d5497de68abac26e1)

(From OE-Core rev: 2696e69af0b32e03692d8644cc01b28dcf221aa1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Ross Burton
72d7b5b5d4 oeqa/oelib/path: don't leak temporary directories
setUp() is used to populate a directory of temporary files, and deleted in
__del__.  However setUp() is called once *per test* so __del__ would only be
able to remove the last directory created.

Fix the code by using the natural counterpart to setUp, tearDown(), to clean up.

(From OE-Core rev: 68b4723e6fb11d171869185bccf28f32f6284c18)

(From OE-Core rev: eee30d799ff892443d21de4128e7d643215b0ac1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
3c27f3b3a7 oeqa/selftest/context: Improve log file handling
The existing logfile is simply placed in the current directory. Since the test
changes cwd to BUILDDIR, the symlink to the log can be placed in an invalid
directory. We also see trackbacks if the symlink is invalid.

Improve things by:

* Placing logs in LOG_DIR (or BUILDDIR if unset).
* Using a full path to the log meaning the log and link are placed in the same directory.
* Using lexists instead of exists so invalid symlinks are handled correctly.

(From OE-Core rev: 750ece11bed0e62a11e0003d1d16a81f7c219761)

(From OE-Core rev: 1ec53b8d82491aeb9f49e7a78f531e98b5608f0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
c414b06ea6 oeqa/selftest/buildoptions: Ensure diskmon tests run consistently
Heartbeat events default to once a second and we need to ensure we have
enough time in the task to see them.

Add a nostamp delay task 5s long so we can have a consistently timed
task which doesn't need cleanup or have unneeded dependencies. This
ensures we should deterministically see the disk moinitor events
regardless of the state of the build. This is done in a way which
doesn't corrupt build state or need cleanup and is efficient.

(From OE-Core rev: ecc49ee8986929e2429d948000a0ca588fe63959)

(From OE-Core rev: a883aa053ddeb4591109c7c1374525e63a59bd80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:33 +00:00
Richard Purdie
d7594fd2ae oeqa/selftest/buildoptions: Improve ccache test
This test occisionally fails as m4 doesn't recompile, meaning the logfile test
then doesn't find mention of ccache.

To ensure m4 does recompile, clean m4 before force compiling it.

(Reading the test is confusing due to the test cleanup also involving a clean)

(From OE-Core rev: 6e0b9214a0d57ed45a5df0ba5c9887a9045b89b1)

(From OE-Core rev: bddb09a411ce69f49a37260e2188bbd9b02f5902)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
5e12af7587 oeqa/qemurunner: Remove resource python warnings
If runqemu fails it would leak an unclosed socket and file. Ensure we
close these in all cases to remove the resource warning.

(From OE-Core rev: ed80e46ccbc8fe8e9148d80723152066fa00ba28)

(From OE-Core rev: 81ce67fb1274faafb9e7386c5982aeaf4c74294d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
1cd8b3b789 oeqa/utils/commands: Avoid log message duplication
Each time a runqemu() fails, the log handler would be left behind meaning
messages from any subsequent run would be duplicated (or worse/more).

This ensures we remove the handler regardless and means we no longer
have the duplication.

(From OE-Core rev: 532984708436bdfa3a8cac2c684a425eb249bad0)

(From OE-Core rev: 018549bf94d1e5d33344691fde0fb27ca50f675f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
ce291652c5 oeqa/utils/qemurunner: Fix python ResourceWarning for unclosed file
Fixes:

Stderr:
/media/build1/poky/meta/lib/oeqa/utils/qemurunner.py:381: ResourceWarning: unclosed file <_io.BufferedWriter name=16>
  self.runqemu = None

(From OE-Core rev: b9e0bf919e6fc1a58e02145a363ebe7066e5bf4f)

(From OE-Core rev: 43b7ee731d2cfc3fd4a4c26381c8d035b5fbcdeb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
594679bb48 oeqa/utils/commands: Add extra qemu failure logging
Rather than just referring the user to the logs containing the failure, print
them on the console. This aids debugging with oe-selftest with parallelisation
as the logs may otherwise be lost.

(From OE-Core rev: 36a018e245a232f520ff946f152cc875927a6fb4)

(From OE-Core rev: 85b373f571cf2076d93e96db2aca295c53d3c16a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
9cf4132158 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)

(From OE-Core rev: 8a9fa1597245d13db89361c40db7867786f137ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
835cf20001 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)

(From OE-Core rev: ee8255128e11d69d82e6093b58b761dfe773e71d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
588480ff19 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)

(From OE-Core rev: 9fcfc43e1a51520a86761cf5534cff9e70167b77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
920a95e424 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)

(From OE-Core rev: 8c91e74ebcd4b1b851026c7ed5e984aa6a39cf90)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
5778c709b5 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)

(From OE-Core rev: 9bb190d5bee70d2d3d5ec2eeee3439cd24548cb8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
b9943e4bfe scripts/runqemu: Improve lockfile handling for python with close_fd=True
On python versions with close_fds=True (python 3.2 onwards), the tap
device lockfile isn't passed to the child process.

Since this guards against use of an active interface, we really want this
here, so pass it in pass_fds. This means if the parent exits early, the child
still holds the lock, avoiding messages like:

runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: could not configure /dev/net/tun (tap0): Device or resource busy

(From OE-Core rev: 17a0a067d597c445c5892ff9914e91a2187f7e09)

(From OE-Core rev: 1d03e0d54863124c5a65b59ecdc76dbac13d312a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Richard Purdie
7ad6069850 scripts/runqemu: Tidy up lock handling code
Various tweaks:
- Balance up the aquire/release functions
- Use debug messge for both acquiring and release message for consistency in logs
- Use None instead of an empty string
- Reset the value of the field if we don't have the lock any more

(From OE-Core rev: 2728394ed75526f338cc9cb6bc62fb0ed6dc605f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Michael Halstead
fecdb7c64a scripts/runqemu: Replace subprocess.run() for compatibilty
subprocess.run() was introduced in Python 3.5. We currently support down to
Python 3.4 so I've replaced it with subprocess.check_call() which is available
in that version.

(From OE-Core rev: 4ba803d9834565cbe9a89838eb2fcf0328c44bef)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-16 14:31:32 +00:00
Yong, Jonathan
d0e0a3d7a8 bitbake: bitbake-user-manual: Added "usehead" parameter.
(Bitbake rev: a9d361e39f110f6deecd1f35c425e0f0affcf828)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-15 11:49:15 +00:00
Richard Purdie
6b504019d6 bitbake: main: Don't use print() directly, use logger
Avoid failures like:

2018-12-04 03:30:56,033 - oe-selftest - INFO - ======================================================================
2018-12-04 03:30:56,033 - oe-selftest - INFO - FAIL: pkgdata.OePkgdataUtilTests.test_find_path (subunit.RemotedTestCase)
2018-12-04 03:30:56,033 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-12-04 03:30:56,033 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
[...]
AssertionError: 'Previous bitbake instance shutting down?,[77 chars]xist' != 'ERROR: Unable to find any package produci[14 chars]xist'
- Previous bitbake instance shutting down?, waiting to retry...
  ERROR: Unable to find any package producing path /not/exist

We need to use the logger so output is correctly handled in such cases.

(Bitbake rev: 1711a17dfe3980af96d713da6926e8aaa4545453)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-06 10:27:59 +00:00
Richard Purdie
f6f17e974a bitbake: process: Flush key output to logs
Small tweak to ensure these items are printed into the log since there
is other logging code which looks for the header and this makes it clearer
the server did start but is slow somewhere in startup.

(Bitbake rev: 9b15f265643af8bd85af87164ee5cab0bf58ccbb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-06 10:27:59 +00:00
Ulf Magnusson
d62c933d84 bitbake: fetch2/svn: Fix SVN repository concurrent update race
The ${DL_DIR}/svn directory is used by BitBake to keep checked-out SVN
repositories from which tarballs are generated. These repositories were
protected from concurrent update with a lock on the tarballs. However,
the tarballs are specific to the SRCREV and module checked out (many
tarballs can come from the same repository), meaning a repository could
be modified concurrently if two recipes checked out two different
SRCREVs or modules from it in parallel. This caused errors like the
following:

ERROR: Fetcher failure: Fetch command failed with exit code 1, output:
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Working copy '/home/foo/downloads/svn/repo/trunk' locked.
svn: E155004: '/home/foo/downloads/svn/repo/trunk' is already locked.

Fix it by adding a per-repository lock that's independent of the module
and SRCREV.

(Bitbake rev: cddd27fb66bf82465cf8eb5012cb8e3c088625a5)

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@bmw.de>
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-06 10:27:59 +00:00
Richard Purdie
6ebd270b08 bitbake: runqueue: Ensure disk monitor is started when no setscene tasks are run
Currently if there are no setscene tasks, the disk monitor isn't started.

Move the startup code to somewhere to ensure it always is started. This
issue would partially explain occasional selftest failures.

(Bitbake rev: 7e76237c930d354ee7eb37d247d71b4f4fbf7993)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-06 10:27:59 +00:00
Richard Purdie
810f4827b6 bitbake: server/process: Fix ConnectionRefusedError tracebacks
Improve connetion refused error handling:

NOTE: Retrying server connection...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection... (Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/bitbake/lib/bb/server/process.py", line 471, in connectProcessServer
    sock.connect(os.path.basename(sockname))
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/bitbake/lib/bb/main.py", line 464, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/bitbake/lib/bb/server/process.py", line 502, in connectProcessServer
    os.close(i)
TypeError: an integer is required (got type NoneType)
)
WARNING: /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/bitbake/lib/bb/main.py:481: ResourceWarning: unclosed <socket.socket fd=14, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
  logger.info("Retrying server connection... (%s)" % traceback.format_exc())

(Bitbake rev: c36803dba4fce8e6b16e437d702116a918ff718b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-06 10:27:59 +00:00
Richard Purdie
5ab68ca832 bitbake: fetch2: Avoid warning about incorrect character escaping in regex
Fixes:

lib/bb/fetch2/__init__.py:259: DeprecationWarning: invalid escape sequence \w
  re.compile("^\w+:(?!//)").match(uri):

(Bitbake rev: 9c619f1eb1583582fafda6acabaf08a5761215ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-06 10:27:59 +00:00
Anuj Mittal
3896bf313f gstreamer1.0-vaapi: downgrade vaapisink to marginal rank
Using vaapisink (which doesn't supports DRI3 [1] and uses DRI2) with
default poky configuration currently results in an unresponsive display
because DRI2 rendering doesn't work (as of xserver 1.20.3) in non-composited
environments [2].

Downgrade vaapisink to marginal for now so playbin (and in turn gst-play
and gtk-play examples) uses next best sink element and works out of box.

[1] https://github.com/intel/libva/issues/122
[2] https://gitlab.freedesktop.org/xorg/xserver/issues/13

(From OE-Core rev: 0ac1b496823a57ac6a234a14c60318bf1ffa19b0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-04 10:41:16 +00:00
Richard Purdie
33e5b9e5ad bitbake: tests/fetch: Update after recent gitsm message changes
Also use assetIn instead of assertTrue which aids debugging failures.

(Bitbake rev: 7e9c0bffb95ca92cab61deeeef18f45f1b4edb6f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-26 20:16:24 +00:00
Alejandro Enedino Hernandez Samaniego
8dccbf6752 bitbake: cooker: Fix multiconfig dependencies
When multiconfig is enabled the cooker adds providers
for all the targets to be built on all the multiconfig
variables that were set, regardless if there is a dependency
to it or not.

This causes an issue when a certain target is incompatible
with one or more of the multiconfigs, e.g. the target is not
in COMPATIBLE_MACHINE for one of the MACHINEs being built,
causing the cooker to error out since no providers can be
found for that certain target on that multiconfig.

This patch modifies the behavior to only look for PROVIDERS
for a target on the multiconfig that was selected to be built,
PROVIDERS are then looked for in other multiconfigs only when
there is a defined dependency to them.

[YOCTO #12985]

(Bitbake rev: 8bd519b04c7d6ee4cf626d5e04110c3759488d28)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-26 20:16:24 +00:00
Christopher Larson
93fc92cf42 bitbake: fetch/git: fix AttributeError in shallow extraction logic
This code checks to see if shallow is either disabled or the tarball is
missing, but the else block tries to print the tarball filename, and
this attribute doesn't exist at all when shallow is disabled. Handle the
two cases separately to give sane errors for both cases without the
exception:

    Exception: AttributeError: 'FetchData' object has no attribute 'fullshallow'

(Bitbake rev: b0ad961064ef6ecd77fab3435e5652c4ae284426)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-26 20:16:24 +00:00
Richard Purdie
94b1388251 sanity: Add check for WSL
Users are starting to expect OE to work under WSL which it doesn't. Add a warning to
tell them about this up front and manage expectations.

(From OE-Core rev: 4f22710f9a310412f1de0b4e6905c058ec416f25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-24 22:02:47 +00:00
Richard Purdie
1c88c939f8 oeqa/utils/httpserver: Rework to avoid hangs and improve logging
testimage.bbclass installs a SIGTERM handler which conflicts with the
use of multiprocessing here. This is paritcularly problematic if the http
service is terminated before its started and hence before its had a chance
to reset the default signal handler (as the code was written).

Instead, temporarily remove testimage's handler whilst forking the http process
which means the correct handler is installed and won't deadlock.

Also take the opportunity to add in some log messages about the server start
and shutdown so that future debugging is easier and its clearer what the code
is doing.

(From OE-Core rev: cc0471439aa0085ca87deccf061c5b676ef12388)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-24 22:02:47 +00:00
Martin Hundebøll
7692a65189 openssl-1.1.1: remove build path from version info
The openssl build system generates buildinf.h containing the full
compiler command line used to compile objects. This breaks
reproducibility, as the compile command is baked into libcrypto, where
it is used when running `openssl version -f`.

Add stripped build variables for the compiler and cflags lines, and use
those when generating buildinfo.h.

This is based on a similar patch for older openssl versions:
https://patchwork.openembedded.org/patch/147229/

(From OE-Core rev: 8f5b6a3789a7fcbac0a384b84b4c7ef5994023b6)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-24 22:02:47 +00:00
Martin Hundebøll
c31c80aa8a busybox: make busybox.links.{suid, nosuid} reproducible
The busybox.link.* files are generated from autoconf.h and applets.h,
which are both auto-generated by the build system. The contents of the
two files might be in different order, and so the link files are not
reproducble as is.

Fix this by sorting the lists using `sort`.

(From OE-Core rev: bade7cc344c2f0e9316f973c34e9c9dfcbdbe32d)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-24 22:02:47 +00:00
Martin Hundebøll
436da7fbf3 shadow: improve reproducibility by hard-coding shell path
The shadow configure script tries really hard to detect the running
shell to make sure it doesn't do unsupported calls.

On my system the shell is detected as /bin/sh, while a build in an
ubuntu docker it resolves to /bin/bash. And since the shell path is
baked into the target binaries through config.h, the build becomes
inreproducible.

Fix reproducibility by hard-coding the shell to be /bin/sh

(From OE-Core rev: 5f4fe91cb6c21cd3ecd0b68d1c6b46a9530c7570)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-11-24 22:02:47 +00:00
188 changed files with 3989 additions and 3466 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# bitbake-diffsigs
# BitBake task signature data comparison utility
# bitbake-diffsigs / bitbake-dumpsig
# BitBake task signature data dump and comparison utility
#
# Copyright (C) 2012-2013, 2017 Intel Corporation
#
@@ -21,7 +21,6 @@
import os
import sys
import warnings
import fnmatch
import argparse
import logging
import pickle
@@ -32,7 +31,10 @@ import bb.tinfoil
import bb.siggen
import bb.msg
logger = bb.msg.logger_create('bitbake-diffsigs')
myname = os.path.basename(sys.argv[0])
logger = bb.msg.logger_create(myname)
is_dump = myname == 'bitbake-dumpsig'
def find_siginfo(tinfoil, pn, taskname, sigs=None):
result = None
@@ -59,8 +61,8 @@ def find_siginfo(tinfoil, pn, taskname, sigs=None):
sys.exit(2)
return result
def find_compare_task(bbhandler, pn, taskname, sig1=None, sig2=None, color=False):
""" Find the most recent signature files for the specified PN/task and compare them """
def find_siginfo_task(bbhandler, pn, taskname, sig1=None, sig2=None):
""" Find the most recent signature files for the specified PN/task """
if not taskname.startswith('do_'):
taskname = 'do_%s' % taskname
@@ -79,73 +81,81 @@ def find_compare_task(bbhandler, pn, taskname, sig1=None, sig2=None, color=False
latestfiles = [sigfiles[sig1], sigfiles[sig2]]
else:
filedates = find_siginfo(bbhandler, pn, taskname)
latestfiles = sorted(filedates.keys(), key=lambda f: filedates[f])[-3:]
latestfiles = sorted(filedates.keys(), key=lambda f: filedates[f])[-2:]
if not latestfiles:
logger.error('No sigdata files found matching %s %s' % (pn, taskname))
sys.exit(1)
elif len(latestfiles) < 2:
logger.error('Only one matching sigdata file found for the specified task (%s %s)' % (pn, taskname))
sys.exit(1)
# Define recursion callback
def recursecb(key, hash1, hash2):
hashes = [hash1, hash2]
hashfiles = find_siginfo(bbhandler, key, None, hashes)
return latestfiles
recout = []
if len(hashfiles) == 0:
recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2))
elif not hash1 in hashfiles:
recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash1))
elif not hash2 in hashfiles:
recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash2))
else:
out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb, color=color)
for change in out2:
for line in change.splitlines():
recout.append(' ' + line)
return recout
# Define recursion callback
def recursecb(key, hash1, hash2):
hashes = [hash1, hash2]
hashfiles = find_siginfo(tinfoil, key, None, hashes)
# Recurse into signature comparison
logger.debug("Signature file (previous): %s" % latestfiles[-2])
logger.debug("Signature file (latest): %s" % latestfiles[-1])
output = bb.siggen.compare_sigfiles(latestfiles[-2], latestfiles[-1], recursecb, color=color)
if output:
print('\n'.join(output))
sys.exit(0)
recout = []
if len(hashfiles) == 0:
recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2))
elif not hash1 in hashfiles:
recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash1))
elif not hash2 in hashfiles:
recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash2))
else:
out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb, color=color)
for change in out2:
for line in change.splitlines():
recout.append(' ' + line)
return recout
parser = argparse.ArgumentParser(
description="Compares siginfo/sigdata files written out by BitBake")
description=("Dumps" if is_dump else "Compares") + " siginfo/sigdata files written out by BitBake")
parser.add_argument('-d', '--debug',
parser.add_argument('-D', '--debug',
help='Enable debug output',
action='store_true')
parser.add_argument('--color',
help='Colorize output (where %(metavar)s is %(choices)s)',
choices=['auto', 'always', 'never'], default='auto', metavar='color')
if is_dump:
parser.add_argument("-t", "--task",
help="find the signature data file for the last run of the specified task",
action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
parser.add_argument("-t", "--task",
help="find the signature data files for last two runs of the specified task and compare them",
action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
parser.add_argument("sigdatafile1",
help="Signature file to dump. Not used when using -t/--task.",
action="store", nargs='?', metavar="sigdatafile")
else:
parser.add_argument('-c', '--color',
help='Colorize the output (where %(metavar)s is %(choices)s)',
choices=['auto', 'always', 'never'], default='auto', metavar='color')
parser.add_argument("-s", "--signature",
help="With -t/--task, specify the signatures to look for instead of taking the last two",
action="store", dest="sigargs", nargs=2, metavar=('fromsig', 'tosig'))
parser.add_argument('-d', '--dump',
help='Dump the last signature data instead of comparing (equivalent to using bitbake-dumpsig)',
action='store_true')
parser.add_argument("sigdatafile1",
help="First signature file to compare (or signature file to dump, if second not specified). Not used when using -t/--task.",
action="store", nargs='?')
parser.add_argument("-t", "--task",
help="find the signature data files for the last two runs of the specified task and compare them",
action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
parser.add_argument("sigdatafile2",
help="Second signature file to compare",
action="store", nargs='?')
parser.add_argument("-s", "--signature",
help="With -t/--task, specify the signatures to look for instead of taking the last two",
action="store", dest="sigargs", nargs=2, metavar=('fromsig', 'tosig'))
parser.add_argument("sigdatafile1",
help="First signature file to compare (or signature file to dump, if second not specified). Not used when using -t/--task.",
action="store", nargs='?')
parser.add_argument("sigdatafile2",
help="Second signature file to compare",
action="store", nargs='?')
options = parser.parse_args()
if is_dump:
options.color = 'never'
options.dump = True
options.sigdatafile2 = None
options.sigargs = None
if options.debug:
logger.setLevel(logging.DEBUG)
@@ -155,17 +165,32 @@ color = (options.color == 'always' or (options.color == 'auto' and sys.stdout.is
if options.taskargs:
with bb.tinfoil.Tinfoil() as tinfoil:
tinfoil.prepare(config_only=True)
if options.sigargs:
find_compare_task(tinfoil, options.taskargs[0], options.taskargs[1], options.sigargs[0], options.sigargs[1], color=color)
if not options.dump and options.sigargs:
files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1], options.sigargs[0], options.sigargs[1])
else:
find_compare_task(tinfoil, options.taskargs[0], options.taskargs[1], color=color)
files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1])
if options.dump:
logger.debug("Signature file: %s" % files[-1])
output = bb.siggen.dump_sigfile(files[-1])
else:
if len(files) < 2:
logger.error('Only one matching sigdata file found for the specified task (%s %s)' % (options.taskargs[0], options.taskargs[1]))
sys.exit(1)
# Recurse into signature comparison
logger.debug("Signature file (previous): %s" % files[-2])
logger.debug("Signature file (latest): %s" % files[-1])
output = bb.siggen.compare_sigfiles(files[-2], files[-1], recursecb, color=color)
else:
if options.sigargs:
logger.error('-s/--signature can only be used together with -t/--task')
sys.exit(1)
try:
if options.sigdatafile1 and options.sigdatafile2:
output = bb.siggen.compare_sigfiles(options.sigdatafile1, options.sigdatafile2, color=color)
if not options.dump and options.sigdatafile1 and options.sigdatafile2:
with bb.tinfoil.Tinfoil() as tinfoil:
tinfoil.prepare(config_only=True)
output = bb.siggen.compare_sigfiles(options.sigdatafile1, options.sigdatafile2, recursecb, color=color)
elif options.sigdatafile1:
output = bb.siggen.dump_sigfile(options.sigdatafile1)
else:
@@ -179,5 +204,5 @@ else:
logger.error('Invalid signature data - ensure you are specifying sigdata/siginfo files')
sys.exit(1)
if output:
print('\n'.join(output))
if output:
print('\n'.join(output))

View File

@@ -1,94 +0,0 @@
#!/usr/bin/env python3
# bitbake-dumpsig
# BitBake task signature dump utility
#
# Copyright (C) 2013 Intel Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys
import warnings
import optparse
import logging
import pickle
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
import bb.tinfoil
import bb.siggen
import bb.msg
logger = bb.msg.logger_create('bitbake-dumpsig')
def find_siginfo_task(bbhandler, pn, taskname):
""" Find the most recent signature file for the specified PN/task """
if not hasattr(bb.siggen, 'find_siginfo'):
logger.error('Metadata does not support finding signature data files')
sys.exit(1)
if not taskname.startswith('do_'):
taskname = 'do_%s' % taskname
filedates = bb.siggen.find_siginfo(pn, taskname, None, bbhandler.config_data)
latestfiles = sorted(filedates.keys(), key=lambda f: filedates[f])[-1:]
if not latestfiles:
logger.error('No sigdata files found matching %s %s' % (pn, taskname))
sys.exit(1)
return latestfiles[0]
parser = optparse.OptionParser(
description = "Dumps siginfo/sigdata files written out by BitBake",
usage = """
%prog -t recipename taskname
%prog sigdatafile""")
parser.add_option("-D", "--debug",
help = "enable debug",
action = "store_true", dest="debug", default = False)
parser.add_option("-t", "--task",
help = "find the signature data file for the specified task",
action="store", dest="taskargs", nargs=2, metavar='recipename taskname')
options, args = parser.parse_args(sys.argv)
if options.debug:
logger.setLevel(logging.DEBUG)
if options.taskargs:
tinfoil = bb.tinfoil.Tinfoil()
tinfoil.prepare(config_only = True)
file = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1])
logger.debug("Signature file: %s" % file)
elif len(args) == 1:
parser.print_help()
sys.exit(0)
else:
file = args[1]
try:
output = bb.siggen.dump_sigfile(file)
except IOError as e:
logger.error(str(e))
sys.exit(1)
except (pickle.UnpicklingError, EOFError):
logger.error('Invalid signature data - ensure you are specifying a sigdata/siginfo file')
sys.exit(1)
if output:
print('\n'.join(output))

1
bitbake/bin/bitbake-dumpsig Symbolic link
View File

@@ -0,0 +1 @@
bitbake-diffsigs

View File

@@ -588,6 +588,14 @@
The name of the path in which to place the checkout.
By default, the path is <filename>git/</filename>.
</para></listitem>
<listitem><para><emphasis>"usehead":</emphasis>
Enables local <filename>git://</filename> URLs to use the
current branch HEAD as the revision for use with
<filename>AUTOREV</filename>.
The "usehead" parameter implies no branch and only works
when the transfer protocol is
<filename>file://</filename>.
</para></listitem>
</itemizedlist>
Here are some example URLs:
<literallayout class='monospaced'>

View File

@@ -609,14 +609,7 @@ class BBCooker:
k2 = k.split(":do_")
k = k2[0]
ktask = k2[1]
if mc:
# Provider might be from another mc
for mcavailable in self.multiconfigs:
# The first element is empty
if mcavailable:
taskdata[mcavailable].add_provider(localdata[mcavailable], self.recipecaches[mcavailable], k)
else:
taskdata[mc].add_provider(localdata[mc], self.recipecaches[mc], k)
taskdata[mc].add_provider(localdata[mc], self.recipecaches[mc], k)
current += 1
if not ktask.startswith("do_"):
ktask = "do_%s" % ktask

View File

@@ -256,7 +256,7 @@ class URI(object):
# Identify if the URI is relative or not
if urlp.scheme in self._relative_schemes and \
re.compile("^\w+:(?!//)").match(uri):
re.compile(r"^\w+:(?!//)").match(uri):
self.relative = True
if not self.relative:
@@ -1469,7 +1469,7 @@ class FetchMethod(object):
else:
cmd = 'rpm2cpio.sh %s | cpio -id' % (file)
elif file.endswith('.deb') or file.endswith('.ipk'):
output = subprocess.check_output('ar -t %s' % file, preexec_fn=subprocess_setup, shell=True)
output = subprocess.check_output(['ar', '-t', file], preexec_fn=subprocess_setup)
datafile = None
if output:
for line in output.decode().splitlines():

View File

@@ -488,12 +488,15 @@ class Git(FetchMethod):
source_error.append("clone directory not available or not up to date: " + ud.clonedir)
if not source_found:
if ud.shallow and os.path.exists(ud.fullshallow):
bb.utils.mkdirhier(destdir)
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=destdir)
source_found = True
if ud.shallow:
if os.path.exists(ud.fullshallow):
bb.utils.mkdirhier(destdir)
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=destdir)
source_found = True
else:
source_error.append("shallow clone not available: " + ud.fullshallow)
else:
source_error.append("shallow clone not enabled or not available: " + ud.fullshallow)
source_error.append("shallow clone not enabled")
if not source_found:
raise bb.fetch2.UnpackError("No up to date source found: " + "; ".join(source_error), ud.url)

View File

@@ -63,6 +63,9 @@ class Svn(FetchMethod):
relpath = self._strip_leading_slashes(ud.path)
ud.pkgdir = os.path.join(svndir, ud.host, relpath)
ud.moddir = os.path.join(ud.pkgdir, ud.module)
# Protects the repository from concurrent updates, e.g. from two
# recipes fetching different revisions at the same time
ud.svnlock = os.path.join(ud.pkgdir, "svn.lock")
ud.setup_revisions(d)
@@ -123,35 +126,40 @@ class Svn(FetchMethod):
logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'")
if os.access(os.path.join(ud.moddir, '.svn'), os.R_OK):
svnupdatecmd = self._buildsvncommand(ud, d, "update")
logger.info("Update " + ud.url)
# We need to attempt to run svn upgrade first in case its an older working format
try:
runfetchcmd(ud.basecmd + " upgrade", d, workdir=ud.moddir)
except FetchError:
pass
logger.debug(1, "Running %s", svnupdatecmd)
bb.fetch2.check_network_access(d, svnupdatecmd, ud.url)
runfetchcmd(svnupdatecmd, d, workdir=ud.moddir)
else:
svnfetchcmd = self._buildsvncommand(ud, d, "fetch")
logger.info("Fetch " + ud.url)
# check out sources there
bb.utils.mkdirhier(ud.pkgdir)
logger.debug(1, "Running %s", svnfetchcmd)
bb.fetch2.check_network_access(d, svnfetchcmd, ud.url)
runfetchcmd(svnfetchcmd, d, workdir=ud.pkgdir)
lf = bb.utils.lockfile(ud.svnlock)
scmdata = ud.parm.get("scmdata", "")
if scmdata == "keep":
tar_flags = ""
else:
tar_flags = "--exclude='.svn'"
try:
if os.access(os.path.join(ud.moddir, '.svn'), os.R_OK):
svnupdatecmd = self._buildsvncommand(ud, d, "update")
logger.info("Update " + ud.url)
# We need to attempt to run svn upgrade first in case its an older working format
try:
runfetchcmd(ud.basecmd + " upgrade", d, workdir=ud.moddir)
except FetchError:
pass
logger.debug(1, "Running %s", svnupdatecmd)
bb.fetch2.check_network_access(d, svnupdatecmd, ud.url)
runfetchcmd(svnupdatecmd, d, workdir=ud.moddir)
else:
svnfetchcmd = self._buildsvncommand(ud, d, "fetch")
logger.info("Fetch " + ud.url)
# check out sources there
bb.utils.mkdirhier(ud.pkgdir)
logger.debug(1, "Running %s", svnfetchcmd)
bb.fetch2.check_network_access(d, svnfetchcmd, ud.url)
runfetchcmd(svnfetchcmd, d, workdir=ud.pkgdir)
# tar them up to a defined filename
runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, ud.path_spec), d,
cleanup=[ud.localpath], workdir=ud.pkgdir)
scmdata = ud.parm.get("scmdata", "")
if scmdata == "keep":
tar_flags = ""
else:
tar_flags = "--exclude='.svn'"
# tar them up to a defined filename
runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, ud.path_spec), d,
cleanup=[ud.localpath], workdir=ud.pkgdir)
finally:
bb.utils.unlockfile(lf)
def clean(self, ud, d):
""" Clean SVN specific files and dirs """

View File

@@ -448,7 +448,7 @@ def setup_bitbake(configParams, configuration, extrafeatures=None):
else:
logger.info("Reconnecting to bitbake server...")
if not os.path.exists(sockname):
print("Previous bitbake instance shutting down?, waiting to retry...")
logger.info("Previous bitbake instance shutting down?, waiting to retry...")
i = 0
lock = None
# Wait for 5s or until we can get the lock

View File

@@ -1409,6 +1409,12 @@ class RunQueue:
bb.event.fire(bb.event.DepTreeGenerated(depgraph), self.cooker.data)
if self.state is runQueueSceneInit:
if not self.dm_event_handler_registered:
res = bb.event.register(self.dm_event_handler_name,
lambda x: self.dm.check(self) if self.state in [runQueueSceneRun, runQueueRunning, runQueueCleanUp] else False,
('bb.event.HeartbeatEvent',))
self.dm_event_handler_registered = True
dump = self.cooker.configuration.dump_signatures
if dump:
self.rqdata.init_progress_reporter.finish()
@@ -1425,11 +1431,6 @@ class RunQueue:
self.rqexe = RunQueueExecuteScenequeue(self)
if self.state is runQueueSceneRun:
if not self.dm_event_handler_registered:
res = bb.event.register(self.dm_event_handler_name,
lambda x: self.dm.check(self) if self.state in [runQueueSceneRun, runQueueRunning, runQueueCleanUp] else False,
('bb.event.HeartbeatEvent',))
self.dm_event_handler_registered = True
retval = self.rqexe.execute()
if self.state is runQueueRunInit:

View File

@@ -239,6 +239,12 @@ class ProcessServer(multiprocessing.Process):
while not lock:
with bb.utils.timeout(3):
lock = bb.utils.lockfile(lockfile, shared=False, retry=False, block=True)
if lock:
# We hold the lock so we can remove the file (hide stale pid data)
bb.utils.remove(lockfile)
bb.utils.unlockfile(lock)
return
if not lock:
# Some systems may not have lsof available
procs = None
@@ -259,10 +265,6 @@ class ProcessServer(multiprocessing.Process):
if procs:
msg += ":\n%s" % str(procs)
print(msg)
return
# We hold the lock so we can remove the file (hide stale pid data)
bb.utils.remove(lockfile)
bb.utils.unlockfile(lock)
def idle_commands(self, delay, fds=None):
nextsleep = delay
@@ -412,27 +414,39 @@ class BitBakeServer(object):
logstart_re = re.compile(self.start_log_format % ('([0-9]+)', '([0-9-]+ [0-9:.]+)'))
started = False
lines = []
lastlines = []
with open(logfile, "r") as f:
for line in f:
if started:
lines.append(line)
else:
lastlines.append(line)
res = logstart_re.match(line.rstrip())
if res:
ldatetime = datetime.datetime.strptime(res.group(2), self.start_log_datetime_format)
if ldatetime >= startdatetime:
started = True
lines.append(line)
if len(lastlines) > 60:
lastlines = lastlines[-60:]
if lines:
if len(lines) > 10:
bb.error("Last 10 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-10:])))
if len(lines) > 60:
bb.error("Last 60 lines of server log for this session (%s):\n%s" % (logfile, "".join(lines[-60:])))
else:
bb.error("Server log for this session (%s):\n%s" % (logfile, "".join(lines)))
elif lastlines:
bb.error("Server didn't start, last 60 loglines (%s):\n%s" % (logfile, "".join(lastlines)))
else:
bb.error("%s doesn't exist" % logfile)
raise SystemExit(1)
ready.close()
def _startServer(self):
print(self.start_log_format % (os.getpid(), datetime.datetime.now().strftime(self.start_log_datetime_format)))
sys.stdout.flush()
server = ProcessServer(self.bitbake_lock, self.sock, self.sockname)
self.configuration.setServerRegIdleCallback(server.register_idle_function)
os.close(self.readypipe)
@@ -444,6 +458,8 @@ class BitBakeServer(object):
server.server_timeout = self.configuration.server_timeout
server.xmlrpcinterface = self.configuration.xmlrpcinterface
print("Started bitbake server pid %d" % os.getpid())
sys.stdout.flush()
server.start()
def connectProcessServer(sockname, featureset):
@@ -489,7 +505,8 @@ def connectProcessServer(sockname, featureset):
command_chan.close()
for i in [writefd, readfd1, writefd2]:
try:
os.close(i)
if i:
os.close(i)
except OSError:
pass
sock.close()

View File

@@ -342,10 +342,10 @@ def dump_this_task(outfile, d):
def init_colors(enable_color):
"""Initialise colour dict for passing to compare_sigfiles()"""
# First set up the colours
colors = {'color_title': '\033[1;37;40m',
'color_default': '\033[0;37;40m',
'color_add': '\033[1;32;40m',
'color_remove': '\033[1;31;40m',
colors = {'color_title': '\033[1m',
'color_default': '\033[0m',
'color_add': '\033[0;32m',
'color_remove': '\033[0;31m',
}
# Leave all keys present but clear the values
if not enable_color:

View File

@@ -1708,9 +1708,8 @@ class GitShallowTest(FetcherTest):
with self.assertRaises(bb.fetch2.UnpackError) as context:
fetcher.unpack(self.d.getVar('WORKDIR'))
self.assertTrue("No up to date source found" in context.exception.msg)
self.assertTrue("clone directory not available or not up to date" in context.exception.msg)
self.assertTrue("shallow clone not enabled or not available" in context.exception.msg)
self.assertIn("No up to date source found", context.exception.msg)
self.assertIn("clone directory not available or not up to date", context.exception.msg)
@skipIfNoNetwork()
def test_that_unpack_does_work_when_using_git_shallow_tarball_but_tarball_is_not_available(self):

View File

@@ -28,7 +28,7 @@ class LayerIndexPlugin(ActionPlugin):
layerdir = os.path.join(repodir, subdir)
if not os.path.exists(repodir):
if fetch_layer:
result = subprocess.call('git clone %s %s' % (url, repodir), shell = True)
result = subprocess.call(['git', 'clone', url, repodir])
if result:
logger.error("Failed to download %s" % url)
return None, None, None

View File

@@ -37,17 +37,30 @@
hardware.
You will use Yocto Project to build a reference embedded OS
called Poky.
<note>
The examples in this paper assume you are using a native Linux
system running a recent Ubuntu Linux distribution.
If the machine you want to use
Yocto Project on to build an image is not a native Linux
system, you can still perform these steps by using CROss
PlatformS (CROPS) and setting up a Poky container.
See the
<ulink url='&YOCTO_DOCS_DEV_URL;#setting-up-to-use-crops'>Setting Up to Use CROss PlatformS (CROPS)</ulink>"
section in the Yocto Project Development Tasks Manual for more
information.
<note><title>Notes</title>
<itemizedlist>
<listitem><para>
The examples in this paper assume you are using a
native Linux system running a recent Ubuntu Linux
distribution.
If the machine you want to use Yocto Project on to
build an image
(<ulink url='&YOCTO_DOCS_REF_URL;#hardware-build-system-term'>build host</ulink>)
is not a native Linux system, you can
still perform these steps by using CROss PlatformS
(CROPS) and setting up a Poky container.
See the
<ulink url='&YOCTO_DOCS_DEV_URL;#setting-up-to-use-crops'>Setting Up to Use CROss PlatformS (CROPS)</ulink>"
section in the Yocto Project Development Tasks Manual for more
information.
</para></listitem>
<listitem><para>
You cannot use a build host that is using the
<ulink url='https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux'>Windows Subsystem for Linux</ulink>
(WSL).
The Yocto Project is not compatible with WSL.
</para></listitem>
</itemizedlist>
</note>
</para>
@@ -75,6 +88,10 @@
Linux distributions that support the Yocto Project, see the
"<ulink url='&YOCTO_DOCS_REF_URL;#detailed-supported-distros'>Supported Linux Distributions</ulink>"
section in the Yocto Project Reference Manual.
For detailed information on preparing your build host, see
the
"<ulink url='&YOCTO_DOCS_DEV_URL;#dev-preparing-the-build-host'>Preparing the Build Host</ulink>"
section in the Yocto Project Development Tasks Manual.
</para></listitem>
<listitem><para>
<itemizedlist>

View File

@@ -123,9 +123,14 @@
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<date>November 2018</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
<revision>
<revnumber>2.6.1</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6.1 Release.</revremark>
</revision>
</revhistory>
<copyright>

View File

@@ -3237,30 +3237,22 @@
post-installation script to be delayed until the first boot.
For example, the script might need to be executed on the
device itself.
To delay script execution until boot time, use the following
structure in the post-installation script:
<literallayout class='monospaced'>
pkg_postinst_<replaceable>PACKAGENAME</replaceable>() {
if [ x"$D" = "x" ]; then
# Actions to carry out on the device go here
else
exit 1
fi
}
</literallayout>
To delay script execution until boot time, you must explicitly
mark post installs to defer to the target.
You can use <filename>pkg_postinst_ontarget()</filename> or
call
<filename>postinst-intercepts defer_to_first_boot</filename>
from <filename>pkg_postinst()</filename>.
Any failure of a <filename>pkg_postinst()</filename> script
(including exit 1) triggers an error during the
<ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-rootfs'><filename>do_rootfs</filename></ulink>
task.
</para>
<para>
The previous example delays execution until the image boots
again because the environment variable <filename>D</filename>
points to the directory containing the image when
the root filesystem is created at build time but is unset
when executed on the first boot.
</para>
<para>
If you have recipes that use <filename>pkg_postinst</filename>
scripts and they require the use of non-standard native
If you have recipes that use
<filename>pkg_postinst</filename> function
and they require the use of non-standard native
tools that have dependencies during rootfs construction, you
need to use the
<ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGE_WRITE_DEPS'><filename>PACKAGE_WRITE_DEPS</filename></ulink>
@@ -3279,8 +3271,8 @@
<filename>pkg_prerm</filename>, and
<filename>pkg_postrm</filename>, respectively.
These scrips work in exactly the same way as does
<filename>pkg_postinst</filename> with the exception that they
run at different times.
<filename>pkg_postinst</filename> with the exception
that they run at different times.
Also, because of when they run, they are not applicable to
being run at image creation time like
<filename>pkg_postinst</filename>.
@@ -7270,13 +7262,12 @@
easier-to-use and more flexible replacements for an
existing functionality in OE-Core's
<ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-image-live'><filename>image-live</filename></ulink>
class and <filename>mkefidisk.sh</filename> script.
The difference between
Wic and those examples is
that with Wic the
functionality of those scripts is implemented
by a general-purpose partitioning language, which is
based on Redhat kickstart syntax.</para></listitem>
class.
The difference between Wic and those examples is
that with Wic the functionality of those scripts is
implemented by a general-purpose partitioning language,
which is based on Redhat kickstart syntax.
</para></listitem>
</itemizedlist>
</para>
</section>
@@ -11798,16 +11789,15 @@
To run the tests automatically after the
OpenEmbedded build system successfully creates an image,
first set the
<ulink url='&YOCTO_DOCS_REF_URL;#var-TEST_IMAGE'><filename>TEST_IMAGE</filename></ulink>
<ulink url='&YOCTO_DOCS_REF_URL;#var-TESTIMAGE_AUTO'><filename>TESTIMAGE_AUTO</filename></ulink>
variable to "1" in your <filename>local.conf</filename>
file in the
<ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink>:
<literallayout class='monospaced'>
TEST_IMAGE = "1"
TESTIMAGE_AUTO = "1"
</literallayout>
Next, build your image.
If the image successfully builds, the tests will be
run:
If the image successfully builds, the tests run:
<literallayout class='monospaced'>
bitbake core-image-sato
</literallayout></para></listitem>

View File

@@ -408,6 +408,12 @@
<ulink url='https://git.yoctoproject.org/cgit/cgit.cgi/crops/about/'>CROPS</ulink>,
which leverages
<ulink url='https://www.docker.com/'>Docker Containers</ulink>.
<note>
You cannot use a build host that is using the
<ulink url='https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux'>Windows Subsystem for Linux</ulink>
(WSL).
The Yocto Project is not compatible with WSL.
</note>
</para>
<para>

View File

@@ -108,9 +108,14 @@
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<date>November 2018</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
<revision>
<revnumber>2.6.1</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6.1 Release.</revremark>
</revision>
</revhistory>
<copyright>

View File

@@ -1603,8 +1603,11 @@
<title>Creating a&nbsp;&nbsp;<filename>defconfig</filename> File</title>
<para>
A <filename>defconfig</filename> file is simply a
<filename>.config</filename> renamed to "defconfig".
A <filename>defconfig</filename> file in the context of
the Yocto Project is often a <filename>.config</filename>
file that is copied from a build or a
<filename>defconfig</filename> taken from the kernel tree
and moved into recipe space.
You can use a <filename>defconfig</filename> file
to retain a known set of kernel configurations from which the
OpenEmbedded build system can draw to create the final

View File

@@ -93,9 +93,14 @@
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<date>November 2018</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
<revision>
<revnumber>2.6.1</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6.1 Release.</revremark>
</revision>
</revhistory>
<copyright>

View File

@@ -77,9 +77,14 @@
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<date>November 2018</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
<revision>
<revnumber>2.6.1</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6.1 Release.</revremark>
</revision>
</revhistory>
<copyright>

View File

@@ -38,9 +38,14 @@
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<date>November 2018</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
<revision>
<revnumber>2.6.1</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6.1 Release.</revremark>
</revision>
</revhistory>
<copyright>

View File

@@ -1,19 +1,19 @@
<!ENTITY DISTRO "2.6">
<!ENTITY DISTRO_COMPRESSED "26">
<!ENTITY DISTRO "2.6.1">
<!ENTITY DISTRO_COMPRESSED "261">
<!ENTITY DISTRO_NAME_NO_CAP "thud">
<!ENTITY DISTRO_NAME "Thud">
<!ENTITY DISTRO_NAME_NO_CAP_MINUS_ONE "sumo">
<!ENTITY DISTRO_NAME_MINUS_ONE "Sumo">
<!ENTITY YOCTO_DOC_VERSION "2.6">
<!ENTITY YOCTO_DOC_VERSION_MINUS_ONE "2.5">
<!ENTITY DISTRO_REL_TAG "yocto-2.6">
<!ENTITY YOCTO_DOC_VERSION "2.6.1">
<!ENTITY YOCTO_DOC_VERSION_MINUS_ONE "2.5.2">
<!ENTITY DISTRO_REL_TAG "yocto-2.6.1">
<!ENTITY METAINTELVERSION "9.0">
<!ENTITY REL_MONTH_YEAR "October 2018">
<!ENTITY REL_MONTH_YEAR "December 2018">
<!ENTITY META_INTEL_REL_TAG "&METAINTELVERSION;-&DISTRO_NAME_NO_CAP;-&YOCTO_DOC_VERSION;">
<!ENTITY POKYVERSION "21.0.0">
<!ENTITY POKYVERSION_COMPRESSED "2100">
<!ENTITY POKYVERSION "21.0.1">
<!ENTITY POKYVERSION_COMPRESSED "2101">
<!ENTITY YOCTO_POKY "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;">
<!ENTITY COPYRIGHT_YEAR "2010-2018">
<!ENTITY COPYRIGHT_YEAR "2010-2019">
<!ENTITY YOCTO_DL_URL "http://downloads.yoctoproject.org">
<!ENTITY YOCTO_HOME_URL "http://www.yoctoproject.org">
<!ENTITY YOCTO_LISTS_URL "http://lists.yoctoproject.org">

View File

@@ -93,9 +93,14 @@
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<date>November 2018</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
<revision>
<revnumber>2.6.1</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6.1 Release.</revremark>
</revision>
</revhistory>
<copyright>

View File

@@ -3619,7 +3619,7 @@ $ runqemu qemux86-64 tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.
<para>
The
<link linkend='var-KERNEL_IMAGE_BASE_NAME'><filename>KERNEL_IMAGE_BASE_NAME</filename></link>
<filename>KERNEL_IMAGE_BASE_NAME</filename>
variable no longer uses the
<link linkend='var-KERNEL_IMAGETYPE'><filename>KERNEL_IMAGETYPE</filename></link>
variable to create the image's base name.
@@ -5557,8 +5557,9 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
incompatible with other implementations.
</para></listitem>
<listitem><para>
By default, the <filename>cmake</filename> class uses
<filename>ninja</filename> instead of
By default, the
<link linkend='ref-classes-cmake'><filename>cmake</filename></link>
class uses <filename>ninja</filename> instead of
<filename>make</filename> for building.
This improves build performance.
If a recipe is broken with <filename>ninja</filename>, then
@@ -5608,7 +5609,11 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
Any failure of a <filename>pkg_postinst()</filename>
script (including <filename>exit 1</filename>)
will trigger a warning during
<filename>do_rootfs</filename>.
<filename>do_rootfs</filename>.</para>
<para>For more information, see the
"<ulink url='&YOCTO_DOCS_DEV_URL;#new-recipe-post-installation-scripts'>Post-Installation Scripts</ulink>"
section in the Yocto Project Development Tasks Manual.
</para></listitem>
<listitem><para>
The <filename>elf</filename> image type has been removed.
@@ -5678,6 +5683,648 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
</para>
</section>
</section>
<section id='moving-to-the-yocto-project-2.6-release'>
<title>Moving to the Yocto Project 2.6 Release</title>
<para>
This section provides migration information for moving to the
Yocto Project 2.6 Release from the prior release.
</para>
<section id='migration-2.6-gcc-changes'>
<title>GCC 8.2 is Now Used by Default</title>
<para>
The GNU Compiler Collection version 8.2 is now used by default
for compilation.
For more information on what has changed in the GCC 8.x release,
see
<ulink url='https://gcc.gnu.org/gcc-8/changes.html'></ulink>.
</para>
<para>
If you still need to compile with version 7.x, GCC 7.3 is
also provided.
You can select this version by setting the
and can be selected by setting the
<link linkend='var-GCCVERSION'><filename>GCCVERSION</filename></link>
variable to "7.%" in your configuration.
</para>
</section>
<section id='migration-2.6-removed-recipes'>
<title>Removed Recipes</title>
<para>
The following recipes have been removed:
<literallayout class='monospaced'>
<emphasis><filename>beecrypt</filename>:</emphasis> No longer needed since moving to RPM 4.
<emphasis><filename>bigreqsproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>calibrateproto</filename>:</emphasis> Removed in favor of <filename>xinput</filename>.
<emphasis><filename>compositeproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>damageproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>dmxproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>dri2proto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>dri3proto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>eee-acpi-scripts</filename>:</emphasis> Became obsolete.
<emphasis><filename>fixesproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>fontsproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>fstests</filename>:</emphasis> Became obsolete.
<emphasis><filename>gccmakedep</filename>:</emphasis> No longer used.
<emphasis><filename>glproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>gnome-desktop3</filename>:</emphasis> No longer needed. This recipe has moved to <filename>meta-oe</filename>.
<emphasis><filename>icon-naming-utils</filename>:</emphasis> No longer used since the Sato theme was removed in 2016.
<emphasis><filename>inputproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>kbproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>libusb-compat</filename>:</emphasis> Became obsolete.
<emphasis><filename>libuser</filename>:</emphasis> Became obsolete.
<emphasis><filename>libnfsidmap</filename>:</emphasis> No longer an external requirement since <filename>nfs-utils</filename> 2.2.1. <filename>libnfsidmap</filename> is now integrated.
<emphasis><filename>libxcalibrate</filename>:</emphasis> No longer needed with <filename>xinput</filename>
<emphasis><filename>mktemp</filename>:</emphasis> Became obsolete. The <filename>mktemp</filename> command is provided by both <filename>busybox</filename> and <filename>coreutils</filename>.
<emphasis><filename>ossp-uuid</filename>:</emphasis> Is not being maintained and has mostly been replaced by <filename>uuid.h</filename> in <filename>util-linux</filename>.
<emphasis><filename>pax-utils</filename>:</emphasis> No longer needed. Previous QA tests that did use this recipe are now done at build time.
<emphasis><filename>pcmciautils</filename>:</emphasis> Became obsolete.
<emphasis><filename>pixz</filename>:</emphasis> No longer needed. <filename>xz</filename> now supports multi-threaded compression.
<emphasis><filename>presentproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>randrproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>recordproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>renderproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>resourceproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>scrnsaverproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>trace-cmd</filename>:</emphasis> Became obsolete. <filename>perf</filename> replaced this recipe's functionally.
<emphasis><filename>videoproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>wireless-tools</filename>:</emphasis> Became obsolete. Superseded by <filename>iw</filename>.
<emphasis><filename>xcmiscproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>xextproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>xf86dgaproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>xf86driproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>xf86miscproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>xf86-video-omapfb</filename>:</emphasis> Became obsolete. Use kernel modesetting driver instead.
<emphasis><filename>xf86-video-omap</filename>:</emphasis> Became obsolete. Use kernel modesetting driver instead.
<emphasis><filename>xf86vidmodeproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>xineramaproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>xproto</filename>:</emphasis> Replaced by <filename>xorgproto</filename>.
<emphasis><filename>yasm</filename>:</emphasis> No longer needed since previous usages are now satisfied by <filename>nasm</filename>.
</literallayout>
</para>
</section>
<section id='migration-2.6-packaging-changes'>
<title>Packaging Changes</title>
<para>
The following packaging changes have been made:
<itemizedlist>
<listitem><para>
<emphasis><filename>cmake</filename>:</emphasis>
<filename>cmake.m4</filename> and
<filename>toolchain</filename> files have been moved to the
main package.
</para></listitem>
<listitem><para>
<emphasis><filename>iptables</filename>:</emphasis>
The <filename>iptables</filename> modules have been split
into separate packages.
</para></listitem>
<listitem><para>
<emphasis><filename>alsa-lib</filename>:</emphasis>
<filename>libasound</filename> is now in the main
<filename>alsa-lib</filename> package instead of
<filename>libasound</filename>.
</para></listitem>
<listitem><para>
<emphasis><filename>glibc</filename>:</emphasis>
<filename>libnss-db</filename> is now in its own package
along with a <filename>/var/db/makedbs.sh</filename>
script to update databases.
</para></listitem>
<listitem><para>
<emphasis><filename>python</filename> and <filename>python3</filename>:</emphasis>
The main package has been removed from the recipe.
You must install specific packages or
<filename>python-modules</filename> /
<filename>python3-modules</filename> for everything.
</para></listitem>
<listitem><para>
<emphasis><filename>systemtap</filename>:</emphasis>
Moved <filename>systemtap-exporter</filename> into its own
package.
</para></listitem>
</itemizedlist>
</para>
</section>
<section id='migration-2.6-xorg-protocol-dependencies'>
<title>XOrg Protocol dependencies</title>
<para>
The "*proto" upstream repositories have been combined into one
"xorgproto" repository.
Thus, the corresponding recipes have also been combined into a
single <filename>xorgproto</filename> recipe.
Any recipes that depend upon the older <filename>*proto</filename>
recipes need to be changed to depend on the newer
<filename>xorgproto</filename> recipe instead.
</para>
<para>
For names of recipes removed because of this repository change,
see the
<link linkend="migration-2.6-removed-recipes">Removed Recipes</link>
section.
</para>
</section>
<section id='migration-2.6-distutils-distutils3-fetching-dependencies'>
<title><filename>distutils</filename> and <filename>distutils3</filename> Now Prevent Fetching Dependencies During the <filename>do_configure</filename> Task</title>
<para>
Previously, it was possible for Python recipes that inherited
the
<link linkend='ref-classes-distutils'><filename>distutils</filename></link>
and
<link linkend='ref-classes-distutils3'><filename>distutils3</filename></link>
classes to fetch code during the
<link linkend='ref-tasks-configure'><filename>do_configure</filename></link>
task to satisfy dependencies mentioned in
<filename>setup.py</filename> if those dependencies were not
provided in the sysroot (i.e. recipes providing the dependencies
were missing from
<link linkend='var-DEPENDS'><filename>DEPENDS</filename></link>).
<note>
This change affects classes beyond just the two mentioned
(i.e. <filename>distutils</filename> and
<filename>distutils3</filename>).
Any recipe that inherits <filename>distutils*</filename>
classes are affected.
For example, the <filename>setuptools</filename> and
<filename>setuptools3</filename> recipes are affected since
they inherit the <filename>distutils*</filename> classes.
</note>
</para>
<para>
Fetching these types of dependencies that are not provided in the
sysroot negatively affects the ability to reproduce builds.
This type of fetching is now explicitly disabled.
Consequently, any missing dependencies in Python recipes that
use these classes now result in an error during the
<filename>do_configure</filename> task.
</para>
</section>
<section id='migration-2.6-linux-yocto-configuration-audit-issues-now-correctly-reported'>
<title><filename>linux-yocto</filename> Configuration Audit Issues Now Correctly Reported</title>
<para>
Due to a bug, the kernel configuration audit functionality was
not writing out any resulting warnings during the build.
This issue is now corrected.
You might notice these warnings now if you have a custom kernel
configuration with a <filename>linux-yocto</filename> style
kernel recipe.
</para>
</section>
<section id='migration-2.6-image-kernel-artifact-naming-changes'>
<title>Image/Kernel Artifact Naming Changes</title>
<para>
The following changes have been made:
<itemizedlist>
<listitem><para>
Name variables (e.g.
<link linkend='var-IMAGE_NAME'><filename>IMAGE_NAME</filename></link>)
use a new <filename>IMAGE_VERSION_SUFFIX</filename>
variable instead of
<link linkend='var-DATETIME'><filename>DATETIME</filename></link>.
Using <filename>IMAGE_VERSION_SUFFIX</filename> allows
easier and more direct changes.</para>
<para>The <filename>IMAGE_VERSION_SUFFIX</filename>
variable is set in the
<filename>bitbake.conf</filename> configuration file as
follows:
<literallayout class='monospaced'>
IMAGE_VERSION_SUFFIX = "-${DATETIME}"
</literallayout>
</para></listitem>
<listitem><para>
Several variables have changed names for consistency:
<literallayout class='monospaced'>
Old Variable Name New Variable Name
========================================================
KERNEL_IMAGE_BASE_NAME <link linkend='var-KERNEL_IMAGE_NAME'>KERNEL_IMAGE_NAME</link>
KERNEL_IMAGE_SYMLINK_NAME <link linkend='var-KERNEL_IMAGE_LINK_NAME'>KERNEL_IMAGE_LINK_NAME</link>
MODULE_TARBALL_BASE_NAME <link linkend='var-MODULE_TARBALL_NAME'>MODULE_TARBALL_NAME</link>
MODULE_TARBALL_SYMLINK_NAME <link linkend='var-MODULE_TARBALL_LINK_NAME'>MODULE_TARBALL_LINK_NAME</link>
INITRAMFS_BASE_NAME <link linkend='var-INITRAMFS_NAME'>INITRAMFS_NAME</link>
</literallayout>
</para></listitem>
<listitem><para>
The <filename>MODULE_IMAGE_BASE_NAME</filename> variable
has been removed.
The module tarball name is now controlled directly with the
<link linkend='var-MODULE_TARBALL_NAME'><filename>MODULE_TARBALL_NAME</filename></link>
variable.
</para></listitem>
<listitem><para>
The
<link linkend='var-KERNEL_DTB_NAME'><filename>KERNEL_DTB_NAME</filename></link>
and
<link linkend='var-KERNEL_DTB_LINK_NAME'><filename>KERNEL_DTB_LINK_NAME</filename></link>
variables have been introduced to control kernel Device
Tree Binary (DTB) artifact names instead of mangling
<filename>KERNEL_IMAGE_*</filename> variables.
</para></listitem>
<listitem><para>
The
<link linkend='var-KERNEL_FIT_NAME'><filename>KERNEL_FIT_NAME</filename></link>
and
<link linkend='var-KERNEL_FIT_LINK_NAME'><filename>KERNEL_FIT_LINK_NAME</filename></link>
variables have been introduced to specify the name of
flattened image tree (FIT) kernel images similar to other
deployed artifacts.
</para></listitem>
<listitem><para>
The
<link linkend='var-MODULE_TARBALL_NAME'><filename>MODULE_TARBALL_NAME</filename></link>
and
<link linkend='var-MODULE_TARBALL_LINK_NAME'><filename>MODULE_TARBALL_LINK_NAME</filename></link>
variable values no longer include the "module-" prefix or
".tgz" suffix.
These parts are now hardcoded so that the values are
consistent with other artifact naming variables.
</para></listitem>
<listitem><para>
Added the
<link linkend='var-INITRAMFS_LINK_NAME'><filename>INITRAMFS_LINK_NAME</filename></link>
variable so that the symlink can be controlled similarly
to other artifact types.
</para></listitem>
<listitem><para>
<link linkend='var-INITRAMFS_NAME'><filename>INITRAMFS_NAME</filename></link>
now uses
"${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
instead of
"${PV}-${PR}-${MACHINE}-${DATETIME}", which
makes it consistent with other variables.
</para></listitem>
</itemizedlist>
</para>
</section>
<section id='migration-2.6-serial-console-deprecated'>
<title><filename>SERIAL_CONSOLE</filename> Deprecated</title>
<para>
The
<link linkend='var-SERIAL_CONSOLE'><filename>SERIAL_CONSOLE</filename></link>
variable has been functionally replaced by the
<link linkend='var-SERIAL_CONSOLES'><filename>SERIAL_CONSOLES</filename></link>
variable for some time.
With the Yocto Project 2.6 release,
<filename>SERIAL_CONSOLE</filename> has been officially deprecated.
</para>
<para>
<filename>SERIAL_CONSOLE</filename> will continue to work as
before for the 2.6 release.
However, for the sake of future compatibility, it is recommended
that you replace all instances of
<filename>SERIAL_CONSOLE</filename> with
<filename>SERIAL_CONSOLES</filename>.
<note>
The only difference in usage is that
<filename>SERIAL_CONSOLES</filename> expects entries to be
separated using semicolons as compared to
<filename>SERIAL_CONSOLE</filename>, which expects spaces.
</note>
</para>
</section>
<section id='migration-2.6-poky-sets-unknown-configure-option-to-qa-error'>
<title>Configure Script Reports Unknown Options as Errors</title>
<para>
If the configure script reports an unknown option, this now
triggers a QA error instead of a warning.
Any recipes that previously got away with specifying such unknown
options now need to be fixed.
</para>
</section>
<section id='migration-2.6-override-changes'>
<title>Override Changes</title>
<para>
The following changes have occurred:
<itemizedlist>
<listitem><para>
<emphasis>The <filename>virtclass-native</filename> and
<filename>virtclass-nativesdk</filename> Overrides Have
Been Removed:</emphasis>
The <filename>virtclass-native</filename> and
<filename>virtclass-nativesdk</filename> overrides have
been deprecated since 2012 in favor of
<filename>class-native</filename> and
<filename>class-nativesdk</filename>, respectively.
Both <filename>virtclass-native</filename> and
<filename>virtclass-nativesdk</filename> are now dropped.
<note>
The <filename>virtclass-multilib-</filename> overrides
for multilib are still valid.
</note>
</para></listitem>
<listitem><para>
<emphasis>The <filename>forcevariable</filename>
Override Now Has a Higher Priority Than
<filename>libc</filename> Overrides:</emphasis>
The <filename>forcevariable</filename> override is
documented to be the highest priority override.
However, due to a long-standing quirk of how
<link linkend='var-OVERRIDES'><filename>OVERRIDES</filename></link>
is set, the <filename>libc</filename> overrides (e.g.
<filename>libc-glibc</filename>,
<filename>libc-musl</filename>, and so forth) erroneously
had a higher priority.
This issue is now corrected.</para>
<para>It is likely this change will not cause any
problems.
However, it is possible with some unusual configurations
that you might see a change in behavior if you were
relying on the previous behavior.
Be sure to check how you use
<filename>forcevariable</filename> and
<filename>libc-*</filename> overrides in your custom
layers and configuration files to ensure they make sense.
</para></listitem>
<listitem><para>
<emphasis>The <filename>build-${BUILD_OS}</filename>
Override Has Been Removed:</emphasis>
The <filename>build-${BUILD_OS}</filename>, which is
typically <filename>build-linux</filename>, override has
been removed because building on a host operating system
other than a recent version of Linux is neither supported
nor recommended.
Dropping the override avoids giving the impression that
other host operating systems might be supported.
</para></listitem>
<listitem><para>
The "_remove" operator now preserves whitespace.
Consequently, when specifying list items to remove, be
aware that leading and trailing whitespace resulting from
the removal is retained.</para>
<para>See the
"<ulink url='&YOCTO_DOCS_BB_URL;#removing-override-style-syntax'>Removal (Override Style Syntax)</ulink>"
section in the BitBake User Manual for a detailed example.
</para></listitem>
</itemizedlist>
</para>
</section>
<section id='migration-2.6-systemd-configuration-now-split-out-to-system-conf'>
<title><filename>systemd</filename> Configuration is Now Split Into <filename>systemd-conf</filename></title>
<para>
The configuration for the <filename>systemd</filename> recipe
has been moved into a <filename>system-conf</filename> recipe.
Moving this configuration to a separate recipe avoids the
<filename>systemd</filename> recipe from becoming machine-specific
for cases where machine-specific configurations need to be applied
(e.g. for <filename>qemu*</filename> machines).
</para>
<para>
Currently, the new recipe packages the following files:
<literallayout class='monospaced'>
${sysconfdir}/machine-id
${sysconfdir}/systemd/coredump.conf
${sysconfdir}/systemd/journald.conf
${sysconfdir}/systemd/logind.conf
${sysconfdir}/systemd/system.conf
${sysconfdir}/systemd/user.conf
</literallayout>
If you previously used bbappend files to append the
<filename>systemd</filename> recipe to change any of the
listed files, you must do so for the
<filename>systemd-conf</filename> recipe instead.
</para>
</section>
<section id='migration-2.6-automatic-testing-changes'>
<title>Automatic Testing Changes</title>
<para>
This section provides information about automatic testing
changes:
<itemizedlist>
<listitem><para>
<emphasis><filename>TEST_IMAGE</filename> Variable Removed:</emphasis>
Prior to this release, you set the
<filename>TEST_IMAGE</filename> variable to "1" to
enable automatic testing for successfully built images.
The <filename>TEST_IMAGE</filename> variable no longer
exists and has been replaced by the
<link linkend='var-TESTIMAGE_AUTO'><filename>TESTIMAGE_AUTO</filename></link>
variable.
</para></listitem>
<listitem><para>
<emphasis>Inheriting the <filename>testimage</filename> and
<filename>testsdk</filename> Classes:</emphasis>
Best practices now dictate that you use the
<link linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link>
variable rather than the
<link linkend='var-INHERIT'><filename>INHERIT</filename></link>
variable when you inherit the
<link linkend='ref-classes-testimage*'><filename>testimage</filename></link>
and
<link linkend='ref-classes-testsdk'><filename>testsdk</filename></link>
classes used for automatic testing.
</para></listitem>
</itemizedlist>
</para>
</section>
<section id='migration-2.6-openssl-changes'>
<title>OpenSSL Changes</title>
<para>
<ulink url='https://www.openssl.org/'>OpenSSL</ulink> has been
upgraded from 1.0 to 1.1.
By default, this upgrade could cause problems for recipes that
have both versions in their dependency chains.
The problem is that both versions cannot be installed together
at build time.
<note>
It is possible to have both versions of the library at runtime.
</note>
</para>
</section>
<section id='migration-2.6-bitbake-changes'>
<title>BitBake Changes</title>
<para>
The server logfile <filename>bitbake-cookerdaemon.log</filename> is
now always placed in the
<link linkend='build-directory'>Build Directory</link>
instead of the current directory.
</para>
</section>
<section id='migration-2.6-security-changes'>
<title>Security Changes</title>
<para>
The Poky distribution now uses security compiler flags by
default.
Inclusion of these flags could cause new failures due to stricter
checking for various potential security issues in code.
</para>
</section>
<section id='migration-2.6-post-installation-changes'>
<title>Post Installation Changes</title>
<para>
You must explicitly mark post installs to defer to the target.
If you want to explicitly defer a postinstall to first boot on
the target rather than at rootfs creation time, use
<filename>pkg_postinst_ontarget()</filename> or call
<filename>postinst-intercepts defer_to_first_boot</filename> from
<filename>pkg_postinst()</filename>.
Any failure of a <filename>pkg_postinst()</filename> script
(including exit 1) triggers an error during the
<link linkend='ref-tasks-rootfs'><filename>do_rootfs</filename></link> task.
</para>
<para>
For more information on post-installation behavior, see the
"<ulink url='&YOCTO_DOCS_DEV_URL;#new-recipe-post-installation-scripts'>Post-Installation Scripts</ulink>"
section in the Yocto Project Development Tasks Manual.
</para>
</section>
<section id='migration-2.6-python-3-profile-guided-optimizations'>
<title>Python 3 Profile-Guided Optimization</title>
<para>
The <filename>python3</filename> recipe now enables profile-guided
optimization.
Using this optimization requires a little extra build time in
exchange for improved performance on the target at runtime.
Additionally, the optimization is only enabled if the current
<link linkend='var-MACHINE'><filename>MACHINE</filename></link>
has support for user-mode emulation in QEMU (i.e. "qemu-usermode"
is in
<link linkend='var-MACHINE_FEATURES'><filename>MACHINE_FEATURES</filename></link>,
which it is by default).
</para>
<para>
If you wish to disable Python profile-guided optimization
regardless of the value of
<filename>MACHINE_FEATURES</filename>, then ensure that
<link linkend='var-PACKAGECONFIG'><filename>PACKAGECONFIG</filename></link>
for the <filename>python3</filename> recipe does not contain "pgo".
You could accomplish the latter using the following at the
configuration level:
<literallayout class='monospaced'>
PACKAGECONFIG_remove_pn-python3 = "pgo"
</literallayout>
Alternatively, you can set
<filename>PACKAGECONFIG</filename> using an append file for the
<filename>python3</filename> recipe.
</para>
</section>
<section id='migration-2.6-miscellaneous-changes'>
<title>Miscellaneous Changes</title>
<para>
The following miscellaneous changes occurred:
<itemizedlist>
<listitem><para>
Default to using the Thumb-2 instruction set for armv7a
and above.
If you have any custom recipes that build software that
needs to be built with the ARM instruction set, change the
recipe to set the instruction set as follows:
<literallayout class='monospaced'>
ARM_INSTRUCTION_SET = "arm"
</literallayout>
</para></listitem>
<listitem><para>
<filename>run-postinsts</filename> no longer uses
<filename>/etc/*-postinsts</filename> for
<filename>dpkg/opkg</filename> in favor of built-in
postinst support.
RPM behavior remains unchanged.
</para></listitem>
<listitem><para>
The <filename>NOISO</filename> and
<filename>NOHDD</filename> variables are no longer used.
You now control building <filename>*.iso</filename> and
<filename>*.hddimg</filename> image types directly
by using the
<link linkend='var-IMAGE_FSTYPES'><filename>IMAGE_FSTYPES</filename></link>
variable.
</para></listitem>
<listitem><para>
The <filename>scripts/contrib/mkefidisk.sh</filename>
has been removed in favor of Wic.
</para></listitem>
<listitem><para>
<filename>kernel-modules</filename> has been removed from
<link linkend='var-RRECOMMENDS'><filename>RRECOMMENDS</filename></link>
for <filename>qemumips</filename> and
<filename>qemumips64</filename> machines.
Removal also impacts the <filename>x86-base.inc</filename>
file.
<note>
<filename>genericx86</filename> and
<filename>genericx86-64</filename> retain
<filename>kernel-modules</filename> as part of the
<filename>RRECOMMENDS</filename> variable setting.
</note>
</para></listitem>
<listitem><para>
The <filename>LGPLv2_WHITELIST_GPL-3.0</filename>
variable has been removed.
If you are setting this variable in your configuration,
set or append it to the
<filename>WHITELIST_GPL-3.0</filename> variable instead.
</para></listitem>
<listitem><para>
<filename>${ASNEEDED}</filename> is now included in
the
<link linkend='var-TARGET_LDFLAGS'><filename>TARGET_LDFLAGS</filename></link>
variable directly.
The remaining definitions from
<filename>meta/conf/distro/include/as-needed.inc</filename>
have been moved to corresponding recipes.
</para></listitem>
<listitem><para>
Support for DSA host keys has been dropped from the
OpenSSH recipes.
If you are still using DSA keys, you must switch over to a
more secure algorithm as recommended by OpenSSH upstream.
</para></listitem>
<listitem><para>
The <filename>dhcp</filename> recipe now uses the
<filename>dhcpd6.conf</filename> configuration file in
<filename>dhcpd6.service</filename> for IPv6 DHCP rather
than re-using <filename>dhcpd.conf</filename>, which is
now reserved for IPv4.
</para></listitem>
</itemizedlist>
</para>
</section>
</section>
</chapter>
<!--
vim: expandtab tw=80 ts=4

View File

@@ -449,12 +449,13 @@
<title><filename>cmake.bbclass</filename></title>
<para>
The <filename>cmake</filename> class allows for
recipes that need to build software using the CMake build system.
The <filename>cmake</filename> class allows for recipes that need to
build software using the
<ulink url='https://cmake.org/overview/'>CMake</ulink> build system.
You can use the
<link linkend='var-EXTRA_OECMAKE'><filename>EXTRA_OECMAKE</filename></link>
variable to specify additional configuration options to be passed on
the <filename>cmake</filename> command line.
variable to specify additional configuration options to be passed
using the <filename>cmake</filename> command line.
</para>
</section>
@@ -645,6 +646,54 @@
</para>
</section>
<section id='ref-classes-devupstream'>
<title><filename>devupstream.bbclass</filename></title>
<para>
The <filename>devupstream</filename> class uses
<link linkend='var-BBCLASSEXTEND'><filename>BBCLASSEXTEND</filename></link>
to add a variant of the recipe that fetches from an alternative URI
(e.g. Git) instead of a tarball.
Following is an example:
<literallayout class='monospaced'>
BBCLASSEXTEND = "devupstream:target"
SRC_URI_class-devupstream = "git://git.example.com/example"
SRCREV_class-devupstream = "abcd1234"
</literallayout>
Adding the above statements to your recipe creates a variant that has
<link linkend='var-DEFAULT_PREFERENCE'><filename>DEFAULT_PREFERENCE</filename></link>
set to "-1".
Consequently, you need to select the variant of the recipe to use it.
Any development-specific adjustments can be done by using the
<filename>class-devupstream</filename> override.
Here is an example:
<literallayout class='monospaced'>
DEPENDS_append_class-devupstream = " gperf-native"
do_configure_prepend_class-devupstream() {
touch ${S}/README
}
</literallayout>
The class currently only supports creating a development variant of
the target recipe, not <filename>native</filename> or
<filename>nativesdk</filename> variants.
</para>
<para>
The <filename>BBCLASSEXTEND</filename> syntax
(i.e. <filename>devupstream:target</filename>) provides support for
<filename>native</filename> and <filename>nativesdk</filename>
variants.
Consequently, this functionality can be added in a future release.
</para>
<para>
Support for other version control systems such as Subversion is
limited due to BitBake's automatic fetch dependencies (e.g.
<filename>subversion-native</filename>).
</para>
</section>
<section id='ref-classes-distro_features_check'>
<title><filename>distro_features_check.bbclass</filename></title>
@@ -1266,28 +1315,35 @@
<title><filename>image_types.bbclass</filename></title>
<para>
The <filename>image_types</filename> class defines all of
the standard image output types that you can enable through the
The <filename>image_types</filename> class defines all of the
standard image output types that you can enable through the
<link linkend='var-IMAGE_FSTYPES'><filename>IMAGE_FSTYPES</filename></link>
variable.
You can use this class as a reference on how to add support for custom
image output types.
You can use this class as a reference on how to add support for
custom image output types.
</para>
<para>
By default, this class is enabled through the
<link linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link>
variable in
<link linkend='ref-classes-image'><filename>image.bbclass</filename></link>.
If you define your own image types using a custom BitBake class and
then use <filename>IMAGE_CLASSES</filename> to enable it, the custom
class must either inherit <filename>image_types</filename> or
<filename>image_types</filename> must also appear in
<filename>IMAGE_CLASSES</filename>.
By default, the
<link linkend='ref-classes-image'><filename>image</filename></link>
class automatically enables the <filename>image_types</filename> class.
The <filename>image</filename> class uses the
<filename>IMGCLASSES</filename> variable as follows:
<literallayout class='monospaced'>
IMGCLASSES = "rootfs_${IMAGE_PKGTYPE} image_types ${IMAGE_CLASSES}"
IMGCLASSES += "${@['populate_sdk_base', 'populate_sdk_ext']['linux' in d.getVar("SDK_OS")]}"
IMGCLASSES += "${@bb.utils.contains_any('IMAGE_FSTYPES', 'live iso hddimg', 'image-live', '', d)}"
IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-container', '', d)}"
IMGCLASSES += "image_types_wic"
IMGCLASSES += "rootfs-postcommands"
IMGCLASSES += "image-postinst-intercepts"
inherit ${IMGCLASSES}
</literallayout>
</para>
<para>
This class also handles conversion and compression of images.
The <filename>image_types</filename> class also handles conversion and
compression of images.
<note>
To build a VMware VMDK image, you need to add "wic.vmdk" to
<filename>IMAGE_FSTYPES</filename>.
@@ -1314,14 +1370,6 @@
Normally, you do not use this class directly.
Instead, you add "live" to
<link linkend='var-IMAGE_FSTYPES'><filename>IMAGE_FSTYPES</filename></link>.
You can selectively build just one of these types through the
<link linkend='var-NOISO'><filename>NOISO</filename></link>
and
<link linkend='var-NOHDD'><filename>NOHDD</filename></link> variables.
For example, if you were building an ISO image, you would add "live"
to <filename>IMAGE_FSTYPES</filename>, set the
<filename>NOISO</filename> variable to "0" and the build system would
use the <filename>image-live</filename> class to build the ISO image.
</para>
</section>
@@ -3502,6 +3550,14 @@ This check was removed for YP 2.3 release
The classes handle loading the tests and starting the image.
To use the classes, you need to perform steps to set up the
environment.
<note><title>Tip</title>
Best practices include using
<link linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link>
rather than
<link linkend='var-INHERIT'><filename>INHERIT</filename></link> to
inherit the <filename>testimage</filename> class for automated
image testing.
</note>
</para>
<para>
@@ -3519,7 +3575,7 @@ This check was removed for YP 2.3 release
</literallayout>
The <filename>testimage-auto</filename> class runs tests on an image
after the image is constructed (i.e.
<link linkend='var-TEST_IMAGE'><filename>TEST_IMAGE</filename></link>
<link linkend='var-TESTIMAGE_AUTO'><filename>TESTIMAGE_AUTO</filename></link>
must be set to "1").
</para>
@@ -3541,6 +3597,14 @@ This check was removed for YP 2.3 release
<literallayout class='monospaced'>
$ bitbake -c testsdk image
</literallayout>
<note><title>Tip</title>
Best practices include using
<link linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link>
rather than
<link linkend='var-INHERIT'><filename>INHERIT</filename></link> to
inherit the <filename>testsdk</filename> class for automated
SDK testing.
</note>
</para>
</section>

View File

@@ -124,9 +124,14 @@
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<date>November 2018</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
<revision>
<revnumber>2.6.1</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6.1 Release.</revremark>
</revision>
</revhistory>
<copyright>

View File

@@ -65,6 +65,14 @@
that our priority is on the supported platforms listed
below.
</para></listitem>
<listitem><para>
The Yocto Project is not compatible with the
<ulink url='https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux'>Windows Subsystem for Linux</ulink>
(WSL).
You cannot use a
<link linkend='hardware-build-system-term'>build host</link>
that is running WSL.
</para></listitem>
<listitem><para>
If you encounter problems, please go to
<ulink url='&YOCTO_BUGZILLA_URL;'>Yocto Project Bugzilla</ulink>
@@ -80,46 +88,49 @@
</itemizedlist>
</note>
<itemizedlist>
<!--
<listitem><para>Ubuntu 10.04</para></listitem>
<!-- <listitem><para>Ubuntu 10.04</para></listitem>
<listitem><para>Ubuntu 11.10</para></listitem>
<listitem><para>Ubuntu 12.04 (LTS)</para></listitem>
<listitem><para>Ubuntu 13.10</para></listitem>
<listitem><para>Ubuntu 14.04 (LTS)</para></listitem> -->
<listitem><para>Ubuntu 14.04 (LTS)</para></listitem>
<listitem><para>Ubuntu 14.10</para></listitem>
<listitem><para>Ubuntu 15.04</para></listitem>
<listitem><para>Ubuntu 15.10</para></listitem>
<listitem><para>Ubuntu 15.10</para></listitem> -->
<listitem><para>Ubuntu 16.04 (LTS)</para></listitem>
<!-- <listitem><para>Fedora 16 (Verne)</para></listitem>
<listitem><para>Ubuntu 16.10 (LTS)</para></listitem>
<listitem><para>Ubuntu 17.04</para></listitem>
<!-- <listitem><para>Fedora 16 (Verne)</para></listitem>
<listitem><para>Fedora 17 (Spherical)</para></listitem>
<listitem><para>Fedora release 19 (Schrödinger's Cat)</para></listitem>
<listitem><para>Fedora release 20 (Heisenbug)</para></listitem> -->
<listitem><para>Fedora 19 (Schrödinger's Cat)</para></listitem>
<listitem><para>Fedora release 20 (Heisenbug)</para></listitem>
<listitem><para>Fedora release 22</para></listitem>
<listitem><para>Fedora release 23</para></listitem>
<!-- <listitem><para>Fedora release 24</para></listitem>
<listitem><para>CentOS release 5.6 (Final)</para></listitem>
<listitem><para>Fedora release 24</para></listitem> -->
<listitem><para>Fedora release 26</para></listitem>
<!-- <listitem><para>CentOS release 5.6 (Final)</para></listitem>
<listitem><para>CentOS release 5.7 (Final)</para></listitem>
<listitem><para>CentOS release 5.8 (Final)</para></listitem>
<listitem><para>CentOS release 6.3 (Final)</para></listitem>
<listitem><para>CentOS release 6.x</para></listitem> -->
<listitem><para>CentOS release 7.x</para></listitem>
<!-- <listitem><para>Debian GNU/Linux 6.0 (Squeeze)</para></listitem>
<!-- <listitem><para>Debian GNU/Linux 6.0 (Squeeze)</para></listitem>
<listitem><para>Debian GNU/Linux 7.x (Wheezy)</para></listitem> -->
<listitem><para>Debian GNU/Linux 8.x (Jessie)</para></listitem>
<listitem><para>Debian GNU/Linux 9.x (Stretch)</para></listitem>
<!-- <listitem><para>Debian GNU/Linux 7.1 (Wheezy)</para></listitem>
<!-- <listitem><para>Debian GNU/Linux 7.1 (Wheezy)</para></listitem>
<listitem><para>Debian GNU/Linux 7.2 (Wheezy)</para></listitem>
<listitem><para>Debian GNU/Linux 7.3 (Wheezy)</para></listitem>
<listitem><para>Debian GNU/Linux 7.4 (Wheezy)</para></listitem>
<listitem><para>Debian GNU/Linux 7.5 (Wheezy)</para></listitem>
<listitem><para>Debian GNU/Linux 7.6 (Wheezy)</para></listitem> -->
<!-- <listitem><para>openSUSE 11.4</para></listitem>
<listitem><para>Debian GNU/Linux 7.6 (Wheezy)</para></listitem>
<listitem><para>openSUSE 11.4</para></listitem>
<listitem><para>openSUSE 12.1</para></listitem>
<listitem><para>openSUSE 12.2</para></listitem>
<listitem><para>openSUSE 12.3</para></listitem>
<listitem><para>openSUSE 13.1</para></listitem> -->
<listitem><para>openSUSE 13.2</para></listitem>
<listitem><para>openSUSE 13.1</para></listitem>
<listitem><para>openSUSE 13.2</para></listitem> -->
<listitem><para>openSUSE 42.1</para></listitem>
<listitem><para>openSUSE 42.2</para></listitem>
</itemizedlist>
</para>

View File

@@ -886,7 +886,7 @@
Boots an image and performs runtime tests within the image
immediately after it has been built.
This task is enabled when you set
<link linkend='var-TEST_IMAGE'><filename>TEST_IMAGE</filename></link>
<link linkend='var-TESTIMAGE_AUTO'><filename>TESTIMAGE_AUTO</filename></link>
equal to "1".
</para>

View File

@@ -4633,7 +4633,12 @@
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
Additional <filename>cmake</filename> options.
Additional
<ulink url='https://cmake.org/overview/'>CMake</ulink>
options.
See the
<link linkend='ref-classes-cmake'><filename>cmake</filename></link>
class for additional information.
</para>
</glossdef>
</glossentry>
@@ -5228,6 +5233,28 @@
</glossdef>
</glossentry>
<glossentry id='var-GCCVERSION'><glossterm>GCCVERSION</glossterm>
<info>
GCCVERSION[doc] = "Specifies the default version of the GNU C Compiler (GCC) to use."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
Specifies the default version of the GNU C Compiler (GCC)
used for compilation.
By default, <filename>GCCVERSION</filename> is set to
"8.x" in the
<filename>meta/conf/distro/include/tcmode-default.inc</filename>
include file:
<literallayout class='monospaced'>
GCCVERSION ?= "8.%"
</literallayout>
You can override this value by setting it in a configuration
file such as the <filename>local.conf</filename>.
</para>
</glossdef>
</glossentry>
<glossentry id='var-GDB'><glossterm>GDB</glossterm>
<info>
GDB[doc] = "The minimal command and arguments to run the GNU Debugger."
@@ -7002,6 +7029,61 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
<glossentry id='var-INITRAMFS_LINK_NAME'><glossterm>INITRAMFS_LINK_NAME</glossterm>
<info>
INITRAMFS_LINK_NAME[doc] = "The link name of the initial RAM filesystem image."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The link name of the initial RAM filesystem image.
This variable is set in the
<filename>meta/classes/kernel-artifact-names.bbclass</filename>
file as follows:
<literallayout class='monospaced'>
INITRAMFS_LINK_NAME ?= "initramfs-${KERNEL_ARTIFACT_LINK_NAME}"
</literallayout>
The value of the <filename>KERNEL_ARTIFACT_LINK_NAME</filename>
variable, which is set in the same file, has the following
value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}"
</literallayout>
</para>
<para>
See the
<link linkend='var-MACHINE'><filename>MACHINE</filename></link>
variable for additional information.
</para>
</glossdef>
</glossentry>
<glossentry id='var-INITRAMFS_NAME'><glossterm>INITRAMFS_NAME</glossterm>
<info>
INITRAMFS_NAME[doc] = "The base name of the initial RAM filesystem image."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The base name of the initial RAM filesystem image.
This variable is set in the
<filename>meta/classes/kernel-artifact-names.bbclass</filename>
file as follows:
<literallayout class='monospaced'>
INITRAMFS_NAME ?= "initramfs-${KERNEL_ARTIFACT_NAME}"
</literallayout>
The value of the
<link linkend='var-KERNEL_ARTIFACT_NAME'><filename>KERNEL_ARTIFACT_NAME</filename></link>
variable, which is set in the same file, has the following
value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
</literallayout>
</para>
</glossdef>
</glossentry>
<glossentry id='var-INITRD'><glossterm>INITRD</glossterm>
<info>
INITRD[doc] = "Indicates a list of filesystem images to concatenate and use as an initial RAM disk (initrd)."
@@ -7378,6 +7460,45 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
<glossentry id='var-KERNEL_ARTIFACT_NAME'><glossterm>KERNEL_ARTIFACT_NAME</glossterm>
<info>
KERNEL_ARTIFACT_NAME[doc] = "Specifies the name of all of the build artifacts."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
Specifies the name of all of the build artifacts.
You can change the name of the artifacts by changing the
<filename>KERNEL_ARTIFACT_NAME</filename> variable.
</para>
<para>
The value of <filename>KERNEL_ARTIFACT_NAME</filename>,
which is set in the
<filename> meta/classes/kernel-artifact-names.bbclass</filename>
file, has the following default value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
</literallayout>
</para>
<para>
See the
<link linkend='var-PKGE'><filename>PKGE</filename></link>,
<link linkend='var-PKGV'><filename>PKGV</filename></link>,
<link linkend='var-PKGR'><filename>PKGR</filename></link>,
and
<link linkend='var-MACHINE'><filename>MACHINE</filename></link>
variables for additional information.
<note>
The <filename>IMAGE_VERSION_SUFFIX</filename> variable
is set to
<link linkend='var-DATETIME'><filename>DATETIME</filename></link>.
</note>
</para>
</glossdef>
</glossentry>
<glossentry id='var-KERNEL_CLASSES'><glossterm>KERNEL_CLASSES</glossterm>
<info>
KERNEL_CLASSES[doc] = "A list of classes defining kernel image types that kernel class should inherit."
@@ -7427,6 +7548,61 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
<glossentry id='var-KERNEL_DTB_LINK_NAME'><glossterm>KERNEL_DTB_LINK_NAME</glossterm>
<info>
KERNEL_DTB_LINK_NAME[doc] = "The link name of the kernel device tree binary (DTB)."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The link name of the kernel device tree binary (DTB).
This variable is set in the
<filename>meta/classes/kernel-artifact-names.bbclass</filename>
file as follows:
<literallayout class='monospaced'>
KERNEL_DTB_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
</literallayout>
The value of the <filename>KERNEL_ARTIFACT_LINK_NAME</filename>
variable, which is set in the same file, has the following
value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}"
</literallayout>
</para>
<para>
See the
<link linkend='var-MACHINE'><filename>MACHINE</filename></link>
variable for additional information.
</para>
</glossdef>
</glossentry>
<glossentry id='var-KERNEL_DTB_NAME'><glossterm>KERNEL_DTB_NAME</glossterm>
<info>
KERNEL_DTB_NAME[doc] = "The base name of the kernel device tree binary (DTB)."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The base name of the kernel device tree binary (DTB).
This variable is set in the
<filename>meta/classes/kernel-artifact-names.bbclass</filename>
file as follows:
<literallayout class='monospaced'>
KERNEL_DTB_NAME ?= "${KERNEL_ARTIFACT_NAME}"
</literallayout>
The value of the
<link linkend='var-KERNEL_ARTIFACT_NAME'><filename>KERNEL_ARTIFACT_NAME</filename></link>
variable, which is set in the same file, has the following
value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
</literallayout>
</para>
</glossdef>
</glossentry>
<glossentry id='var-KERNEL_EXTRA_ARGS'><glossterm>KERNEL_EXTRA_ARGS</glossterm>
<info>
KERNEL_EXTRA_ARGS[doc] = "Specifies additional make command-line arguments the OpenEmbedded build system passes on when compiling the kernel."
@@ -7484,38 +7660,93 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<literallayout class='monospaced'>
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc"
KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
</literallayout></para>
KERNEL_FEATURES_append_qemuall = " cfg/virtio.scc"
KERNEL_FEATURES_append_qemux86 = " cfg/sound.scc cfg/paravirt_kvm.scc"
KERNEL_FEATURES_append_qemux86-64 = " cfg/sound.scc" </literallayout></para>
</glossdef>
</glossentry>
<glossentry id='var-KERNEL_IMAGE_BASE_NAME'><glossterm>KERNEL_IMAGE_BASE_NAME</glossterm>
<glossentry id='var-KERNEL_FIT_LINK_NAME'><glossterm>KERNEL_FIT_LINK_NAME</glossterm>
<info>
KERNEL_IMAGE_BASE_NAME[doc] = "The base name of the kernel image."
KERNEL_FIT_LINK_NAME[doc] = "The link name of the kernel flattened image tree (FIT) image."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The base name of the kernel image.
The link name of the kernel flattened image tree (FIT) image.
This variable is set in the
<link linkend='ref-classes-kernel'>kernel</link> class
as follows:
<filename>meta/classes/kernel-artifact-names.bbclass</filename>
file as follows:
<literallayout class='monospaced'>
KERNEL_IMAGE_BASE_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
KERNEL_FIT_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
</literallayout>
The value of the <filename>KERNEL_ARTIFACT_LINK_NAME</filename>
variable, which is set in the same file, has the following
value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}"
</literallayout>
</para>
<para>
See the
<link linkend='var-PKGE'><filename>PKGE</filename></link>,
<link linkend='var-PKGV'><filename>PKGV</filename></link>,
<link linkend='var-PKGR'><filename>PKGR</filename></link>,
<link linkend='var-MACHINE'><filename>MACHINE</filename></link>,
and
<link linkend='var-DATETIME'><filename>DATETIME</filename></link>
variables for additional information.
<link linkend='var-MACHINE'><filename>MACHINE</filename></link>
variable for additional information.
</para>
</glossdef>
</glossentry>
<glossentry id='var-KERNEL_FIT_NAME'><glossterm>KERNEL_FIT_NAME</glossterm>
<info>
KERNEL_FIT_NAME[doc] = "The base name of the kernel flattened image tree (FIT) image."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The base name of the kernel flattened image tree (FIT) image.
This variable is set in the
<filename>meta/classes/kernel-artifact-names.bbclass</filename>
file as follows:
<literallayout class='monospaced'>
KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}"
</literallayout>
The value of the
<link linkend='var-KERNEL_ARTIFACT_NAME'><filename>KERNEL_ARTIFACT_NAME</filename></link>
variable, which is set in the same file, has the following
value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
</literallayout>
</para>
</glossdef>
</glossentry>
<glossentry id='var-KERNEL_IMAGE_LINK_NAME'><glossterm>KERNEL_IMAGE_LINK_NAME</glossterm>
<info>
KERNEL_IMAGE_LINK_NAME[doc] = "The link name for the kernel image."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The link name for the kernel image.
This variable is set in the
<filename>meta/classes/kernel-artifact-names.bbclass</filename>
file as follows:
<literallayout class='monospaced'>
KERNEL_IMAGE_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
</literallayout>
The value of the <filename>KERNEL_ARTIFACT_LINK_NAME</filename>
variable, which is set in the same file, has the following
value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}"
</literallayout>
</para>
<para>
See the
<link linkend='var-MACHINE'><filename>MACHINE</filename></link>
variable for additional information.
</para>
</glossdef>
</glossentry>
@@ -7551,6 +7782,31 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
<glossentry id='var-KERNEL_IMAGE_NAME'><glossterm>KERNEL_IMAGE_NAME</glossterm>
<info>
KERNEL_IMAGE_NAME[doc] = "The base name of the kernel image."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The base name of the kernel image.
This variable is set in the
<filename>meta/classes/kernel-artifact-names.bbclass</filename>
file as follows:
<literallayout class='monospaced'>
KERNEL_IMAGE_NAME ?= "${KERNEL_ARTIFACT_NAME}"
</literallayout>
The value of the
<link linkend='var-KERNEL_ARTIFACT_NAME'><filename>KERNEL_ARTIFACT_NAME</filename></link>
variable, which is set in the same file, has the following
value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
</literallayout>
</para>
</glossdef>
</glossentry>
<glossentry id='var-KERNEL_IMAGETYPE'><glossterm>KERNEL_IMAGETYPE</glossterm>
<info>
KERNEL_IMAGETYPE[doc] = "The type of kernel to build for a device, usually set by the machine configuration files and defaults to 'zImage'."
@@ -8964,35 +9220,6 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
<glossentry id='var-MODULE_IMAGE_BASE_NAME'><glossterm>MODULE_IMAGE_BASE_NAME</glossterm>
<info>
MODULE_IMAGE_BASE_NAME[doc] = "The base name of the kernel modules tarball."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The base name of the kernel modules tarball.
This variable is set in the
<link linkend='ref-classes-kernel'>kernel</link> class
as follows:
<literallayout class='monospaced'>
MODULE_IMAGE_BASE_NAME ?= "modules-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
</literallayout>
</para>
<para>
See the
<link linkend='var-PKGE'><filename>PKGE</filename></link>,
<link linkend='var-PKGV'><filename>PKGV</filename></link>,
<link linkend='var-PKGR'><filename>PKGR</filename></link>,
<link linkend='var-MACHINE'><filename>MACHINE</filename></link>,
and
<link linkend='var-DATETIME'><filename>DATETIME</filename></link>
variables for additional information.
</para>
</glossdef>
</glossentry>
<glossentry id='var-MODULE_TARBALL_DEPLOY'><glossterm>MODULE_TARBALL_DEPLOY</glossterm>
<info>
MODULE_TARBALL_DEPLOY[doc] = "Controls creation of the modules-*.tgz file. Set this variable to "0" to disable creation of this file, which contains all of the kernel modules resulting from a kernel build."
@@ -9009,6 +9236,61 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
<glossentry id='var-MODULE_TARBALL_LINK_NAME'><glossterm>MODULE_TARBALL_LINK_NAME</glossterm>
<info>
MODULE_TARBALL_LINK_NAME[doc] = "The link name of the kernel module tarball."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The link name of the kernel module tarball.
This variable is set in the
<filename>meta/classes/kernel-artifact-names.bbclass</filename>
file as follows:
<literallayout class='monospaced'>
MODULE_TARBALL_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"
</literallayout>
The value of the <filename>KERNEL_ARTIFACT_LINK_NAME</filename>
variable, which is set in the same file, has the following
value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}"
</literallayout>
</para>
<para>
See the
<link linkend='var-MACHINE'><filename>MACHINE</filename></link>
variable for additional information.
</para>
</glossdef>
</glossentry>
<glossentry id='var-MODULE_TARBALL_NAME'><glossterm>MODULE_TARBALL_NAME</glossterm>
<info>
MODULE_TARBALL_NAME[doc] = "The base name of the kernel module tarball."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
The base name of the kernel module tarball.
This variable is set in the
<filename>meta/classes/kernel-artifact-names.bbclass</filename>
file as follows:
<literallayout class='monospaced'>
MODULE_TARBALL_NAME ?= "${KERNEL_ARTIFACT_NAME}"
</literallayout>
The value of the
<link linkend='var-KERNEL_ARTIFACT_NAME'><filename>KERNEL_ARTIFACT_NAME</filename></link>
variable, which is set in the same file, has the following
value:
<literallayout class='monospaced'>
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
</literallayout>
</para>
</glossdef>
</glossentry>
<!--
<glossentry id='var-MULTIMACH_HOST_SYS'><glossterm>MULTIMACH_HOST_SYS</glossterm>
<info>
@@ -9237,44 +9519,6 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</para>
</glossdef>
</glossentry>
<glossentry id='var-NOHDD'><glossterm>NOHDD</glossterm>
<info>
NOHDD[doc] = "Causes the OpenEmbedded build system to skip building the .hddimg image."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
Causes the OpenEmbedded build system to skip building the
<filename>.hddimg</filename> image.
The <filename>NOHDD</filename> variable is used with the
<link linkend='ref-classes-image-live'><filename>image-live</filename></link>
class.
Set the variable to "1" to prevent the
<filename>.hddimg</filename> image from being built.
</para>
</glossdef>
</glossentry>
<glossentry id='var-NOISO'><glossterm>NOISO</glossterm>
<info>
NOISO[doc] = "Causes the OpenEmbedded build system to skip building the ISO image."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
Causes the OpenEmbedded build system to skip building the
ISO image.
The <filename>NOISO</filename> variable is used with the
<link linkend='ref-classes-image-live'><filename>image-live</filename></link>
class.
Set the variable to "1" to prevent the ISO image from
being built.
To enable building an ISO image, set the variable to "0".
</para>
</glossdef>
</glossentry>
</glossdiv>
<glossdiv id='var-glossary-o'><title>O</title>
@@ -10093,9 +10337,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
Here is the basic block structure:
<literallayout class='monospaced'>
PACKAGECONFIG ??= "f1 f2 f3 ..."
PACKAGECONFIG[f1] = "--with-f1,--without-f1,build-deps-f1,rt-deps-f1"
PACKAGECONFIG[f2] = "--with-f2,--without-f2,build-deps-f2,rt-deps-f2"
PACKAGECONFIG[f3] = "--with-f3,--without-f3,build-deps-f3,rt-deps-f3"
PACKAGECONFIG[f1] = "--with-f1,--without-f1,build-deps-f1,rt-deps-f1,rt-recs-f1"
PACKAGECONFIG[f2] = "--with-f2,--without-f2,build-deps-f2,rt-deps-f2,rt-recs-f2"
PACKAGECONFIG[f3] = "--with-f3,--without-f3,build-deps-f3,rt-deps-f3,rt-recs-f3"
</literallayout>
</para>
@@ -10104,7 +10348,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
variable itself specifies a space-separated list of the
features to enable.
Following the features, you can determine the behavior of
each feature by providing up to four order-dependent
each feature by providing up to five order-dependent
arguments, which are separated by commas.
You can omit any argument you like but must retain the
separating commas.
@@ -10130,6 +10374,10 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
(<link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>)
that should be added if the feature is enabled.
</para></listitem>
<listitem><para>Additional runtime recommendations
(<link linkend='var-RRECOMMENDS'><filename>RRECOMMENDS</filename></link>)
that should be added if the feature is enabled.
</para></listitem>
</orderedlist>
</para>
@@ -10178,7 +10426,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<filename>PACKAGECONFIG</filename>.
You can either completely override the variable:
<literallayout class='monospaced'>
PACKAGECONFIG="f4 f5"
PACKAGECONFIG = "f4 f5"
</literallayout>
Or, you can just append the variable:
<literallayout class='monospaced'>
@@ -10192,7 +10440,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
As with append files previously described,
you can either completely override the variable:
<literallayout class='monospaced'>
PACKAGECONFIG_pn-<replaceable>recipename</replaceable>="f4 f5"
PACKAGECONFIG_pn-<replaceable>recipename</replaceable> = "f4 f5"
</literallayout>
Or, you can just amend the variable:
<literallayout class='monospaced'>
@@ -15195,41 +15443,6 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
<glossentry id='var-TEST_IMAGE'><glossterm>TEST_IMAGE</glossterm>
<info>
TEST_IMAGE[doc] = "Enables test booting of virtual machine images under the QEMU emulator after any root filesystems are created and runs tests against those images."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
Automatically runs the series of automated tests for
images when an image is successfully built.
</para>
<para>
These tests are written in Python making use of the
<filename>unittest</filename> module, and the majority of
them run commands on the target system over
<filename>ssh</filename>.
You can set this variable to "1" in your
<filename>local.conf</filename> file in the
<link linkend='build-directory'>Build Directory</link>
to have the OpenEmbedded build system automatically run
these tests after an image successfully builds:
<literallayout class='monospaced'>
TEST_IMAGE = "1"
</literallayout>
For more information on enabling, running, and writing
these tests, see the
"<ulink url='&YOCTO_DOCS_DEV_URL;#performing-automated-runtime-testing'>Performing Automated Runtime Testing</ulink>"
section in the Yocto Project Development Tasks Manual and
the
"<link linkend='ref-classes-testimage*'><filename>testimage*.bbclass</filename></link>"
section.
</para>
</glossdef>
</glossentry>
<glossentry id='var-TEST_LOG_DIR'><glossterm>TEST_LOG_DIR</glossterm>
<info>
TEST_LOG_DIR[doc] = "Holds the SSH log and the boot log for QEMU machines. The TEST_LOG_DIR variable defaults to "${WORKDIR}/testimage"."
@@ -15530,6 +15743,47 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
<glossentry id='var-TESTIMAGE_AUTO'><glossterm>TESTIMAGE_AUTO</glossterm>
<info>
TESTIMAGE_AUTO[doc] = "Enables automatic testing of an image once it is built."
</info>
<glossdef>
<para role="glossdeffirst">
<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
Automatically runs the series of automated tests for
images when an image is successfully built.
Setting <filename>TESTIMAGE_AUTO</filename> to "1"
causes any image that successfully builds to automatically
boot under QEMU.
Using the variable also adds in dependencies so that any
SDK for which testing is requested is automatically built
first.
</para>
<para>
These tests are written in Python making use of the
<filename>unittest</filename> module, and the majority of
them run commands on the target system over
<filename>ssh</filename>.
You can set this variable to "1" in your
<filename>local.conf</filename> file in the
<link linkend='build-directory'>Build Directory</link>
to have the OpenEmbedded build system automatically run
these tests after an image successfully builds:
<literallayout class='monospaced'>
TESTIMAGE_AUTO = "1"
</literallayout>
For more information on enabling, running, and writing
these tests, see the
"<ulink url='&YOCTO_DOCS_DEV_URL;#performing-automated-runtime-testing'>Performing Automated Runtime Testing</ulink>"
section in the Yocto Project Development Tasks Manual and
the
"<link linkend='ref-classes-testimage*'><filename>testimage*.bbclass</filename></link>"
section.
</para>
</glossdef>
</glossentry>
<glossentry id='var-THISDIR'><glossterm>THISDIR</glossterm>
<info>
THISDIR[doc] = "The directory in which the file BitBake is currently parsing is located."

View File

@@ -58,9 +58,14 @@
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<date>November 2018</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
<revision>
<revnumber>2.6.1</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6.1 Release.</revremark>
</revision>
</revhistory>
<copyright>

View File

@@ -68,9 +68,14 @@
</revision>
<revision>
<revnumber>2.6</revnumber>
<date>&REL_MONTH_YEAR;</date>
<date>November 2018</date>
<revremark>Released with the Yocto Project 2.6 Release.</revremark>
</revision>
<revision>
<revnumber>2.6.1</revnumber>
<date>&REL_MONTH_YEAR;</date>
<revremark>Released with the Yocto Project 2.6.1 Release.</revremark>
</revision>
</revhistory>
<copyright>

View File

@@ -2,39 +2,39 @@
# This style is for manual folders like "yocto-project-qs" and "poky-ref-manual".
# This is the old way that did it. Can't do that now that we have "bitbake-user-manual" strings
# in the mega-manual.
# s@"ulink" href="http://www.yoctoproject.org/docs/2.6/[a-z]*-[a-z]*-[a-z]*/[a-z]*-[a-z]*-[a-z]*.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/yocto-project-qs/yocto-project-qs.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/poky-ref-manual/poky-ref-manual.html#@"link" href="#@g
# s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/[a-z]*-[a-z]*-[a-z]*/[a-z]*-[a-z]*-[a-z]*.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/yocto-project-qs/yocto-project-qs.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/poky-ref-manual/poky-ref-manual.html#@"link" href="#@g
# Processes all other manuals (<word>-<word> style) except for the BitBake User Manual because
# it is not included in the mega-manual.
# This style is for manual folders that use two word, which is the standard now (e.g. "ref-manual").
# This was the one-liner that worked before we introduced the BitBake User Manual, which is
# not in the mega-manual.
# s@"ulink" href="http://www.yoctoproject.org/docs/2.6/[a-z]*-[a-z]*/[a-z]*-[a-z]*.html#@"link" href="#@g
# s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/[a-z]*-[a-z]*/[a-z]*-[a-z]*.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/sdk-manual/sdk-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/bsp-guide/bsp-guide.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/dev-manual/dev-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/overview-manual/overview-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/brief-yoctoprojectqs/brief-yoctoprojectqs.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/kernel-dev/kernel-dev.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/profile-manual/profile-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6/toaster-manual/toaster-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/sdk-manual/sdk-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/bsp-guide/bsp-guide.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/dev-manual/dev-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/overview-manual/overview-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/brief-yoctoprojectqs/brief-yoctoprojectqs.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/kernel-dev/kernel-dev.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/profile-manual/profile-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/ref-manual/ref-manual.html#@"link" href="#@g
s@"ulink" href="http://www.yoctoproject.org/docs/2.6.1/toaster-manual/toaster-manual.html#@"link" href="#@g
# Process cases where just an external manual is referenced without an id anchor
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/brief-yoctoprojectqs/brief-yoctoprojectqs.html" target="_top">Yocto Project Quick Build</a>@Yocto Project Quick Build@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/yocto-project-qs/yocto-project-qs.html" target="_top">Yocto Project Quick Start</a>@Yocto Project Quick Start@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/dev-manual/dev-manual.html" target="_top">Yocto Project Development Tasks Manual</a>@Yocto Project Development Tasks Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/overview-manual/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual</a>@Yocto project Overview and Concepts Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/sdk-manual/sdk-manual.html" target="_top">Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</a>@Yocto Project Application Development and the Extensible Software Development Kit (eSDK)@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/bsp-guide/bsp-guide.html" target="_top">Yocto Project Board Support Package (BSP) Developer's Guide</a>@Yocto Project Board Support Package (BSP) Developer's Guide@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/profile-manual/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual</a>@Yocto Project Profiling and Tracing Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/kernel-dev/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual</a>@Yocto Project Linux Kernel Development Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/ref-manual/ref-manual.html" target="_top">Yocto Project Reference Manual</a>@Yocto Project Reference Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/toaster-manual/toaster-manual.html" target="_top">Toaster User Manual</a>@Toaster User Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/brief-yoctoprojectqs/brief-yoctoprojectqs.html" target="_top">Yocto Project Quick Build</a>@Yocto Project Quick Build@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/yocto-project-qs/yocto-project-qs.html" target="_top">Yocto Project Quick Start</a>@Yocto Project Quick Start@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/dev-manual/dev-manual.html" target="_top">Yocto Project Development Tasks Manual</a>@Yocto Project Development Tasks Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/overview-manual/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual</a>@Yocto project Overview and Concepts Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/sdk-manual/sdk-manual.html" target="_top">Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</a>@Yocto Project Application Development and the Extensible Software Development Kit (eSDK)@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/bsp-guide/bsp-guide.html" target="_top">Yocto Project Board Support Package (BSP) Developer's Guide</a>@Yocto Project Board Support Package (BSP) Developer's Guide@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/profile-manual/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual</a>@Yocto Project Profiling and Tracing Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/kernel-dev/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual</a>@Yocto Project Linux Kernel Development Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/ref-manual/ref-manual.html" target="_top">Yocto Project Reference Manual</a>@Yocto Project Reference Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/toaster-manual/toaster-manual.html" target="_top">Toaster User Manual</a>@Toaster User Manual@g
# Process a single, rouge occurrence of a linked reference to the Mega-Manual.
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6/mega-manual/mega-manual.html" target="_top">Yocto Project Mega-Manual</a>@Yocto Project Mega-Manual@g
s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.6.1/mega-manual/mega-manual.html" target="_top">Yocto Project Mega-Manual</a>@Yocto Project Mega-Manual@g

View File

@@ -1,6 +1,6 @@
DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "2.6"
DISTRO_VERSION = "2.6.1"
DISTRO_CODENAME = "thud"
SDK_VENDOR = "-pokysdk"
SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
@@ -67,14 +67,12 @@ SANITY_TESTED_DISTROS ?= " \
poky-2.5 \n \
poky-2.6 \n \
ubuntu-16.04 \n \
ubuntu-16.10 \n \
ubuntu-17.04 \n \
fedora-26 \n \
ubuntu-18.04 \n \
fedora-28 \n \
centos-7 \n \
debian-8 \n \
debian-9 \n \
opensuse-42.1 \n \
opensuse-42.2 \n \
opensuse-42.3 \n \
"
#
# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in

View File

@@ -157,10 +157,12 @@ USER_CLASSES ?= "buildstats image-mklibs image-prelink"
# Runtime testing of images
#
# The build system can test booting virtual machine images under qemu (an emulator)
# after any root filesystems are created and run tests against those images. To
# enable this uncomment this line. See classes/testimage(-auto).bbclass for
# further details.
#TEST_IMAGE = "1"
# after any root filesystems are created and run tests against those images. It can also
# run tests against any SDK that are built. To enable this uncomment these lines.
# See classes/test{image,sdk}.bbclass for further details.
#IMAGE_CLASSES += "testimage testsdk"
#TESTIMAGE_AUTO_qemuall = "1"
#
# Interactive shell configuration
#

View File

@@ -0,0 +1,12 @@
SUMMARY = "Recipe with a fixed delay task"
DESCRIPTION = "Contains a delay task to be used to for testing."
LICENSE = "MIT"
INHIBIT_DEFAULT_DEPS = "1"
EXCLUDE_FROM_WORLD = "1"
do_delay() {
sleep 5
}
do_delay[nostamp] = "1"
addtask delay

View File

@@ -2,7 +2,7 @@ SUMMARY = "Error Test case that fails on do_compile"
DESCRIPTION = "This generates a compile time error to be used to for testing."
LICENSE = "MIT"
INHIBIT_DEFAULT_DEPS = "1"
INHIBIT_DEFAULT_DEPS = "1"
EXCLUDE_FROM_WORLD = "1"
do_compile() {

View File

@@ -23,9 +23,6 @@
# COPYLEFT_RECIPE_TYPES = 'target'
#
# Don't filter the license by default
COPYLEFT_LICENSE_INCLUDE ?= ''
COPYLEFT_LICENSE_EXCLUDE ?= ''
# Create archive for all the recipe types
COPYLEFT_RECIPE_TYPES ?= 'target native nativesdk cross crosssdk cross-canadian'
inherit copyleft_filter

View File

@@ -31,7 +31,7 @@ BINCONFIG_GLOB ?= "*-config"
PACKAGE_PREPROCESS_FUNCS += "binconfig_package_preprocess"
binconfig_package_preprocess () {
for config in `find ${PKGD} -name '${BINCONFIG_GLOB}'`; do
for config in `find ${PKGD} -type f -name '${BINCONFIG_GLOB}'`; do
sed -i \
-e 's:${STAGING_BASELIBDIR}:${base_libdir}:g;' \
-e 's:${STAGING_LIBDIR}:${libdir}:g;' \
@@ -40,7 +40,7 @@ binconfig_package_preprocess () {
-e 's:${STAGING_DIR_HOST}${prefix}:${prefix}:' \
$config
done
for lafile in `find ${PKGD} -name "*.la"` ; do
for lafile in `find ${PKGD} -type f -name "*.la"` ; do
sed -i \
-e 's:${STAGING_BASELIBDIR}:${base_libdir}:g;' \
-e 's:${STAGING_LIBDIR}:${libdir}:g;' \
@@ -54,7 +54,7 @@ binconfig_package_preprocess () {
SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess"
binconfig_sysroot_preprocess () {
for config in `find ${S} -name '${BINCONFIG_GLOB}'` `find ${B} -name '${BINCONFIG_GLOB}'`; do
for config in `find ${S} -type f -name '${BINCONFIG_GLOB}'` `find ${B} -type f -name '${BINCONFIG_GLOB}'`; do
configname=`basename $config`
install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}
sed ${@get_binconfig_mangle(d)} $config > ${SYSROOT_DESTDIR}${bindir_crossscripts}/$configname

View File

@@ -1,187 +0,0 @@
#
# Small event handler to automatically open URLs and file
# bug reports at a bugzilla of your choiche
# it uses XML-RPC interface, so you must have it enabled
#
# Before using you must define BUGZILLA_USER, BUGZILLA_PASS credentials,
# BUGZILLA_XMLRPC - uri of xmlrpc.cgi,
# BUGZILLA_PRODUCT, BUGZILLA_COMPONENT - a place in BTS for build bugs
# BUGZILLA_VERSION - version against which to report new bugs
#
def bugzilla_find_bug_report(debug_file, server, args, bugname):
args['summary'] = bugname
bugs = server.Bug.search(args)
if len(bugs['bugs']) == 0:
print >> debug_file, "Bugs not found"
return (False,None)
else: # silently pick the first result
print >> debug_file, "Result of bug search is "
print >> debug_file, bugs
status = bugs['bugs'][0]['status']
id = bugs['bugs'][0]['id']
return (not status in ["CLOSED", "RESOLVED", "VERIFIED"],id)
def bugzilla_file_bug(debug_file, server, args, name, text, version):
args['summary'] = name
args['comment'] = text
args['version'] = version
args['op_sys'] = 'Linux'
args['platform'] = 'Other'
args['severity'] = 'normal'
args['priority'] = 'Normal'
try:
return server.Bug.create(args)['id']
except Exception, e:
print >> debug_file, repr(e)
return None
def bugzilla_reopen_bug(debug_file, server, args, bug_number):
args['ids'] = [bug_number]
args['status'] = "CONFIRMED"
try:
server.Bug.update(args)
return True
except Exception, e:
print >> debug_file, repr(e)
return False
def bugzilla_create_attachment(debug_file, server, args, bug_number, text, file_name, log, logdescription):
args['ids'] = [bug_number]
args['file_name'] = file_name
args['summary'] = logdescription
args['content_type'] = "text/plain"
args['data'] = log
args['comment'] = text
try:
server.Bug.add_attachment(args)
return True
except Exception, e:
print >> debug_file, repr(e)
return False
def bugzilla_add_comment(debug_file, server, args, bug_number, text):
args['id'] = bug_number
args['comment'] = text
try:
server.Bug.add_comment(args)
return True
except Exception, e:
print >> debug_file, repr(e)
return False
addhandler bugzilla_eventhandler
bugzilla_eventhandler[eventmask] = "bb.event.MsgNote bb.build.TaskFailed"
python bugzilla_eventhandler() {
import glob
import xmlrpclib, httplib
class ProxiedTransport(xmlrpclib.Transport):
def __init__(self, proxy, use_datetime = 0):
xmlrpclib.Transport.__init__(self, use_datetime)
self.proxy = proxy
self.user = None
self.password = None
def set_user(self, user):
self.user = user
def set_password(self, password):
self.password = password
def make_connection(self, host):
self.realhost = host
return httplib.HTTP(self.proxy)
def send_request(self, connection, handler, request_body):
connection.putrequest("POST", 'http://%s%s' % (self.realhost, handler))
if self.user != None:
if self.password != None:
auth = "%s:%s" % (self.user, self.password)
else:
auth = self.user
connection.putheader("Proxy-authorization", "Basic " + base64.encodestring(auth))
event = e
data = e.data
name = bb.event.getName(event)
if name == "MsgNote":
# avoid recursion
return
if name == "TaskFailed":
xmlrpc = data.getVar("BUGZILLA_XMLRPC")
user = data.getVar("BUGZILLA_USER")
passw = data.getVar("BUGZILLA_PASS")
product = data.getVar("BUGZILLA_PRODUCT")
compon = data.getVar("BUGZILLA_COMPONENT")
version = data.getVar("BUGZILLA_VERSION")
proxy = data.getVar('http_proxy')
if (proxy):
import urllib2
s, u, p, hostport = urllib2._parse_proxy(proxy)
transport = ProxiedTransport(hostport)
else:
transport = None
server = xmlrpclib.ServerProxy(xmlrpc, transport=transport, verbose=0)
args = {
'Bugzilla_login': user,
'Bugzilla_password': passw,
'product': product,
'component': compon}
# evil hack to figure out what is going on
debug_file = open(os.path.join(data.getVar("TMPDIR"),"..","bugzilla-log"),"a")
file = None
bugname = "%(package)s-%(pv)s-autobuild" % { "package" : data.getVar("PN"),
"pv" : data.getVar("PV"),
}
log_file = glob.glob("%s/log.%s.*" % (event.data.getVar('T'), event.task))
text = "The %s step in %s failed at %s for machine %s" % (e.task, data.getVar("PN"), data.getVar('DATETIME'), data.getVar('MACHINE') )
if len(log_file) != 0:
print >> debug_file, "Adding log file %s" % log_file[0]
file = open(log_file[0], 'r')
log = file.read()
file.close();
else:
print >> debug_file, "No log file found for the glob"
log = None
(bug_open, bug_number) = bugzilla_find_bug_report(debug_file, server, args.copy(), bugname)
print >> debug_file, "Bug is open: %s and bug number: %s" % (bug_open, bug_number)
# The bug is present and still open, attach an error log
if not bug_number:
bug_number = bugzilla_file_bug(debug_file, server, args.copy(), bugname, text, version)
if not bug_number:
print >> debug_file, "Couldn't acquire a new bug_numer, filing a bugreport failed"
else:
print >> debug_file, "The new bug_number: '%s'" % bug_number
elif not bug_open:
if not bugzilla_reopen_bug(debug_file, server, args.copy(), bug_number):
print >> debug_file, "Failed to reopen the bug #%s" % bug_number
else:
print >> debug_file, "Reopened the bug #%s" % bug_number
if bug_number and log:
print >> debug_file, "The bug is known as '%s'" % bug_number
desc = "Build log for machine %s" % (data.getVar('MACHINE'))
if not bugzilla_create_attachment(debug_file, server, args.copy(), bug_number, text, log_file[0], log, desc):
print >> debug_file, "Failed to attach the build log for bug #%s" % bug_number
else:
print >> debug_file, "Created an attachment for '%s' '%s' '%s'" % (product, compon, bug_number)
else:
print >> debug_file, "Not trying to create an attachment for bug #%s" % bug_number
if not bugzilla_add_comment(debug_file, server, args.copy(), bug_number, text, ):
print >> debug_file, "Failed to create a comment the build log for bug #%s" % bug_number
else:
print >> debug_file, "Created an attachment for '%s' '%s' '%s'" % (product, compon, bug_number)
# store bug number for oestats-client
if bug_number:
data.setVar('OESTATS_BUG_NUMBER', bug_number)
}

View File

@@ -4,8 +4,8 @@ CLASSOVERRIDE = "class-crosssdk"
MACHINEOVERRIDES = ""
PACKAGE_ARCH = "${SDK_ARCH}"
python () {
# set TUNE_PKGARCH to SDK_ARCH
d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH'))
# set TUNE_PKGARCH to SDK_ARCH
d.setVar('TUNE_PKGARCH', d.getVar('SDK_ARCH'))
}
STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"

View File

@@ -33,7 +33,7 @@ BB_HASHBASE_WHITELIST += "ICECC_PARALLEL_MAKE ICECC_DISABLED ICECC_USER_PACKAGE_
ICECC_CARET_WORKAROUND ICECC_CFLAGS ICECC_ENV_VERSION \
ICECC_DEBUG ICECC_LOGFILE ICECC_REPEAT_RATE ICECC_PREFERRED_HOST \
ICECC_CLANG_REMOTE_CPP ICECC_IGNORE_UNVERIFIED ICECC_TEST_SOCKET \
ICECC_ENV_DEBUG \
ICECC_ENV_DEBUG ICECC_SYSTEM_PACKAGE_BL ICECC_SYSTEM_CLASS_BL \
"
ICECC_ENV_EXEC ?= "${STAGING_BINDIR_NATIVE}/icecc-create-env"
@@ -61,6 +61,31 @@ CXXFLAGS += "${ICECC_CFLAGS}"
# Debug flags when generating environments
ICECC_ENV_DEBUG ??= ""
# "system" recipe blacklist contains a list of packages that can not distribute
# compile tasks for one reason or the other. When adding new entry, please
# document why (how it failed) so that we can re-evaluate it later e.g. when
# there is new version
#
# libgcc-initial - fails with CPP sanity check error if host sysroot contains
# cross gcc built for another target tune/variant
# target-sdk-provides-dummy - ${HOST_PREFIX} is empty which triggers the "NULL
# prefix" error.
ICECC_SYSTEM_PACKAGE_BL += "\
libgcc-initial \
target-sdk-provides-dummy \
"
# "system" classes that should be blacklisted. When adding new entry, please
# document why (how it failed) so that we can re-evaluate it later
#
# image - Image aren't compiling, but the testing framework for images captures
# PARALLEL_MAKE as part of the test environment. Many tests won't use
# icecream, but leaving the high level of parallelism can cause them to
# consume an unnecessary amount of resources.
ICECC_SYSTEM_CLASS_BL += "\
image \
"
def icecc_dep_prepend(d):
# INHIBIT_DEFAULT_DEPS doesn't apply to the patch command. Whether or not
# we need that built is the responsibility of the patch function / class, not
@@ -134,7 +159,7 @@ def use_icecc(bb,d):
pn = d.getVar('PN')
system_class_blacklist = []
system_class_blacklist = (d.getVar('ICECC_SYSTEM_CLASS_BL') or "").split()
user_class_blacklist = (d.getVar('ICECC_USER_CLASS_BL') or "none").split()
package_class_blacklist = system_class_blacklist + user_class_blacklist
@@ -143,15 +168,7 @@ def use_icecc(bb,d):
bb.debug(1, "%s: class %s found in blacklist, disable icecc" % (pn, black))
return "no"
# "system" recipe blacklist contains a list of packages that can not distribute compile tasks
# for one reason or the other
# this is the old list (which doesn't seem to be valid anymore, because I was able to build
# all these with icecc enabled)
# system_package_blacklist = [ "glibc", "gcc", "bind", "u-boot", "dhcp-forwarder", "enchant", "connman", "orbit2" ]
# when adding new entry, please document why (how it failed) so that we can re-evaluate it later
# e.g. when there is new version
# building libgcc-initial with icecc fails with CPP sanity check error if host sysroot contains cross gcc built for another target tune/variant
system_package_blacklist = ["libgcc-initial"]
system_package_blacklist = (d.getVar('ICECC_SYSTEM_PACKAGE_BL') or "").split()
user_package_blacklist = (d.getVar('ICECC_USER_PACKAGE_BL') or "").split()
user_package_whitelist = (d.getVar('ICECC_USER_PACKAGE_WL') or "").split()
package_blacklist = system_package_blacklist + user_package_blacklist
@@ -381,7 +398,7 @@ set_icecc_env() {
# Don't let ccache find the icecream compiler links that have been created, otherwise
# it can end up invoking icecream recursively.
export CCACHE_PATH="$PATH"
export CCACHE_DISBALE="1"
export CCACHE_DISABLE="1"
export ICECC_VERSION ICECC_CC ICECC_CXX
export PATH="$ICE_PATH:$PATH"

View File

@@ -497,7 +497,7 @@ python () {
d.setVarFlag(task, 'fakeroot', '1')
d.appendVarFlag(task, 'prefuncs', ' ' + debug + ' set_image_size')
d.prependVarFlag(task, 'postfuncs', ' create_symlinks')
d.prependVarFlag(task, 'postfuncs', 'create_symlinks ')
d.appendVarFlag(task, 'subimages', ' ' + ' '.join(subimages))
d.appendVarFlag(task, 'vardeps', ' ' + ' '.join(vardeps))
d.appendVarFlag(task, 'vardepsexclude', 'DATETIME DATE ' + ' '.join(vardepsexclude))

View File

@@ -239,6 +239,7 @@ EXTRA_IMAGECMD_ext4 ?= "-i 4096"
EXTRA_IMAGECMD_btrfs ?= "-n 4096"
EXTRA_IMAGECMD_f2fs ?= ""
do_image_cpio[depends] += "cpio-native:do_populate_sysroot"
do_image_jffs2[depends] += "mtd-utils-native:do_populate_sysroot"
do_image_cramfs[depends] += "util-linux-native:do_populate_sysroot"
do_image_ext2[depends] += "e2fsprogs-native:do_populate_sysroot"

View File

@@ -383,7 +383,7 @@ def package_qa_hash_style(path, name, d, elf, messages):
sane = True
if has_syms and not sane:
package_qa_add_message(messages, "ldflags", "No GNU_HASH in the elf binary: '%s'" % path)
package_qa_add_message(messages, "ldflags", "No GNU_HASH in the ELF binary %s, didn't pass LDFLAGS?" % path)
QAPATHTEST[buildpaths] = "package_qa_check_buildpaths"

View File

@@ -49,13 +49,7 @@ python __anonymous () {
OVERRIDES_append = ":${TARGET_ARCH}-${TARGET_OS}"
locale_base_postinst() {
#!/bin/sh
if [ "x$D" != "x" ]; then
exit 1
fi
locale_base_postinst_ontarget() {
localedef --inputfile=${datadir}/i18n/locales/%s --charmap=%s %s
}
@@ -215,7 +209,7 @@ python package_do_split_gconvs () {
def output_locale_source(name, pkgname, locale, encoding):
d.setVar('RDEPENDS_%s' % pkgname, '%slocaledef %s-localedata-%s %s-charmap-%s' % \
(mlprefix, mlprefix+bpn, legitimize_package_name(locale), mlprefix+bpn, legitimize_package_name(encoding)))
d.setVar('pkg_postinst_%s' % pkgname, d.getVar('locale_base_postinst') \
d.setVar('pkg_postinst_ontarget_%s' % pkgname, d.getVar('locale_base_postinst_ontarget') \
% (locale, encoding, locale))
d.setVar('pkg_postrm_%s' % pkgname, d.getVar('locale_base_postrm') % \
(locale, encoding, locale))

View File

@@ -309,7 +309,7 @@ def incompatible_license(d, dont_want_licenses, package=None):
except oe.license.LicenseError as exc:
bb.fatal('%s: %s' % (d.getVar('P'), exc))
return any(not oe.license.license_ok(canonical_license(d, l), \
dont_want_licenses) for l in licenses)
dont_want_licenses) for l in licenses)
def check_license_flags(d):
"""

View File

@@ -34,8 +34,8 @@ def get_kernelversion_file(p):
return None
def linux_module_packages(s, d):
suffix = ""
return " ".join(map(lambda s: "kernel-module-%s%s" % (s.lower().replace('_', '-').replace('@', '+'), suffix), s.split()))
suffix = ""
return " ".join(map(lambda s: "kernel-module-%s%s" % (s.lower().replace('_', '-').replace('@', '+'), suffix), s.split()))
# that's all

View File

@@ -24,9 +24,11 @@ python () {
for entry in (d.getVar("MULTILIB_SCRIPTS", False) or "").split():
pkg, script = entry.split(":")
epkg = d.expand(pkg)
scriptname = os.path.basename(script)
d.appendVar("ALTERNATIVE_" + pkg, scriptname + " ")
d.appendVar("ALTERNATIVE_" + epkg, " " + scriptname + " ")
d.setVarFlag("ALTERNATIVE_LINK_NAME", scriptname, script)
d.setVarFlag("ALTERNATIVE_TARGET", scriptname, script + "-${MULTILIB_SUFFIX}")
d.appendVar("multilibscript_rename", "\n mv ${PKGD}" + script + " ${PKGD}" + script + "-${MULTILIB_SUFFIX}")
d.appendVar("FILES_" + epkg, " " + script + "-${MULTILIB_SUFFIX}")
}

View File

@@ -280,6 +280,8 @@ python copy_buildsystem () {
# Create local.conf
builddir = d.getVar('TOPDIR')
if derivative and os.path.exists(builddir + '/conf/site.conf'):
shutil.copyfile(builddir + '/conf/site.conf', baseoutpath + '/conf/site.conf')
if derivative and os.path.exists(builddir + '/conf/auto.conf'):
shutil.copyfile(builddir + '/conf/auto.conf', baseoutpath + '/conf/auto.conf')
if derivative:
@@ -297,6 +299,9 @@ python copy_buildsystem () {
return origvalue, op, 0, True
varlist = ['[^#=+ ]*']
oldlines = []
if os.path.exists(builddir + '/conf/site.conf'):
with open(builddir + '/conf/site.conf', 'r') as f:
oldlines += f.readlines()
if os.path.exists(builddir + '/conf/auto.conf'):
with open(builddir + '/conf/auto.conf', 'r') as f:
oldlines += f.readlines()

View File

@@ -59,6 +59,7 @@ addtask install_ptest_base after do_install before do_package do_populate_sy
python () {
if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d):
d.setVarFlag('do_install_ptest_base', 'fakeroot', '1')
d.setVarFlag('do_install_ptest_base', 'umask', '022')
# Remove all '*ptest_base' tasks when ptest is not enabled
if not(d.getVar('PTEST_ENABLED') == "1"):

View File

@@ -22,7 +22,10 @@
# 3. Use the mtime of "known" files such as NEWS, CHANGLELOG, ...
# This works for well-kept repositories distributed via tarball.
#
# 4. If the above steps fail, use the modification time of the youngest file in the source tree.
# 4. Use the modification time of the youngest file in the source tree, if there is one.
# This will be the newest file from the distribution tarball, if any.
#
# 5. Fall back to a fixed timestamp.
#
# Once the value of SOURCE_DATE_EPOCH is determined, it is stored in the recipe's SDE_FILE.
# If none of these mechanisms are suitable, replace the do_deploy_source_date_epoch task
@@ -104,15 +107,15 @@ def get_source_date_epoch_from_git(d, sourcedir):
return source_date_epoch
def get_source_date_epoch_from_youngest_file(d, sourcedir):
if sourcedir == d.getVar('WORKDIR'):
# These sources are almost certainly not from a tarball
return None
# Do it the hard way: check all files and find the youngest one...
source_date_epoch = None
newest_file = None
# Just in case S = WORKDIR
exclude = set(["build", "image", "license-destdir", "patches", "pseudo",
"recipe-sysroot", "recipe-sysroot-native", "sysroot-destdir", "temp"])
for root, dirs, files in os.walk(sourcedir, topdown=True):
files = [f for f in files if not f[0] == '.']
dirs[:] = [d for d in dirs if d not in exclude]
for fname in files:
filename = os.path.join(root, fname)
@@ -128,6 +131,10 @@ def get_source_date_epoch_from_youngest_file(d, sourcedir):
bb.debug(1, "Newest file found: %s" % newest_file)
return source_date_epoch
def fixed_source_date_epoch():
bb.debug(1, "No tarball or git repo found to determine SOURCE_DATE_EPOCH")
return 0
python do_create_source_date_epoch_stamp() {
epochfile = d.getVar('SDE_FILE')
if os.path.isfile(epochfile):
@@ -139,11 +146,8 @@ python do_create_source_date_epoch_stamp() {
get_source_date_epoch_from_git(d, sourcedir) or
get_source_date_epoch_from_known_files(d, sourcedir) or
get_source_date_epoch_from_youngest_file(d, sourcedir) or
0 # Last resort
fixed_source_date_epoch() # Last resort
)
if source_date_epoch == 0:
# empty folder, not a single file ...
bb.debug(1, "No files found to determine SOURCE_DATE_EPOCH")
bb.debug(1, "SOURCE_DATE_EPOCH: %d" % source_date_epoch)
bb.utils.mkdirhier(d.getVar('SDE_DIR'))

View File

@@ -511,6 +511,16 @@ def check_make_version(sanity_data):
return None
# Check if we're running on WSL (Windows Subsystem for Linux). Its known not to
# work but we should tell the user that upfront.
def check_wsl(d):
with open("/proc/version", "r") as f:
verdata = f.readlines()
for l in verdata:
if "Microsoft" in l:
return "OpenEmbedded doesn't work under WSL at this time, sorry"
return None
# Tar version 1.24 and onwards handle overwriting symlinks correctly
# but earlier versions do not; this needs to work properly for sstate
def check_tar_version(sanity_data):
@@ -625,6 +635,7 @@ def check_sanity_version_change(status, d):
status.addresult(check_tar_version(d))
status.addresult(check_git_version(d))
status.addresult(check_perl_modules(d))
status.addresult(check_wsl(d))
missing = ""

View File

@@ -1,13 +1,13 @@
python siteconfig_do_siteconfig () {
shared_state = sstate_state_fromvars(d)
if shared_state['task'] != 'populate_sysroot':
return
if not os.path.isdir(os.path.join(d.getVar('FILE_DIRNAME'), 'site_config')):
bb.debug(1, "No site_config directory, skipping do_siteconfig")
return
sstate_install(shared_state, d)
bb.build.exec_func('do_siteconfig_gencache', d)
sstate_clean(shared_state, d)
shared_state = sstate_state_fromvars(d)
if shared_state['task'] != 'populate_sysroot':
return
if not os.path.isdir(os.path.join(d.getVar('FILE_DIRNAME'), 'site_config')):
bb.debug(1, "No site_config directory, skipping do_siteconfig")
return
sstate_install(shared_state, d)
bb.build.exec_func('do_siteconfig_gencache', d)
sstate_clean(shared_state, d)
}
EXTRASITECONFIG ?= ""

View File

@@ -423,8 +423,9 @@ def sstate_clean_cachefile(ss, d):
import oe.path
sstatepkgfile = d.getVar('SSTATE_PATHSPEC') + "*_" + ss['task'] + ".tgz*"
bb.note("Removing %s" % sstatepkgfile)
oe.path.remove(sstatepkgfile)
if d.getVarFlag('do_%s' % ss['task'], 'task'):
bb.note("Removing %s" % sstatepkgfile)
oe.path.remove(sstatepkgfile)
def sstate_clean_cachefiles(d):
for task in (d.getVar('SSTATETASKS') or "").split():

View File

@@ -151,7 +151,7 @@ def get_testimage_configuration(d, test_type, machine):
'IMAGE_BASENAME': d.getVar("IMAGE_BASENAME"),
'IMAGE_PKGTYPE': d.getVar("IMAGE_PKGTYPE"),
'STARTTIME': d.getVar("DATETIME"),
'HOST_DISTRO': ('-'.join(platform.linux_distribution())).replace(' ', '-'),
'HOST_DISTRO': oe.lsb.distro_identifier().replace(' ', '-'),
'LAYERS': get_layers(d.getVar("BBLAYERS"))}
return configuration
get_testimage_configuration[vardepsexclude] = "DATETIME"

View File

@@ -23,7 +23,7 @@ def get_sdk_configuration(d, test_type):
'IMAGE_BASENAME': d.getVar("IMAGE_BASENAME"),
'IMAGE_PKGTYPE': d.getVar("IMAGE_PKGTYPE"),
'STARTTIME': d.getVar("DATETIME"),
'HOST_DISTRO': ('-'.join(platform.linux_distribution())).replace(' ', '-'),
'HOST_DISTRO': oe.lsb.distro_identifier().replace(' ', '-'),
'LAYERS': get_layers(d.getVar("BBLAYERS"))}
return configuration
get_sdk_configuration[vardepsexclude] = "DATETIME"

View File

@@ -37,19 +37,19 @@ RECIPE_MAINTAINER_pn-alsa-state = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-alsa-tools = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-alsa-utils = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-alsa-utils-scripts = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-apmd = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-apmd = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-apr = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-apr-util = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-apt = "Aníbal Limón <limon.anibal@gmail.com>"
RECIPE_MAINTAINER_pn-apt-native = "Aníbal Limón <limon.anibal@gmail.com>"
RECIPE_MAINTAINER_pn-argp-standalone = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-asciidoc = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-aspell = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-assimp = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-aspell = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-assimp = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-at = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-at-spi2-atk = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-at-spi2-core = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-atk = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-at-spi2-atk = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-at-spi2-core = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-atk = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-attr = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-autoconf = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-autoconf-archive = "Robert Yang <liezhi.yang@windriver.com>"
@@ -57,11 +57,11 @@ RECIPE_MAINTAINER_pn-automake = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-avahi = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-avahi-ui = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-babeltrace = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-base-files = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-base-passwd = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-base-files = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-base-passwd = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-bash = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-bash-completion = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-bc = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-bc = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-bind = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-binutils = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-binutils-cross = "Khem Raj <raj.khem@gmail.com>"
@@ -71,8 +71,8 @@ RECIPE_MAINTAINER_pn-bison = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-bjam-native = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-blktool = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-blktrace = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-bluez5 = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-bmap-tools = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-bluez5 = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-bmap-tools = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-boost = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-bootchart2 = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-bsd-headers = "Khem Raj <raj.khem@gmail.com>"
@@ -86,7 +86,7 @@ RECIPE_MAINTAINER_pn-busybox = "Andrej Valek <andrej.valek@siemens.com>"
RECIPE_MAINTAINER_pn-busybox-inittab = "Denys Dmytriyenko <denys@ti.com>"
RECIPE_MAINTAINER_pn-bzip2 = "Denys Dmytriyenko <denys@ti.com>"
RECIPE_MAINTAINER_pn-ca-certificates = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-cairo = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-cairo = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-cantarell-fonts = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-ccache = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-cdrtools-native = "Yi Zhao <yi.zhao@windriver.com>"
@@ -108,7 +108,7 @@ RECIPE_MAINTAINER_pn-coreutils = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-cpio = "Denys Dmytriyenko <denys@ti.com>"
RECIPE_MAINTAINER_pn-cracklib = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-createrepo-c = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-cronie = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-cronie = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-cross-localedef-native = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-cryptodev-linux = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-cryptodev-module = "Robert Yang <liezhi.yang@windriver.com>"
@@ -145,11 +145,11 @@ RECIPE_MAINTAINER_pn-ed = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-eglinfo-fb = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-eglinfo-x11 = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-elfutils = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-enchant = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-enchant = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-encodings = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-epiphany = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-ethtool = "Changhyeok Bae <changhyeok.bae@lge.com>"
RECIPE_MAINTAINER_pn-eudev = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-eudev = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-expat = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-expect = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-ffmpeg = "Alexander Kanavin <alex.kanavin@gmail.com>"
@@ -187,9 +187,9 @@ RECIPE_MAINTAINER_pn-gettext = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-gettext-minimal-native = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-ghostscript = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-git = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-glew = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-glib-2.0 = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-glib-networking = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-glew = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-glib-2.0 = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-glib-networking = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-glibc = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-glibc-initial = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-glibc-locale = "Khem Raj <raj.khem@gmail.com>"
@@ -217,7 +217,7 @@ RECIPE_MAINTAINER_pn-groff = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-grub = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-grub-bootconf = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-grub-efi = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-gsettings-desktop-schemas = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-gsettings-desktop-schemas = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-gst-examples = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-gst-validate = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-gstreamer1.0 = "Anuj Mittal <anuj.mittal@intel.com>"
@@ -236,25 +236,25 @@ RECIPE_MAINTAINER_pn-gtk+3 = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-gtk-doc = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-gtk-icon-utils-native = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-gzip = "Denys Dmytriyenko <denys@ti.com>"
RECIPE_MAINTAINER_pn-harfbuzz = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-harfbuzz = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-hdparm = "Denys Dmytriyenko <denys@ti.com>"
RECIPE_MAINTAINER_pn-help2man-native = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-hicolor-icon-theme = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-hicolor-icon-theme = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-hwlatdetect = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-i2c-tools = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-i2c-tools = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-icecc-create-env = "Joshua Watt <JPEWhacker@gmail.com>"
RECIPE_MAINTAINER_pn-icu = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-ifupdown = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-init-ifupdown = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-ifupdown = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-init-ifupdown = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-boot = "Otavio Salvador <otavio.salvador@ossystems.com.br>"
RECIPE_MAINTAINER_pn-initramfs-framework = "Otavio Salvador <otavio.salvador@ossystems.com.br>"
RECIPE_MAINTAINER_pn-initramfs-live-boot = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-boot-tiny = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-install = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-install-efi = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-install-efi-testfs = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-install-testfs = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-initscripts = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-boot = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-boot-tiny = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-install = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-install-efi = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-install-efi-testfs = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-initramfs-live-install-testfs = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-initscripts = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-intltool = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-iproute2 = "Changhyeok Bae <changhyeok.bae@lge.com>"
RECIPE_MAINTAINER_pn-iptables = "Changhyeok Bae <changhyeok.bae@lge.com>"
@@ -262,7 +262,7 @@ RECIPE_MAINTAINER_pn-iputils = "Changhyeok Bae <changhyeok.bae@lge.com>"
RECIPE_MAINTAINER_pn-irda-utils = "Changhyeok Bae <changhyeok.bae@lge.com>"
RECIPE_MAINTAINER_pn-iso-codes = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-iw = "Changhyeok Bae <changhyeok.bae@lge.com>"
RECIPE_MAINTAINER_pn-libjpeg-turbo = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libjpeg-turbo = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-json-c = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-json-glib = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-kbd = "Alexander Kanavin <alex.kanavin@gmail.com>"
@@ -273,17 +273,17 @@ RECIPE_MAINTAINER_pn-keymaps = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-kmod = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-kmod-native = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-kmscube = "Carlos Rafael Giani <dv@pseudoterminal.org>"
RECIPE_MAINTAINER_pn-l3afpad = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-l3afpad = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-lame = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-ldconfig-native = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-less = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-liba52 = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-libacpi = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libacpi = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libaio = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libarchive = "Otavio Salvador <otavio.salvador@ossystems.com.br>"
RECIPE_MAINTAINER_pn-libart-lgpl = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libart-lgpl = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libassuan = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-libatomic-ops = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libatomic-ops = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libbsd = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-libcap = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-libcap-ng = "Yi Zhao <yi.zhao@windriver.com>"
@@ -291,16 +291,16 @@ RECIPE_MAINTAINER_pn-libcgroup = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libcheck = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-libcomps = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libconvert-asn1-perl = "Tim Orling <timothy.t.orling@linux.intel.com>"
RECIPE_MAINTAINER_pn-libcroco = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libcroco = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libdaemon = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libdmx = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-libdnf = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libdrm = "Otavio Salvador <otavio.salvador@ossystems.com.br>"
RECIPE_MAINTAINER_pn-libepoxy = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libepoxy = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-liberation-fonts = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-liberror-perl = "Tim Orling <timothy.t.orling@linux.intel.com>"
RECIPE_MAINTAINER_pn-libevdev = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libevent = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libevdev = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libevent = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libexif = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libfakekey = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libffi = "Alexander Kanavin <alex.kanavin@gmail.com>"
@@ -328,44 +328,44 @@ RECIPE_MAINTAINER_pn-libmpc = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-libnewt = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-libnewt-python = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-libnl = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libnotify = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libnotify = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libnsl2 = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-libnss-mdns = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libnss-nis = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-libogg = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libomxil = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libpam = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libpcap = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libogg = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libomxil = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libpam = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libpcap = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libpciaccess = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libpcre = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-libpcre2 = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-libpipeline = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libpng = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libproxy = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libpng = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libproxy = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libpthread-stubs = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-librepo = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-librsvg = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-librsvg = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libsamplerate0 = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-libsdl = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-libsdl2 = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-libsecret = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libsm = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-libsndfile1 = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-libsolv = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libsoup-2.4 = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libtasn1 = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libsolv = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libsoup-2.4 = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libtasn1 = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libtest-needs-perl = "Tim Orling <timothy.t.orling@linux.intel.com>"
RECIPE_MAINTAINER_pn-libtheora = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-libtimedate-perl = "Tim Orling <timothy.t.orling@linux.intel.com>"
RECIPE_MAINTAINER_pn-libtirpc = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libtirpc = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libtool = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-libtool-cross = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-libtool-native = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-libunistring = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libunistring = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libunwind = "Bruce Ashfield <bruce.ashfield@windriver.com>"
RECIPE_MAINTAINER_pn-liburcu = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-liburi-perl = "Tim Orling <timothy.t.orling@linux.intel.com>"
RECIPE_MAINTAINER_pn-libusb1 = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-libusb1 = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libva = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libva-utils = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-libvorbis = "Tanu Kaskinen <tanuk@iki.fi>"
@@ -420,7 +420,7 @@ RECIPE_MAINTAINER_pn-linux-yocto-rt = "Bruce Ashfield <bruce.ashfield@windriver.
RECIPE_MAINTAINER_pn-linux-yocto-tiny = "Bruce Ashfield <bruce.ashfield@windriver.com>"
RECIPE_MAINTAINER_pn-llvm = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-logrotate = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-lrzsz = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-lrzsz = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-lsb = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-lsbinitscripts = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-lsbtest = "Yi Zhao <yi.zhao@windriver.com>"
@@ -465,11 +465,11 @@ RECIPE_MAINTAINER_pn-meta-toolchain = "Richard Purdie <richard.purdie@linuxfound
RECIPE_MAINTAINER_pn-meta-world-pkgdata = "Richard Purdie <richard.purdie@linuxfoundation.org>"
RECIPE_MAINTAINER_pn-mingetty = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-mini-x-session = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-minicom = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-minicom = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-mkfontdir = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-mkfontscale = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-mklibs-native = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-mmc-utils = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-mmc-utils = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-mobile-broadband-provider-info = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-modutils-initscripts = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-mpeg2dec = "Alexander Kanavin <alex.kanavin@gmail.com>"
@@ -477,11 +477,11 @@ RECIPE_MAINTAINER_pn-mpfr = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-mpg123 = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-msmtp = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-mtd-utils = "Denys Dmytriyenko <denys@ti.com>"
RECIPE_MAINTAINER_pn-mtdev = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-mtools = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-mtdev = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-mtools = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-musl = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-musl-utils = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-mx-1.0 = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-mx-1.0 = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-nasm = "Richard Purdie <richard.purdie@linuxfoundation.org>"
RECIPE_MAINTAINER_pn-nativesdk-buildtools-perl-dummy = "Richard Purdie <richard.purdie@linuxfoundation.org>"
RECIPE_MAINTAINER_pn-nativesdk-libtool = "Richard Purdie <richard.purdie@linuxfoundation.org>"
@@ -489,7 +489,7 @@ RECIPE_MAINTAINER_pn-nativesdk-packagegroup-sdk-host = "Ross Burton <ross.burton
RECIPE_MAINTAINER_pn-nativesdk-qemu-helper = "Richard Purdie <richard.purdie@linuxfoundation.org>"
RECIPE_MAINTAINER_pn-newlib = "Alejandro Hernandez <aehs29@gmail.com>"
RECIPE_MAINTAINER_pn-ncurses = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-neard = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-neard = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-net-tools = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-netbase = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-nettle = "Armin Kuster <akuster808@gmail.com>"
@@ -499,7 +499,7 @@ RECIPE_MAINTAINER_pn-ninja = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-npth = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-nspr = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-nss = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-nss-myhostname = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-nss-myhostname = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-ofono = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-openssh = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-openssl = "Alexander Kanavin <alex.kanavin@gmail.com>"
@@ -508,7 +508,7 @@ RECIPE_MAINTAINER_pn-opkg = "Alejandro del Castillo <alejandro.delcastillo@ni.co
RECIPE_MAINTAINER_pn-opkg-arch-config = "Alejandro del Castillo <alejandro.delcastillo@ni.com>"
RECIPE_MAINTAINER_pn-opkg-keyrings = "Alejandro del Castillo <alejandro.delcastillo@ni.com>"
RECIPE_MAINTAINER_pn-opkg-utils = "Alejandro del Castillo <alejandro.delcastillo@ni.com>"
RECIPE_MAINTAINER_pn-orc = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-orc = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-os-release = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-ovmf = "Ricardo Neri <ricardo.neri-calderon@linux.intel.com>"
RECIPE_MAINTAINER_pn-ovmf-shell-image = "Ricardo Neri <ricardo.neri-calderon@linux.intel.com>"
@@ -527,12 +527,12 @@ RECIPE_MAINTAINER_pn-perl-native = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-piglit = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-pigz = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-pinentry = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-pixman = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-pixman = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-pkgconf = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-pkgconfig = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-pm-utils = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-pointercal-xinput = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-pong-clock = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-pong-clock = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-popt = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-powertop = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-ppp = "Hongxu Jia <hongxu.jia@windriver.com>"
@@ -545,7 +545,7 @@ RECIPE_MAINTAINER_pn-psplash = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-ptest-runner = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-pulseaudio = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-pulseaudio-client-conf-sato = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-puzzles = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-puzzles = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-python = "Derek Straka <derek@asterius.io>"
RECIPE_MAINTAINER_pn-python-native = "Derek Straka <derek@asterius.io>"
RECIPE_MAINTAINER_pn-python-nose = "Derek Straka <derek@asterius.io>"
@@ -580,13 +580,13 @@ RECIPE_MAINTAINER_pn-qemu-helper-native = "Richard Purdie <richard.purdie@linuxf
RECIPE_MAINTAINER_pn-qemuwrapper-cross = "Richard Purdie <richard.purdie@linuxfoundation.org>"
RECIPE_MAINTAINER_pn-quilt = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-quilt-native = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-quota = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-quota = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-re2c = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-readline = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-resolvconf = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-rgb = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-rpcbind = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-rng-tools = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-rng-tools = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-rpcsvc-proto = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER_pn-rpm = "Mark Hatle <mark.hatle@windriver.com>"
RECIPE_MAINTAINER_pn-rsync = "Yi Zhao <yi.zhao@windriver.com>"
@@ -596,15 +596,15 @@ RECIPE_MAINTAINER_pn-run-postinsts = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-rxvt-unicode = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-sato-screenshot = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-sbc = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-screen = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-screen = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-sed = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-serf = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-serf = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-setserial = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-settings-daemon = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-settings-daemon = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-shadow = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-shadow-securetty = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-shadow-sysroot = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-shared-mime-info = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-shared-mime-info = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-shutdown-desktop = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-signing-keys = "Richard Purdie <richard.purdie@linuxfoundation.org>"
RECIPE_MAINTAINER_pn-slang = "Yi Zhao <yi.zhao@windriver.com>"
@@ -612,14 +612,14 @@ RECIPE_MAINTAINER_pn-socat = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER_pn-source-highlight = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-speex = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-speexdsp = "Tanu Kaskinen <tanuk@iki.fi>"
RECIPE_MAINTAINER_pn-sqlite3 = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-sqlite3 = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-squashfs-tools = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-startup-notification = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-strace = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-stress = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-stress = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-subversion = "Richard Purdie <richard.purdie@linuxfoundation.org>"
RECIPE_MAINTAINER_pn-sudo = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-swig = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-swig = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-sysfsutils = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-sysklogd = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-syslinux = "Alexander Kanavin <alex.kanavin@gmail.com>"
@@ -637,18 +637,18 @@ RECIPE_MAINTAINER_pn-systemtap = "Victor Kamensky <kamensky@cisco.com>"
RECIPE_MAINTAINER_pn-systemtap-uprobes = "Victor Kamensky <kamensky@cisco.com>"
RECIPE_MAINTAINER_pn-sysvinit = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-sysvinit-inittab = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-taglib = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-taglib = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-tar = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-tcf-agent = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-tcf-agent = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-tcl = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-tcp-wrappers = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-testexport-tarball = "Richard Purdie <richard.purdie@linuxfoundation.org>"
RECIPE_MAINTAINER_pn-texi2html = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-texinfo = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-texinfo-dummy-native = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-texinfo = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-texinfo-dummy-native = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-tiff = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-time = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER_pn-ttf-bitstream-vera = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-ttf-bitstream-vera = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-tzcode-native = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-tzdata = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-u-boot = "Marek Vasut <marek.vasut@gmail.com>"
@@ -668,7 +668,7 @@ RECIPE_MAINTAINER_pn-v86d = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-vala = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-valgrind = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER_pn-volatile-binds = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER_pn-vte = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-vte = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-vulkan = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-vulkan-demos = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-waffle = "Ross Burton <ross.burton@intel.com>"
@@ -681,8 +681,8 @@ RECIPE_MAINTAINER_pn-weston = "Denys Dmytriyenko <denys@ti.com>"
RECIPE_MAINTAINER_pn-weston-conf = "Denys Dmytriyenko <denys@ti.com>"
RECIPE_MAINTAINER_pn-weston-init = "Denys Dmytriyenko <denys@ti.com>"
RECIPE_MAINTAINER_pn-wget = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER_pn-which = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-wic-tools = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-which = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-wic-tools = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-wpa-supplicant = "Changhyeok Bae <changhyeok.bae@lge.com>"
RECIPE_MAINTAINER_pn-x11perf = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-x264 = "Anuj Mittal <anuj.mittal@intel.com>"
@@ -694,7 +694,7 @@ RECIPE_MAINTAINER_pn-xcb-util-keysyms = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xcb-util-renderutil = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xcb-util-wm = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xcursor-transparent-theme = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xdg-utils = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-xdg-utils = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-xdpyinfo = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xev = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xeyes = "Armin Kuster <akuster808@gmail.com>"
@@ -729,7 +729,7 @@ RECIPE_MAINTAINER_pn-xserver-xorg = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xset = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xtrans = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xuser-account = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xvideo-tests = "Ross Burton <ross.burton@intel.com>"
RECIPE_MAINTAINER_pn-xvideo-tests = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER_pn-xvinfo = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xwininfo = "Armin Kuster <akuster808@gmail.com>"
RECIPE_MAINTAINER_pn-xz = "Denys Dmytriyenko <denys@ti.com>"

View File

@@ -12,7 +12,7 @@ SRC_DISTRIBUTE_LICENSES += "CC-BY-NC-3.0 CC-BY-NC-ND-1.0 CC-BY-NC-ND-2.0"
SRC_DISTRIBUTE_LICENSES += "CC-BY-NC-ND-2.5 CC-BY-NC-ND-3.0 CC-BY-NC-SA-1.0"
SRC_DISTRIBUTE_LICENSES += "CC-BY-NC-SA-2.0 CC-BY-NC-SA-2.5 CC-BY-NC-SA-3.0"
SRC_DISTRIBUTE_LICENSES += "CC-BY-ND-1.0 CC-BY-ND-2.0 CC-BY-ND-2.5 CC-BY-ND-3.0"
SRC_DISTRIBUTE_LICENSES += "CC-BY-SA-1.0 CC-BY-SA-2.0 CC-BY-SA-2.5 CC-BY-SA-3.0"
SRC_DISTRIBUTE_LICENSES += "CC-BY-SA-1.0 CC-BY-SA-2.0 CC-BY-SA-2.5 CC-BY-SA-3.0 CC-BY-SA-4.0"
SRC_DISTRIBUTE_LICENSES += "CDDL-1.0 CECILL-1.0 CECILL-2.0 CECILL-B CECILL-C"
SRC_DISTRIBUTE_LICENSES += "ClArtistic CPAL-1.0 CPL-1.0 CUA-OPL-1.0 DSSSL"
SRC_DISTRIBUTE_LICENSES += "ECL-1.0 ECL-2.0 eCos-2.0 EDL-1.0 EFL-1.0 EFL-2.0"

View File

@@ -0,0 +1,428 @@
Attribution-ShareAlike 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution-ShareAlike 4.0 International Public
License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution-ShareAlike 4.0 International Public License ("Public
License"). To the extent this Public License may be interpreted as a
contract, You are granted the Licensed Rights in consideration of Your
acceptance of these terms and conditions, and the Licensor grants You
such rights in consideration of benefits the Licensor receives from
making the Licensed Material available under these terms and
conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. BY-SA Compatible License means a license listed at
creativecommons.org/compatiblelicenses, approved by Creative
Commons as essentially the equivalent of this Public License.
d. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
e. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
f. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
g. License Elements means the license attributes listed in the name
of a Creative Commons Public License. The License Elements of this
Public License are Attribution and ShareAlike.
h. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
i. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
j. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
k. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
l. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
m. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. Additional offer from the Licensor -- Adapted Material.
Every recipient of Adapted Material from You
automatically receives an offer from the Licensor to
exercise the Licensed Rights in the Adapted Material
under the conditions of the Adapter's License You apply.
c. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
b. ShareAlike.
In addition to the conditions in Section 3(a), if You Share
Adapted Material You produce, the following conditions also apply.
1. The Adapter's License You apply must be a Creative Commons
license with the same License Elements, this version or
later, or a BY-SA Compatible License.
2. You must include the text of, or the URI or hyperlink to, the
Adapter's License You apply. You may satisfy this condition
in any reasonable manner based on the medium, means, and
context in which You Share Adapted Material.
3. You may not offer or impose any additional or different terms
or conditions on, or apply any Effective Technological
Measures to, Adapted Material that restrict exercise of the
rights granted under the Adapter's License You apply.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material,
including for purposes of Section 3(b); and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.

View File

@@ -318,9 +318,10 @@ def multiprocess_launch(target, items, d, extraargs=None):
for p in launched:
p.join()
if errors:
msg = ""
for (e, tb) in errors:
bb.error(str(tb))
bb.fatal("Fatal errors occurred in subprocesses, tracebacks printed above")
msg = msg + str(e) + ": " + str(tb) + "\n"
bb.fatal("Fatal errors occurred in subprocesses:\n%s" % msg)
return results
def squashspaces(string):

View File

@@ -24,7 +24,7 @@ from oeqa.core.decorator import decoratorClasses, OETestDecorator, \
# Generate the function definition because this differ across python versions
# Python >= 3.4.4 uses tree parameters instead four but for example Python 3.5.3
# ueses four parameters so isn't incremental.
_failed_test_args = inspect.getargspec(unittest.loader._make_failed_test).args
_failed_test_args = inspect.getfullargspec(unittest.loader._make_failed_test).args
exec("""def _make_failed_test(%s): raise exception""" % ', '.join(_failed_test_args))
unittest.loader._make_failed_test = _make_failed_test

View File

@@ -76,9 +76,7 @@ class OETestResult(_TestResult):
msg = "%s - OK - All required tests passed" % component
else:
msg = "%s - FAIL - Required tests failed" % component
skipped = len(self.skipped)
if skipped:
msg += " (skipped=%d)" % skipped
msg += " (successes=%d, skipped=%d, failures=%d, errors=%d)" % (len(self.successes), len(self.skipped), len(self.failures), len(self.errors))
self.tc.logger.info(msg)
def _getTestResultDetails(self, case):
@@ -95,13 +93,13 @@ class OETestResult(_TestResult):
# When fails at module or class level the class name is passed as string
# so figure out to see if match
m = re.search("^setUpModule \((?P<module_name>.*)\)$", scase_str)
m = re.search(r"^setUpModule \((?P<module_name>.*)\)$", scase_str)
if m:
if case.__class__.__module__ == m.group('module_name'):
found = True
break
m = re.search("^setUpClass \((?P<class_name>.*)\)$", scase_str)
m = re.search(r"^setUpClass \((?P<class_name>.*)\)$", scase_str)
if m:
class_name = "%s.%s" % (case.__class__.__module__,
case.__class__.__name__)
@@ -124,6 +122,7 @@ class OETestResult(_TestResult):
self.tc.logger.info("RESULTS:")
result = {}
logs = {}
if hasattr(self.tc, "extraresults"):
result = self.tc.extraresults
@@ -142,12 +141,20 @@ class OETestResult(_TestResult):
if case.id() in self.starttime and case.id() in self.endtime:
t = " (" + "{0:.2f}".format(self.endtime[case.id()] - self.starttime[case.id()]) + "s)"
self.tc.logger.info("RESULTS - %s - Testcase %s: %s%s" % (case.id(), oeid, status, t))
if status not in logs:
logs[status] = []
logs[status].append("RESULTS - %s - Testcase %s: %s%s" % (case.id(), oeid, status, t))
if log:
result[case.id()] = {'status': status, 'log': log}
else:
result[case.id()] = {'status': status}
for i in ['PASSED', 'SKIPPED', 'EXPECTEDFAIL', 'ERROR', 'FAILED', 'UNKNOWN']:
if i not in logs:
continue
for l in logs[i]:
self.tc.logger.info(l)
if json_file_dir:
tresultjsonhelper = OETestResultJSONHelper()
tresultjsonhelper.dump_testresult_file(json_file_dir, configuration, result_id, result)

View File

@@ -115,6 +115,9 @@ class ConcurrentTestSuite(unittest.TestSuite):
for thread, process_result in threads.values():
process_result.stop()
raise
finally:
for test in tests:
test[0]._stream.close()
def _run_test(self, test, process_result, queue):
try:

View File

@@ -18,7 +18,7 @@ class AptRepoTest(AptTest):
@classmethod
def setUpClass(cls):
service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_DEB'], 'all')
cls.repo_server = HTTPService(service_repo, cls.tc.target.server_ip)
cls.repo_server = HTTPService(service_repo, cls.tc.target.server_ip, logger=cls.tc.logger)
cls.repo_server.start()
@classmethod

View File

@@ -55,7 +55,7 @@ class DnfRepoTest(DnfTest):
@classmethod
def setUpClass(cls):
cls.repo_server = HTTPService(os.path.join(cls.tc.td['WORKDIR'], 'oe-testimage-repo'),
cls.tc.target.server_ip)
cls.tc.target.server_ip, logger=cls.tc.logger)
cls.repo_server.start()
@classmethod

View File

@@ -21,7 +21,7 @@ class OpkgRepoTest(OpkgTest):
if cls.tc.td["MULTILIB_VARIANTS"]:
allarchfeed = cls.tc.td["TUNE_PKGARCH"]
service_repo = os.path.join(cls.tc.td['DEPLOY_DIR_IPK'], allarchfeed)
cls.repo_server = HTTPService(service_repo, cls.tc.target.server_ip)
cls.repo_server = HTTPService(service_repo, cls.tc.target.server_ip, logger=cls.tc.logger)
cls.repo_server.start()
@classmethod

View File

@@ -12,6 +12,8 @@ import oeqa.utils.ftools as ftools
from oeqa.utils.commands import runCmd, bitbake, get_bb_var
from oeqa.core.case import OETestCase
import bb.utils
class OESelftestTestCase(OETestCase):
def __init__(self, methodName="runTest"):
self._extra_tear_down_commands = []
@@ -167,7 +169,7 @@ to ensure accurate results.")
if self._track_for_cleanup:
for path in self._track_for_cleanup:
if os.path.isdir(path):
shutil.rmtree(path)
bb.utils.remove(path, recurse=True)
if os.path.isfile(path):
os.remove(path)
self._track_for_cleanup = []

View File

@@ -38,10 +38,12 @@ class ImageOptionsTests(OESelftestTestCase):
self.assertTrue(os.path.isfile(p), msg = "No ccache found (%s)" % p)
self.write_config('INHERIT += "ccache"')
self.add_command_to_tearDown('bitbake -c clean m4')
bitbake("m4 -c clean")
bitbake("m4 -f -c compile")
log_compile = os.path.join(get_bb_var("WORKDIR","m4"), "temp/log.do_compile")
res = runCmd("grep ccache %s" % log_compile, ignore_status=True)
self.assertEqual(0, res.status, msg="No match for ccache in m4 log.do_compile. For further details: %s" % log_compile)
with open(log_compile, "r") as f:
loglines = "".join(f.readlines())
self.assertIn("ccache", loglines, msg="No match for ccache in m4 log.do_compile. For further details: %s" % log_compile)
@OETestID(1435)
def test_read_only_image(self):
@@ -57,15 +59,15 @@ class DiskMonTest(OESelftestTestCase):
@OETestID(277)
def test_stoptask_behavior(self):
self.write_config('BB_DISKMON_DIRS = "STOPTASKS,${TMPDIR},100000G,100K"')
res = bitbake("m4", ignore_status = True)
res = bitbake("delay -c delay", ignore_status = True)
self.assertTrue('ERROR: No new tasks can be executed since the disk space monitor action is "STOPTASKS"!' in res.output, msg = "Tasks should have stopped. Disk monitor is set to STOPTASK: %s" % res.output)
self.assertEqual(res.status, 1, msg = "bitbake reported exit code %s. It should have been 1. Bitbake output: %s" % (str(res.status), res.output))
self.write_config('BB_DISKMON_DIRS = "ABORT,${TMPDIR},100000G,100K"')
res = bitbake("m4", ignore_status = True)
res = bitbake("delay -c delay", ignore_status = True)
self.assertTrue('ERROR: Immediately abort since the disk space monitor action is "ABORT"!' in res.output, "Tasks should have been aborted immediatelly. Disk monitor is set to ABORT: %s" % res.output)
self.assertEqual(res.status, 1, msg = "bitbake reported exit code %s. It should have been 1. Bitbake output: %s" % (str(res.status), res.output))
self.write_config('BB_DISKMON_DIRS = "WARN,${TMPDIR},100000G,100K"')
res = bitbake("m4")
res = bitbake("delay -c delay")
self.assertTrue('WARNING: The free space' in res.output, msg = "A warning should have been displayed for disk monitor is set to WARN: %s" %res.output)
class SanityOptionsTest(OESelftestTestCase):

View File

@@ -70,11 +70,13 @@ CORE_IMAGE_EXTRA_INSTALL = "perl"
@classmethod
def setUpClass(cls):
super(oeSDKExtSelfTest, cls).setUpClass()
cls.tmpdir_eSDKQA = tempfile.mkdtemp(prefix='eSDKQA')
sstate_dir = get_bb_var('SSTATE_DIR')
cls.image = 'core-image-minimal'
bb_vars = get_bb_vars(['SSTATE_DIR', 'WORKDIR'], cls.image)
bb.utils.mkdirhier(bb_vars["WORKDIR"])
cls.tmpdirobj = tempfile.TemporaryDirectory(prefix="selftest-esdk-", dir=bb_vars["WORKDIR"])
cls.tmpdir_eSDKQA = cls.tmpdirobj.name
oeSDKExtSelfTest.generate_eSDK(cls.image)
# Install eSDK
@@ -87,14 +89,14 @@ CORE_IMAGE_EXTRA_INSTALL = "perl"
sstate_config="""
SDK_LOCAL_CONF_WHITELIST = "SSTATE_MIRRORS"
SSTATE_MIRRORS = "file://.* file://%s/PATH"
""" % sstate_dir
""" % bb_vars["SSTATE_DIR"]
with open(os.path.join(cls.tmpdir_eSDKQA, 'conf', 'local.conf'), 'a+') as f:
f.write(sstate_config)
@classmethod
def tearDownClass(cls):
shutil.rmtree(cls.tmpdir_eSDKQA, ignore_errors=True)
super(oeSDKExtSelfTest, cls).tearDownClass()
cls.tmpdirobj.cleanup()
super().tearDownClass()
@OETestID(1602)
def test_install_libraries_headers(self):

View File

@@ -38,13 +38,6 @@ class TestRealPath(TestCase):
( "b/test", errno.ENOENT ),
]
def __del__(self):
try:
#os.system("tree -F %s" % self.tmpdir)
shutil.rmtree(self.tmpdir)
except:
pass
def setUp(self):
self.tmpdir = tempfile.mkdtemp(prefix = "oe-test_path")
self.root = os.path.join(self.tmpdir, "R")
@@ -59,6 +52,9 @@ class TestRealPath(TestCase):
for l in self.LINKS:
os.symlink(l[1], os.path.join(self.root, l[0]))
def tearDown(self):
shutil.rmtree(self.tmpdir)
def __realpath(self, file, use_physdir, assume_dir = True):
return oe.path.realpath(os.path.join(self.root, file), self.root,
use_physdir, assume_dir = assume_dir)

View File

@@ -66,6 +66,9 @@ class TestMultiprocessLaunch(TestCase):
def dummyerror(msg):
print("ERROR: %s" % msg)
def dummyfatal(msg):
print("ERROR: %s" % msg)
raise bb.BBHandledException()
@contextmanager
def captured_output():
@@ -79,6 +82,7 @@ class TestMultiprocessLaunch(TestCase):
d = bb.data_smart.DataSmart()
bb.error = dummyerror
bb.fatal = dummyfatal
# Assert the function returns the right results
result = multiprocess_launch(testfunction, ["3", "4", "5", "6"], d, extraargs=(d,))

View File

@@ -42,7 +42,8 @@ SYSLINUX_TIMEOUT = "10"
"""Test runqemu machine"""
cmd = "%s %s" % (self.cmd_common, self.machine)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
self.assertTrue(qemu.runner.logged, "Failed: %s" % cmd)
with open(qemu.qemurunnerlog) as f:
self.assertTrue(qemu.runner.logged, "Failed: %s, %s" % (cmd, f.read()))
@OETestID(2002)
def test_boot_machine_ext4(self):
@@ -50,7 +51,7 @@ SYSLINUX_TIMEOUT = "10"
cmd = "%s %s ext4" % (self.cmd_common, self.machine)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
with open(qemu.qemurunnerlog) as f:
self.assertTrue('rootfs.ext4' in f.read(), "Failed: %s" % cmd)
self.assertIn('rootfs.ext4', f.read(), "Failed: %s" % cmd)
@OETestID(2003)
def test_boot_machine_iso(self):
@@ -58,14 +59,16 @@ SYSLINUX_TIMEOUT = "10"
cmd = "%s %s iso" % (self.cmd_common, self.machine)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
with open(qemu.qemurunnerlog) as f:
self.assertTrue('media=cdrom' in f.read(), "Failed: %s" % cmd)
self.assertIn('media=cdrom', f.read(), "Failed: %s" % cmd)
@OETestID(2004)
def test_boot_recipe_image(self):
"""Test runqemu recipe-image"""
cmd = "%s %s" % (self.cmd_common, self.recipe)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
self.assertTrue(qemu.runner.logged, "Failed: %s" % cmd)
with open(qemu.qemurunnerlog) as f:
self.assertTrue(qemu.runner.logged, "Failed: %s, %s" % (cmd, f.read()))
@OETestID(2005)
def test_boot_recipe_image_vmdk(self):
@@ -73,7 +76,7 @@ SYSLINUX_TIMEOUT = "10"
cmd = "%s %s wic.vmdk" % (self.cmd_common, self.recipe)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
with open(qemu.qemurunnerlog) as f:
self.assertTrue('format=vmdk' in f.read(), "Failed: %s" % cmd)
self.assertIn('format=vmdk', f.read(), "Failed: %s" % cmd)
@OETestID(2006)
def test_boot_recipe_image_vdi(self):
@@ -81,14 +84,16 @@ SYSLINUX_TIMEOUT = "10"
cmd = "%s %s wic.vdi" % (self.cmd_common, self.recipe)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
with open(qemu.qemurunnerlog) as f:
self.assertTrue('format=vdi' in f.read(), "Failed: %s" % cmd)
self.assertIn('format=vdi', f.read(), "Failed: %s" % cmd)
@OETestID(2007)
def test_boot_deploy(self):
"""Test runqemu deploy_dir_image"""
cmd = "%s %s" % (self.cmd_common, self.deploy_dir_image)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
self.assertTrue(qemu.runner.logged, "Failed: %s" % cmd)
with open(qemu.qemurunnerlog) as f:
self.assertTrue(qemu.runner.logged, "Failed: %s, %s" % (cmd, f.read()))
@OETestID(2008)
def test_boot_deploy_hddimg(self):
@@ -96,7 +101,7 @@ SYSLINUX_TIMEOUT = "10"
cmd = "%s %s hddimg" % (self.cmd_common, self.deploy_dir_image)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
with open(qemu.qemurunnerlog) as f:
self.assertTrue(re.search('file=.*.hddimg', f.read()), "Failed: %s" % cmd)
self.assertTrue(re.search('file=.*.hddimg', f.read()), "Failed: %s, %s" % (cmd, f.read()))
@OETestID(2009)
def test_boot_machine_slirp(self):
@@ -104,7 +109,7 @@ SYSLINUX_TIMEOUT = "10"
cmd = "%s slirp %s" % (self.cmd_common, self.machine)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
with open(qemu.qemurunnerlog) as f:
self.assertTrue(' -netdev user' in f.read(), "Failed: %s" % cmd)
self.assertIn(' -netdev user', f.read(), "Failed: %s" % cmd)
@OETestID(2009)
def test_boot_machine_slirp_qcow2(self):
@@ -112,7 +117,7 @@ SYSLINUX_TIMEOUT = "10"
cmd = "%s slirp wic.qcow2 %s" % (self.cmd_common, self.machine)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
with open(qemu.qemurunnerlog) as f:
self.assertTrue('format=qcow2' in f.read(), "Failed: %s" % cmd)
self.assertIn('format=qcow2', f.read(), "Failed: %s" % cmd)
@OETestID(2010)
def test_boot_qemu_boot(self):
@@ -123,7 +128,8 @@ SYSLINUX_TIMEOUT = "10"
self.skipTest("%s not found" % qemuboot_conf)
cmd = "%s %s" % (self.cmd_common, qemuboot_conf)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
self.assertTrue(qemu.runner.logged, "Failed: %s" % cmd)
with open(qemu.qemurunnerlog) as f:
self.assertTrue(qemu.runner.logged, "Failed: %s, %s" % (cmd, f.read()))
@OETestID(2011)
def test_boot_rootfs(self):
@@ -134,7 +140,9 @@ SYSLINUX_TIMEOUT = "10"
self.skipTest("%s not found" % rootfs)
cmd = "%s %s" % (self.cmd_common, rootfs)
with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
self.assertTrue(qemu.runner.logged, "Failed: %s" % cmd)
with open(qemu.qemurunnerlog) as f:
self.assertTrue(qemu.runner.logged, "Failed: %s, %s" % (cmd, f.read()))
# This test was designed as a separate class to test that shutdown
# command will shutdown qemu as expected on each qemu architecture

View File

@@ -1,10 +1,12 @@
from oeqa.selftest.case import OESelftestTestCase
from oeqa.utils.commands import runCmd, bitbake, get_bb_var, get_bb_vars
import os
import oe
import glob
import re
import shutil
import tempfile
from contextlib import contextmanager
from oeqa.core.decorator.oeid import OETestID
from oeqa.utils.ftools import write_file
@@ -15,23 +17,39 @@ class Signing(OESelftestTestCase):
pub_key_path = ""
secret_key_path = ""
@classmethod
def setUpClass(cls):
super(Signing, cls).setUpClass()
# Check that we can find the gpg binary and fail early if we can't
if not shutil.which("gpg"):
raise AssertionError("This test needs GnuPG")
def setup_gpg(self):
bitbake('gnupg-native -c addto_recipe_sysroot')
cls.gpg_dir = tempfile.mkdtemp(prefix="oeqa-signing-")
self.gpg_dir = tempfile.mkdtemp(prefix="oeqa-signing-")
self.track_for_cleanup(self.gpg_dir)
cls.pub_key_path = os.path.join(cls.testlayer_path, 'files', 'signing', "key.pub")
cls.secret_key_path = os.path.join(cls.testlayer_path, 'files', 'signing', "key.secret")
self.pub_key_path = os.path.join(self.testlayer_path, 'files', 'signing', "key.pub")
self.secret_key_path = os.path.join(self.testlayer_path, 'files', 'signing', "key.secret")
runCmd('gpg --batch --homedir %s --import %s %s' % (cls.gpg_dir, cls.pub_key_path, cls.secret_key_path))
nsysroot = get_bb_var("RECIPE_SYSROOT_NATIVE", "gnupg-native")
runCmd('gpg --batch --homedir %s --import %s %s' % (self.gpg_dir, self.pub_key_path, self.secret_key_path), native_sysroot=nsysroot)
return nsysroot + get_bb_var("bindir_native")
@classmethod
def tearDownClass(cls):
shutil.rmtree(cls.gpg_dir, ignore_errors=True)
@contextmanager
def create_new_builddir(self, builddir, newbuilddir):
bb.utils.mkdirhier(newbuilddir)
oe.path.copytree(builddir + "/conf", newbuilddir + "/conf")
oe.path.copytree(builddir + "/cache", newbuilddir + "/cache")
origenv = os.environ.copy()
for e in os.environ:
if builddir in os.environ[e]:
os.environ[e] = os.environ[e].replace(builddir, newbuilddir)
os.chdir(newbuilddir)
try:
yield
finally:
for e in origenv:
os.environ[e] = origenv[e]
os.chdir(builddir)
@OETestID(1362)
def test_signing_packages(self):
@@ -46,6 +64,8 @@ class Signing(OESelftestTestCase):
"""
import oe.packagedata
self.setup_gpg()
package_classes = get_bb_var('PACKAGE_CLASSES')
if 'package_rpm' not in package_classes:
self.skipTest('This test requires RPM Packaging.')
@@ -108,11 +128,12 @@ class Signing(OESelftestTestCase):
test_recipe = 'ed'
builddir = os.environ.get('BUILDDIR')
# Since we need gpg but we can't use gpg-native for sstate signatures, we
# build gpg-native in our original builddir then run the tests in a second one.
builddir = os.environ.get('BUILDDIR') + "-testsign"
sstatedir = os.path.join(builddir, 'test-sstate')
self.add_command_to_tearDown('bitbake -c clean %s' % test_recipe)
self.add_command_to_tearDown('rm -rf %s' % sstatedir)
nsysroot = self.setup_gpg()
feature = 'SSTATE_SIG_KEY ?= "testuser"\n'
feature += 'SSTATE_SIG_PASSPHRASE ?= "test123"\n'
@@ -124,19 +145,26 @@ class Signing(OESelftestTestCase):
self.write_config(feature)
bitbake('-c clean %s' % test_recipe)
bitbake(test_recipe)
with self.create_new_builddir(os.environ['BUILDDIR'], builddir):
recipe_sig = glob.glob(sstatedir + '/*/*:ed:*_package.tgz.sig')
recipe_tgz = glob.glob(sstatedir + '/*/*:ed:*_package.tgz')
os.environ["PATH"] = nsysroot + ":" + os.environ["PATH"]
self.add_command_to_tearDown('bitbake -c clean %s' % test_recipe)
self.add_command_to_tearDown('rm -rf %s' % sstatedir)
self.add_command_to_tearDown('rm -rf %s' % builddir)
self.assertEqual(len(recipe_sig), 1, 'Failed to find .sig file.')
self.assertEqual(len(recipe_tgz), 1, 'Failed to find .tgz file.')
bitbake('-c clean %s' % test_recipe)
bitbake('-c populate_lic %s' % test_recipe)
ret = runCmd('gpg --homedir %s --verify %s %s' % (self.gpg_dir, recipe_sig[0], recipe_tgz[0]))
# gpg: Signature made Thu 22 Oct 2015 01:45:09 PM EEST using RSA key ID 61EEFB30
# gpg: Good signature from "testuser (nocomment) <testuser@email.com>"
self.assertIn('gpg: Good signature from', ret.output, 'Package signed incorrectly.')
recipe_sig = glob.glob(sstatedir + '/*/*:ed:*_populate_lic.tgz.sig')
recipe_tgz = glob.glob(sstatedir + '/*/*:ed:*_populate_lic.tgz')
self.assertEqual(len(recipe_sig), 1, 'Failed to find .sig file.')
self.assertEqual(len(recipe_tgz), 1, 'Failed to find .tgz file.')
ret = runCmd('gpg --homedir %s --verify %s %s' % (self.gpg_dir, recipe_sig[0], recipe_tgz[0]))
# gpg: Signature made Thu 22 Oct 2015 01:45:09 PM EEST using RSA key ID 61EEFB30
# gpg: Good signature from "testuser (nocomment) <testuser@email.com>"
self.assertIn('gpg: Good signature from', ret.output, 'Package signed incorrectly.')
class LockedSignatures(OESelftestTestCase):

View File

@@ -5,12 +5,13 @@ import os
import time
import glob
import sys
import imp
import importlib
import signal
from shutil import copyfile
from random import choice
import oeqa
import oe
from oeqa.core.context import OETestContext, OETestContextExecutor
from oeqa.core.exception import OEQAPreRun, OEQATestNotFound
@@ -100,10 +101,15 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
def _process_args(self, logger, args):
args.test_start_time = time.strftime("%Y%m%d%H%M%S")
args.output_log = '%s-results-%s.log' % (self.name, args.test_start_time)
args.test_data_file = None
args.CASES_PATHS = None
bbvars = get_bb_vars()
logdir = os.environ.get("BUILDDIR")
if 'LOG_DIR' in bbvars:
logdir = bbvars['LOG_DIR']
args.output_log = logdir + '/%s-results-%s.log' % (self.name, args.test_start_time)
super(OESelftestTestContextExecutor, self)._process_args(logger, args)
if args.list_modules:
@@ -113,7 +119,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
elif args.list_tests:
args.list_tests = 'name'
self.tc_kwargs['init']['td'] = get_bb_vars()
self.tc_kwargs['init']['td'] = bbvars
self.tc_kwargs['init']['machines'] = self._get_available_machines()
builddir = os.environ.get("BUILDDIR")
@@ -178,7 +184,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
self.tc.logger.info("\t%s" % l)
sys.path.extend(layer_libdirs)
imp.reload(oeqa.selftest)
importlib.reload(oeqa.selftest)
_check_required_env_variables(["BUILDDIR"])
_check_presence_meta_selftest()
@@ -218,7 +224,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
configuration = {'TEST_TYPE': 'oeselftest',
'STARTTIME': args.test_start_time,
'MACHINE': self.tc.td["MACHINE"],
'HOST_DISTRO': ('-'.join(platform.linux_distribution())).replace(' ', '-'),
'HOST_DISTRO': oe.lsb.distro_identifier().replace(' ', '-'),
'HOST_NAME': metadata['hostname'],
'LAYERS': metadata['layers']}
return configuration
@@ -303,7 +309,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
output_link = os.path.join(os.path.dirname(args.output_log),
"%s-results.log" % self.name)
if os.path.exists(output_link):
if os.path.lexists(output_link):
os.remove(output_link)
os.symlink(args.output_log, output_link)

View File

@@ -17,7 +17,8 @@ class BuildProject(metaclass=ABCMeta):
self.uri = uri
self.archive = os.path.basename(uri)
if not tmpdir:
tmpdir = tempfile.mkdtemp(prefix='buildproject')
self.tempdirobj = tempfile.TemporaryDirectory(prefix='buildproject-')
tmpdir = self.tempdirobj.name
self.localarchive = os.path.join(tmpdir, self.archive)
self.dl_dir = dl_dir
if foldername:

View File

@@ -146,6 +146,9 @@ class Command(object):
# At this point we know that the process has closed stdout/stderr, so
# it is safe and necessary to wait for the actual process completion.
self.status = self.process.wait()
self.process.stdout.close()
if self.process.stderr:
self.process.stderr.close()
self.log.debug("Command '%s' returned %d as exit code." % (self.cmd, self.status))
# logging the complete output is insane
@@ -333,16 +336,20 @@ def runqemu(pn, ssh=True, runqemuparams='', image_fstype=None, launch_cmd=None,
try:
qemu.start(params=qemuparams, ssh=ssh, runqemuparams=runqemuparams, launch_cmd=launch_cmd, discard_writes=discard_writes)
except bb.build.FuncFailed:
raise Exception('Failed to start QEMU - see the logs in %s' % logdir)
msg = 'Failed to start QEMU - see the logs in %s' % logdir
if os.path.exists(qemu.qemurunnerlog):
with open(qemu.qemurunnerlog, 'r') as f:
msg = msg + "Qemurunner log output from %s:\n%s" % (qemu.qemurunnerlog, f.read())
raise Exception(msg)
yield qemu
finally:
targetlogger.removeHandler(handler)
try:
qemu.stop()
except:
pass
targetlogger.removeHandler(handler)
def updateEnv(env_file):
"""

View File

@@ -1,13 +1,13 @@
import http.server
import multiprocessing
import os
import traceback
import signal
from socketserver import ThreadingMixIn
class HTTPServer(ThreadingMixIn, http.server.HTTPServer):
def server_start(self, root_dir):
import signal
signal.signal(signal.SIGTERM, signal.SIG_DFL)
def server_start(self, root_dir, logger):
os.chdir(root_dir)
self.serve_forever()
@@ -18,19 +18,40 @@ class HTTPRequestHandler(http.server.SimpleHTTPRequestHandler):
class HTTPService(object):
def __init__(self, root_dir, host=''):
def __init__(self, root_dir, host='', logger=None):
self.root_dir = root_dir
self.host = host
self.port = 0
self.logger = logger
def start(self):
if not os.path.exists(self.root_dir):
self.logger.info("Not starting HTTPService for directory %s which doesn't exist" % (self.root_dir))
return
self.server = HTTPServer((self.host, self.port), HTTPRequestHandler)
if self.port == 0:
self.port = self.server.server_port
self.process = multiprocessing.Process(target=self.server.server_start, args=[self.root_dir])
self.process = multiprocessing.Process(target=self.server.server_start, args=[self.root_dir, self.logger])
# The signal handler from testimage.bbclass can cause deadlocks here
# if the HTTPServer is terminated before it can restore the standard
#signal behaviour
orig = signal.getsignal(signal.SIGTERM)
signal.signal(signal.SIGTERM, signal.SIG_DFL)
self.process.start()
signal.signal(signal.SIGTERM, orig)
if self.logger:
self.logger.info("Started HTTPService on %s:%s" % (self.host, self.port))
def stop(self):
self.server.server_close()
self.process.terminate()
self.process.join()
if hasattr(self, "server"):
self.server.server_close()
if hasattr(self, "process"):
self.process.terminate()
self.process.join()
if self.logger:
self.logger.info("Stopped HTTPService on %s:%s" % (self.host, self.port))

View File

@@ -135,7 +135,7 @@ class QemuRunner:
def launch(self, launch_cmd, get_ip = True, qemuparams = None, extra_bootparams = None, env = None):
try:
threadsock, threadport = self.create_socket()
self.threadsock, threadport = self.create_socket()
self.server_socket, self.serverport = self.create_socket()
except socket.error as msg:
self.logger.error("Failed to create listening socket: %s" % msg[1])
@@ -203,8 +203,8 @@ class QemuRunner:
# No point waiting any longer
self.logger.debug('runqemu exited with code %d' % self.runqemu.returncode)
self._dump_host()
self.stop()
self.logger.debug("Output from runqemu:\n%s" % self.getOutput(output))
self.stop()
return False
time.sleep(0.5)
@@ -216,8 +216,8 @@ class QemuRunner:
processes = ps.decode("utf-8")
self.logger.debug("Running processes:\n%s" % processes)
self._dump_host()
self.stop()
op = self.getOutput(output)
self.stop()
if op:
self.logger.error("Output from runqemu:\n%s" % op)
else:
@@ -238,13 +238,13 @@ class QemuRunner:
# because is possible to have control characters
cmdline = re_control_char.sub(' ', cmdline)
try:
ips = re.findall("((?:[0-9]{1,3}\.){3}[0-9]{1,3})", cmdline.split("ip=")[1])
ips = re.findall(r"((?:[0-9]{1,3}\.){3}[0-9]{1,3})", cmdline.split("ip=")[1])
self.ip = ips[0]
self.server_ip = ips[1]
self.logger.debug("qemu cmdline used:\n{}".format(cmdline))
except (IndexError, ValueError):
# Try to get network configuration from runqemu output
match = re.match('.*Network configuration: ([0-9.]+)::([0-9.]+):([0-9.]+)$.*',
match = re.match(r'.*Network configuration: ([0-9.]+)::([0-9.]+):([0-9.]+)$.*',
out, re.MULTILINE|re.DOTALL)
if match:
self.ip, self.server_ip, self.netmask = match.groups()
@@ -263,7 +263,7 @@ class QemuRunner:
self.logger.debug("Target IP: %s" % self.ip)
self.logger.debug("Server IP: %s" % self.server_ip)
self.thread = LoggingThread(self.log, threadsock, self.logger)
self.thread = LoggingThread(self.log, self.threadsock, self.logger)
self.thread.start()
if not self.thread.connection_established.wait(self.boottime):
self.logger.error("Didn't receive a console connection from qemu. "
@@ -331,14 +331,14 @@ class QemuRunner:
# If we are not able to login the tests can continue
try:
(status, output) = self.run_serial("root\n", raw=True)
if re.search("root@[a-zA-Z0-9\-]+:~#", output):
if re.search(r"root@[a-zA-Z0-9\-]+:~#", output):
self.logged = True
self.logger.debug("Logged as root in serial console")
if netconf:
# configure guest networking
cmd = "ifconfig eth0 %s netmask %s up\n" % (self.ip, self.netmask)
output = self.run_serial(cmd, raw=True)[1]
if re.search("root@[a-zA-Z0-9\-]+:~#", output):
if re.search(r"root@[a-zA-Z0-9\-]+:~#", output):
self.logger.debug("configured ip address %s", self.ip)
else:
self.logger.debug("Couldn't configure guest networking")
@@ -369,14 +369,22 @@ class QemuRunner:
if self.runqemu.poll() is None:
self.logger.debug("Sending SIGKILL to runqemu")
os.killpg(os.getpgid(self.runqemu.pid), signal.SIGKILL)
self.runqemu.stdin.close()
self.runqemu.stdout.close()
self.runqemu = None
if hasattr(self, 'server_socket') and self.server_socket:
self.server_socket.close()
self.server_socket = None
if hasattr(self, 'threadsock') and self.threadsock:
self.threadsock.close()
self.threadsock = None
self.qemupid = None
self.ip = None
if os.path.exists(self.qemu_pidfile):
os.remove(self.qemu_pidfile)
if self.monitorpipe:
self.monitorpipe.close()
def stop_qemu_system(self):
if self.qemupid:
@@ -436,7 +444,7 @@ class QemuRunner:
if answer:
data += answer.decode('utf-8')
# Search the prompt to stop
if re.search("[a-zA-Z0-9]+@[a-zA-Z0-9\-]+:~#", data):
if re.search(r"[a-zA-Z0-9]+@[a-zA-Z0-9\-]+:~#", data):
break
else:
raise Exception("No data on serial console socket")

View File

@@ -20,8 +20,9 @@ class BuildProject(metaclass=ABCMeta):
if not tmpdir:
tmpdir = self.d.getVar('WORKDIR')
if not tmpdir:
tmpdir = tempfile.mkdtemp(prefix='buildproject')
self.localarchive = os.path.join(tmpdir,self.archive)
self.tempdirobj = tempfile.TemporaryDirectory(prefix='buildproject-')
tmpdir = self.tempdirobj.name
self.localarchive = os.path.join(tmpdir, self.archive)
if foldername:
self.fname = foldername
else:

View File

@@ -6,8 +6,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
file://0001-ip-Remove-unneed-header.patch \
"
SRC_URI[md5sum] = "8b8680e91390c57cab788fbf8e929479"
SRC_URI[sha256sum] = "a9e6c70c95f513871c5e1f4e452c04fcb3c4d8a05be651bd794cd994a52daa45"
SRC_URI[md5sum] = "67eeebacaac4515cab73dfd2fc796af3"
SRC_URI[sha256sum] = "d9ec5ca1f47d8a85416fa26e7dc1cbf5d067640eb60e90bdc1c7e5bdc6a29984"
# CFLAGS are computed in Makefile and reference CCOPTS
#

View File

@@ -0,0 +1,70 @@
From 3e1d00481093e10775eaf69d619c45b32a4aa7dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= <martin@geanix.com>
Date: Tue, 6 Nov 2018 14:50:47 +0100
Subject: [PATCH] buildinfo: strip sysroot and debug-prefix-map from compiler
info
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The openssl build system generates buildinf.h containing the full
compiler command line used to compile objects. This breaks
reproducibility, as the compile command is baked into libcrypto, where
it is used when running `openssl version -f`.
Add stripped build variables for the compiler and cflags lines, and use
those when generating buildinfo.h.
This is based on a similar patch for older openssl versions:
https://patchwork.openembedded.org/patch/147229/
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Martin Hundebøll <martin@geanix.com>
---
Configurations/unix-Makefile.tmpl | 10 +++++++++-
crypto/build.info | 2 +-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 16af4d2087..54c162784c 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -317,13 +317,21 @@ BIN_LDFLAGS={- join(' ', $target{bin_lflags} || (),
'$(CNF_LDFLAGS)', '$(LDFLAGS)') -}
BIN_EX_LIBS=$(CNF_EX_LIBS) $(EX_LIBS)
-# CPPFLAGS_Q is used for one thing only: to build up buildinf.h
+# *_Q variables are used for one thing only: to build up buildinf.h
CPPFLAGS_Q={- $cppflags1 =~ s|([\\"])|\\$1|g;
$cppflags2 =~ s|([\\"])|\\$1|g;
$lib_cppflags =~ s|([\\"])|\\$1|g;
join(' ', $lib_cppflags || (), $cppflags2 || (),
$cppflags1 || ()) -}
+CFLAGS_Q={- for (@{$config{CFLAGS}}) {
+ s|-fdebug-prefix-map=[^ ]+|-fdebug-prefix-map=|g;
+ }
+ join(' ', @{$config{CFLAGS}}) -}
+
+CC_Q={- $config{CC} =~ s|--sysroot=[^ ]+|--sysroot=recipe-sysroot|g;
+ join(' ', $config{CC}) -}
+
PERLASM_SCHEME= {- $target{perlasm_scheme} -}
# For x86 assembler: Set PROCESSOR to 386 if you want to support
diff --git a/crypto/build.info b/crypto/build.info
index b515b7318e..8c9cee2a09 100644
--- a/crypto/build.info
+++ b/crypto/build.info
@@ -10,7 +10,7 @@ EXTRA= ../ms/uplink-x86.pl ../ms/uplink.c ../ms/applink.c \
ppccpuid.pl pariscid.pl alphacpuid.pl arm64cpuid.pl armv4cpuid.pl
DEPEND[cversion.o]=buildinf.h
-GENERATE[buildinf.h]=../util/mkbuildinf.pl "$(CC) $(LIB_CFLAGS) $(CPPFLAGS_Q)" "$(PLATFORM)"
+GENERATE[buildinf.h]=../util/mkbuildinf.pl "$(CC_Q) $(CFLAGS_Q) $(CPPFLAGS_Q)" "$(PLATFORM)"
DEPEND[buildinf.h]=../configdata.pm
GENERATE[uplink-x86.s]=../ms/uplink-x86.pl $(PERLASM_SCHEME)
--
2.19.1

View File

@@ -1,108 +0,0 @@
Backport patch to fix CVE-2018-0734. Remove a section which only remove a
space. It can't be applied because the context is different.
CVE: CVE-2018-0734
Upstream-Status: Backport
Signed-off-by: Kai Kang <kai.kang@windriver.com>
From 8abfe72e8c1de1b95f50aa0d9134803b4d00070f Mon Sep 17 00:00:00 2001
From: Pauli <paul.dale@oracle.com>
Date: Wed, 24 Oct 2018 07:42:46 +1000
Subject: [PATCH] Timing vulnerability in DSA signature generation
(CVE-2018-0734).
Avoid a timing attack that leaks information via a side channel that
triggers when a BN is resized. Increasing the size of the BNs
prior to doing anything with them suppresses the attack.
Thanks due to Samuel Weiser for finding and locating this.
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/7486)
(cherry picked from commit a9cfb8c2aa7254a4aa6a1716909e3f8cb78049b6)
---
crypto/dsa/dsa_ossl.c | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/crypto/dsa/dsa_ossl.c b/crypto/dsa/dsa_ossl.c
index ca20811200..2dd2d7489a 100644
--- a/crypto/dsa/dsa_ossl.c
+++ b/crypto/dsa/dsa_ossl.c
@@ -9,6 +9,7 @@
#include <stdio.h>
#include "internal/cryptlib.h"
+#include "internal/bn_int.h"
#include <openssl/bn.h>
#include <openssl/sha.h>
#include "dsa_locl.h"
@@ -180,9 +181,9 @@ static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in,
{
BN_CTX *ctx = NULL;
BIGNUM *k, *kinv = NULL, *r = *rp;
- BIGNUM *l, *m;
+ BIGNUM *l;
int ret = 0;
- int q_bits;
+ int q_bits, q_words;
if (!dsa->p || !dsa->q || !dsa->g) {
DSAerr(DSA_F_DSA_SIGN_SETUP, DSA_R_MISSING_PARAMETERS);
@@ -191,8 +192,7 @@ static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in,
k = BN_new();
l = BN_new();
- m = BN_new();
- if (k == NULL || l == NULL || m == NULL)
+ if (k == NULL || l == NULL)
goto err;
if (ctx_in == NULL) {
@@ -203,9 +203,9 @@ static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in,
/* Preallocate space */
q_bits = BN_num_bits(dsa->q);
- if (!BN_set_bit(k, q_bits)
- || !BN_set_bit(l, q_bits)
- || !BN_set_bit(m, q_bits))
+ q_words = bn_get_top(dsa->q);
+ if (!bn_wexpand(k, q_words + 2)
+ || !bn_wexpand(l, q_words + 2))
goto err;
/* Get random k */
@@ -240,14 +240,17 @@ static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in,
* small timing information leakage. We then choose the sum that is
* one bit longer than the modulus.
*
- * TODO: revisit the BN_copy aiming for a memory access agnostic
- * conditional copy.
+ * There are some concerns about the efficacy of doing this. More
+ * specificly refer to the discussion starting with:
+ * https://github.com/openssl/openssl/pull/7486#discussion_r228323705
+ * The fix is to rework BN so these gymnastics aren't required.
*/
if (!BN_add(l, k, dsa->q)
- || !BN_add(m, l, dsa->q)
- || !BN_copy(k, BN_num_bits(l) > q_bits ? l : m))
+ || !BN_add(k, l, dsa->q))
goto err;
+ BN_consttime_swap(BN_is_bit_set(l, q_bits), k, l, q_words + 2);
+
if ((dsa)->meth->bn_mod_exp != NULL) {
if (!dsa->meth->bn_mod_exp(dsa, r, dsa->g, k, dsa->p, ctx,
dsa->method_mont_p))
@@ -275,7 +278,6 @@ static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in,
BN_CTX_free(ctx);
BN_clear_free(k);
BN_clear_free(l);
- BN_clear_free(m);
return ret;
}
--
2.17.0

View File

@@ -1,50 +0,0 @@
CVE: CVE-2018-0735
Upstream-Status: Backport
Signed-off-by: Kai Kang <kai.kang@windriver.com>
From b1d6d55ece1c26fa2829e2b819b038d7b6d692b4 Mon Sep 17 00:00:00 2001
From: Pauli <paul.dale@oracle.com>
Date: Fri, 26 Oct 2018 10:54:58 +1000
Subject: [PATCH] Timing vulnerability in ECDSA signature generation
(CVE-2018-0735)
Preallocate an extra limb for some of the big numbers to avoid a reallocation
that can potentially provide a side channel.
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/7486)
(cherry picked from commit 99540ec79491f59ed8b46b4edf130e17dc907f52)
---
crypto/ec/ec_mult.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/crypto/ec/ec_mult.c b/crypto/ec/ec_mult.c
index 7e1b3650e7..0e0a5e1394 100644
--- a/crypto/ec/ec_mult.c
+++ b/crypto/ec/ec_mult.c
@@ -206,8 +206,8 @@ int ec_scalar_mul_ladder(const EC_GROUP *group, EC_POINT *r,
*/
cardinality_bits = BN_num_bits(cardinality);
group_top = bn_get_top(cardinality);
- if ((bn_wexpand(k, group_top + 1) == NULL)
- || (bn_wexpand(lambda, group_top + 1) == NULL)) {
+ if ((bn_wexpand(k, group_top + 2) == NULL)
+ || (bn_wexpand(lambda, group_top + 2) == NULL)) {
ECerr(EC_F_EC_SCALAR_MUL_LADDER, ERR_R_BN_LIB);
goto err;
}
@@ -244,7 +244,7 @@ int ec_scalar_mul_ladder(const EC_GROUP *group, EC_POINT *r,
* k := scalar + 2*cardinality
*/
kbit = BN_is_bit_set(lambda, cardinality_bits);
- BN_consttime_swap(kbit, k, lambda, group_top + 1);
+ BN_consttime_swap(kbit, k, lambda, group_top + 2);
group_top = bn_get_top(group->field);
if ((bn_wexpand(s->X, group_top) == NULL)
--
2.17.0

View File

@@ -354,8 +354,8 @@ openssl_package_preprocess () {
for file in `find ${PKGD} -name *.h -o -name *.pc -o -name *.so`; do
rm $file
done
rm ${PKGD}/usr/bin/openssl
rm ${PKGD}/usr/bin/c_rehash
rmdir ${PKGD}/usr/bin
rm ${PKGD}${bindir}/openssl
rm ${PKGD}${bindir}/c_rehash
rmdir ${PKGD}${bindir}
}

View File

@@ -15,16 +15,15 @@ SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \
file://run-ptest \
file://openssl-c_rehash.sh \
file://0001-skip-test_symbol_presence.patch \
file://0002-fix-CVE-2018-0734.patch \
file://0003-fix-CVE-2018-0735.patch \
file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \
"
SRC_URI_append_class-nativesdk = " \
file://environment.d-openssl.sh \
"
SRC_URI[md5sum] = "7079eb017429e0ffb9efb42bf80ccb21"
SRC_URI[sha256sum] = "2836875a0f89c03d0fdf483941512613a50cfb421d6fd94b9f41d7279d586a3d"
SRC_URI[md5sum] = "963deb2272d6be7d4c2458afd2517b73"
SRC_URI[sha256sum] = "fc20130f8b7cbd2fb918b2f14e2f429e109c31ddd0fb38fc5d71d9ffed3f9f41"
inherit lib_package multilib_header ptest

View File

@@ -7,7 +7,7 @@ SECTION = "console/network"
DEPENDS = "openssl readline"
LICENSE = "GPL-2.0+-with-OpenSSL-exception"
LICENSE = "GPL-2.0-with-OpenSSL-exception"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://README;beginline=257;endline=287;md5=338c05eadd013872abb1d6e198e10a3f"

View File

@@ -55,35 +55,35 @@ inherit cml1 systemd update-rc.d ptest
# internal helper
def busybox_cfg(feature, tokens, cnf, rem):
if type(tokens) == type(""):
tokens = [tokens]
rem.extend(['/^[# ]*' + token + '[ =]/d' for token in tokens])
if feature:
cnf.extend([token + '=y' for token in tokens])
else:
cnf.extend(['# ' + token + ' is not set' for token in tokens])
if type(tokens) == type(""):
tokens = [tokens]
rem.extend(['/^[# ]*' + token + '[ =]/d' for token in tokens])
if feature:
cnf.extend([token + '=y' for token in tokens])
else:
cnf.extend(['# ' + token + ' is not set' for token in tokens])
# Map distro features to config settings
def features_to_busybox_settings(d):
cnf, rem = ([], [])
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'ipv6', True, False, d), 'CONFIG_FEATURE_IPV6', cnf, rem)
busybox_cfg(True, 'CONFIG_LFS', cnf, rem)
busybox_cfg(True, 'CONFIG_FDISK_SUPPORT_LARGE_DISKS', cnf, rem)
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'nls', True, False, d), 'CONFIG_LOCALE_SUPPORT', cnf, rem)
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'ipv4', True, False, d), 'CONFIG_FEATURE_IFUPDOWN_IPV4', cnf, rem)
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'ipv6', True, False, d), 'CONFIG_FEATURE_IFUPDOWN_IPV6', cnf, rem)
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'wifi', True, False, d), 'CONFIG_RFKILL', cnf, rem)
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'bluetooth', True, False, d), 'CONFIG_RFKILL', cnf, rem)
return "\n".join(cnf), "\n".join(rem)
cnf, rem = ([], [])
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'ipv6', True, False, d), 'CONFIG_FEATURE_IPV6', cnf, rem)
busybox_cfg(True, 'CONFIG_LFS', cnf, rem)
busybox_cfg(True, 'CONFIG_FDISK_SUPPORT_LARGE_DISKS', cnf, rem)
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'nls', True, False, d), 'CONFIG_LOCALE_SUPPORT', cnf, rem)
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'ipv4', True, False, d), 'CONFIG_FEATURE_IFUPDOWN_IPV4', cnf, rem)
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'ipv6', True, False, d), 'CONFIG_FEATURE_IFUPDOWN_IPV6', cnf, rem)
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'wifi', True, False, d), 'CONFIG_RFKILL', cnf, rem)
busybox_cfg(bb.utils.contains('DISTRO_FEATURES', 'bluetooth', True, False, d), 'CONFIG_RFKILL', cnf, rem)
return "\n".join(cnf), "\n".join(rem)
# X, Y = ${@features_to_busybox_settings(d)}
# unfortunately doesn't seem to work with bitbake, workaround:
def features_to_busybox_conf(d):
cnf, rem = features_to_busybox_settings(d)
return cnf
cnf, rem = features_to_busybox_settings(d)
return cnf
def features_to_busybox_del(d):
cnf, rem = features_to_busybox_settings(d)
return rem
cnf, rem = features_to_busybox_settings(d)
return rem
configmangle = '/CONFIG_EXTRA_CFLAGS/d; \
'
@@ -184,7 +184,8 @@ do_compile() {
oe_runmake busybox_unstripped
mv busybox_unstripped busybox.$s
oe_runmake busybox.links
mv busybox.links busybox.links.$s
sort busybox.links > busybox.links.$s
rm busybox.links
done
# hard fail if sh is being linked to the suid busybox (detects bug 10346)

View File

@@ -129,11 +129,11 @@ ALTERNATIVE_LINK_NAME[kill.1] = "${mandir}/man1/kill.1"
ALTERNATIVE_LINK_NAME[stat.1] = "${mandir}/man1/stat.1"
python __anonymous() {
for prog in d.getVar('base_bindir_progs').split():
d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir'), prog))
for prog in d.getVar('base_bindir_progs').split():
d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir'), prog))
for prog in d.getVar('sbindir_progs').split():
d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('sbindir'), prog))
for prog in d.getVar('sbindir_progs').split():
d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('sbindir'), prog))
}
BBCLASSEXTEND = "native nativesdk"

View File

@@ -22,7 +22,7 @@ IMAGE_FSTYPES = "wic.vmdk"
inherit core-image module-base setuptools3
SRCREV ?= "53332c9f1bd270f34a290fea68fde1d3ff41f86e"
SRCREV ?= "ca417455d79b29cd14cd8d39a9da904bf23fcc48"
SRC_URI = "git://git.yoctoproject.org/poky;branch=thud \
file://Yocto_Build_Appliance.vmx \
file://Yocto_Build_Appliance.vmxf \
@@ -116,9 +116,9 @@ IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; "
addtask rootfs after do_unpack
python () {
# Ensure we run these usually noexec tasks
d.delVarFlag("do_fetch", "noexec")
d.delVarFlag("do_unpack", "noexec")
# Ensure we run these usually noexec tasks
d.delVarFlag("do_fetch", "noexec")
d.delVarFlag("do_unpack", "noexec")
}
create_bundle_files () {

View File

@@ -239,6 +239,9 @@ do_install() {
# Delete journal README, as log can be symlinked inside volatile.
rm -f ${D}/${localstatedir}/log/README
# journal-remote creates this at start
rm -rf ${D}/${localstatedir}/log/journal/remote
install -d ${D}${systemd_unitdir}/system/graphical.target.wants
install -d ${D}${systemd_unitdir}/system/multi-user.target.wants
install -d ${D}${systemd_unitdir}/system/poweroff.target.wants
@@ -309,19 +312,35 @@ PACKAGES =+ "\
${PN}-zsh-completion \
${PN}-xorg-xinitrc \
${PN}-container \
${PN}-journal-gatewayd \
${PN}-journal-upload \
${PN}-journal-remote \
${PN}-extra-utils \
"
SUMMARY_${PN}-container = "Tools for containers and VMs"
DESCRIPTION_${PN}-container = "Systemd tools to spawn and manage containers and virtual machines."
SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfmt', '', d)}"
SUMMARY_${PN}-journal-gatewayd = "HTTP server for journal events"
DESCRIPTION_${PN}-journal-gatewayd = "systemd-journal-gatewayd serves journal events over the network. Clients must connect using HTTP. The server listens on port 19531 by default."
SUMMARY_${PN}-journal-upload = "Send journal messages over the network"
DESCRIPTION_${PN}-journal-upload = "systemd-journal-upload uploads journal entries to a specified URL."
SUMMARY_${PN}-journal-remote = "Receive journal messages over the network"
DESCRIPTION_${PN}-journal-remote = "systemd-journal-remote is a command to receive serialized journal events and store them to journal files."
SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfmt', '', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '${PN}-journal-gatewayd', '', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'journal-upload', '${PN}-journal-upload', '', d)} \
${@bb.utils.contains('PACKAGECONFIG', '', '${PN}-journal-remote', '', d)} \
"
SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service"
USERADD_PACKAGES = "${PN} ${PN}-extra-utils"
USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '--system -d / -M --shell /bin/nologin systemd-journal-gateway;', '', d)}"
USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '--system -d / -M --shell /bin/nologin systemd-journal-remote;', '', d)}"
USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'journal-upload', '--system -d / -M --shell /bin/nologin systemd-journal-upload;', '', d)}"
USERADD_PACKAGES = "${PN} ${PN}-extra-utils ${PN}-journal-gateway ${PN}-journal-upload ${PN}-journal-remote"
USERADD_PARAM_${PN}-journal-gateway += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '--system -d / -M --shell /bin/nologin systemd-journal-gateway;', '', d)}"
USERADD_PARAM_${PN}-journal-remote += "${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '--system -d / -M --shell /bin/nologin systemd-journal-remote;', '', d)}"
USERADD_PARAM_${PN}-journal-upload += "${@bb.utils.contains('PACKAGECONFIG', 'journal-upload', '--system -d / -M --shell /bin/nologin systemd-journal-upload;', '', d)}"
USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'timesyncd', '--system -d / -M --shell /bin/nologin systemd-timesync;', '', d)}"
USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'networkd', '--system -d / -M --shell /bin/nologin systemd-network;', '', d)}"
USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'coredump', '--system -d / -M --shell /bin/nologin systemd-coredump;', '', d)}"
@@ -362,6 +381,29 @@ RRECOMMENDS_${PN}-binfmt = "kernel-module-binfmt-misc"
RRECOMMENDS_${PN}-vconsole-setup = "kbd kbd-consolefonts kbd-keymaps"
FILES_${PN}-journal-gatewayd = "${rootlibexecdir}/systemd/systemd-journal-gatewayd \
${systemd_system_unitdir}/systemd-journal-gatewayd.service \
${systemd_system_unitdir}/systemd-journal-gatewayd.socket \
${systemd_system_unitdir}/sockets.target.wants/systemd-journal-gatewayd.socket \
${datadir}/systemd/gatewayd/browse.html \
"
SYSTEMD_SERVICE_${PN}-journal-gatewayd = "systemd-journal-gatewayd.socket"
FILES_${PN}-journal-upload = "${rootlibexecdir}/systemd/systemd-journal-upload \
${systemd_system_unitdir}/systemd-journal-upload.service \
${sysconfdir}/systemd/journal-upload.conf \
"
SYSTEMD_SERVICE_${PN}-journal-upload = "systemd-journal-upload.service"
FILES_${PN}-journal-remote = "${rootlibexecdir}/systemd/systemd-journal-remote \
${sysconfdir}/systemd/journal-remote.conf \
${systemd_system_unitdir}/systemd-journal-remote.service \
${systemd_system_unitdir}/systemd-journal-remote.socket \
"
SYSTEMD_SERVICE_${PN}-remote = "systemd-journal-remote.socket"
FILES_${PN}-container = "${sysconfdir}/dbus-1/system.d/org.freedesktop.import1.conf \
${sysconfdir}/dbus-1/system.d/org.freedesktop.machine1.conf \
${base_bindir}/machinectl \
@@ -380,9 +422,6 @@ FILES_${PN}-container = "${sysconfdir}/dbus-1/system.d/org.freedesktop.import1.c
${systemd_system_unitdir}/var-lib-machines.mount \
${rootlibexecdir}/systemd/systemd-import \
${rootlibexecdir}/systemd/systemd-importd \
${rootlibexecdir}/systemd/systemd-journal-gatewayd \
${rootlibexecdir}/systemd/systemd-journal-remote \
${rootlibexecdir}/systemd/systemd-journal-upload \
${rootlibexecdir}/systemd/systemd-machined \
${rootlibexecdir}/systemd/systemd-pull \
${exec_prefix}/lib/tmpfiles.d/systemd-nspawn.conf \
@@ -396,6 +435,12 @@ FILES_${PN}-container = "${sysconfdir}/dbus-1/system.d/org.freedesktop.import1.c
${datadir}/polkit-1/actions/org.freedesktop.machine1.policy \
"
RRECOMMENDS_${PN}-container += "\
${PN}-journal-upload \
${PN}-journal-remote \
${PN}-journal-gatewayd \
"
FILES_${PN}-extra-utils = "\
${base_bindir}/systemd-escape \
${base_bindir}/systemd-inhibit \

View File

@@ -0,0 +1,73 @@
From 80810f04f2de6bae6e394f52ad9cdd2189862f74 Mon Sep 17 00:00:00 2001
From: Jaroslav Rohel <jrohel@redhat.com>
Date: Fri, 9 Nov 2018 07:35:13 +0100
Subject: [PATCH] Fix setup of logging (log domains) (RhBug:1645897)
New debug messages were added into GLib library. These messages come
from the "GLib" log domain and were not hidden in the standard and
quiet mode of the application.
This fix hides log messages regardless on source log domain.
Upstream-Status: Backport
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
---
src/createrepo_shared.c | 19 ++++++-------------
src/misc.c | 5 ++++-
2 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/src/createrepo_shared.c b/src/createrepo_shared.c
index 8a26787..7cb8ba8 100644
--- a/src/createrepo_shared.c
+++ b/src/createrepo_shared.c
@@ -270,24 +270,17 @@ cr_lock_repo(const gchar *repo_dir,
void
cr_setup_logging(gboolean quiet, gboolean verbose)
{
- g_log_set_default_handler (cr_log_fn, NULL);
-
if (quiet) {
// Quiet mode
- GLogLevelFlags levels = G_LOG_LEVEL_MESSAGE | G_LOG_LEVEL_INFO |
- G_LOG_LEVEL_DEBUG | G_LOG_LEVEL_WARNING;
- g_log_set_handler(NULL, levels, cr_null_log_fn, NULL);
- g_log_set_handler("C_CREATEREPOLIB", levels, cr_null_log_fn, NULL);
+ GLogLevelFlags hidden_levels = G_LOG_LEVEL_MESSAGE | G_LOG_LEVEL_INFO |
+ G_LOG_LEVEL_DEBUG | G_LOG_LEVEL_WARNING;
+ g_log_set_default_handler (cr_log_fn, GINT_TO_POINTER(hidden_levels));
} else if (verbose) {
// Verbose mode
- GLogLevelFlags levels = G_LOG_LEVEL_MESSAGE | G_LOG_LEVEL_INFO |
- G_LOG_LEVEL_DEBUG | G_LOG_LEVEL_WARNING;
- g_log_set_handler(NULL, levels, cr_log_fn, NULL);
- g_log_set_handler("C_CREATEREPOLIB", levels, cr_log_fn, NULL);
+ g_log_set_default_handler (cr_log_fn, GINT_TO_POINTER(0));
} else {
// Standard mode
- GLogLevelFlags levels = G_LOG_LEVEL_DEBUG;
- g_log_set_handler(NULL, levels, cr_null_log_fn, NULL);
- g_log_set_handler("C_CREATEREPOLIB", levels, cr_null_log_fn, NULL);
+ GLogLevelFlags hidden_levels = G_LOG_LEVEL_DEBUG;
+ g_log_set_default_handler (cr_log_fn, GINT_TO_POINTER(hidden_levels));
}
}
diff --git a/src/misc.c b/src/misc.c
index 9937480..9549a44 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -912,8 +912,11 @@ void
cr_log_fn(const gchar *log_domain,
GLogLevelFlags log_level,
const gchar *message,
- G_GNUC_UNUSED gpointer user_data)
+ gpointer user_data)
{
+ gint hidden_log_levels = GPOINTER_TO_INT(user_data);
+ if (log_level & hidden_log_levels)
+ return;
switch(log_level) {
case G_LOG_LEVEL_ERROR:
if (log_domain) g_printerr("%s: ", log_domain);
--
1.8.3.1

View File

@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "git://github.com/rpm-software-management/createrepo_c \
file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
file://0001-Correctly-install-the-shared-library.patch \
file://0001-Fix-setup-of-logging-log-domains-RhBug-1645897.patch \
"
PV = "0.11.1+git${SRCPV}"

View File

@@ -6,36 +6,32 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "libtool bzip2 zlib virtual/libintl"
DEPENDS_append_libc-musl = " argp-standalone fts "
# The Debian patches below are from:
# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.170-0.5.debian.tar.xz
# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.175-1.debian.tar.xz
SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
file://0001-dso-link-change.patch \
file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \
file://0003-fixheadercheck.patch \
file://0004-Disable-the-test-to-convert-euc-jp.patch \
file://0005-fix-a-stack-usage-warning.patch \
file://0006-Fix-build-on-aarch64-musl.patch \
file://0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch \
file://0001-libasm-may-link-with-libbz2-if-found.patch \
file://0001-libelf-elf_end.c-check-data_list.data.d.d_buf-before.patch \
file://0001-libdwfl-Sanity-check-partial-core-file-data-reads.patch \
file://0001-size-Handle-recursive-ELF-ar-files.patch \
file://0001-arlib-Check-that-sh_entsize-isn-t-zero.patch \
file://debian/0001-hppa_backend.patch \
file://debian/0001-arm_backend.patch \
file://debian/0001-mips_backend.patch \
file://debian/0001-testsuite-ignore-elflint.patch \
file://debian/0001-mips_readelf_w.patch \
file://debian/hppa_backend.diff \
file://debian/arm_backend.diff \
file://debian/mips_backend.diff \
file://debian/mips_readelf_w.patch \
file://debian/kfreebsd_path.patch \
file://debian/0001-Ignore-differences-between-mips-machine-identifiers.patch \
file://debian/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch \
file://debian/0003-Add-mips-n64-relocation-format-hack.patch \
file://debian/hurd_path.patch \
file://debian/ignore_strmerge.diff \
file://debian/0001-fix-gcc7-ftbfs.patch \
file://debian/0001-disable_werror.patch \
file://debian/disable_werror.patch \
"
SRC_URI_append_libc-musl = " file://0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch"
SRC_URI[md5sum] = "48bec24c0c8b2c16820326956dff9378"
SRC_URI[sha256sum] = "cdf27e70076e10a29539d89e367101d516bc4aa11b0d7777fe52139e3fcad08a"
SRC_URI[md5sum] = "9a02b0382b78cc2d515fb950275d4c02"
SRC_URI[sha256sum] = "f7ef925541ee32c6d15ae5cb27da5f119e01a5ccdbe9fe57bf836730d7b7a65b"
inherit autotools gettext

View File

@@ -1,36 +0,0 @@
From b518841fbc1431d7c5baa016e35f10fb647b5958 Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mark@klomp.org>
Date: Thu, 18 Oct 2018 19:01:52 +0200
Subject: [PATCH] arlib: Check that sh_entsize isn't zero.
A bogus ELF file could have sh_entsize as zero. Don't divide by zero,
but just assume there are no symbols in the section.
https://sourceware.org/bugzilla/show_bug.cgi?id=23786
Signed-off-by: Mark Wielaard <mark@klomp.org>
CVE: CVE-2018-18521
Upstream-Status: Backport [http://sourceware.org/git/elfutils.git]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
src/arlib.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/arlib.c b/src/arlib.c
index 778e087..a6521e3 100644
--- a/src/arlib.c
+++ b/src/arlib.c
@@ -252,6 +252,9 @@ arlib_add_symbols (Elf *elf, const char *arfname, const char *membername,
if (data == NULL)
continue;
+ if (shdr->sh_entsize == 0)
+ continue;
+
int nsyms = shdr->sh_size / shdr->sh_entsize;
for (int ndx = shdr->sh_info; ndx < nsyms; ++ndx)
{
--
2.7.4

View File

@@ -1,60 +0,0 @@
From 8cbb2f8de89d65ca52d4242f213a6206b48d2c8d Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 2 Nov 2018 14:22:31 +0800
Subject: [PATCH] libdwfl: Sanity check partial core file data reads.
There were two issues when reading note data from a core file.
We didn't check if the data we already had in a buffer was big
enough. And if we did get the data, we should check if we got
everything, or just a part of the data.
https://sourceware.org/bugzilla/show_bug.cgi?id=23752
Signed-off-by: Mark Wielaard <mark@klomp.org>
CVE: CVE-2018-18310
Upstream-Status: Backport [http://sourceware.org/git/elfutils.git]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
libdwfl/dwfl_segment_report_module.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/libdwfl/dwfl_segment_report_module.c b/libdwfl/dwfl_segment_report_module.c
index 36e5c82..8749884 100644
--- a/libdwfl/dwfl_segment_report_module.c
+++ b/libdwfl/dwfl_segment_report_module.c
@@ -1,5 +1,5 @@
/* Sniff out modules from ELF headers visible in memory segments.
- Copyright (C) 2008-2012, 2014, 2015 Red Hat, Inc.
+ Copyright (C) 2008-2012, 2014, 2015, 2018 Red Hat, Inc.
This file is part of elfutils.
This file is free software; you can redistribute it and/or modify
@@ -301,7 +301,10 @@ dwfl_segment_report_module (Dwfl *dwfl, int ndx, const char *name,
inline bool read_portion (void **data, size_t *data_size,
GElf_Addr vaddr, size_t filesz)
{
- if (vaddr - start + filesz > buffer_available
+ /* Check whether we will have to read the segment data, or if it
+ can be returned from the existing buffer. */
+ if (filesz > buffer_available
+ || vaddr - start > buffer_available - filesz
/* If we're in string mode, then don't consider the buffer we have
sufficient unless it contains the terminator of the string. */
|| (filesz == 0 && memchr (vaddr - start + buffer, '\0',
@@ -459,6 +462,12 @@ dwfl_segment_report_module (Dwfl *dwfl, int ndx, const char *name,
if (read_portion (&data, &data_size, vaddr, filesz))
return;
+ /* data_size will be zero if we got everything from the initial
+ buffer, otherwise it will be the size of the new buffer that
+ could be read. */
+ if (data_size != 0)
+ filesz = data_size;
+
assert (sizeof (Elf32_Nhdr) == sizeof (Elf64_Nhdr));
void *notes;
--
2.7.4

View File

@@ -1,40 +0,0 @@
From 440d34d0ee37964453245895d38d7fc31bcf3d7d Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mark@klomp.org>
Date: Thu, 18 Oct 2018 23:15:48 +0200
Subject: [PATCH] size: Handle recursive ELF ar files.
eu-size didn't handle an ELF ar file that contained an ar file itself
correctly. handle_ar would recursively call itself but close the ELF
file before returning. Only close the ELF file at the top-level.
https://sourceware.org/bugzilla/show_bug.cgi?id=23787
Signed-off-by: Mark Wielaard <mark@klomp.org>
CVE: CVE-2018-18520
Upstream-Status: Backport [http://sourceware.org/git/elfutils.git]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
src/size.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/size.c b/src/size.c
index 5ff3f2a..f01fd88 100644
--- a/src/size.c
+++ b/src/size.c
@@ -374,8 +374,10 @@ handle_ar (int fd, Elf *elf, const char *prefix, const char *fname)
INTERNAL_ERROR (fname);
}
- if (unlikely (elf_end (elf) != 0))
- INTERNAL_ERROR (fname);
+ /* Only close ELF handle if this was a "top level" ar file. */
+ if (prefix == NULL)
+ if (unlikely (elf_end (elf) != 0))
+ INTERNAL_ERROR (fname);
return result;
}
--
2.7.4

View File

@@ -1,35 +0,0 @@
From 4d7ea681932556ad881f6841de90d0bfff56f8d7 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:25:16 +0800
Subject: [PATCH 5/7] fix a stack-usage warning
Upstream-Status: Pending
not use a variable to as a array size, otherwise the warning to error
that
stack usage might be unbounded [-Werror=stack-usage=] will happen
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Rebase to 0.170
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
backends/ppc_initreg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backends/ppc_initreg.c b/backends/ppc_initreg.c
index 3e4432f..59c2d97 100644
--- a/backends/ppc_initreg.c
+++ b/backends/ppc_initreg.c
@@ -94,7 +94,7 @@ ppc_set_initial_registers_tid (pid_t tid __attribute__ ((unused)),
return false;
}
const size_t gprs = sizeof (user_regs.r.gpr) / sizeof (*user_regs.r.gpr);
- Dwarf_Word dwarf_regs[gprs];
+ Dwarf_Word dwarf_regs[sizeof (user_regs.r.gpr) / sizeof (*user_regs.r.gpr)];
for (unsigned gpr = 0; gpr < gprs; gpr++)
dwarf_regs[gpr] = user_regs.r.gpr[gpr];
if (! setfunc (0, gprs, dwarf_regs, arg))
--
2.7.4

View File

@@ -7,7 +7,7 @@ Subject: [PATCH] build: Provide alternatives for glibc assumptions helps
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Rebase to 0.174
Rebase to 0.175
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
@@ -129,7 +129,7 @@ index 7bcf61c..c345797 100644
return elf_errmsg (error & 0xffff);
case OTHER_ERROR (LIBDW):
diff --git a/libdwfl/dwfl_module_getdwarf.c b/libdwfl/dwfl_module_getdwarf.c
index af6838a..c079d6a 100644
index 56e6105..f4a0649 100644
--- a/libdwfl/dwfl_module_getdwarf.c
+++ b/libdwfl/dwfl_module_getdwarf.c
@@ -35,6 +35,7 @@
@@ -161,12 +161,12 @@ index f849128..6f0aca1 100644
#define crc32 __libdwfl_crc32
#include <libdwflP.h>
diff --git a/libdwfl/linux-kernel-modules.c b/libdwfl/linux-kernel-modules.c
index 9d0fef2..9fc09b8 100644
index 360e4ee..b5aa397 100644
--- a/libdwfl/linux-kernel-modules.c
+++ b/libdwfl/linux-kernel-modules.c
@@ -40,6 +40,7 @@
#include <system.h>
@@ -41,6 +41,7 @@
#include "libelfP.h"
#include "libdwflP.h"
+#include "system.h"
#include <inttypes.h>
@@ -198,7 +198,7 @@ index 5dc632b..14da1b7 100644
#endif /* elf.h */
diff --git a/libelf/libelf.h b/libelf/libelf.h
index d11358c..4cf9272 100644
index 1ff11c9..c21e018 100644
--- a/libelf/libelf.h
+++ b/libelf/libelf.h
@@ -29,6 +29,7 @@
@@ -210,7 +210,7 @@ index d11358c..4cf9272 100644
#include <sys/types.h>
diff --git a/libelf/libelfP.h b/libelf/libelfP.h
index ed216c8..415e6f6 100644
index 9f3e8e9..10a347a 100644
--- a/libelf/libelfP.h
+++ b/libelf/libelfP.h
@@ -32,6 +32,7 @@

Some files were not shown because too many files have changed in this diff Show More