]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
7 years agobitbake: bitbake: lib/bb/utils: fix movefile() copy to dir fallback
Mardegan, Alberto [Thu, 21 Sep 2017 14:33:52 +0000 (14:33 +0000)] 
bitbake: bitbake: lib/bb/utils: fix movefile() copy to dir fallback

When the destination is a directory, building the the destination file
path is always needed.  That's because even if the copy fallback is
taken, it's always followed by a rename.

(Bitbake rev: 14c17480827ced2e03c1b62dc839696421fc4de8)

Signed-off-by: Alberto Mardegan <amardegan@luxoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake: server/process: Increase runCommand timeout
Richard Purdie [Fri, 22 Sep 2017 16:17:59 +0000 (17:17 +0100)] 
bitbake: server/process: Increase runCommand timeout

We were seeing cases where we could hit the 5s timeout on large/fast machines
running many different tasks at once. Increase this to 30s since the main
connection timeout path should no longer hit this slow path.

[YOCTO #12116]

(Bitbake rev: 131d4b8a5834781a93ed41e2967d8dcd4d80f29a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agouseradd-staticids: don't create username-group if gid is specified
André Draszik [Fri, 22 Sep 2017 09:00:10 +0000 (10:00 +0100)] 
useradd-staticids: don't create username-group if gid is specified

Adding distcc to an image, and having staticids enabled,
doesn't work as it causes a a superfluous 'distcc' group
being added using a conflicting  GID, thus failing the
build:
 | ERROR: distcc-3.2-r0 do_prepare_recipe_sysroot: distcc: groupadd command did not succeed.

Compared to other recipes, the distcc recipe only
specifies --gid for the primary group, and doesn't specify
--no-user-group, but when --gid is given, it doesn't make
sense to create a matching username-group in addition,
even if --no-user-group was not specified, and 'useradd'
actually complains if --gid and --user-group are given
both.

If only --gid is given, the current code in here
effectively behaves as if --user-group was specified,
taking the group-id of the username-group from the
--gid parameter. This causes the error above, as we try
to add a new group (distcc) with an existing group-id
(nogroup).

This is contrary to the comment in this file just above,
contrary to what useradd can do, contrary to behaviour
without the useradd-staticids bbclass, and non-intuitive.

Change the code such that a username-group is only created
- if a primary group using --gid was not specified, or
- if --no-user-group was not specified

To be in line with useradd, if gid is not given, and
--no-user-group is given, we add the user to the group
'users', which mimics useradd's behaviour.

(From OE-Core rev: fc3a86ae68919cec72c1a8ae0f9ba1f98ae13f0d)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolame: fix CVE-2017-13712
Kai Kang [Fri, 22 Sep 2017 06:27:51 +0000 (14:27 +0800)] 
lame: fix CVE-2017-13712

Backport patch to fix CVE-2017-13712 for lame.

(From OE-Core rev: 3e80f86b4227f1d6ddd604a0738449d93f01c03f)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agostaging: Reduce verbosity of log messages
Richard Purdie [Thu, 21 Sep 2017 22:19:10 +0000 (23:19 +0100)] 
staging: Reduce verbosity of log messages

The staging changes were very verbose in their logging and whilst this is useful
when staging issues occur, those thankfully seem rare now and we can tune down
the logging to a sane level. This improves the readability of error messages from
functions that fail.

The code is still verbose when its replacing things in the sysroot.

(From OE-Core rev: a22d44c6bef7ea1be90aeb32ccd7502d3135a266)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopseudo: Add fastop reply fix
Richard Purdie [Fri, 22 Sep 2017 11:39:33 +0000 (12:39 +0100)] 
pseudo: Add fastop reply fix

This changes the pseudo FASTOP functionality so that a reply to the
operation is required. This means we then cannot lose data if a connection
is closed. This in turn stops corruption if we run out of file handles
and have to close connections.

This tweaks the connection closure patch to update the comment there which
is now outdated.

(From OE-Core rev: eb49d50b4c342069087886f2aac546805647c066)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopseudo: use epoll API on Linux
Alexander Kanavin [Fri, 22 Sep 2017 15:18:46 +0000 (18:18 +0300)] 
pseudo: use epoll API on Linux

The idea came up here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=11309
and here:
http://lists.openembedded.org/pipermail/openembedded-core/2017-August/141491.html

(From OE-Core rev: 7fb4661b4e4c839b60975c3b8b0b163e1f84ab2e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogstreamer1.0-libav: Fix build on mips
Khem Raj [Thu, 21 Sep 2017 17:42:15 +0000 (10:42 -0700)] 
gstreamer1.0-libav: Fix build on mips

(From OE-Core rev: c70812de7d9e35e9fc01a1b4b142a5261913fb03)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agouboot-extlinux: fix extlinux creation race (take 2)
André Draszik [Thu, 21 Sep 2017 11:29:52 +0000 (12:29 +0100)] 
uboot-extlinux: fix extlinux creation race (take 2)

Alternative solution to original commit
60c90398580998b2379bb438f0f75b29285135a5 ("u-boot: fix extlinux
creation race")

(Untested)

(From OE-Core rev: e44b72ab45c757cc83c7856c118588f1af299790)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoRevert "u-boot: fix extlinux creation race"
André Draszik [Thu, 21 Sep 2017 11:25:17 +0000 (12:25 +0100)] 
Revert "u-boot: fix extlinux creation race"

This reverts commit 60c90398580998b2379bb438f0f75b29285135a5.

This causes circular dependencies when UBOOT_SIGN_ENABLE is active.

These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.

Identifying dependency loops (this may take a short while)...

ERROR:
Dependency loop #1 found:
  Task u-boot.bb:do_concat_dtb (dependent Tasks ['kernel.bb:do_assemble_fitimage'])
  Task u-boot.bb:do_install (dependent Tasks ['u-boot.bb:do_concat_dtb', 'pseudo_1.8.2.bb:do_populate_sysroot', 'u-boot.bb:do_compile'])
  Task u-boot.bb:do_deploy (dependent Tasks ['u-boot.bb:do_deploy_dtb', 'u-boot.bb:do_install'])
  Task .../recipes-kernel/linux/kernel.bb:do_assemble_fitimage (dependent Tasks ['kernel.bb:do_compile', 'u-boot.bb:do_deploy'])

(From OE-Core rev: 7da4c0a56eb2027b3e36b9e42f1f83dfb02bb920)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-devicetree.bbclass: Add support to generate append to kernel
Otavio Salvador [Thu, 21 Sep 2017 13:58:33 +0000 (10:58 -0300)] 
kernel-devicetree.bbclass: Add support to generate append to kernel

The are use cases where the Device Tree appended to the kernel is
convinient, so we generate the bundle concatenating the kernel (and
potentionally the initramfs) and the Device Tree binaries.

To enable it, set KERNEL_DEVICETREE_BUNDLE variable to '1'

(From OE-Core rev: f044567326988e84e5d72040e9387c3240836ddb)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoxf86-video-intel: use uxa to replace sna as the default acceleration mode
Li Zhou [Thu, 21 Sep 2017 02:16:18 +0000 (10:16 +0800)] 
xf86-video-intel: use uxa to replace sna as the default acceleration mode

The sna mode causes screen distortion issue on board MinnowMAX
described in this link:
https://bugs.freedesktop.org/show_bug.cgi?id=100700
The uxa mode is verified to not have above issue.
uxa is more stable and has more releases than sna.
So use uxa to replace sna as the default acceleration mode.

(From OE-Core rev: ce935784cfc53c029c8dfa969d08ee43a8831b60)

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-fitimage: support MIPS (compressed)
André Draszik [Wed, 20 Sep 2017 09:41:57 +0000 (10:41 +0100)] 
kernel-fitimage: support MIPS (compressed)

On MIPS, the compressed kernel image target is vmlinuz.bin

(From OE-Core rev: 74d97569aa4e0f82e094a539dec302076103affa)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-uboot: support compressed kernel on MIPS
André Draszik [Wed, 20 Sep 2017 09:41:56 +0000 (10:41 +0100)] 
kernel-uboot: support compressed kernel on MIPS

MIPS generates vmlinuz.bin when compression in the kernel build is
enabled, including any necessary objcopy so we can leverage that
and skip our manual invocation of objcopy here. We just have to
put the file into the right place for the rest of the build to
find it.

(From OE-Core rev: 00bc7682473c2558d72ba42c182f8e3bd445f8af)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-uimage: optimise UBOOT_ENTRYSYMBOL support
André Draszik [Wed, 20 Sep 2017 09:41:55 +0000 (10:41 +0100)] 
kernel-uimage: optimise UBOOT_ENTRYSYMBOL support

This is the remaining local change to a fix similar to
commit e0b4f018d1c2 ("kernel-uimage.bbclass: Fix up
generation of uImage from vmlinux"):

Make awk exit on match to save a few CPU cycles so as
to make this similar to kernel-fitimage.bbclass

(From OE-Core rev: 614e8be7a89a2f2113fa40b11e7a05b9e8155f6a)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-fitimage: unbreak UBOOT_ENTRYSYMBOL support
André Draszik [Wed, 20 Sep 2017 09:41:54 +0000 (10:41 +0100)] 
kernel-fitimage: unbreak UBOOT_ENTRYSYMBOL support

- vmlinux is located in ${B}, not ${S}.
- parsing of nm output got broken completely in commit
  b406a89935f148779569fa3770776e009dd51f13 ("kernel-fitimage: add
  initramfs support"), commit ec755d2524fcbd9dfded23a576f25c990d405a6c
  in yocto

While at it, make awk exit on match to save a few CPU cycles.

(From OE-Core rev: 9d2ec9c046c4a9c6a842d28133d40639f5a65297)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-fitimage: sanitize dtb section name (unbreak MIPS)
André Draszik [Wed, 20 Sep 2017 09:41:53 +0000 (10:41 +0100)] 
kernel-fitimage: sanitize dtb section name (unbreak MIPS)

We can't build fitImages for MIPS any more:
| Error: fit-image.its:21.27-28 syntax error
| FATAL ERROR: Unable to parse input tree
| uboot-mkimage: Can't read arch/mips/boot/fitImage.tmp: Invalid argument

Since commit cd2ed7f80b555add07795cc0cbaee866e6c193a3
("kernel-fitimage: dtb sections named by their filenames
and one config section for each dtb"), commit
1ec405ef5df82884c8997878bbe6c66d924b5127 in yocto, dtb
sections are named by the DTB filename, but the filename
can legally be in a subdirectory below
arch/$arch/boot/dts/, and on MIPS all DTBs are actually
in a subdirectory.

If so, mkimage fails with the above error message.

Unbreak this by replacing the offending character
(directory separator /)

(From OE-Core rev: 335fc50cf54e47db4e3d5c35a9846484faf0270f)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosysklogd: conflict with other syslog daemons
Chen Qi [Tue, 5 Sep 2017 09:55:27 +0000 (17:55 +0800)] 
sysklogd: conflict with other syslog daemons

Set RCONFLICTS to disallow multiple syslog daemon providers to be installed
on the target, and remove codes that deal with such situation.

Also, set ALTERNATIVE_PRIORITY back to 100. It was set to '10' in case of
systemd because sysklogd didn't have systemd support. For now, if we disallow
multiple syslog daemons to be installed, and it stays '10', then if sysklogd
is installed on target, the /sbin/syslogd would link to /bin/busybox.nosuid,
causing sysklogd service files using busybox's utility.

(From OE-Core rev: ecc116603079b45b1fa69c3d4537b19b28707859)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox: fix syslog related meta data
Chen Qi [Tue, 5 Sep 2017 09:55:26 +0000 (17:55 +0800)] 
busybox: fix syslog related meta data

Set RCONFLICTS to disallow multiple syslog daemon providers to be installed
on the target at the same time,  and remove codes which dealt with such
situation.

Supporting multiple syslog daemons on the same image doesn't have much sense.
rsyslog and syslog-ng in meta-oe have set RCONFLICTS to disallow this. And
we do the same for busybox.

Also, remove the line of creating a meaningless symlink of
/lib/systemd/syslog.service to /dev/null.

(From OE-Core rev: 597bbf99ee8e88294f2ed96c84a51f9ed83e8933)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopenssh: Fix key generation with systemd
Joshua Watt [Tue, 4 Jul 2017 01:18:18 +0000 (20:18 -0500)] 
openssh: Fix key generation with systemd

106b59d9 broke SSH host key generation when systemd and a read-only root file
system are in use because there isn't a way for systemd to get the optional
weak assigment of SYSCONFDIR from /etc/default/sshd and still provide a default
value if it is not specified. Instead, move the logic for determining if keys
need to be created to a helper script that both the SysV init script and the
systemd unit file can reference.

This does mean that the systemd unit file can't check for file existence to
know if it should start the service, but it wasn't able to do that correctly
anyway anymore. This should be a problem since the serivce is only run once per
power cycle by systemd, and should exit quickly if the keys already exist

(From OE-Core rev: 7e49c5879862253ae1b6a26535d07a2740a95798)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowic: allow multiple /boot partitions with different content
Enrico Scholz [Fri, 8 Sep 2017 17:33:02 +0000 (19:33 +0200)] 
wic: allow multiple /boot partitions with different content

It can be useful to have multiple partitions with '--source bootimg-partition'
but different content.

E.g. for TI AM335x, one boot partition can contain an first stage
bootloader ("MLO"), while the real bootloader and kernel plus devicetree
are in another one.

Patch allows to specify multiple IMAGE_BOOT_FILES with optional "_label-XXX"
or "_uuid-XXX" overrides.

E.g. with this patch, a .wks file with

| part --source bootimg-partition ... --label=mlo --active
| part --source bootimg-partition ... --label=boot0
| part --source bootimg-partition ... --label=boot1

and a recipe with

| IMAGE_BOOT_FILES_label-mlo = "\
|   MLO-${MACHINE}.img;MLO \
| "
|
| IMAGE_BOOT_FILES_label-boot0 = "\
|   u-boot-${MACHINE}.img;u-boot.img \
|   zImage \
| "
|
| IMAGE_BOOT_FILES_label-boot1 = "${IMAGE_BOOT_FILES_label-boot0}"
|
| WICVARS += " \
|   IMAGE_BOOT_FILES_label-mlo \
|   IMAGE_BOOT_FILES_label-boot0 \
|   IMAGE_BOOT_FILES_label-boot1 \
| "

is possible.  It will create one partition with the MLO and two redundant
ones with the uboot + kernel.

(From OE-Core rev: 8c1dec627e9735260516fe8f0b2bfdb0ee70172b)

Signed-off-by: Enrico Scholz <enrico.scholz@ensc.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual, ref-manual: Image format implementation changes
Scott Rifenbark [Fri, 22 Sep 2017 15:31:50 +0000 (08:31 -0700)] 
dev-manual, ref-manual: Image format implementation changes

Recently a number of changes have happened on the implementation
side of some image formats, and a few have been renamed.
The u-boot image signing code is now always available and no
longer in a stand-alone file.  The vmdk/mdi/qcow2 images have
been removed and are now just a conversion type that is applied
to wic images.

Reported-by: Tom Rini <trini@konsulko.com>
(From yocto-docs rev: ce86da3d48507cee12208e0138c285b4be83d8cd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-dev: Edits to the devtool kernel development method.
Scott Rifenbark [Thu, 21 Sep 2017 23:55:18 +0000 (16:55 -0700)] 
kernel-dev: Edits to the devtool kernel development method.

Changes based on a run through of the procedure.

(From yocto-docs rev: 0a526bb15f597843d1e5da1eeca0a952c6c5016f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodev-manual: Replaced release names and numbers with variables
Scott Rifenbark [Thu, 21 Sep 2017 20:15:21 +0000 (13:15 -0700)] 
dev-manual: Replaced release names and numbers with variables

In several examples, hardcoded versions of release names and
versions were being used.  I updated to use variables from
poky.ent so that examples would use most recent release.

(From yocto-docs rev: 53f8e92075cc34538f36d7fba392ea1ac9a6dd1f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodocumentation: Purged "oe-init-build-env-memres" from docs
Scott Rifenbark [Thu, 21 Sep 2017 16:36:46 +0000 (09:36 -0700)] 
documentation: Purged "oe-init-build-env-memres" from docs

Fixes [YOCTO #11968]

Purged all occurrences of the "oe-init-build-env-memres" script
from the YP documentation set.  Occurrences in a lot of places.
The BBSERVER variable was also impacted and had to have the
definition updated.

(From yocto-docs rev: 274b05108d1bc53df20c11ab2efa15363bce23da)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-dev: Added note about running a clean build with a patch
Scott Rifenbark [Thu, 21 Sep 2017 01:54:03 +0000 (18:54 -0700)] 
kernel-dev: Added note about running a clean build with a patch

Put this note at the end of the traditional kernel development
flow.  A way for the user to verify that the patch was applied
for a subsequent build.

(From yocto-docs rev: 598a518cd92980e1781649a3ed30ac585327dc0f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoref-manual: Added "N" category to glossary
Scott Rifenbark [Wed, 20 Sep 2017 23:54:28 +0000 (16:54 -0700)] 
ref-manual: Added "N" category to glossary

Discovered this item in the front of the glossary was commented
out and not showing up so the user did not have the option to
click on "N" to quickly get to the "N" entries, which did exist
and show up.  Uncommented it and put the proper beginning "N"
variable in as the start.

(From yocto-docs rev: 6d51dfb9de53db1222f68a6f0325eaad1a12cd6b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-dev: Updates to the traditional kernel development flow section.
Scott Rifenbark [Wed, 20 Sep 2017 23:53:58 +0000 (16:53 -0700)] 
kernel-dev: Updates to the traditional kernel development flow section.

(From yocto-docs rev: d81143d6ae27e2e360f923bde8e578e583a969a1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-dev: Updates to creating a layer section.
Scott Rifenbark [Wed, 20 Sep 2017 19:27:22 +0000 (12:27 -0700)] 
kernel-dev: Updates to creating a layer section.

(From yocto-docs rev: a57ba3f227831225a544df1ab774422364b91d6f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-dev: Updates to layer creation steps for kernel examples.
Scott Rifenbark [Wed, 20 Sep 2017 17:11:11 +0000 (10:11 -0700)] 
kernel-dev: Updates to layer creation steps for kernel examples.

(From yocto-docs rev: 8044f6e255905f3e4798d20e6e89aaa93d2892fb)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-dev: Added some cross-references to layer creation.
Scott Rifenbark [Wed, 20 Sep 2017 15:45:47 +0000 (08:45 -0700)] 
kernel-dev: Added some cross-references to layer creation.

(From yocto-docs rev: 67658657d10ae1e243a27ff8b3df60f31ccd9740)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel-dev: Updated 4.4 to 4.12 for kernel example in layer
Scott Rifenbark [Wed, 20 Sep 2017 15:05:07 +0000 (08:05 -0700)] 
kernel-dev: Updated 4.4 to 4.12 for kernel example in layer

(From yocto-docs rev: ba8dd3676e3800b8356b7de948ceeb6e4cba4bbf)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemu: Security fixes
Yi Zhao [Thu, 21 Sep 2017 00:34:37 +0000 (08:34 +0800)] 
qemu: Security fixes

Fix CVE-2017-13672, CVE-2017-13673, CVE-2017-13711, CVE-2017-14167

References:
https://nvd.nist.gov/vuln/detail/CVE-2017-13672
https://nvd.nist.gov/vuln/detail/CVE-2017-13673
https://nvd.nist.gov/vuln/detail/CVE-2017-13711
https://nvd.nist.gov/vuln/detail/CVE-2017-14167

Patches from:
CVE-2017-13672:
https://git.qemu.org/?p=qemu.git;a=commit;h=3d90c6254863693a6b13d918d2b8682e08bbc681
CVE-2017-13673:
https://git.qemu.org/?p=qemu.git;a=commit;h=e65294157d4b69393b3f819c99f4f647452b48e3
CVE-2017-13711:
https://git.qemu.org/?p=qemu.git;a=commit;h=1201d308519f1e915866d7583d5136d03cc1d384
CVE-2017-14167:
https://git.qemu.org/?p=qemu.git;a=commit;h=ed4f86e8b6eff8e600c69adee68c7cd34dd2cccb

(From OE-Core rev: acc5036a6b74a76d719e6f7224a398f47df4a041)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemu: remove unused patches
Yi Zhao [Thu, 21 Sep 2017 00:34:36 +0000 (08:34 +0800)] 
qemu: remove unused patches

Remove the following patches since they are unused after qemu update to
2.10:
  0001-replace-struct-ucontext-with-ucontext_t-type.patch
  CVE-2016-9908.patch
  CVE-2016-9912.patch
  configure-fix-Darwin-target-detection.patch

(From OE-Core rev: d303f61e28b0ecc2352739a07680bfdeb3544080)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoptest-runner: fix segfault with -t option
Yi Zhao [Thu, 21 Sep 2017 03:18:31 +0000 (11:18 +0800)] 
ptest-runner: fix segfault with -t option

The ptest-runner would segfault with -t option:
root@qemux86-64:~# ptest-runner -d /usr/lib test_pkg -t 5
[  237.234112] ptest-runner[810]: segfault at 0 ip 000000382e638060 sp
00007fff9130f400 error 4 in libc-2.26.so[382e600000+1a7000]

It is safe to bump SRCREV to latest upstream commit to fix this issue
because there is only one commit since the last update:

  commit 8a93832dad621535e90aa8e1fb74ae5ba743fc3e
  Author: Anders Wallin <wallinux@gmail.com>
  Date:   Sun May 28 11:47:00 2017 +0200

      timeout option missing the argument option ":" to getopt

      ptest-runner -t xx gives segfault

Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
(From OE-Core rev: 503ce98bb89dfa019faff872121c8911e6465b05)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agostrace_4.18.bb: improve reproducibility
Juro Bystricky [Wed, 20 Sep 2017 17:27:59 +0000 (10:27 -0700)] 
strace_4.18.bb: improve reproducibility

Remove build host references from strace-ptest package.
Also removed some unneeded timestaps.

(From OE-Core rev: 1f380ee7bce648b0041b61a62e36987e9caee307)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogzip_1.8.bb: improve reproducibility
Juro Bystricky [Wed, 20 Sep 2017 17:27:17 +0000 (10:27 -0700)] 
gzip_1.8.bb: improve reproducibility

Remove build host references from gzip-ptest package.

(From OE-Core rev: 3c9fec29a8151a669950e2c8e7835a8602efa664)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.12
Alejandro Hernandez [Wed, 20 Sep 2017 17:17:17 +0000 (10:17 -0700)] 
linux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.12

(From OE-Core rev: 6e7f9c158e26d4b60479b2e88d87b02443a07cb4)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.10
Alejandro Hernandez [Wed, 20 Sep 2017 17:17:16 +0000 (10:17 -0700)] 
linux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.10

(From OE-Core rev: f33a4adbf982369eebab410b11c3a29ca24f3623)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.9
Alejandro Hernandez [Wed, 20 Sep 2017 17:17:15 +0000 (10:17 -0700)] 
linux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.9

(From OE-Core rev: cab4b6a8d4086a1294b7a7cc34c596d90c50a688)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.4
Alejandro Hernandez [Wed, 20 Sep 2017 17:17:14 +0000 (10:17 -0700)] 
linux-yocto-tiny: Enable qemux86-64 on linux-yocto-tiny 4.4

(From OE-Core rev: b6f545f91fd470b8d1966eab2d11e5a18b0449e7)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocore-image-tiny-initramfs: Enable running poky-tiny on qemux86-64
Alejandro Hernandez [Wed, 20 Sep 2017 17:17:13 +0000 (10:17 -0700)] 
core-image-tiny-initramfs: Enable running poky-tiny on qemux86-64

Building poky-tiny for x86-64 seems fine, but when executing qemu
it complains during boot time about not being able to execute init:

[    5.409730] Failed to execute /init (error -8)

And then it drops to a login prompt (which it should't do on tiny)

This is supposed to be complaining about init's format, it only happens
on x86-64 architectures so perhaps is a 32/64 bit issue, but since
core-image-tiny-initramfs does not actually provide a traditional init,
the script is simply meant to drop to shell, we can workaround the issue
by specifying the kernel to run the init script via busybox's sh,
dropping to shell correctly on x86-64 leaving x86 unaffected.

(From OE-Core rev: f15de8cf177f8f736c180c1dcaa942a9931865d4)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoltp: fix hanging issue for gdb01 case
Yi Zhao [Thu, 21 Sep 2017 07:54:58 +0000 (15:54 +0800)] 
ltp: fix hanging issue for gdb01 case

If gdb01 testcase runs as background process, gdb can receive SIGTTOU
and then the case gets stuck. Replace stdin with /dev/null to fix this
issue. The patch is backported from upstream.

(From OE-Core rev: b38a44e3ca30a8fe83bdccb4ee2b7748b3f7f223)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopsmisc: Add HOMEPAGE info into recipe file.
Huang Qiyu [Thu, 21 Sep 2017 06:41:44 +0000 (14:41 +0800)] 
psmisc: Add HOMEPAGE info into recipe file.

(From OE-Core rev: b4a7f3ac030c875ac954eb50d1a6ec460bcefe6f)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibffi: Add HOMEPAGE info into recipe file.
Huang Qiyu [Thu, 21 Sep 2017 06:41:43 +0000 (14:41 +0800)] 
libffi: Add HOMEPAGE info into recipe file.

(From OE-Core rev: cfe74cb67f284e58c6d133d456fb6d8e763f3e5c)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibcgroup: Add HOMEPAGE info into recipe file.
Huang Qiyu [Thu, 21 Sep 2017 06:41:42 +0000 (14:41 +0800)] 
libcgroup: Add HOMEPAGE info into recipe file.

(From OE-Core rev: cf4dec43b33f884991b0319cf9c324a3dc59e49b)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agohdparm: Add HOMEPAGE info into recipe file.
Huang Qiyu [Thu, 21 Sep 2017 06:41:41 +0000 (14:41 +0800)] 
hdparm: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 0c18f641ddd915c70f3125bf69e83cfe0b5ed645)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotiff: Security fix CVE-2017-13726 and CVE-2017-13727
Yi Zhao [Thu, 21 Sep 2017 03:21:39 +0000 (11:21 +0800)] 
tiff: Security fix CVE-2017-13726 and CVE-2017-13727

References:
https://nvd.nist.gov/vuln/detail/CVE-2017-13726
https://nvd.nist.gov/vuln/detail/CVE-2017-13727

Patches from:
CVE-2017-13726:
https://github.com/vadz/libtiff/commit/f91ca83a21a6a583050e5a5755ce1441b2bf1d7e

CVE-2017-13727:
https://github.com/vadz/libtiff/commit/b6af137bf9ef852f1a48a50a5afb88f9e9da01cc

(From OE-Core rev: 8dc9d74b7e6816f59eb61dcda6a93c0753a5e4ab)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa/lib/oe/rootfs.py: clean up dnf cache after creating an image
Alexander Kanavin [Wed, 20 Sep 2017 12:51:00 +0000 (15:51 +0300)] 
meta/lib/oe/rootfs.py: clean up dnf cache after creating an image

It contains cached metadata for a transient repository that is used
only when creating images on the host, and so is of no use on target
images. Dnf will recreate the cache on target when needed.

(From OE-Core rev: 89ddf2516b713e6622df95ab391423b033d4271a)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosanity: check that path variables don't use ~
Ross Burton [Wed, 20 Sep 2017 12:57:33 +0000 (13:57 +0100)] 
sanity: check that path variables don't use ~

The core path variables (TMPDIR, DL_DIR, SSTATE_DIR) don't use tilde expansion
but if the user does then the errors are very mysterious, so check on startup.

(From OE-Core rev: 2fb74abbe07b6b82a715ac0fe16449bd8420110e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosanity: correct Python version sanity check
Ross Burton [Wed, 20 Sep 2017 12:43:50 +0000 (13:43 +0100)] 
sanity: correct Python version sanity check

We now require Python 3.4, not 2.7.

(From OE-Core rev: b12d99dbfbee8c4b3680f453f833410950238bb9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooe-build-perf-report-email.py: add cc and bcc options
Joshua Lock [Thu, 21 Sep 2017 10:18:34 +0000 (11:18 +0100)] 
oe-build-perf-report-email.py: add cc and bcc options

Enable carbon copy and blind carbon copy recipients for the performance
report emails.

(From OE-Core rev: df5ae8143ff1764b6ed5973ed3d6f1a83ecf45ee)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoscripts: rename yocto-compat-layer to remove "compatible" nomenclature
Paul Eggleton [Tue, 19 Sep 2017 03:57:07 +0000 (15:57 +1200)] 
scripts: rename yocto-compat-layer to remove "compatible" nomenclature

"Yocto Project Compatible" [1] is a programme which requires you meet
specific criteria including going through an application process - it is
not sufficient simply to run the script we have created here and have it
produce no warnings/errors. To avoid people being confused by the fact
that this script uses the term "compatible" or variations thereof,
substitute usage of that word with "check" instead. The functionality of
the script is unchanged.

[1] https://www.yoctoproject.org/ecosystem/yocto-project-branding-program

(From OE-Core rev: 2a6126a115f10750ea89f95629d3699ad41c5665)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoncurses: CVE-2017-13732, CVE-2017-13734, CVE-2017-13730, CVE-2017-13729, CVE-2017...
Ovidiu Panait [Wed, 20 Sep 2017 10:13:49 +0000 (13:13 +0300)] 
ncurses: CVE-2017-13732, CVE-2017-13734, CVE-2017-13730, CVE-2017-13729, CVE-2017-13728, CVE-2017-13731

There is an illegal address access in the function dump_uses() in progs/dump_entry.c
in ncurses 6.0 that might lead to a remote denial of service attack.

There is an illegal address access in the _nc_safe_strcat function in
strings.c in ncurses 6.0 that will lead to a remote denial of service attack.

There is an illegal address access in the function _nc_read_entry_source()
in progs/tic.c in ncurses 6.0 that might lead to a remote denial of service attack.

There is an illegal address access in the _nc_save_str function in
alloc_entry.c in ncurses 6.0. It will lead to a remote denial of service attack.

There is an infinite loop in the next_char function in comp_scan.c in
ncurses 6.0, related to libtic. A crafted input will lead to a remote denial of service attack.

There is an illegal address access in the function postprocess_termcap()
in parse_entry.c in ncurses 6.0 that will lead to a remote denial of service attack.

References:
https://nvd.nist.gov/vuln/detail/CVE-2017-13734
https://nvd.nist.gov/vuln/detail/CVE-2017-13732
https://nvd.nist.gov/vuln/detail/CVE-2017-13731
https://nvd.nist.gov/vuln/detail/CVE-2017-13730
https://nvd.nist.gov/vuln/detail/CVE-2017-13729
https://nvd.nist.gov/vuln/detail/CVE-2017-13728

Upstream patch:
https://anonscm.debian.org/cgit/collab-maint/ncurses.git/commit/?id=129aac80802d997b86ab0663836b7fdafb8e3926

(From OE-Core rev: 52d0f351062da730055ffc6b953ff4e68ddb437f)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokernel.bbclass: build host programs with native sysroots
Wenzong Fan [Wed, 20 Sep 2017 08:17:05 +0000 (01:17 -0700)] 
kernel.bbclass: build host programs with native sysroots

Allow to search header files and libs from native sysroots.

For example, an expanded BUILD_CFLAGS includes:
  '-isystem/builddir/to/linux-yocto/recipe-sysroot-native/usr/include'

And an expanded BUILD_LDFLAGS includes:
  '-L/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib
   -Wl,-rpath-link,/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib
   -Wl,-rpath,/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib'

(From OE-Core rev: 37f20f2f7bdc8b964736c09371cd8f2342e4d5cb)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoimage.bbclass: Sorted ctypes to avoid basehash error
Gerson Fernando Budke [Tue, 19 Sep 2017 17:15:36 +0000 (14:15 -0300)] 
image.bbclass: Sorted ctypes to avoid basehash error

When selected multiple subimages a similar error could happend:
  Variable do_image_cpio[subimages] value changed \
    from 'cpio.gz.u-boot cpio.gz' to 'cpio.gz cpio.gz.u-boot'
To avoid this, 'ctypes' should be sorted at 'gen_conversion_cmds'.

This garantee that 'CONVERSION_CMD_xxx' are always written in tha same
order and consequently 'do_image_cpio' have the same hash.

(From OE-Core rev: 271f1a5f65b8685a1e3645026876251122ef3974)

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/image: move image_qa to between rootfs and image
Ross Burton [Tue, 19 Sep 2017 16:20:37 +0000 (17:20 +0100)] 
classes/image: move image_qa to between rootfs and image

It was noticed that do_image_qa is useless when rm_work is enabled as the rootfs
directory is deleted before image_qa is called.

This indicates that image_qa is incorrectly scheduled as it failing should mean
images don't get generated, so move it between do_rootfs and do_image.

Also, add a little bit more documentation to the comments.

(From OE-Core rev: 62ce334e583ecdf1f93619f4131c0fa5d88d5b02)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agou-boot-fw-utils: Fix cross and target builds
Otavio Salvador [Tue, 19 Sep 2017 13:19:41 +0000 (10:19 -0300)] 
u-boot-fw-utils: Fix cross and target builds

 - The environment tools target has change to envtools;
 - The HOSTCC variable must be used to set CC for cross;
 - Drop ARCH variable as it is set on config;

(From OE-Core rev: 73afabf8e69019f08b424a06f3eafaab052b0606)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agostrace: Fix ptest bulds with musl/mips
Khem Raj [Tue, 19 Sep 2017 05:55:51 +0000 (22:55 -0700)] 
strace: Fix ptest bulds with musl/mips

(From OE-Core rev: 817210ef57729bf0f3010328270ea4b954dfebcf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/image_live: fix using squashfs as image filesystem
Tomasz Meresiński [Tue, 19 Sep 2017 10:36:00 +0000 (12:36 +0200)] 
classes/image_live: fix using squashfs as image filesystem

Different squashfs versions have IMAGE_TYPE with hyphen (eg squashfs-lz4).
Tasks on the other hand have names with underscore (eg do_image_squashfs_lz4).

(From OE-Core rev: ab3cdfbd24844506647b75002f531b0b82b87be4)

Signed-off-by: Tomasz Meresiński <tomasz.meresinski@comarch.pl>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agonspr: Fix build with musl/mips
Khem Raj [Tue, 19 Sep 2017 00:27:16 +0000 (17:27 -0700)] 
nspr: Fix build with musl/mips

(From OE-Core rev: ecf386d113011c430a2e04dfdac981a265a83b7b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoeudev: use archive tarball instead of Github generated tarball
Ross Burton [Mon, 18 Sep 2017 22:29:54 +0000 (23:29 +0100)] 
eudev: use archive tarball instead of Github generated tarball

The Github-generated tarballs can and do change over time, so point at the
archived tarball website that the maintainer hosts.

(From OE-Core rev: 5a1f79ed3d243955401b45cf21f539126f67677e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocross-canadian.bbclass: drop TARGET_* flags overrides
Ming Liu [Sun, 17 Sep 2017 09:53:43 +0000 (11:53 +0200)] 
cross-canadian.bbclass: drop TARGET_* flags overrides

A regression was introduced by me in commit 767335c9:
[ cross-canadian.bbclass: override TARGET_* flags ]

it causes BUILDSDK_C/CXXFLAGS being exported in environment-setup
script built from meta-environment recipe, which is wrong, restore to
TARGET_C/CXXFLAGS.

(From OE-Core rev: 44160df561a1b10b4c7a74558bdfe6b58ee0a9ec)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd-serialgetty: remove systemd from RDEPENDS
Chen Qi [Tue, 5 Sep 2017 08:08:00 +0000 (16:08 +0800)] 
systemd-serialgetty: remove systemd from RDEPENDS

By setting systemd-serialgetty to rdepend on systemd, we are making
configuration files have runtime dependency on the main utility that
uses those configuration files. Applied with the same logic, we should
make any package that provides service files under /etc/init.d/ to have
runtime dependency on sysvinit. And this is not right.

So we should remove systemd from RDEPENDS of systemd-serialgetty.

Besides, as we have changed systemd to have systemd-serialgetty in its
RDEPENDS by default, we should avoid circular dependency issue.

(From OE-Core rev: 060088f256f8134ad68a7b5e493ddfa78a0382ea)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: change some RRECOMMENDS to RDEPENDS
Chen Qi [Tue, 5 Sep 2017 08:07:59 +0000 (16:07 +0800)] 
systemd: change some RRECOMMENDS to RDEPENDS

Set NO_RECOMMENDATIONS to "1", build and start a systemd image, and we
could not get serial getty spawned, thus causing the user not able to
login via serial port.

E.g.
MACHINE=qemux86-64 bitbake core-image-minimal
runqemu qemux86-64 nographic

And we cannot login onto the system.

Move util-linux-agetty and systemd-serialgetty (determined by PACKAGECONFIG)
from RRECOMMENDS to RDEPENDS to fix the above problem.

(From OE-Core rev: 39e78c7615cdaaa8ad61a67d5c5bf7ff877167df)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/externalsrc: delete symlinks at start of do_buildclean
Paul Eggleton [Mon, 18 Sep 2017 04:54:42 +0000 (16:54 +1200)] 
classes/externalsrc: delete symlinks at start of do_buildclean

To help users find the work and log directories (especially within the
eSDK) we create symlinks to these from the source tree. However during
do_buildclean we call "make clean", and some project Makefiles which
delete something like "*/*/lib" which will match files underneath the
oe-workdir symlink and fail. do_buildclean is called from do_clean which
is in turn called by devtool reset by default, and thus devtool reset is
blocked. An example of a recipe where this is visible is the openssl-qat
recipe in meta-intel.

In order to fix this, delete the symlinks at the start of do_buildclean
since we shouldn't need them at that point anyway, and thus make clean
won't be able to trip over them.

Fixes [YOCTO #11036].

(From OE-Core rev: 927b3b05a7f6b85967f7375b1942605fe8d37d0c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobzip2: Create Makefile for run-ptest
Ooi Cinly [Thu, 14 Sep 2017 09:35:48 +0000 (17:35 +0800)] 
bzip2: Create Makefile for run-ptest

To improve binary reproducibility, only the
relevent part of the Makefile in bzip2-ptest
package that run-ptest needs are copied to
the destination directory.

bzip2-ptest requires Makefile. The original
Makefile contains references to build host.
By copying only the relevent part,
we avoid those references making their way
into the target system

Used Makefile.am as the source to extract
the revelent part instead of Makefile as
it is easier to parse than Makefile.

A redundant command  in do_install_ptest()
that repeat the copying of Makefile that
was already copied by  Makefile's install-ptest
step is removed because it now interfers with
the creation of the new Makefile by
make's install-ptest.

[YOCTO #11596]

(From OE-Core rev: 752a8a02d52cf868d1c182672d6ceb3d455dfa1e)

Signed-off-by: Ooi Cinly <cinly.ooi@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoutil-linux: package switch_root separately
Ioan-Adrian Ratiu [Mon, 18 Sep 2017 12:22:02 +0000 (15:22 +0300)] 
util-linux: package switch_root separately

Having only this utility is useful for tiny initramfs'es which don't
need the whole util-linux package (and neither the busybox binary
which is much bigger than switch_root) to do operations like decrypt
a rootfs & switch to it in the init file.

(From OE-Core rev: 027f1782dfd85b47f34a4a9c8b62a22f57fece7e)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobluez5: Correct support for building without systemd
Peter Kjellerstedt [Sun, 17 Sep 2017 09:06:04 +0000 (11:06 +0200)] 
bluez5: Correct support for building without systemd

This avoids the following error when the systemd DISTRO_FEATURE is
enabled, but the systemd PACKAGECONFIG is not:

  ERROR: bluez5-5.46-r0 do_package: SYSTEMD_SERVICE_bluez5 value
  bluetooth.service does not exist

(From OE-Core rev: a751a1f4ab0625cbfedb6445b0da080fc455848f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosysvinit-inittab: start_getty: Cleanup comments
Andrea Adami [Fri, 15 Sep 2017 23:35:50 +0000 (01:35 +0200)] 
sysvinit-inittab: start_getty: Cleanup comments

(From OE-Core rev: dd17a009e3adf2dc0d75a4c664086f661401e9ff)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosysvinit-inittab: start_getty: consider whitespaces in tty driver name
Andrea Adami [Fri, 15 Sep 2017 23:35:49 +0000 (01:35 +0200)] 
sysvinit-inittab: start_getty: consider whitespaces in tty driver name

Unbreak serial console when driver name contains spaces (PXA serial).

Fix commit ac0e954
"start_getty: Over added SERIAL_CONSOLE cause error in userspace log"

(From OE-Core rev: 8b98302c30efb7073f61dc2a166f7414f050ef65)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agocore-image-tiny-initramfs: initramfs recipes should not generate an actual image...
Alejandro Hernandez [Fri, 15 Sep 2017 18:22:44 +0000 (11:22 -0700)] 
core-image-tiny-initramfs: initramfs recipes should not generate an actual image file

core-image-tiny-initramfs was used to generate a wic image, which was conceptually wrong
since initrafms recipes should only generate the boot artifacts that can later be used
by another recipe to generate an image using the tool of their choice.

(From OE-Core rev: 2a4c65636821be48a8e585491bec40b5048be25d)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodevtools: qemu: Remove obsolete '--with-system-pixman' option
Alistair Francis [Fri, 15 Sep 2017 16:56:29 +0000 (09:56 -0700)] 
devtools: qemu: Remove obsolete '--with-system-pixman' option

QEMU version 2.11 will remove the pixman submodule. This means users are
always required to supply pixman from the system if building softmmu
support in QEMU.

Without specifying a pixman configure option QEMU will default to using
the system pixman if it is avaliable. In which case let's remove the
config option as it is no longer supported in recent commits and is not
required in older builds as the configure system defaults are already
using system pixman.

(From OE-Core rev: db1fc2ec360eb5dad1363634458ec4b56e7bbb9d)

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconf: remove maintainers.inc, now in oe-core
Ross Burton [Thu, 14 Sep 2017 11:00:50 +0000 (12:00 +0100)] 
conf: remove maintainers.inc, now in oe-core

(From meta-yocto rev: c32855290f41616d5c48bb3cb717ec7a840b867d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoAdd Go toolchain support
Otavio Salvador [Thu, 14 Sep 2017 19:22:31 +0000 (16:22 -0300)] 
Add Go toolchain support

This adds the meta-go-toolchain. It enables the generation of a Go
toolchain allowing for cross compiling for target architecture.

(From OE-Core rev: 8e16694b2f4c4038c56226821699d0d21578bdf0)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogo.bbclass: set TMPDIR during compilation
Matt Madison [Thu, 14 Sep 2017 19:22:30 +0000 (16:22 -0300)] 
go.bbclass: set TMPDIR during compilation

The go build tool creates working directories under
$TMPDIR for all of its processing.  Create a directory
under ${WORKDIR} for this and point TMPDIR at it during
compilation, so that systems that have a relatively
small /tmp filesystems can still compile larger Go
packages.

(From OE-Core rev: 5de3de12c70f01753491c46b5622b0d273c3257b)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogo: fixes for cross-canadian builds
Matt Madison [Thu, 14 Sep 2017 19:22:29 +0000 (16:22 -0300)] 
go: fixes for cross-canadian builds

* Add patch for go's make script to allow for
  build system != host system

* Add dependencies on the appropriate crosssdk recipes,
  and use the crosssdk C compiler and linker

* Remove bashism in the wrapper script

* Restrict installation to only the tool binaries
  to address some packaging errors

(From OE-Core rev: e2171f14a2dbf630a926a6792f6e6355f80e18b1)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogo: fix linking issues for nativesdk builds
Matt Madison [Thu, 14 Sep 2017 19:22:28 +0000 (16:22 -0300)] 
go: fix linking issues for nativesdk builds

Switch to using an external linker for nativesdk
go, go-runtime, and go package builds, which works
more reliably when building 32-bit SDKs.

(From OE-Core rev: f76779f7ef6636355a5aa5741a736f5234a67fdb)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogo-crosssdk: fix host/target references and cleanup
Matt Madison [Thu, 14 Sep 2017 19:22:27 +0000 (16:22 -0300)] 
go-crosssdk: fix host/target references and cleanup

* The _FOR_TARGET variables need to include SDKNATIVEPATH
* Install tools (cmd) only, and for the build host
* Remove unnecessary FILES setting

Corrects some errors when the build host architecture
is different from the SDKMACHINE's.

(From OE-Core rev: 94cfa563388fb39e6a409eefcae1598a9d426a5c)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoalsa-state: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:06 +0000 (11:40 +0800)] 
alsa-state: Add HOMEPAGE info into recipe file.

(From OE-Core rev: f967351694709a93ba6d1553e5b400a8cb5c8589)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoudev-extraconf: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:24 +0000 (11:40 +0800)] 
udev-extraconf: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 298077e795147953e8fe2be180589284d23f4398)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotrace-cmd: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:23 +0000 (11:40 +0800)] 
trace-cmd: Add HOMEPAGE info into recipe file.

(From OE-Core rev: bd539ff6d0f7ca1462aaa0b334d6ed44b712fdcc)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd-serialgetty: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:22 +0000 (11:40 +0800)] 
systemd-serialgetty: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 6b72414e82961404b546dbd534c3b15c0014cd66)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd-compat-units: Add HOMEPAGE info into recipe.
Huang Qiyu [Mon, 18 Sep 2017 03:40:21 +0000 (11:40 +0800)] 
systemd-compat-units: Add HOMEPAGE info into recipe.

(From OE-Core rev: 04762479f0b18d0bbd95110f1f82d9be02bf10e9)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoqemuwrapper-cross: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:20 +0000 (11:40 +0800)] 
qemuwrapper-cross: Add HOMEPAGE info into recipe file.

(From OE-Core rev: c0a1128a1f1fa2b86ba1cb97d9ff17f5a7a76e59)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoopkg-arch-config: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:19 +0000 (11:40 +0800)] 
opkg-arch-config: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 9caebefd5a64e18f6f8830426461824a9b7d8105)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomobile-broadband-provider-info: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:18 +0000 (11:40 +0800)] 
mobile-broadband-provider-info: Add HOMEPAGE info into recipe file.

(From OE-Core rev: d29b4a1167d27c466727e8f4183fd99d0dd05a6f)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolsbtest: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:17 +0000 (11:40 +0800)] 
lsbtest: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 9fbd4fe461ba479883ce5a9748a6720cfbd538ea)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolsbinitscripts: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:16 +0000 (11:40 +0800)] 
lsbinitscripts: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 7c8952b085ca793735f7465a9a00e53ac69ffb53)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxml-sax-perl: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:15 +0000 (11:40 +0800)] 
libxml-sax-perl: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 0982566845aea562cd1821ce10e9ea2c8a6e99db)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxml-sax-base-perl: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:14 +0000 (11:40 +0800)] 
libxml-sax-base-perl: Add HOMEPAGE info into recipe file.

(From OE-Core rev: b10d8bcb5d9bd7826dd2f0f92261f18e63c09083)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxml-parser-perl: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:13 +0000 (11:40 +0800)] 
libxml-parser-perl: Add HOMEPAGE info into recipe file.

(From OE-Core rev: f178cf43b7b8201a3a641b428f5c6be7ebd44123)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibtimedate-perl: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:12 +0000 (11:40 +0800)] 
libtimedate-perl: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 072384f72316cc46e8c2f0fcb257287a39bb4b0d)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokbd: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:10 +0000 (11:40 +0800)] 
kbd: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 5b5153961965d02e07ba78713ecd6ff7dd3861a3)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinitscripts: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:09 +0000 (11:40 +0800)] 
initscripts: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 19f4e69c81653a4fa197fba2c46e48fcd554a12e)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoi2c-tools: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:08 +0000 (11:40 +0800)] 
i2c-tools: Add HOMEPAGE info into recipe file.

