Commit Graph

27139 Commits

Author SHA1 Message Date
Jagadeesh Krishnanjanappa b051a953fc license.bbclass: fix host contamination warnings for license files
We get below host contamination warnings of license files for
each recipe, when we try to create a separate ${PN}-lic package (which
contains license files), by setting LICENSE_CREATE_PACKAGE equal to "1"
in local.conf.

-- snip --
WARNING: QA Issue: libcgroup: /libcgroup-lic/usr/share/licenses/libcgroup/generic_LGPLv2.1 is owned by uid 5001, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
WARNING: QA Issue: attr: /attr-lic/usr/share/licenses/attr/libattr.c is owned by uid 5001, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
WARNING: QA Issue: bash: /bash-lic/usr/share/licenses/bash/COPYING is owned by uid 5001, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
-- CUT --

Since the license files from source and OE-core, are populated in a normal
shell environment rather in pseudo environment (fakeroot); the ownership of
these files will be same as host user running bitbake. During the do_package
task (which runs in pseudo environment (fakeroot)), os.link preserves the
ownership of these license files as host user instead of root user.
This causes license files to have UID same as host user id and resulting in
above warnings during do_package_qa task.

Changing ownership of license files to root user (which has UID and GID as 0)
under pseudo environment will solve above warnings, and on exiting pseudo
environment the license files will continue to be owned by host user. Perform
this manipulation within try/except statements, as tasks which are not exected
under pseudo (such as do_populate_lic) result in OSError when trying to
change ownership of license files.

(From OE-Core rev: a411e96c3989bc9ffbd870b54cd6a7ad2e9f2c61)

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:12 +00:00
Daniel Istrate f8a9774f79 oeqa/selftest/buildoptions: Test build does not fail without git rev
Test that layer git revisions are displayed and
do not fail without git repository.