(From OE-Core rev: fca8c3d1a9401f7e1607f1b26010f5787fbdef25)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agodtc: Add HOMEPAGE info into recipe file.
Huang Qiyu [Mon, 18 Sep 2017 03:40:07 +0000 (11:40 +0800)] 
dtc: Add HOMEPAGE info into recipe file.

(From OE-Core rev: 92878ef5e758c05d059ef943c30984a4b2d79cc4)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoconf: add maintainers.inc from meta-poky
Ross Burton [Thu, 14 Sep 2017 11:01:21 +0000 (12:01 +0100)] 
conf: add maintainers.inc from meta-poky

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogawk: Enable native building
Nathan Rossi [Sun, 10 Sep 2017 12:59:08 +0000 (22:59 +1000)] 
gawk: Enable native building

Also update the ASSUME_PROVIDED in bitbake.conf to contain gawk-native
as the dependency is passed in via HOSTTOOLS for native builds.

This allows for recipes to depend on gawk-native, and have the
dependency met if not already provided by the host tools.

(From OE-Core rev: cbc396dd10488990c98bb6fd94c7d10a736d57c1)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agouseradd.bbclass: Unify writing of script file in useradd_sysroot_sstate()
Peter Kjellerstedt [Fri, 15 Sep 2017 14:48:59 +0000 (16:48 +0200)] 
useradd.bbclass: Unify writing of script file in useradd_sysroot_sstate()

There were two identical code blocks for writing the
postinst-useradd-${PN} scripts. This combines them into one.

(From OE-Core rev: 0c4259dd3c74d81f20b87417cecb1e636365ce10)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>