fix for [YOCTO #8852]

(From OE-Core rev: 8adaad7f3a76d527f34d2caa4b032beba7e21840)

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:12 +00:00
Alejandro del Castillo 656aeff16a busybox.inc: add tail symlink so busybox can commit suicide cleanly
update-alternatives-opkg uses tail, which requires a temporary symlink
on tmpdir during removal, to avoid errors of the type:

/usr/bin/update-alternatives: line 113: tail: command not found

(From OE-Core rev: 398728a78ddb6cbf770045e2684d910a0ba0fc90)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:11 +00:00
Ross Burton a321f4e5fc avahi-ui: add dbus to PACKAGECONFIG
Now that avahi has a dbus PACKAGECONFIG we need to ensure it's enabled as
otherwise the avahi-ui module won't build.

(From OE-Core rev: d5e3cf611d302babf0120f887f15aec176ff3429)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:11 +00:00
Ross Burton 1bd4b72d71 avahi: add missing intltool-native build dependency
(From OE-Core rev: 52e6e586b142ec782aac10c16366f273be6405f6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:11 +00:00
Jens Rehsack 72f9e39975 avahi: make dbus optional but default
Since do_install fails when dbus is removed by .bbappend, add packageconfig
to allow users to get rid of desktop ipc helper dbus.

(From OE-Core rev: 93b6ac66a90a6f2cca18ee4cae15f899da7ecb15)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:11 +00:00
Li Zhou 07919e948c net-tools: Add SCTP option support
Porting three net-tools SCTP related patches from
<https://archive.fedoraproject.org/pub/archive/fedora/linux/releases/
12/Fedora/source/SRPMS/net-tools-1.60-95.fc12.src.rpm> to add support
for SCTP option.

(From OE-Core rev: 45e09f33b4607317d60e8ca01ce9c8fdb55df0a0)

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>
2016-03-09 16:58:11 +00:00
Chang Rebecca Swee Fun e8254bc2f1 tune-corei7.inc: Fix PACKAGE_EXTRA_ARCHS for corei7-32
Change the name to core2-32 from core2.

There's no AVAILTUNES with the name core2. Make sure that we specify
the correct TUNE name so PACKAGE_EXTRA_ARCHS is expanded correctly.

[ YOCTO #9197 ]

(From OE-Core rev: 0903d6f0098f112d4263812df109e0c44c166db8)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:11 +00:00
Ross Burton 5346675377 eudev: remove redundant udev_run assignment
The path isn't correct as we use /run/udev now, also /run/udev is the default
value, and eudev doesn't let you override it like this anyway.

(From OE-Core rev: 779259192c0d1687e5e82dbc8e45c33b29ae0588)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:11 +00:00
Richard Purdie 946d00c01f populate_sdk_ext: Update after uninative changes
(From OE-Core rev: 8b81bb56c69aabdea984352f8e267a9783c0bdbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:10 +00:00
Patrick Ohly ba57ba1942 image.bbclass: support chaining compression (aka conversion) commands
It makes sense to use the compression mechanism also for conversion,
for example of a whole-disk image into .vdi (VirtualBox). That part
already works, like this:

   COMPRESSIONTYPES_append = " vdi"
   COMPRESS_CMD_vdi = "qemu-img convert -O vdi ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.vdi"
   IMAGE_DEPENDS_vdi = "qemu-native"

But then it also makes sense to allow compressing the resulting image,
which only works after enhancing the image.bbclass.

For example, suppose a custom image command produces "dsk" images. Then
it becomes possible to set
   IMAGE_FSTYPES = " dsk.xz dsk.vdi.xz"
and do_image_dsk will automatically produce the intermediate images,
convert to dsk.xz resp. dsk.vdi -> dsk.vdi.xz and delete all
intermediate images. Symlinks are also set correctly.

(From OE-Core rev: 588f14370372a66329b54606071175519ce88f1e)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 16:58:10 +00:00
Patrick Ohly 5ac3dc76a5 image.bbclass: fix incomplete .rootfs customization
The patch for making the .rootfs configurable was incomplete: in the
python create_symlinks() method the new variable must be expanded
explicitly.

Not doing so broke the symlink creation and that led to hard build
failures in image types depending on the boot-directdisk.bbclass (like
qcow2) because the build_boot_dd() method relied on the symlink.

(From OE-Core rev: 0d02159c8d66bb136f7da2c10fda7d1a57f40cec)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 22:10:54 +00:00
Patrick Ohly 26ee4ddc65 image creation: allow overriding .rootfs suffix
By default, the image file name contains ".rootfs" to distinguish the
image file from other files created during image building. However,
for certain image types (for example, .hddimg) the ".rootfs" suffix is
redundant because the type suffix alone already uniquely identifies
the main image file (core-image-minimal-intel-corei7-64.hddimg instead
of core-image-minimal-intel-corei7-64.rootfs.hddimg).

With this change, distros that prefer the shorter image name can
override the .rootfs suffix unconditionally with
   IMAGE_NAME_SUFFIX ?= '' in their distro configuration
or with some condition check like this:
   python () {
       if <whole-disk image format active>:
           d.setVar('IMAGE_NAME_SUFFIX', '')
   }

The exact logic when to remove the extra suffix depends on the distro
and how it enables its own image type.

(From OE-Core rev: 380ee36811939d947024bf78de907e3c071b834f)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 17:17:43 +00:00
Paul Eggleton 59b4cefe29 classes/packageinfo: remove
This class was only used by Hob, and since Hob has now been removed we
can drop it as well.

(From OE-Core rev: b8db070926a7ec294816bc6648eb12db7f126f26)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 17:17:43 +00:00
Paul Eggleton bbf2a5d35f conf/documentation.conf: remove BBLAYERS_NON_REMOVABLE
Hob was the only thing paying attention to this, and now Hob itself has
been removed we can remove this as well.

(From OE-Core rev: 270830fcfebf2fa1304a0dd15b218c24080b742e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 17:17:43 +00:00
Richard Purdie 7054882c66 yocto-uninative: Add common include for uninative
uninative has some specific setup requirements. Rather than have everyone
doing this themselves, do this centrally and allow people to opt into it
based on some Yocto Project builds of the uninative tarballs.

(From OE-Core rev: 34cf2f6be0c9b7c222d770b6af8f59addaf407b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 17:17:43 +00:00
Richard Purdie d2c96caa40 mtools: Drop GCONV_PATH manipulation
Now that nativesdk-glibc handles GCONV_PATH itself we don't need to do
this here. This unbreaks mtools for the native case without uninative
since the existing patch wasn't nativesdk specific.

(From OE-Core rev: 331ad5c5f80044a5e82abca0e87a85b162126411)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 12:41:38 +00:00
Richard Purdie d27644e2b8 uninative: Handle relocate of GCONV_PATH in libc
uninative hand codes the list of files which need relocation, add the libc
to that list to ensure GCONF_PATH is updated.

(From OE-Core rev: f8a9819a2ef3ebf4b40633e9308b66671aa9af83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 12:41:38 +00:00
Richard Purdie 0523499799 uninative: Add checksum support
We need to be able to update uninative if the version changes. To do this,
stash a checksum of the installed uninative tarball into a file. If this
changes, we update uninative.

For cleaner download messages, we place the tarballs into directories
based on the checksum.

(From OE-Core rev: f767f94295032792d84fd323bffee137a6467e01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 12:41:38 +00:00
Richard Purdie 73265d10da uninative: Refactor common code
Move duplicate code into a common function

(From OE-Core rev: 1a6b39ccd55e6b26f9eb4e05089b8b97396d53d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 12:41:38 +00:00
Richard Purdie 4feb00df18 uninative: Use CXX11 ABI for interoperation between gcc4 and gcc5
We may see binaries built with gcc5 run or linked into gcc4 environment
so use the older libstdc++ standard for now until we don't support gcc4
on the host system. https://wiki.debian.org/GCC5 has more details about this.

(From OE-Core rev: 1925ead3828dcd50ef96212c2d1ea9c35bc9f13c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 12:41:38 +00:00
Ross Burton 013dd24bce uninative: correctly enable uninative
The previous attempt at soft-failing when uninative was enabled didn't actually
work, because the workers didn't evaluate the function that actually enabled
uninative.

In a BuildStarted handler we can check if we need to download or extract the
uninative tarball.

In a ConfigParsed handler on the workers we can check if the uninative loader is
present, and if so enable it.

(From OE-Core rev: 75fc9a8d408640d97481d310084b212a01dc5f8b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 12:41:38 +00:00
Richard Purdie 034618dbee glibc: Add relocation of GCONV_PATH
We're seeing various failures where nativesdk glibc can't find the gconv
modules. We've tried various workaround but this needs fixing 'properly'.
One significant problem is knowing when a binary would use this glibc
and hence when to set the path and when not to.

Add the default path to its own special section which the sdk
relocation script already knows how to handle and remap.

This significantly improves the usability of uninative.

(From OE-Core rev: d40cb4a359dbc5d762fabd996c29e468f5398dd9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 11:55:38 +00:00
Richard Purdie 8dca343178 uninative-tarball: Add glibc-gconv-iso8859-1 for guile
(From OE-Core rev: a8181c2d3a9e51569d77ab2ad9950b27a1113294)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 11:55:38 +00:00
Richard Purdie 1f50f29179 dkpg: Use tar everywhere (not gtar)
All our systems usually have tar, if we want the native sstate to work
universally, we need to prefer this. This avoids a system with gtar
causing dpkg-native to use it and it not being present on some systems.

(From OE-Core rev: d683913119082f718af64f2d402bac67b660fca6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 11:55:38 +00:00
Richard Purdie b158d6c27f gtk3+: Add missing DEPENDS on wayland-native
configure needs wayland-scanner which comes from wayland-native, add missing
DEPENDS.

(From OE-Core rev: 44d780271a14e54d729335700bb53248b898217a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 11:55:37 +00:00
Trevor Woerner e395e81d26 tune-cortexa17.inc: apply changes similar to a15
Apply the same sort of changes to the Cortex-A17 tune as were done in commit
35392025f3236f5e5393f9cf0857732da9a2e503.

(From OE-Core rev: fb981f1a5be2277ae4966527fdebe196022d3826)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 11:55:37 +00:00
Richard Purdie ea53d1e4a9 sstate: Allow late expansion of NATIVELSBSTRING
uninative needs to adjust NATIVELSBSTRING fairly late in the
configuration parsing process but the sstate code encodes it into
variables. Since this string doesn't vary on a per recipe basis, we
defer its expansion until usage time.

(From OE-Core rev: fb680ab8b3cf7aba9b579403b1aeb96d30762320)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 11:55:37 +00:00
Richard Purdie ae85c4b9a6 linuxloader/image-prelink/image-mklibs: Fix non-standard path prelinking
Prelinking on x86-64 wasn't working out the box as it uses /lib and
not /lib64 for libs. Prelink was refusing to link as the dynamic loader
didn't match its idea of the right path. Passing in the --dyanmic-linker
option avoids this.

We can share code from image-mklibs so abstract that into a new class,
linuxloader.bbclass.

This does break prelinking of multilib images, I've opened a bug so we
can loop back and fix that problem, the code would need to iterate the
dynamic loaders (and setup ld.so.conf files for it).

(From OE-Core rev: 7c3f2f61536cc8e0322087558cdcfe29ee2fac6d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:40 +00:00
Richard Purdie 0b84897ea8 insane/prelink: Handle nonstandard library paths
Prelink contains some hardcoded assumptions about the path layout of
the target system. Unfortunately if the system doesn't match, prelink
doesn't work. This breaks:

a) prelink of those images
b) the unsafe-references-in-binaries QA test (which uses prelink-rtld)

One way to work around this is to construct an ld.so.conf file which
lists the library paths in question. We do this in sanity QA check and
in the rootfs prelink code, being careful not to trample any existing
target ld.so.conf.

There is an additional problem that $LIB references in RPATHs won't be
handled correctly, I've not see any system use these in reality though
so this change at least improves things.

(From OE-Core rev: 7fd1d7e639c2ed7e0699937a5cb245c187b7c811)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:39 +00:00
Richard Purdie 6b564ae35d ext-sdk-prepare: Catch setscene tasks which should have run but didn't
When installing the eSDK, if setscene task fail for some reason, the tests
would ignore this. This is bad since we assume they're working.

This adds some sanity test code which detects if setscene tasks are
needing to run and errors if there are any.

(From OE-Core rev: 7ea670c3b00439ca5eeb6ae1efd475f0954268b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:39 +00:00
Richard Purdie d8efd2e307 createrepo: Fix stat floating timestamps
When reading the mtime from disk, the system can get a floating point
value. Convert this to an int for comparision purposes, else some
packages always get reindexed as the value in the index is an int.

(From OE-Core rev: cc01ffeee757738c169f8970fd89bf0933e93532)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:39 +00:00
Ross Burton ce5a9df3c4 xmlto: ensure /bin/bash is used as bash
The xmlto script uses bashisms and checks at configure time to find a bash
binary.  If the build host has /bin/sh as bash then this gets detected, which
causes problems in native builds if the sstate is then shared to a machine with
/bin/sh as dash.

(From OE-Core rev: e89cd308792f613e5b4765dc0f7f21569aaaab6f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:39 +00:00
Ross Burton 70b4f36fc2 openssl: add a patch to fix parallel builds
Apply a patch taken from Gentoo to hopefully fix the remaining parallel make
races.

(From OE-Core rev: 3d806d59a4c5e8ff35c7e7c5a3a6ef85e2b4b259)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:39 +00:00
Ross Burton 1632742ff4 xdg-utils: remove trailing whitespace in multiline string
(From OE-Core rev: 57b5a394b7fa9d9329ad5db5d142d6be0d453728)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:39 +00:00
Robert Joslyn 816391a1e6 btrfs-tools: Add libgcc to RDEPENDS
libgcc_s.so.1 is required by btrfs-tools at runtime for certain
operations, such as scrub due to the use of pthread_cancel.

(From OE-Core rev: 3e31e77b8a093aab077dbbb23e4c18c1ebe94bff)

Signed-off-by: Robert Joslyn <robert_joslyn@selinc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:39 +00:00
Richard Purdie e46715696b bitbake.conf: Add libgcc-native to ASSUME_PROVIDED
Changes to the btrfs-tools recipe means we need to add libgcc-native
to ASSUME_PROVIDED.

(From OE-Core rev: 448726469761b8cdc4b4acedb664cede994dde12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:39 +00:00
Khem Raj a91713fde7 net-tools: Override CFLAGS/LDFLAGS in do_install too
do_compile does this but do_install needs same env as well

(From OE-Core rev: 57e4bb197173552706db60a3d82e1dddc0a6b004)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:38 +00:00
Khem Raj fb0c3c59c0 nspr: Fix build regression on musl from last upgrade
This patch is no longer required as upstreamed has fixed
the problem in more comprehensive way

(From OE-Core rev: 3eb83b880e66fff0e715e79546ed98d9818390b5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:38 +00:00
Ross Burton 37f5fb944a gdb: fix builds with internal readline and no static libraries
If gdb was configured to use the internal readline but static libraries were
disabled, gdb wouldn't dutifully not build libreadline.a which was a problem
when it tried to link with that library.

Solve this by ensuring --enable-static is passed to the readline configure.

(From OE-Core rev: 1490caa07d72af81c7e515e4ff7b4905da840d7d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:38 +00:00
Nathan Rossi 6518db4707 feature-arm-thumb.inc: Fix thumb tune override warning
Fix the quotes in the bb.utils.contains feature check so that the call
results in a boolean value instead of a string, which allows the warning
check to occur.

(From OE-Core rev: aac3919f538a5608ffcc3af5bd8f121e3c2c3469)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:38 +00:00
Ross Burton 463fd5ee26 formfactor: assume a keyboard is plugged in
A sensible assumption is that BSPs have a USB keyboard and mouse connected
unless told otherwise, so flip the logic in the formfactor config script that
previously assumed that a keyboard was not connected by default.

[ YOCTO #9174 ]

(From OE-Core rev: a82ce3e477a475dccea3837eabacd9e93b873ee6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:38 +00:00
He Zhe e2107f5b97 acl: Fix re pattern in test cases
ls adds a '.' at the end of the permission field list on SELinux
machines, filter this out so root tests work on SELinux machines.
And backport one patch for other tests.

(From OE-Core rev: 2981d026460658fd2db7df3618d718fe6e8bfca0)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:38 +00:00
Andre McCurdy 82a80645f8 gcc-runtime.inc: disable libitm for little endian MIPS too
libitm is already disabled for big endian MIPS, but needs to be
disabled for little endian MIPS targets too.

(From OE-Core rev: 421e8ac60ff6eb87e66ebeab6f14d74216386578)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:38 +00:00
Paul Eggleton 25d9c4e02a devtool: add build-sdk subcommand
Add a build-sdk command which is only available within the extensible
SDK that builds a derivative extensible SDK. The idea is recipes in the
workspace become a part of the new SDK - for example, this allows taking
a vendor provided SDK, adding a few libs and then producing a new SDK
with those included.

When normally building the extensible SDK, the workspace is excluded;
here we need to copy into the new SDK (renaming it in the process); the
recipes' task signatures become locked and thus the sources are no
longer needed, so they are removed along with the workspace bbappends
which would interfere with the locked signatures. Additionally we need
to just copy the configuration files (i.e. local.conf and auto.conf)
rather than filtering and appending to them since that work has already
been done when constructing the original SDK. The extra sstate artifacts
from workspace recipes are also determined and copied into the new SDK
in minimal mode (on the assumption that you won't set up a new sstate
mirror).

This reuses some code from build-image, so that needed to be
generalised to allow that.

Implements [YOCTO #8892].

(From OE-Core rev: 59e207ff6dd4b50a8905e14bc9292cf2794f4e7a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:38 +00:00
Richard Purdie 82d0c8ad1e oeqa/buildoptions: Improve unsafe references tests
Fixing one of the recipes not to contain unsafe references to paths
results in this QA test failing. Improve the test so that we test
the recipe works, then if we intentionally break the recipe, the
issue is detected.

Also split out the binaries test from the scripts test. The binaries
issue may also get 'fixed' in future and need the same fix.

(From OE-Core rev: 68db200ca5b404d6c0aa0cbf5a587397d0aa65da)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-07 00:11:37 +00:00
Chen Qi 4284fdfe5e insane.bbclass: make the checking stricter for unsafe references in scripts
Previously, the checking for unsafe references is not strict enough. It
only checks whether '/usr/' is in the script. As a result, any script
containing statements like below will match this check.

	   PATH="/bin:/sbin:/usr/bin:/usr/sbin"

However, as we can see, this is actually not an unsafe reference. What
we really want to check is something like '/usr/bin/tail', so we should
make the checking stricter.

This patch solves the QA warning in gzip and nfs-utils.

(From OE-Core rev: f818f7359c1a5db2c5c041c42eecb9f0434d9800)

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>
2016-03-07 00:11:37 +00:00
Jonathan Liu f11de9d205 e2fsprogs: do not enable non-stable features by default
(From OE-Core rev: 092984669d8590627cfb188a0aa00244e22c4671)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-03 10:49:00 +00:00
Juro Bystricky b04280ab5f sdk_update.py: Enable local sdk-update tests
Testing of local sdk updates was commented out.
Local sdk updates are functional now, so the tests should be re-enabled.

(From OE-Core rev: 0bc7cd0bd10f79907c4f41676801a113fb3df8a3)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-03 10:49:00 +00:00
Andre McCurdy c12e919534 eudev: recipe formatting improvements
Formatting improvements only, no functional changes.

(From OE-Core rev: d32ed5dd1dcadf206162b823bcb2f539e0ff5ad3)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-03 10:49:00 +00:00
Armin Kuster 73a43fc15e openssl: Security fix Drown via 1.0.2g update
CVE-2016-0800
CVE-2016-0705
CVE-2016-0798
CVE-2016-0797
CVE-2016-0799
CVE-2016-0702
CVE-2016-0703
CVE-2016-0704

https://www.openssl.org/news/secadv/20160301.txt

Updated 2 debian patches to match changes in 1.0.2g

(From OE-Core rev: 7933fbbc6372ec8edaec82dd5c7b44fa2d15a4d5)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-03 10:49:00 +00:00
Richard Purdie ed14aef273 layer.conf: Update after replacement of udev with eudev
(From OE-Core rev: 1b60ae1cb3a8979ecad498498e8ad38f19e444cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 23:13:03 +00:00
Ed Bartosh e72233a6a1 bootimg: set default value for LABELS variable
With empty LABELS variable build_efi_cfg skips most of its
functionality producing warning message:
    'LABELS not defined, nothing to do'
This causes build failure for efi images.

Setting default value for LABELS to 'boot install' should fix
this issue.

(From OE-Core rev: b8cb64714cb9ca3174f11a245ee1cf5367dd432f)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 23:08:51 +00:00
Peter Kjellerstedt 4eaef67a38 sanity: Do not mistake meta-yocto-bsp for meta-yocto
The code in oecore_update_bblayers() handling the transition from
meta-yocto to meta-poky was not very resilient. It would, e.g.,
mistake meta-yocto-bsp for meta-yocto if the former occurred before
the latter in BBLAYERS.

The code also failed to update multiple existences of meta-yocto in
the bblayers.conf file, e.g., if it was present in
BBLAYERS_NON_REMOVABLE in addition to BBLAYERS (which it is by
default).

(From OE-Core rev: 8deb14898f351bd33950291ccde7c4458c6cf506)

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>
2016-03-02 23:08:51 +00:00
Robert Yang 86759deb5c sanity.bbclass: remove conflict checking for image vm and live
[YOCTO #9161]

(From OE-Core rev: f350bedf745b356a74e3a15d82055472796580fe)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 23:08:51 +00:00
Robert Yang bb1c719250 syslinux.bbclass: make vm and live can be built together
* The vm image(hdddirect, vmdk, qcow2, vdi) and live image (hddimg, iso)
  couldn't be built together because the following vars settings are
  conflicted:
  - SYSLINUX_ROOT (/dev/sda2 vs /dev/ram0)
  - LABELS (boot vs boot install)
  - INITRD (None vs live install)
  - SYSLINUX_CFG (see above)
  Introduce new vars (SYSLINUX_ROOT_VM/_LIVE, the samilar to others) to
  make them can work together, now we can build all of them together:

  IMAGE_FSTYPES += "live iso hddimg hdddirect vmdk qcow2 vdi"

* Use SYSLINUX_CFG rather than SYSLINUXCFG to keep align with others
  SYSLINUX vars.

* The SYSLINUX_TIMEOUT had been set, but it didn't work since
  AUTO_SYSLINUXMENU wasn't set, this would cause confusions, so also set
  AUTO_SYSLINUXMENU.

* Move SYSLINUX_PROMPT and SYSLINUX_TIMEOUT to syslinux.bbclass rather
  than in separate classes since they are the same.

* Set SYSLINUX_TIMEOUT to 50 to have a unique timeout for syslinux.

[YOCTO #9161]

(From OE-Core rev: e38c94d6bf83ed3ca7f046d9503e81b927487bf2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 23:08:51 +00:00
Mark Hatle 0138874196 gcc: Add support for atomic opertions (libitm) where available
GCC 4.7 and newer have supported various automic operation directives,
however these have not been previously enabled.

(From OE-Core rev: 8cb4ac49677b1eae4047fc1abbd728f093a24b72)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:45 +00:00
Paul Eggleton 70153b4782 classes/externalsrc: fix symlinking if symlink exists pointing to another path
If the oe-workdir / oe-logs symlink exists and points to a different
path then the symlink needs to be removed before calling os.symlink() or
it'll fail.

(From OE-Core rev: cb8f064e48c24dcb1a15a32cef3399f35e549bdc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:45 +00:00
Randy Witt eac4061839 populate_sdk_ext: Only write LCONF_VERSION to bblayers if it is set
It is possible that LCONF_VERSION won't be set, such as if meta-poky is
used. Without this change, bblayers.conf would have LCONF_VERSION =
"None" if LCONF_VERSION wasn't set, which would cause a sanity check
failure.

(From OE-Core rev: 914b0a99997d8c69eafcb34dd982f46540eed882)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:45 +00:00
Joseph A. Lutz c366343724 automake: don't delete .pyc files
The patch being removed in this commit removes *.pyc files from being
compiled. This dose not allow a user to select which files are included
in the image. Since optimization is no longer the default for python
we should have the ability to choose what is included in the image.

(From OE-Core rev: bee0f633f0b5ef2439b8e5d54cbfc7bc1f17f47e)

Signed-off-by: Joseph A. Lutz <joseph.lutz@novatechweb.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:45 +00:00
Ross Burton d6e63beb72 cracklib: fix Python packaging
Don't assume that we know precisely what Python files were installed as patching
automake can change what optimised forms get installed by matching *.py* in
FILES and not deleting *.pyo explictly.

Similarly, remove all forms of test_cracklib from the packages.

The python .la file is mostly redundant but if we're shipping it, put it in
-python where it belongs instead of -staticdev.

(From OE-Core rev: f24eb53979c18bdfc7b0806055de86e812d78e63)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:45 +00:00
Christopher Larson a005d25185 populate_sdk_base: handle empty SDK_PACKAGING_FUNC
Currently, the pre/post process command variables are parsed as shell, even
though they're not shell anymore. As a result, an empty SDK_PACKAGING_FUNC
results in a parsing error. Rather than manually adding their vardeps, only
append its ; when the var is set.

(From OE-Core rev: f836f4bfd83862a1a0da7d4cc20ae9eaf62118da)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield ec3be9f7c7 linux-yocto/4.4: update to 4.4.3
The korg stable for 4.4.3 is out with the following changes:

   2134d97aa3a7 Linux 4.4.3
   e2f712dc927e modules: fix modparam async_probe request
   a24d9a2fee98 module: wrapper for symbol name.
   82e730baa9f7 itimers: Handle relative timers with CONFIG_TIME_LOW_RES proper
   1c94da3e7480 posix-timers: Handle relative timers with CONFIG_TIME_LOW_RES proper
   565f222968d3 timerfd: Handle relative timers with CONFIG_TIME_LOW_RES proper
   e5e99792b647 prctl: take mmap sem for writing to protect against others
   f86701c4f3cd xfs: log mount failures don't wait for buffers to be released
   16f14a28f660 Revert "xfs: clear PF_NOFREEZE for xfsaild kthread"
   7530e6fdd9f2 xfs: inode recovery readahead can race with inode buffer creation
   888959f2fd50 libxfs: pack the agfl header structure so XFS_AGFL_SIZE is correct
   8373f6590f6b ovl: setattr: check permissions before copy-up
   7193e802960f ovl: root: copy attr
   367e439dbc23 ovl: check dentry positiveness in ovl_cleanup_whiteouts()
   fa932190a5f3 ovl: use a minimal buffer in ovl_copy_xattr
   85a7ed329aca ovl: allow zero size xattr
   acaf84251f8d futex: Drop refcount if requeue_pi() acquired the rtmutex
   30066dcdf98a devm_memremap_release(): fix memremap'd addr handling
   15db15e2f10a ipc/shm: handle removed segments gracefully in shm_mmap()
   fe90acff2798 intel_scu_ipcutil: underflow in scu_reg_access()
   edfde263bd8a mm,thp: khugepaged: call pte flush at the time of collapse
   e31e46725596 dump_stack: avoid potential deadlocks
   55e0d9869f1d radix-tree: fix oops after radix_tree_iter_retry
   077b6173a8c8 drivers/hwspinlock: fix race between radix tree insertion and lookup
   f4595e008149 radix-tree: fix race in gang lookup
   262139f0244b MAINTAINERS: return arch/sh to maintained state, with new maintainers
   ececa3ebe27f memcg: only free spare array when readers are done
   4b20545910cb numa: fix /proc/<pid>/numa_maps for hugetlbfs on s390
   db33368ca32d fs/hugetlbfs/inode.c: fix bugs in hugetlb_vmtruncate_list()
   b105aa33af0d scripts/bloat-o-meter: fix python3 syntax error
   dad5038f3fe2 dma-debug: switch check from _text to _stext
   275adaf191c6 m32r: fix m32104ut_defconfig build fail
   71e5a4a747b0 xhci: Fix list corruption in urb dequeue at host removal
   d15298509b86 Revert "xhci: don't finish a TD if we get a short-transfer event mid TD"
   2231e5748746 iommu/vt-d: Clear PPR bit to ensure we get more page request interrupts
   db3ac35cbd31 iommu/vt-d: Fix 64-bit accesses to 32-bit DMAR_GSTS_REG
   7c6471cb94ad iommu/vt-d: Fix mm refcounting to hold mm_count not mm_users
   d63a009a9bd9 iommu/amd: Correct the wrong setting of alias DTE in do_attach
   c65a7b684133 iommu/vt-d: Don't skip PCI devices when disabling IOTLB
   b864f4e50c56 Input: vmmouse - fix absolute device registration
   726ecfc32199 string_helpers: fix precision loss for some inputs
   5c73252f746d Input: i8042 - add Fujitsu Lifebook U745 to the nomux list
   1d70d30a5fa2 Input: elantech - mark protocols v2 and v3 as semi-mt
   d1f8217a9a6e mm: fix regression in remap_file_pages() emulation
   413aab16bc7b mm: replace vma_lock_anon_vma with anon_vma_lock_read/write
   918a2c388ed7 mm: fix mlock accouting
   6e8ea2f2258c libnvdimm: fix namespace object confusion in is_uuid_busy()
   bd55913cf208 mm: soft-offline: check return value in second __get_any_page() call
   a6a3f3ddf6a6 perf kvm record/report: 'unprocessable sample' error while recording/reporting guest data
   b58731d6263a KVM: PPC: Fix ONE_REG AltiVec support
   921fa9b77380 KVM: PPC: Fix emulation of H_SET_DABR/X on POWER8
   b3e336de65eb KVM: arm/arm64: Fix reference to uninitialised VGIC
   593337c55ac3 arm64: dma-mapping: fix handling of devices registered before arch_initcall
   a6e01f0c81d5 ARM: OMAP2+: Fix ppa_zero_params and ppa_por_params for rodata
   82de5956e9f4 ARM: OMAP2+: Fix save_secure_ram_context for rodata
   31a50ee1ad3e ARM: OMAP2+: Fix l2dis_3630 for rodata
   98b3f17a7235 ARM: OMAP2+: Fix l2_inv_api_params for rodata
   ec776d670e2d ARM: OMAP2+: Fix wait_dll_lock_timed for rodata
   6ec8b7c5bbdd ARM: dts: at91: sama5d4ek: add phy address and IRQ for macb0
   3b18631fbcea ARM: dts: at91: sama5d4 xplained: fix phy0 IRQ type
   080fc28fe475 ARM: dts: at91: sama5d4: fix instance id of DBGU
   5542d00c4653 ARM: dts: at91: sama5d4 xplained: properly mux phy interrupt
   a482d9448169 ARM: dts: omap5-board-common: enable rtc and charging of backup battery
   41a94b382396 ARM: dts: Fix omap5 PMIC control lines for RTC writes
   671a5bc6f54d ARM: dts: Fix wl12xx missing clocks that cause hangs
   323f7cd28b7f ARM: nomadik: fix up SD/MMC DT settings
   53d991bbbc51 ARM: 8517/1: ICST: avoid arithmetic overflow in icst_hz()
   9fe0b68c4949 ARM: 8519/1: ICST: try other dividends than 1
   a68f555363f5 arm64: mm: avoid calling apply_to_page_range on empty range
   242813b9a1b6 ARM: mvebu: remove duplicated regulator definition in Armada 388 GP
   602acfedc981 powerpc/ioda: Set "read" permission when "write" is set
   b5311270caba powerpc/powernv: Fix stale PE primary bus
   5ecdf58c1945 powerpc/eeh: Fix stale cached primary bus
   64f10cf83a6c powerpc/eeh: Fix PE location code
   782126b22522 SUNRPC: Fixup socket wait for memory
   d0452554b9a1 udf: Check output buffer length when converting name to CS0
   eec1445767cc udf: Prevent buffer overrun with multi-byte characters
   aef22a3d6945 udf: limit the maximum number of indirect extents in a row
   66b8812e87f3 pNFS/flexfiles: Fix an XDR encoding bug in layoutreturn
   d65eb5b3dfb1 nfs: Fix race in __update_open_stateid()
   c8841e15d6de pNFS/flexfiles: Fix an Oopsable typo in ff_mirror_match_fh()
   1873e6f48606 NFS: Fix attribute cache revalidation
   dadfe9220750 cifs: fix erroneous return value
   7e30995b26cc cifs_dbg() outputs an uninitialized buffer in cifs_readdir()
   5d80673404e6 cifs: fix race between call_async() and reconnect()
   88413fceab84 cifs: Ratelimit kernel log messages
   224f259d9393 iio: inkern: fix a NULL dereference on error
   e16eb4bb193c iio: pressure: mpl115: fix temperature offset sign
   909e9c55196d iio: light: acpi-als: Report data as processed
   377d1f59388f iio: dac: mcp4725: set iio name property in sysfs
   1c1d4f2d7629 iio: add IIO_TRIGGER dependency to STK8BA50
   dfa6e741d472 iio: add HAS_IOMEM dependency to VF610_ADC
   f865d8c326dd iio-light: Use a signed return type for ltr501_match_samp_freq()
   e9b0f0e411d0 iio:adc:ti_am335x_adc Fix buffered mode by identifying as software buffer.
   dc275a6eb9d0 iio: adis_buffer: Fix out-of-bounds memory access
   a258a959fcf3 scsi: fix soft lockup in scsi_remove_target() on module removal
   900ae746c1e9 SCSI: Add Marvell Console to VPD blacklist
   32c55052aa33 scsi_dh_rdac: always retry MODE SELECT on command lock violation
   4c654fc9357b drivers/scsi/sg.c: mark VMA as VM_IO to prevent migration
   d763177d00d7 SCSI: fix crashes in sd and sr runtime PM
   dcec7af70910 iscsi-target: Fix potential dead-lock during node acl delete
   954bb20f70ed scsi: add Synology to 1024 sector blacklist
   5b27adfac012 klist: fix starting point removed bug in klist iterators
   152fb02241b6 tracepoints: Do not trace when cpu is offline
   2fa82bbbc73a tracing: Fix freak link error caused by branch tracer
   6fa74f50e357 perf tools: tracepoint_error() can receive e=NULL, robustify it
   6e50ddaf0991 tools lib traceevent: Fix output of %llu for 64 bit values read on 32 bit machines
   969624b7c1c8 ptrace: use fsuid, fsgid, effective creds for fs access checks
   ba6d92801ba4 Btrfs: fix direct IO requests not reporting IO error to user space
   e8eced78e025 Btrfs: fix hang on extent buffer lock caused by the inode_paths ioctl
   be1232bcea11 Btrfs: fix page reading in extent_same ioctl leading to csum errors
   df567e6dcd22 Btrfs: fix invalid page accesses in extent_same (dedup) ioctl
   b58081d430b4 btrfs: properly set the termination value of ctx->pos in readdir
   dfd2961ab6ed Revert "btrfs: clear PF_NOFREEZE in cleaner_kthread()"
   4e6943903a8e Btrfs: fix fitrim discarding device area reserved for boot loader's use
   c57e49b50bc5 btrfs: handle invalid num_stripes in sys_array
   bbfe21c87bd0 ext4: don't read blocks from disk after extents being swapped
   600d41f4ecb5 ext4: fix potential integer overflow
   33f48f8ab0b9 ext4: fix scheduling in atomic on group checksum failure
   5859b9077763 serial: omap: Prevent DoS using unprivileged ioctl(TIOCSRS485)
   76e88140aa91 serial: 8250_pci: Add Intel Broadwell ports
   124efa9fd567 tty: Add support for PCIe WCH382 2S multi-IO card
   1bdf16025dfc pty: make sure super_block is still valid in final /dev/tty close
   3ceeb564198c pty: fix possible use after free of tty->driver_data
   a45f23edb00e staging/speakup: Use tty_ldisc_ref() for paste kworker
   3375ee8b9964 phy: twl4030-usb: Fix unbalanced pm_runtime_enable on module reload
   a90e66cb949a phy: twl4030-usb: Relase usb phy on unload
   a40efb855068 ALSA: seq: Fix double port list deletion
   6bb345ac7b30 ALSA: seq: Fix leak of pool buffer at concurrent writes
   ef0ca96169a2 ALSA: pcm: Fix rwsem deadlock for non-atomic PCM stream
   434e26d6f6a0 ALSA: hda - Cancel probe work instead of flush at remove
   6deb0ec93da6 x86/mm: Fix vmalloc_fault() to handle large pages properly
   e0c89043e71a x86/uaccess/64: Handle the caching of 4-byte nocache copies properly in __copy_user_nocache()
   1e2e0ad1cc16 x86/uaccess/64: Make the __copy_user_nocache() assembly code more readable
   4f298c10c35d x86/mm/pat: Avoid truncation when converting cpa->numpages to address
   75a101ba31fa x86/mm: Fix types used in pgprot cacheability flags translations

(From OE-Core rev: 61fb6887a45a94286c873a61cd2e18fa3f8a6ea5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield 6ed16ff865 linux-yocto/4.1: iwlwifi: mvm: don't allow sched scans without matches to be started
Integrating the following commit:

    iwlwifi: mvm: don't allow sched scans without matches to be started

    commit 5e56276e7555b34550d51459a801ff75eca8b907 upstream.

    The firmware can perform a scheduled scan with not matchsets passed,
    but it can't send notification that results were found.  Since the
    userspace then cannot know when we got new results and the firmware
    wouldn't trigger a wake in case we are sleeping, it's better not to
    allow scans without matchsets.

    This fixes https://bugzilla.kernel.org/show_bug.cgi?id=110831

    Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
    Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: Wu Zheng <wu.zheng@intel.com>

(From OE-Core rev: ecbf5fddb9a6c1b37b1742328d99960301229a25)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield 2497e809d8 linux-yocto/4.4: update to -stable 4.4.2
(From OE-Core rev: 0f623b99b1941650ee40a5c98a0a78be6b81a5d9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield aa2c1f724a linux-yocto: braswell: Remove feature and move DRM_I915_PRELIMINARY_HW_SUPPORT option
>From Cal:

  fixes the issue where Skylake doesn't have graphics support
  by default before kernel version 4.4, and also brings the kernel
  metadata closer together for intel-* and common-pc* BSPs.

[YOCTO 9#319]

(From OE-Core rev: 30d674f9077ddf5cd2190895869ee1226f0c2796)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield 702701d264 linux-yocto/4.4: yaffs2 build fixes
Integrating fixes for yaffs2 on the 4.4.x kernel:

  d4eb3ab036f8 yaffs2: using new ->follow_link() and ->put_link() calling conventions
  da1c7fd61d13 yaffs2: NULL ->read/->write
  b4c6a6aca7e7 yaffs2: replace f_dentry to f_path.dentry

(From OE-Core rev: 28a4e922373b21e0b2e8765b422f8e5a4610441f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield c2152b8fcf linux-yocto/4.1: update to 4.1.18
Integrating the korg -stable update to 4.1

(From OE-Core rev: cf56b7345935af71dd0989ef2e7c8ce2d43fd04d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield 45d4cd788f linux-yocto/4.1: clkdev updates
Backporting the following clkdev updates to the 4.1 kernel:

   c1b6f28fb457 clkdev: get rid of redundant clk_add_alias() prototype in linux/clk.h
   f9a70df2d491 clk: update clk API documentation to clarify clk_round_rate()
   db2d98fa3908 clkdev: fix clk_add_alias() with a NULL alias device name
   1b2c3a175637 clkdev: add clkdev_create() helper
   9b3d61ea0c57 clkdev: const-ify connection id to clk_add_alias()
   76b7b02f10dc clkdev: drop __init from clkdev_add_table()
   22f16b822d18 clkdev: use clk_hw internally

(From OE-Core rev: 56bd6862f083a006e193c25c66f29443f3d0f095)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Bruce Ashfield 79ecef6b56 linux-yocto/4.1: Galileo updates
Integrating the following patches for improved galileo support:

  e02ac252f68d gpio-pca953x: add "drive" property.
  68d3fd5134f7 adc1x8s102: support ACPI-based enumeration.
  89f6aea44d01 staging:iio: add support for ADC1x8s102.
  2fb3159a70c0 spi-pxa2xx: fixed ACPI-based enumeration of SPI devices.
  510501941fd3 pca9685: PCA9685 PWM and GPIO multi-function device.
  94bfb66b8887 gpio: pca953x: provide GPIO base based on _UID
  c39f26cd9092 acpi: added a custom DSDT file.

(From OE-Core rev: e901ce43d789e26ec0524153c5665cd2dbeed374)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Alejandro Hernandez 5f6169348b usbutils: Fix for new eudev implementation
usbutils was only compatible with systemds udev, since we now
provide a udev alternative compatible with upstream systemds udev,
we can now use the newer version of usbutils along with it too.

(From OE-Core rev: 93ff871ec1141d2840ffd4a6b8617023fae3d23f)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:44 +00:00
Alejandro Hernandez c89b777c35 libgudev: Fix for new eudev implementation
systemd is not a necessary feature for libgudev anymore since we are
providing eudev as an alternative to udev

(From OE-Core rev: 3415290a6bbc34db19ed3b74e162143e593ec977)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:43 +00:00
Alejandro Hernandez 3e5e540513 eudev: Replaces udev with eudev for compatibility when using sysvinit on newer kernels
udev has started to fail on new kernels (4.4), due to being deprecated in favor
of systemd's udev implementation. To maintain a sysvinit alternative we also
need to provide an alternative to udev. Eudev is a fork of systemds udev,
this new eudev recipe provides upstream udev 220 funcitonality.

  - Removes patches that dont apply anymore
  - ToDo: eudev-ptest?

[YOCTO #8998]

(From OE-Core rev: a22797f7c37a865420837b5c29b270f73ee4c6ce)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:43 +00:00
Randy Witt 674e55f416 populate_sdk_ext: Delete the buildtools tar file after installation
When installing the ext sdk, buildtools is extracted and installed as
well. The tar file containing buildtools isn't used after installation
so was wasted space and clutter.

[YOCTO #9172]

(From OE-Core rev: 0dc7d3179a605c10987ee836dd179ffeb14d0ba5)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:43 +00:00
Dmitry Rozhkov d8acef272d libarchive: Set xattrs after setting times
With Integrity Measurement Architecture (IMA) enabled in Linux
kernel the security.ima extended attribute gets overwritten
when setting times on a file with a futimens() call. So it's safer
to set xattrs after times.

(From OE-Core rev: 9bef9e0a9904beeaea1417f9b66089e7555beb26)

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:43 +00:00
Paul Eggleton 695cc45804 classes/populate_sdk_ext: prepend to PATH rather than appending
The rest of the environment setup script prepends to PATH, so when we
add the path to run devtool we should be prepending as well. This
also ensures that when you run the environment setup script from
extensible SDK installation A and then in the same shell session run the
environment setup script from installation B, and then run devtool, that
you're running B's devtool and not A's.

Fixes [YOCTO #9046].

(From OE-Core rev: b7ac987274f7aeaeacc217488cf4fe639de81b76)

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>
2016-03-02 22:39:43 +00:00
Paul Eggleton b145480d44 classes/module: allow substitution of the modules_install target name
Quite a few external kernel modules I've found floating around don't
have a modules_install target, but they do have an install target that
basically differs only in name. To make it easier to build these just
make this a MODULES_INSTALL_TARGET variable that you can set from the
recipe - the alternative would be copy-and-paste the do_install
definition from this class which is potentially fragile.

(From OE-Core rev: effa6ce777540c5557e5cf904b48cc3369ee3f9f)

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>
2016-03-02 22:39:43 +00:00
Andre McCurdy b03936c8ee grub2.inc: drop bogus dependency on xz
grub contains it's own internal lzma library. Attempting to build grub against
the system liblzma shared library or header files is not likely to end well.

This change does not cause a floating dependency since all grub2.inc based
recipes pass "--enable-liblzma=no" to configure.

(From OE-Core rev: a421d474e19f98f5ffcfe9d1eb204f0dfacbbe2a)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:43 +00:00
Andre McCurdy 73287654eb grub2.inc: avoid passing -isystem to native builds
grub2 creates its own set of -nostdinc / -isystem / -ffreestanding
CFLAGS and OE's default BUILD_CFLAGS (assigned to CFLAGS for native
builds) etc, conflict with that.

(From OE-Core rev: b15b52dc8ab7dd273605c7dfd524c0a330bfd60b)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:43 +00:00
Andre McCurdy 576587dae0 grub2.inc: dont export TARGET_CFLAGS etc to grub2 configure
The grub2 configure script uses variables such as TARGET_CFLAGS etc
for its own purposes. Remove the OE versions from the configure
environment to avoid conflicts.

(From OE-Core rev: 58a79e6bf7d8c6ec03581f14fb83da0eeb526cc6)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:43 +00:00
Andre McCurdy 97a3322229 harfbuzz: update 1.2.1 -> 1.2.3
Overview of changes leading to 1.2.3
Thursday, February 25, 2016
====================================

- Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
  due to bug in glyph class of ASCII double-quote character.  This should
  address "regression" introduced in 1.2.0 when we switched mark zeroing
  in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
  This fourth release in a week should finally stablize things...

- hb-ot-font's get_glyph() implementation saw some optimizations.  Though,
  might be really hard to measure in real-world situations.

- Also, two rather small API changes:

We now disable some time-consuming internal bookkeeping if built with NDEBUG
defined.  This is a first time that we use NDEBUG to disable debug code.  If
there exist production systems that do NOT want to enable NDEBUG, please let
me know and I'll add HB_NDEBUG.

Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()

New API:
- hb_font_get_nominal_glyph_func_t
- hb_font_get_variation_glyph_func_t
- hb_font_funcs_set_nominal_glyph_func()
- hb_font_funcs_set_variation_glyph_func()
- hb_font_get_nominal_glyph()
- hb_font_get_variation_glyph()

Deprecated API:
- hb_font_get_glyph_func_t
- hb_font_funcs_set_glyph_func()

Clients that implement their own font-funcs are encouraged to replace
their get_glyph() implementation with a get_nominal_glyph() and
get_variation_glyph() pair.  The variation version can assume that
variation_selector argument is not zero.  Old (deprecated) functions
will continue working indefinitely using internal gymnastics; it is
just more efficient to use the new functions.

Overview of changes leading to 1.2.2
Wednesday, February 24, 2016
====================================

- Fix regression with mark positioning with fonts that have
  non-zero mark advances.  This was introduced in 1.2.0 while
  trying to make mark and cursive attachments to work together.
  I have partially reverted that, so this version is much more
  like what we had before.  All clients who updated to 1.2.0
  should update to this version.

(From OE-Core rev: bec8c8dc4d22d1a63c5f0ac1e2c2736c4e28ad80)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:43 +00:00
Andre McCurdy edf93a01ce gstreamer1.0-plugins-bad.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5
The original over-ride is historical and no obvious issues are seen
now when building in thumb2 for Cortex A15.

(From OE-Core rev: 45c7a7d2e41ddcc191d861957a2895b015983b53)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:42 +00:00
Mariano Lopez 89140b0883 dhcp: CVE-2015-8605
ISC DHCP allows remote attackers to cause a denial of
service (application crash) via an invalid length field
in a UDP IPv4 packet.

(From OE-Core rev: f9739b7fa8d08521dc5e42a169753d4c75074ec7)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:42 +00:00
Richard Purdie 6ccd8cdeb5 sato/images: Add ptest image
We need an image containing the ptest packages for testing purposes.
This adds such an image based on sato-sdk. We did try appending this
in the autobuilder but it creates too much confusion about what is
going on, and increases build time due to lack of parallelisation.

(From OE-Core rev: 0f3ca0b4cae7d17d7b2d53cc433e87e1d148cdfb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:42 +00:00
Richard Purdie f38debba76 layer.conf: Whitelist cantarell-fonts fontconfig dependency
fontconfig is a stable API dependency and allarch fonts are desirable.
This matches the other fonts.

(From OE-Core rev: 93ca16b2f822e4bd8681d65464563f5456c613ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:42 +00:00
Jagadeesh Krishnanjanappa b307937869 pango: make ${PN}-ptest RDEPENDS on cantarell-fonts
Pango test case (test-layout.test) requires cantarell-font
typeface. This test case uses 'Cantarell 11' font type.

Test result after this change on qemux86:
-- snip --
root@qemux86:~# gnome-desktop-testing-runner pango
Running test: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
Executing: pango/test-pangocairo-threads.test
PASS: pango/test-pangocairo-threads.test
Running test: pango/test-ot-tags.test
/tags/script: OK
/tags/language: OK
PASS: pango/test-ot-tags.test
Running test: pango/testcolor.test
/color/parse: OK
PASS: pango/testcolor.test
Running test: pango/markup-parse.test
/markup/parse/valid-4.markup: OK
/markup/parse/valid-1.markup: OK
/markup/parse/valid-3.markup: OK
/markup/parse/valid-2.markup: OK
/markup/parse/fail-1.markup: OK
PASS: pango/markup-parse.test
Running test: pango/test-layout.test
/layout/valid-1.markup: OK
/layout/valid-2.markup: OK
PASS: pango/test-layout.test
Running test: pango/cxx-test.test
PASS: pango/cxx-test.test
Running test: pango/testboundaries_ucd.test
/text/break/grapheme: Testing /usr/libexec/installed-tests/pango/GraphemeBreakTest.txt.
OK
/text/break/word: /usr/libexec/installed-tests/pango/WordBreakTest.txt not found.
Skipping test.
OK
/text/break/sentence: /usr/libexec/installed-tests/pango/SentenceBreakTest.txt not found.
Skipping test.
OK
/text/break/line: /usr/libexec/installed-tests/pango/LineBreakTest.txt not found.
Skipping test.
OK
PASS: pango/testboundaries_ucd.test
Running test: pango/testboundaries.test
/text/boundaries: sample file: /usr/libexec/installed-tests/pango/boundaries.utf8
testboundaries passed
OK
PASS: pango/testboundaries.test
Running test: pango/testattributes.test
/attributes/basic: OK
/attributes/equal: OK
/attributes/list/basic: OK
/attributes/list/change: OK
/attributes/list/splice: OK
/attributes/list/filter: OK
/attributes/iter/basic: OK
/attributes/iter/get: OK
/attributes/iter/get_font: OK
/attributes/iter/get_attrs: OK
PASS: pango/testattributes.test
Running test: pango/testscript.test
/script/iter: OK
PASS: pango/testscript.test
Running test: pango/test-font.test
/pango/fontdescription/parse: OK
/pango/fontdescription/roundtrip: OK
PASS: pango/test-font.test
Running test: pango/testiter.test
/layout/iter: OK
/layout/glyphitem-iter: OK
PASS: pango/testiter.test
SUMMARY: total=12; passed=12; skipped=0; failed=0; user=76.1s; system=2.0s; maxrss=52664
root@qemux86:~#
-- CUT --

(From OE-Core rev: 27093df3b33d9ef6851c4ca315f11c5f556bfc29)

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:42 +00:00
Jagadeesh Krishnanjanappa 0c80f29f3f cantarell-fonts: Add recipe
1. The Cantarell font typeface is designed as a
   contemporary Humanist sans serif, and was developed for
   on-screen reading; in particular, reading web pages on an
   HTC Dream mobile phone.

2. Pango test case (test-layout.test) requires cantarell-font
   typeface. This test case uses 'Cantarell 11' font type

(From OE-Core rev: 6ed5cc8993c8658b9580aff1a2f64775e2a5f20c)

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-02 22:39:42 +00:00
Richard Purdie 4006a7f276 sanity: Fix int verses string reference
The sanity update code needs to be passed an int, not string.

(From OE-Core rev: 390bad905537820f49add855c95d726b5b55c8fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 22:54:09 +00:00
Richard Purdie 1c060d738a pseudo: Increase number of retries
Increase number of retries to handle slow exiting servers.

(From OE-Core rev: 2d70c2afce9d121db98296bce275be956bf13137)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 12:01:07 +00:00
Andre McCurdy 65d6a62757 gstreamer1.0-plugins-bad.inc: enable webp PACKAGECONFIG by default
The webp plugin depends on libwebp, which is now present in oe-core:

  http://git.openembedded.org/openembedded-core/commit/?id=1c00bf8bce7a197e83456bf5094299d8f33ee473

(From OE-Core rev: 1bf4513b9b764a500f28f34d62f4738b4ccca9d7)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:07 +00:00
Khem Raj cd007488d2 gettext: Delete libintl.la file from install
gettext installs a libtool .la file for non-glibc systems
since it builds libintl for them unlike glibc where it finds that using
libc's gettext implementation is just fine. Same is not true for
musl even though musl provides itw own gettext implementation much on
then lines of glibc.

ideally gettetxt should be fixed to behave on musl, but at this time its
not clear if APIs are same and complete.

Deleting .la file helps compiling packages like util-linux when using
fstack-protections since it does not alter the order of libc on linker
cmdline

Moved src_uri checksums just below the SRC_URI as matter of formatting

(From OE-Core rev: 83d31c874c58c9e98f1f99cbad1a583e65ed72e6)

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>
2016-02-28 11:33:07 +00:00
Tomas Novotny b33efa964a systemctl: handle RequiredBy dependencies
Install section of a systemd service may contain RequiredBy dependency,
which is not handled currently. This means that symlinks to enable the
service are not created and the service may not be started.

Also fix debug output (all dependencies were printed instead of the one
which was enabled or disabled).

(From OE-Core rev: 6f4d9d9675ce39f5154de30b2921ada019a93d0f)

Signed-off-by: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:07 +00:00
Jonathan Liu 8caa5921da ffmpeg: add bzlib, lzma and xv PACKAGECONFIGs
(From OE-Core rev: 2a3276653b110f020e2f906be5d6966c9b6efbb3)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:07 +00:00
Jonathan Liu 0011760663 rootfs-postcommands: fix ssh_allow_empty_password checking
The ssh_allow_empty_password function doesn't check if
sshd_config_readonly exists before running sed which can result in an
error if sshd_config exists but sshd_config_readonly doesn't.

(From OE-Core rev: dc4e3d31852084a75faf224882d1ab19d07de8fe)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:06 +00:00
Khem Raj 96f5f89b49 musl: Add linux-libc-headers to deps
This is highlighted with clang when trying to
build a single package clean from scratch it
missed kernel headers

(From OE-Core rev: 8600997ea02e70dac286152f75f4b8328f0ac1f7)

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>
2016-02-28 11:33:06 +00:00
Khem Raj 3354878d32 mesa: Fix build on musl
It assumes __GLIBC__ where it could actually check for linux
and include non-glibc C library implementations like musl which
provide __BYTE_ORDER macros as well when computing system endianness

(From OE-Core rev: b759afa08e339126c4e8b7e2aa87ed0c9f4b5d0d)

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>
2016-02-28 11:33:06 +00:00
Andre McCurdy 7651342ac1 dosfstools_2.11: fix build following removal of -e from EXTRA_OEMAKE
Also misc formatting tweaks to align with v3.0.28 recipe and remove
BBCLASSEXTEND = "native" (native builds should always use the GPLv3
recipe).

(From OE-Core rev: 375c26ce229cd9dc90b5e7c4b8e6d52d832b606e)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:06 +00:00
Maxin B. John 6c8abead0f uclibc support for rng-tools
Uclibc has its own argp implemented as libuargp. So, we add a new
option --enable-uclibc to select it.

(From OE-Core rev: 0bbbc0b377e4fd9a788f5aa7688afa5516e263dd)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:06 +00:00
Aníbal Limón c7e5a38d23 oeqa/sdkext: Add sdk_update.SDKUpdateTest class.
The SDKUpdateTest class test devtool sdk-update mechanism inside
eSDK.

The SDKUpdateTest class search for new sdk if not found uses
the main one then it publish the eSDK into known folder
inside work and it starts a web server for serve the eSDK.

Finally it executes sdk-update over http, the local test is
commented due to bug [1].

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=9043

[YOCTO #9089]

(From OE-Core rev: be7f5036a7c86fe70d43526df529bc467a9cf7d9)

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:06 +00:00
Aníbal Limón 738bd1a640 classes/testsdk: Pass tcname to SDK and SDKExt contexts
tcname is needed for eSDK update testcase will be used for
 publish it and then try to update

(From OE-Core rev: a75944a63482597be88ff0f3ce55025647b78e2c)

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:06 +00:00
Aníbal Limón 2a410b225a classes/testsdk: Move the removal of bitbake PATH to eSDK context only
The removal of bitbake and scripts PATH is only needed by eSDK tests
so move to eSDK context only.

This also it's a support for eSDK update test because it needs to
execute oe-publish-sdk from scripts.

(From OE-Core rev: 4ae0c84568f39661722cbceba8ddab22cffe5003)

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:06 +00:00
Aníbal Limón eb1f8b9427 classes/testsdk: Move code for avoid PATHs to oeqa.utils
Due to the neeed to use in other modules.

(From OE-Core rev: a25aef2bdefae54c8b3eb2bd4afec5a86110ddc7)

Signed-off-by: Aníbal Limón <limon.anibal@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:06 +00:00
Andre McCurdy 55d4849e80 gstreamer1.0-plugins-XXX: control orc PACKAGECONFIG via GSTREAMER_ORC
Orc enables runtime JIT compilation of data processing routines from
Orc bytecode to SIMD instructions for various architectures (currently
SSE, MMX, MIPS, Altivec and NEON are supported).

  https://cgit.freedesktop.org/gstreamer/orc/tree/README

Provide a convenient way to globally control the orc PACKAGECONFIG
option for all four gstreamer-1.0-plugins-XXX recipes.

(From OE-Core rev: da5bc7c637668d284e58f7b7af5abfde47120a03)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:06 +00:00
Andre McCurdy 083c63dddf boost.inc: fix BJAM_OPTS --build-dir option
The correct syntax is --build-dir ( --builddir is silently ignored ).

(From OE-Core rev: 0a8e78b67254ab1a0348cd47c4d96907af558de1)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:06 +00:00
Alexander Kanavin f4e17c6619 shared-mime-info: update to 1.6
(From OE-Core rev: 6e5976d302f5bc4cdfcbf40458d2a5fa7cd4a321)

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>
2016-02-28 11:33:05 +00:00
Alexander Kanavin 4ffdfdf27d vala: update to 0.30.1
(From OE-Core rev: 6c08f3aed58434cd9550f11676366f723e934b22)

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>
2016-02-28 11:33:05 +00:00
Alexander Kanavin f53f374445 python-git: update to 1.0.2
(From OE-Core rev: 77f69822a3a3c1ddc62f0c5e4e6657534d034b1d)

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>
2016-02-28 11:33:05 +00:00
Alexander Kanavin ec73437b4a pax-utils: update to 1.1.5
Remove fix-configure-failure.patch,
the problem has been fixed upstream.

Add README to the list of files that must be created
before configuring the build.

(From OE-Core rev: 51d6dffb8fb7cbad459c8e9198c8dd94244a8964)

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>
2016-02-28 11:33:05 +00:00
Alexander Kanavin 447ddb944e nettle: update to 3.2
(From OE-Core rev: 6f202d8532087306bace2ba4e5009ed25a814cb2)

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>
2016-02-28 11:33:05 +00:00
Alexander Kanavin 26a3d25a33 ncurses: update to revision 20160213
Also, put the revision into PV, so that a meaningful upstream version
check can be performed.

(From OE-Core rev: 78064460a7087de5065f035633ea37a7f5b5cff6)

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>
2016-02-28 11:33:05 +00:00
Alexander Kanavin dc42d309b3 libdrm: update to 2.4.67
Drop 0001-tests-kms-steal-crtc-Include-sys-select.h.patch and detect.patch
(merged upstream).

(From OE-Core rev: be2f3e78742cfd94d1d1ad1f67bb651b12adf357)

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>
2016-02-28 11:33:05 +00:00
Alexander Kanavin 0296e0a527 gtk+3: update to 3.18.8
(From OE-Core rev: e96ee011c2e06e9f6634724faa86fda13d12094c)

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>
2016-02-28 11:33:05 +00:00
Alexander Kanavin e08ad62ee0 gtk-icon-utils-native: update to 3.18.8
(From OE-Core rev: 0eba5e38eac8426c7aef5352aa0816be23178b64)

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>
2016-02-28 11:33:05 +00:00
Alexander Kanavin 9daf1530b3 git: update to 2.7.2
(From OE-Core rev: 2a4d951326e427cf4b88d38dbf5a940516a08aea)

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>
2016-02-28 11:33:05 +00:00
Alexander Kanavin 927dfaf364 gnupg: update to 2.1.11
(From OE-Core rev: f2cbc932991059c2aef80820b2ff9bf3acb2bd06)

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>
2016-02-28 11:33:04 +00:00
Alexander Kanavin 2c39358ed1 clutter-gst-3.0: update to 3.0.16
(From OE-Core rev: 07c1905bfe6df6032790c9bf055047c112f71753)

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>
2016-02-28 11:33:04 +00:00
Alexander Kanavin b8a1e599c0 ccache: update to 3.2.4
Drop backported 0001-Fix-regression-in-recent-change-related-to-zlib-in-n.patch

(From OE-Core rev: 50ca919beb7f954f85da0d5511ca8d7a6a2e7bce)

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>
2016-02-28 11:33:04 +00:00
Alexander Kanavin 4d4aa1f091 libsolv: update to 0.6.19
(From OE-Core rev: 46320f6180d3003ace46c29f6f45a232e5be3af0)

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>
2016-02-28 11:33:04 +00:00
Alexander Kanavin 8c2e420398 ffmpeg: update to 3.0
Also, enforce arm instruction set (thumb is causing build failures)

(From OE-Core rev: e4bd6c8f991915534ec1375faca1321db134a237)

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>
2016-02-28 11:33:04 +00:00
Alexander Kanavin afce2470f2 nspr: update to 4.12
(From OE-Core rev: db2efe6ccf0a95e61a0418cb9459cb12483f11da)

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>
2016-02-28 11:33:04 +00:00
Alexander Kanavin b19dbe5365 pcmanfm: update to 1.2.4
(From OE-Core rev: 32ddcc1be9005d472dd1aa2a0a7aa87665e6ed88)

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>
2016-02-28 11:33:04 +00:00
Alexander Kanavin 6b41608923 libfm: update to 1.2.4
LICENSE checksum change due to formatting changes, and 'how to apply those
terms' section dropped from the GPL text.

(From OE-Core rev: 0fad6dbccbf63afa2636acf23a33ee06bbdeec30)

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>
2016-02-28 11:33:04 +00:00
Alexander Kanavin 325a9d3692 epiphany: update to 3.18.4
(From OE-Core rev: 4f2b24f7f10c00d485d869d2d3d64227e1aff513)

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>
2016-02-28 11:33:04 +00:00
Martin Borg 5f82d17ac6 automake: set test-driver path relative to top_builddir
automake offers auxiliary tools and is capable to install and prepare the setup for those.
test-driver, a log driver used by parallel testsuite harness in ptests, is one of those tools.
By default it looks that automake prepare environment for testing relative $top_srcdir.
But in Yocto following changed:
 - build folder was separated
 - $top_srcdir is not anymore defined as relative path, now can be relative or absolute

So now in Yocto the Makefile from src/tests contains absolute path of $top_srcdir for test-driver
which is an unexisting path at runtime.

We need to have relative path for test-driver in Makefile to work on target. $top_builddir
can guarantee this path.

Originally submitted by Adrian Calianu <adrian.calianu@enea.com>

(From OE-Core rev: e9db0ae11d95f3c375b27d5c10606efd8b568fbf)

Signed-off-by: Martin Borg <martin.borg@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:03 +00:00
Ross Burton b41862d334 uninative-tarball: respect SDKMACHINE when building
So that a single machine can build multiple architectures for the
uninative-tarball respect SDK_ARCH instead of BUILD_ARCH.

This means a x86-64 host can build a i686 uninative-tarball by setting
SDKMACHINE=i686.

(From OE-Core rev: 11b0e7e1cb29fd1fbe06bdb5606a55b92ecdcc89)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:03 +00:00
Andre McCurdy 4d1c14ff90 boost.inc: enable more verbose build logs
The default build output is very terse. Add -d+2 (ie "Show commands
as they are executed") to BJAM_OPTS to make the do_compile logs more
informative.

Also add -q (ie "Stop at first error") to BJAM_OPTS and fix typo in
comments.

(From OE-Core rev: 74c28b2719f0e1723c5ee0f885955412ea229a73)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:03 +00:00
Andre McCurdy 7f84ad03b8 gstreamer1.0-plugins-XXX: move inherit gettext into common .inc file
gstreamer1.0-plugins-base/good/bad/ugly.inc all independently inherit
gettext. Move into the common gstreamer1.0-plugins.inc include file.

(From OE-Core rev: 282fa5ff059db6f6daa108d5ec4ea3d0bfbe0fe2)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:03 +00:00
Andre McCurdy 2ce48e696c gstreamer1.0.inc: add explicit PACKAGECONFIG init
Although gstreamer1.0.inc doesn't currently set any default
PACKAGECONFIG options, add explicit initialisation in order to
match the style / structure of the other gstreamer1.0 recipes.

(From OE-Core rev: b21d7de7d992349a77014805bfb17449d37c66f3)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:03 +00:00
Andre McCurdy 935d88ac48 gstreamer1.0-libav: move LIBAV_EXTRA_CONFIGURE_COMMON_ARG into .inc
The LIBAV_EXTRA_CONFIGURE_COMMON_ARG definition is now common to both
the git and the versioned gstreamer1.0-libav recipes, so move it into
gstreamer1.0-libav.inc

(From OE-Core rev: f1426ad80035cebbaf9b78e879b8fad6b3eafaaa)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:03 +00:00
Andre McCurdy 3a8ff19e2c gstreamer1.0-libav_git: add --ranlib option to LIBAV_EXTRA_CONFIGURE_COMMON_ARG
The versioned gstreamer1.0-libav recipe includes --ranlib in
LIBAV_EXTRA_CONFIGURE_COMMON_ARG, but the git recipe does not.
It appears to be a historical mistake.

(From OE-Core rev: 4b958acb173f250edd6da0c49e486fa62ba91abd)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:03 +00:00
Andre McCurdy b8bdb992e9 boost.inc: limit ARM_INSTRUCTION_SET over-rides to armv4/armv5
The original over-ride dates back to 2009:

  http://git.openembedded.org/openembedded-core/commit/?id=43e94412c45b4b79485a64010c76d89b245bb235

There are no obvious issues seen now when building boost in thumb2
for Cortex A15.

(From OE-Core rev: aad50cb3848c92bc73ba96d6e69c74d377a23c08)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:03 +00:00
Randy Witt 9ca8f30098 populate_sdk_ext: Add images to SDK_INSTALL_TARGETS
When running ext-sdk-prepare.py during sdk installation a check is done to
make sure no tasks would run that aren't provided by the "leaf" recipes
specified in SDK_INSTALL_TARGETS.

However sometimes an image recipe can cause other images to be created
such as an initramfs. So make sure those additional images are
recognized by ext-sdk-prepare.py and don't flag an error.

(From OE-Core rev: 6eb75df1000ce1905e83840204adb614659d25cf)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:03 +00:00
Robert Yang 07dc765cfe boot-directdisk.bbclass: drop IS_VM chechking
The IS_VM was used for making menus for vmdk, vdi and qcow2, except
hddimg, there is no reason to not make menus for hddimg, so drop it.

(From OE-Core rev: c5a402bcd0ebf0238f7f7f8bcc08a0790cba7a67)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:03 +00:00
Robert Yang a87574cd7e image-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG
No one uses it.

(From OE-Core rev: d2eba0a5b67936983ad85766349f7afa4bdb70e8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:02 +00:00
Alex Franco 76eb8154f1 testimage.bbclass: reuse generic test suites
Modify existing default test suites to reuse the new
generic test suites.

Related to [YOCTO #8410]

(From OE-Core rev: 1da1bbc88b1ec1476107003f47f7b240d0794165)

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:02 +00:00
Alex Franco 6571a84376 testimage.bbclass: add generic, image test suites
Add generic test suites MINTESTSUITE, NETTESTSUITE, DEVTESTSUITE to
group common test suites.

Add DEFAULT_TEST_SUITES_pn- variables for:
  * core-image-minimal-dev
  * core-image-full-cmdline
  * core-image-x11
  * core-image-lsb
  * core-image-lsb-dev

New default test suites use generic test suites.
Existing default test suites not modified.

[YOCTO #8410]

(From OE-Core rev: 8d194c6300964a393b6b69b7d06c0a729a5f8b5f)

Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:02 +00:00
Ross Burton 8c45747562 gconf: remove redundant dependencies
The explicit native dependencies are identical to the class-generated
dependencies so remove them.

The dbus-x11 package hasn't existed for some time and is RPROVIDEd by dbus, so
there's no need to depend on it.

(From OE-Core rev: 8a48c8d03bfa15db91b30c3285d2fadabd62cdaa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:02 +00:00
Ross Burton a74c3890d8 gtk-doc-stub: don't inherit autotools
There's quite an overhead in inheriting autotools, but this package just has a
hand-crafted configure script and Makefile.

(From OE-Core rev: 1f1fb426ca74168c71bc5366cf880eb2fe7d5378)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:02 +00:00
Joshua Lock 2269f90b9f os-release: sanitise VERSION_ID field
Per os-release(5) the VERSION_ID field should be:

  a lower-case string (mostly numeric, no spaces or other characters
  outside of 0-9, a-z, ".", "_" and "-")

Do some string manipulation to try and ensure the VERSION_ID field
we write is valid.

(From OE-Core rev: d3975099af20d78b634c23b3ddd073049b016b05)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:02 +00:00
Ioan-Adrian Ratiu 9d86b268f2 apr-util: add ldap crypto and sqlite3 to PACKAGECONFIG
Enable apr-util's cryptographic routines so that the apache2 package
can encrypt session data. Also add sqlite3 and ldap modules, disabled
by default.

(From OE-Core rev: c8be8890e0a9c9d5f1532c4ee4fe9a346ed3ca5b)

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>
2016-02-28 11:33:02 +00:00
Ioan-Adrian Ratiu d8d2f573f0 apr-util: fix loadable module packaging
A new QA check was introduced by 47d38d4d86ec6a which catches recipes
which install loadable modules (*.so) inside -dev packages instead of
symlinks. Install apr-util's modules into ${PN} and also skip the QA
check [dev-so] because it is the reverse of the check introduced by
47d38d4d86ec6a (thus if a recipe passes one it fails the other).

(From OE-Core rev: ef82fb5aff4ca3204b40cdf6a074d9711e543af2)

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>
2016-02-28 11:33:02 +00:00
Andre McCurdy 77cfa2bcd7 glibc.inc: improve optimisation level sanity checking
- Avoid code duplication to handle -O, -O1 and -Os cases

- Consider the effective optimisation level only (avoids spurious
  warnings if multiple optimisation flags are present).

- Prefix warnings with PN instead of hardcoding "glibc" (avoids
  confusing warnings since the test is also applied to glibc-initial,
  nativesdk-glibc, nativesdk-glibc-initial, etc, and each could
  potentually have different optimisation flags).

(From OE-Core rev: 9d72015e3458c78a9f0d20ad3dc27c8a9bb1069c)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:02 +00:00
Joshua Lock 04c4719012 rsync: add native variant
(From OE-Core rev: 18b3f229ab4c730936e3cf2b700a269920e2ec71)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:02 +00:00
Tudor Florea 2c20fe4ba1 core-tools-profile: add lttng tools for aarch64
(From OE-Core rev: 70ffd3111d85c770f23268c35c1cb2070c6dd2e9)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:01 +00:00
Tudor Florea 8a0b99749d lttng-ust: add support for aarch64_be
(From OE-Core rev: 4120bdfab3afb22bd6be68ca3bebff9d299a38ee)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:01 +00:00
Tudor Florea 6081c35bf4 liburcu: add support for aarch64_be
(From OE-Core rev: f7a2272634a2cc02fa9c43a6aba628627f8bdc25)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:01 +00:00
Andre McCurdy 07a3c710b2 harfbuzz: add explicit dependency on fontconfig
The fontconfig dependency was previously met indirectly (via cairo).

(From OE-Core rev: 0b8f54373698f4ae51f42c417f2cae566a3e9ed0)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:01 +00:00
Andre McCurdy 73cc8b8726 harfbuzz: update 1.2.0 -> 1.2.1
Overview of changes leading to 1.2.1
Friday, February 23, 2016
====================================

- CoreText: Fix bug with wrong scale if font scale was changed later.
  https://github.com/libass/libass/issues/212
- CoreText: Drastically speed up font initialization.
- CoreText: Fix tiny leak.
- Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
  https://github.com/behdad/harfbuzz/issues/217
- Add test/shaping/README.md about how to add tests to the suite.

(From OE-Core rev: 6dc27726c9da5104ea27ebf604cab6ef2037034d)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:01 +00:00
Martin Jansa bb151b888c fontconfig: Don't add font directories from host
* when enabled, configure check for "fonts" directory existence in following directories:
  /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11
  on _host_ system and if it exists it adds <dir> element to
  /etc/fonts/fonts.conf
* update_font_cache postinst will then fail if host system has e.g.
  /usr/lib/X11/fonts while the rootfs doesn't have it
* if you're installing fonts to other directories, you'll need to adapt
  this EXTRA_OECONF to find them that's why it's in separate variable

[YOCTO #9155] - update_font_cache postinst failing with read-only filesystem

(From OE-Core rev: 8cc47e6bfb7f623711d9cd9e71a7f72ab2838f57)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:33:01 +00:00
Khem Raj e9f5134cdb musl: Upgrade to 1.1.14
There has been regressions seen in 1.1.13 hence
a quick 1.1.14 release is made

license checksum changed due to updates to authors/contributors list

here is the list of all changes between 1.1.13 and 1.1.14

http://git.musl-libc.org/cgit/musl/log/?qt=range&q=v1.1.13..v1.1.14

(From OE-Core rev: f70ee77add3878b4e43f5e79e159e44b4bea725b)

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>
2016-02-28 11:33:01 +00:00
Paul Eggleton bf4d380b97 oe-selftest: devtool: add an additional test for devtool upgrade
Add a test for devtool upgrade with a recipe pointing to a git
repository, since this uses several different code paths.

(From OE-Core rev: d3ec74ff4db248ea11a568d5214708d6a1757012)

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>
2016-02-28 11:33:01 +00:00
Paul Eggleton 4bae2f25b8 oe-selftest: devtool: rework devtool upgrade test
* Use a more real-world test of a recipe pointing to a remote file
* The cleanup tracking / teardown commands need to be added towards the
  top, or they won't have the desired effect of cleaning up if the test
  fails.
* Check that a versioned subdirectory gets renamed to match the new
  version
* Ensure the recipe contents gets changed as we expect it to
* Check that the recipe directory is deleted by devtool reset at the end

(From OE-Core rev: d0ae258e963f9bafffc4ca43c87497d27e57c127)

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>
2016-02-28 11:33:01 +00:00
Ross Burton 55ae56687a uninative.bbclass: if the loader can't be found disable instead of failing
(From OE-Core rev: 99ae0859ba5fa83c9cfd75a814f8281624e8987e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:59 +00:00
Ross Burton 50b8740fba uninative: use check_output instead of Popen directly
(From OE-Core rev: 938687db0255d749ed8110d68628e505967b7131)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:59 +00:00
Ross Burton 4495e8bae0 lib/oe/qa: add explicit exception for 'file isn't an ELF'
(From OE-Core rev: 4c1fe0cbcb98b0a69ad5b3a04432055d773ee4ba)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:59 +00:00
Maxin B. John 4553bb1b88 libdrm: fix build with uclibc
Fix 'O_CLOEXEC' undeclared error with uclibc

(From OE-Core rev: 6e779962f3846cbe5a5cb205f66b9bd9404f6d57)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:59 +00:00
Dengke Du 4e5a871718 strace: fix ptest execution
When run the strace ptest on the target, the test files located in the "/usr/lib/strace/ptest/tests",
but the run-test script use the path "srcdir = ../../strace-*/tests"to find the necessary files, so it
can't find the necessary files, it fails. So change the variable srcdir, replace the strace-* to ptest
when do the do_install_ptest() function using the following:
	sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile

(From OE-Core rev: 74b5088f1cc1708db43c33ac2dc7f01f4a4db9c1)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:59 +00:00
Khem Raj e8e0489837 clutter-1.0: Fix confgure test errors found by clang
We were using nested functions inadvertantly and they were compiling fine
with gcc but clang doesnt support nested functions hence configure tests for
cogl started to fail, but it was a test error not compiler error
which was undetected thus far

Backport a fix from upstream to help clang compile clutter

(From OE-Core rev: 09ac424c6a04ac46a822168341a55293ba43dc27)

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>
2016-02-28 11:32:59 +00:00
Cristina Agurida b748f40980 oeqa/parselogs: Updated whitelist
Moved an error to common, and whitelisted the BAR errors
and ati module. Also the uvesafb related errors will be
ignored in LSB images which do not have graphic interface.

Fix for [YOCTO #8387]
Fix for [YOCTO #8590]
Fix for [YOCTO #6820]
Fix for [YOCTO #7897]

(From OE-Core rev: 4e59b6f66eeae256d4e62f4741725cdebb53cbf7)

Signed-off-by: Lucian Musat <george.l.musat at intel.com>
Signed-off-by: Cristina Agurida <cristina-danielax.agurida@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:59 +00:00
Juro Bystricky 4b32351f2d buildstats.bbclass: Don't assume /proc/<pid>/io present
It is not guaranteed Linux kernel was configured with process I/O
statistics enabled. If process I/O statistcs are not present, issue
a one time warning and do not attempt to read the non-existing stats
counters.

[YOCTO#9025]

(From OE-Core rev: b39e84edb02d03102b9a571c21e5328c159c4378)

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>
2016-02-28 11:32:59 +00:00
Philip Tricca 07e1f10aa0 sysvinit-inittab: Move start_getty scrip to base_bindir.
When this file is in ${sysconfdir}/init.d, SELinux labels it as a generic
init script (initrc_t). This causes problms at runtime because SELinux
doesn't let the login process execute generic init script. Moving this
helper script to base_bindir results in it being labeled as a generic
binary (bin_t). Nearly every SELinux domain is allowed to execute
generic binaries and the login process is one of them.

(From OE-Core rev: 826bfea4b7018c7974ef388facc99ca70bb3654f)

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:59 +00:00
Francisco Pedraza 8d07e14009 oeqa/selftest/prservice: Added new TC: check pr-server starts and stop correctly on localhost.
This test case validates if prservice start and stop properly the server.
Using bitbake commands also validates the exit status.

[YOCTO #8258]

(From OE-Core rev: 5125dd2a5c2e382c47ddeaf0327fc7dc39482023)

Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:59 +00:00
Khem Raj 7f58b9298c musl: Upgrade to 1.1.14
There has been regressions seen in 1.1.13 hence
a quick 1.1.14 release is made

here is the list of all changes between 1.1.13 and 1.1.14

http://git.musl-libc.org/cgit/musl/log/?qt=range&q=v1.1.13..v1.1.14

(From OE-Core rev: 1b32ffcf9e889766d7a94d55a00f8359bbbf7c1a)

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>
2016-02-28 11:32:58 +00:00
Hongxu Jia 26f951b99d git: fix installed-vs-shipped QA Issue
Since commit set default libexecdir to $prefix/libexec
...
commit f35b2e29d9
Author: Ross Burton <ross.burton@intel.com>
Date:   Tue Apr 30 20:35:54 2013 +0100

    bitbake: set default libexecdir to $prefix/libexec
...

It casued '${D}${libdir}' does not exist, and the following
move operation incorrect which triggered QA Issue:
...
ERROR: git-2.7.0-r0 do_package: QA Issue: git: Files/directories were installed but not shipped in any package:
  /usr/lib64
  /usr/lib64/site_perl
  /usr/lib64/site_perl/5.22.1
...

(From OE-Core rev: 2b82a475a7c8310f432b872e9d1e5eca262a03ee)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:58 +00:00
Hongxu Jia 033db243ae btrfs-tools: fix symlink creation multiple times
The rule to create symlink in Makefile caused parallel issue:
$ make -j 40 DESTDIR=/image install BUILD_VERBOSE=1
...
  1     [LN]     libbtrfs.so.0
  2     [LN]     libbtrfs.so
  3 ln -s -f libbtrfs.so.0.1 libbtrfs.so.0
  4 ln -s -f libbtrfs.so.0.1 libbtrfs.so.0
  5 ln -s -f libbtrfs.so.0.1 libbtrfs.so
  6 ln -s -f libbtrfs.so.0.1 libbtrfs.so
...

It failed occasionally:
...
|symlinkat: couldn't stat 'git/libbtrfs.so' even though symlink
creation succeeded (No such file or directory).
|ln: failed to create symbolic link 'libbtrfs.so': No such file or directory
...

(From OE-Core rev: 9409c7e7202fe96b55f44a133ba68690bb192da2)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:58 +00:00
Hongxu Jia 9af773f1c6 bison/gettext: add --with-bisonlocaledir to assign BISON_LOCALEDIR
This issue was triggered by buildpaths QA Warning.
...
|gettext-0.19.6: File work/core2-64-poky-linux/gettext/0.19.6-r0/
packages-split/gettext/usr/bin/msgcmp in package contained
reference to tmpdir
...

Previously, variable BISON_LOCALEDIR was assigned only by the
output of 'bison --print-localedir' which provided by native bison
that has buildpaths in it.

For target compile, we add option --with-bisonlocaledir to set
BISON_LOCALEDIR with "/usr/share/locale" to fix the QA issue.

The variable BISON_LOCALEDIR is used for internationalization of
the bison parser’s runtime output. Here is the introduction:
http://www.gnu.org/software/bison/manual/html_node/Internationalization.html

[YOCTO #7058]

(From OE-Core rev: aafb300a1f144b9ebda61a02fedd124fe0e1a83a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:58 +00:00
Hongxu Jia b14e2ae9bc gcc: use relative path for configure script
The absolute path (/path/to/configure) caused __FILE__ to be
an absolute path.

If 'assert' invoked, it uses __FILE__, and build path would be in elf files.
In assert.h
...
.# define assert(expr)                                                   \
  ((expr)                                                               \
   ? __ASSERT_VOID_CAST (0)                                             \
   : __assert_fail (__STRING(expr), __FILE__, __LINE__, __ASSERT_FUNCTION))
...

Which triggered buildpaths QA issue:
...
| libgcc-5.3.0: File work/core2-64-poky-linux/libgcc/5.3.0-r0/packages-split/
libgcc-dev/usr/lib64/x86_64-poky-linux/5.3.0/libgcc.a in package contained
reference to tmpdir [buildpaths]
...

Use relative path to run configure can fix the problem.

[YOCTO #7058]

(From OE-Core rev: b806e4c004a7e10461fe7428fc130a5aa2528039)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:58 +00:00
Hongxu Jia 1f00fb2eb6 depmodwrapper-cross: nopackages to avoid QA [buildpaths] issue
This depmodwrapper is a wrapper script to support install-corss,
which is invoked at do_rootfs time. So the depmodwrapper-cross
should not generate packages. The fix could avoids QA buildpaths
issue.

[YOCTO #7058]

(From OE-Core rev: e469717d324b3aa29f165c7dc242c9d634be168f)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:58 +00:00
Francisco Pedraza 00a6f5afeb oeqa/utils: added new network module
A network module was added, and will contain network utility funcions for now.
with get_free_port that returns available network port in the system.

(From OE-Core rev: 72b336ad0d0a2994f00c57747686111a59fa8b29)

Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:58 +00:00
Daniel Istrate 4a21827415 oeqa/selftest/signing: Added test for locked signatures
fix for [YOCTO #8706]

(From OE-Core rev: 9b704ae44d9dc1d3d5c3aee6d7a5530b642070c4)

Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:57 +00:00
Ross Burton 604dc1c3e6 package: check inherit instead of PN to decide if a recipe is a packagegroup
(From OE-Core rev: b6c3ea4240e965f69b3cae0b601c8dc8d18c7646)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:57 +00:00
Richard Tollerton b4df0059e2 tune-cortexa9.inc: add vfpv3 tunes
Define tunnings to enable 32 register VFPv3 for cortexa9 processor cores

More details: http://www.arm.com/products/processors/technologies/vector-floating-point.php

(From OE-Core rev: d9635cc96ad1ddeb944bba375b5b55149867966c)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
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>
2016-02-28 11:32:57 +00:00
Richard Purdie 889a5cc221 mirrors/own-mirrors/sanity: Updates after npm fetcher addition
Update the classes after the addition of the npm fetcher to
match the other fetcher additions.

(From OE-Core rev: b91c5c94182ce08d4daccf85eaa0375daefc356e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:57 +00:00
Brendan Le Foll 28d17cf942 npm.bbclass: Add npm class to match fetcher
npm class supports the npm fetcher, helping doing the basic compile/install
stages of an npm package

(From OE-Core rev: 4d2ad3e39242c947612023f4429bc8fb430551b5)

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:57 +00:00
Richard Purdie bc5a1d1684 base: Add nodejs-native dependency for npm:// urls
With the addition of the npm fetcher, we add the native dependency
handling too.

(From OE-Core rev: 500c432419739e2be247d6feea3f4d85eb7ddfd0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:32:57 +00:00
Richard Purdie ab3a71833c adt-installer: Drop since its replaced by the extensible SDK
The extensible SDK replaces adt-installer so this can be removed now,
all future effort in this direction will be placed onto that.

This includes a layer version change so the autobuilder knows when to
stop building adt-installer.

[YOCTO #6404]

(From OE-Core rev: c413164c03bdce38f41e63ad2a27dc6108521b9a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:31:17 +00:00
Richard Purdie c1c6a9d64e sanity: Improve configuration upgrade capabilities (support meta-yocto -> poky transition)
Right now, only one configuration file can be processed (conf/bblayers.conf)
and it can only have one version number. This is a cause of immense friction
between OE-Core and Poky since if one needs a version change, it shouldn't
be forced on the other.

We'd like to rename the meta-yocto layer (within the meta-yocto repository)
to meta-poky. To do this, we need to correct the bblayers.conf file and that
means changing the sanity version. After the pain this caused the last time,
Paul made me promise never to have them out of sync between OE-Core and Poky,
equally, having every distro changing config update OE-Core isn't scalable
either.

This patch changes the sanity upgrade method to list a more generic format:

<config file>:<current version variable name>:<required version variable name>:<upgrade function>

This in theory allows us to support upgrades to any of the core
configuration files, and allow layers to extend them as needed. Files
with the same name can be handled in different layers by setting a unique
version name variable in the file itself. The upgrade code is only called
if the version variable is set.

To allow us to make the poky name change and use a new configuration file
name, one last version bump is included for poky to handle the transition.

(From OE-Core rev: 10fd24271e771ed12e36edcff0007caa1a4e67e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:31:17 +00:00
Richard Purdie 25871016e0 image: Run do_rootfs_wicenv after do_image
do_image can modify the content of the rootfs directory so we need to run
do_rootfs_wicenv after do_image compeltes or the command can fail.

(From OE-Core rev: 8f5429b5e543e122072a51b518cc137dfc8ec442)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28 11:27:46 +00:00
Randy Witt 7bb9e8ddbf signing-keys: Make signing keys the only publisher of keys
Previously the keys were put into the os-release package. The package
indexing code was also deploying the keys rather than only using the keys.

This change makes signing-keys.bb the only publisher of the keys and also
uses standard tasks that already have sstate.

(From OE-Core rev: 1e38068ac38dfd067655dfd41464e28439179306)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-26 17:16:25 +00:00
Khem Raj 64ab17b707 systemd: Upgrade to 229
Forward port all existing patches and arrange them such such
uclibc-only and qemu-only patches appear first

Add new patches to fix build on uclibc ( 0019-0022 )

Convert the lnr sed operation into a static patch

Use PACKAGECONFIG setting to disable features for muls and uclibc
instead of modifying EXTRA_OECONF manually

Drop compat from PACKAGECONFIG, this options has been removed
from systemd

Tested/booted sato iamge on all qemus and qemux86-64 on uclibc

(From OE-Core rev: 50743301bd8c0c4817d039d08c9567d15243a74d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-26 17:16:24 +00:00
Maxin B. John 44248af173 harfbuzz: update to version 1.2.0
1.1.3 -> 1.2.0

(From OE-Core rev: acfe4c5d1653f355e37a2faf04ee7abd6cbf66ad)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-26 17:16:22 +00:00
Martin Donnelly f4f5573ba4 perf: add sysroot handling to subcmd
v4.5-rc1 of the kernel splits the subcommand related files
from perf into a new library, this patch adds the modification
of the Makefile to preserve the --sysroot option as for
the other perf related Makefiles.

(From OE-Core rev: e46eae34ac71d28aa92feed369c2d92248ed3e19)

Signed-off-by: Martin Donnelly <martin.donnelly@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-26 17:16:20 +00:00
Ross Burton 7a95c2cb67 oeqa/selftest/buildoptions: build -minimal instead of -sato images
When checking enabling buildhistory doesn't change anything but rootfs stamps,
just build core-image-minimal instead of -sato to reduce the time this test
takes.

(From OE-Core rev: e9b44579007cbaa24c6b39ff788be3a927797660)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-26 17:16:19 +00:00
Ross Burton 2980ac001f bitbake.conf: add findutils-native to ASSUME_PROVIDED
It's possible for findutils-native to get built.  There's no point in this as
this is part of the expected host platform but this can introduce races or even
bugs (4.5.19 appears to have a leaking fd bug, resulting in asserts) so add it
to ASSUME_PROVIDED so it definitely won't get built.

(From OE-Core rev: b753dae334641480cb4a232ce240f9f56be5568f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-26 17:16:17 +00:00
Ross Burton 2e152ffa04 findutils: upgrade to 4.6.0
Inherit upstream-version-is-even as minor-odd releases (such as 4.5.x) are
development snapshots.

Change the SRC_URI back to using GNU_MIRROR now we're not using a development
release but a stable tarball.

(From OE-Core rev: 0b3810bfb4c25d0a023045eab429c9401293375a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-26 17:16:15 +00:00
Andreas Müller 951ce184eb mesa: add missing space to RRECOMMENDS append
Fixes errors as:

| Missing or unbuildable dependency chain was: ['mesa-megadrivermesa-megadriver']

(From OE-Core rev: 25ca768112f37a7fd8648f0d983e856294863460)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-26 17:16:14 +00:00
Khem Raj 23056103c9 uclibc: Do not use immediate expansion operator
:= causes none of _remove flags to work with uclibc
e.g. security flags where we remove ssp options for libcs
but it does not become effective for uclibc and hence
the build fails

(From OE-Core rev: 205b446f3fc4a9885179a66a8dab9d81bcc63dca)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:48 +00:00
Khem Raj aab39005b3 security_flags: Disable ssp when compiling uclibc
(From OE-Core rev: 208fbdbff17f19a23944a62f1b9ff380f1bc8ac8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:48 +00:00
Joshua Lock afb954e2cb rpm: fix building rpm 5 with internal beecrypt
RPM 5 cannot be built without beecrypt, therefore the EXTRA_OECONF
arguments to pass when the beecrypt PACKAGECONFIG is disabled should
enable the internal/bundled beecrypt.

[YOCTO #9150]

(From OE-Core rev: ed1c47e7c621491b892fb82bd18644dba42212b9)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:47 +00:00
Maxin B. John 069cdbe4dd alsa-lib: topology: Add missing include sys/stat.h
Fixes this build error with uclibc:

alsa-lib-1.1.0/src/topology/parser.c: In function 'snd_tplg_build_file':
alsa-lib-1.1.0/src/topology/parser.c:262:35: error: 'S_IRUSR' undeclared
(first use in this function)
open(outfile, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);

(From OE-Core rev: 9ec2c6d4fd9c5c1f745f4d402922b73649ff6287)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:47 +00:00
Richard Purdie b879aed6aa libsdl2: Fix patch after upgrade
(From OE-Core rev: 8e94bd650c3480dce6d33b7e7b5af0a440757c29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:47 +00:00
Andre McCurdy 3d4f71d2d9 gstreamer1.0-libav_git: update 1.7.1 -> 1.7.2
Hash for libav LICENSE.md updated due to dropping libaacplus:

  9ba54c1b82

(From OE-Core rev: 070253835c45c9eff7ad045d99277d13f9d03173)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:47 +00:00
Andre McCurdy 9d83a3e5ed gstreamer1.0-plugins-ugly_git: update 1.7.1 -> 1.7.2
(From OE-Core rev: 65128b26479631cd6109602624725aa7840c7e4a)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:47 +00:00
Andre McCurdy 6456a6fe21 gstreamer1.0-plugins-bad_git: update 1.7.1 -> 1.7.2
(From OE-Core rev: f5095eb11215c3aad76edd33cdccbb5dca8296cf)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:47 +00:00
Andre McCurdy 821498f1d5 gstreamer1.0-plugins-good_git: update 1.7.1 -> 1.7.2
(From OE-Core rev: 2f396eea3c0d054d9b259260e98b688eb9d6d95d)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:47 +00:00
Andre McCurdy 04e77c1755 gstreamer1.0-plugins-base_git: update 1.7.1 -> 1.7.2
(From OE-Core rev: 4ffd58202081c8492ba600f31e211e1d8241e81d)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:47 +00:00
Andre McCurdy e67c91d451 gstreamer1.0_git: update 1.7.1 -> 1.7.2
(From OE-Core rev: 3ca15468208cd9e64eec8bc85d40bc2a13fd1348)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-22 20:42:47 +00:00
Khem Raj ea8c34e976 libnewt: Fix build with PIE flags
security flags add -pie -fpie to CFLAGS which is not
right options for compiling .so files, they are only
useful for compiling executables

(From OE-Core rev: 2735d096aef2d039d711c13c311bb6dba979f437)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-21 09:32:43 +00:00
Khem Raj 66a833a21c pseudo: Fix build when security flags are enabled
filter out PIE options

(From OE-Core rev: 138fdeacb822705f9d3d363753f93ff653e7928b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-21 09:32:43 +00:00
Khem Raj 91a1baaf57 glibc: Upgrade to 2.23
Drop kconfig and options-group support
Forward port cross-localedef support
Assume ssp support in libc when building gcc-initial

(From OE-Core rev: 9c3d461c4d54d684b38ec4c038a1c3c2fb9923f0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-21 09:32:43 +00:00