summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2015-11-16gcc: Update default Power GCC settings to use secure-pltMark Hatle3
The gcc default, bss-plt, will cause errors when using the prelinker. All other distributions that I am aware of are using the the secure-plt. For an explanation of the differences, the gcc docs: Current PowerPC GCC accepts a `-msecure-plt' option that generates code capable of using a newer PLT and GOT layout that has the security advantage of no executable section ever needing to be writable and no writable section ever being executable. PowerPC ld will generate this layout, including stubs to access the PLT, if all input files (including startup and static libraries) were compiled with `-msecure-plt'. `--bss-plt' forces the old BSS PLT (and GOT layout) which can give slightly better performance. The security of the new PLT and ability to run the prelinker outweigh any performance penalty. The secure-plt is enabled by default. The old bss-plt can be enabled by selecting 'bssplt' in the DISTRO_FEATURES. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16glibc: Fix ld.so / prelink interface for ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATAMark Hatle2
A bug in glibc 2.22's ld.so interface for the prelink support causes the displayed values to be incorrect. The included path fixes this issue. Clear ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for prelink prelink runs ld.so with the environment variable LD_TRACE_PRELINKING set to dump the relocation type class from _dl_debug_bindings. prelink has the following relocation type classes: where ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA has a conflict with RTYPE_CLASS_TLS. Since prelink doesn't use ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA, we should clear the ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA bit when the DL_DEBUG_PRELINK bit is set. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2015-11-16qemurunner: Enable timestamps on kernel boot-upLeonardo Sandoval1
Having the timestamps in the log is useful when debugging those cases when the booting time takes longer than expected. printk.times=1 enables stamping into every printk Kernel call. Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16openssl: fix mips64 configure supportWenzong Fan1
Match target name linux-mips64 as well, all mips64 targets will have mips(32) userspace. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16at: modify sources in do_patchRoss Burton1
Instead of copying the forked source files into ${S} in do_compile_prepend(), do it in a do_patch() postfunc. This ensures that the source archiver sees the changes for compliance and legal verification. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16unzip: rename patch to reflect CVE fixRoss Burton2
Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16readline: rename patch to contain CVE referenceRoss Burton2
To help automated scanning of CVEs, put the CVE ID in the filename. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16qemu: upgrade to 2.4.0.1Ross Burton1
This release is just security fixes: - CVE-2015-5225 - CVE-2015-6815 - CVE-2015-5278 - CVE-2015-5279 Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16gnome-desktop-testing: fix ptest output formatMaxin B. John2
Fix ptest output format for glib-2.0 and other packages which depends on gnome-desktop-testing framework. [YOCTO #6601] Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16default-distrovars: remove less from WHITELIST_GPL-3.0Hongxu Jia1
As oe-core commit 37c8c2c5f6937520eaf9f5d981f9315e36eba4bb and fa7bdf96b8eb8b5078db38249c5c60ec511c35c6 said, Mark Nudelman (author of less) has given permission to utilize a generic 2-clause BSD, so we remove it from WHITELIST_GPL-3.0 which caused a QA Warning while INCOMPATIBLE_LICENSE += "GPLv3 LGPLv3 GPLv3+ LGPLv3+" ... |NOTE: INCLUDING less as buildable despite INCOMPATIBLE_LICENSE because it has been whitelisted ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16lsof: don't export EXTRA_OEMAKEAndre McCurdy1
EXTRA_OEMAKE is private to OE and shouldn't be exported to the lsof build. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16cmake.bbclass: don't duplicate CMAKE_C_FLAGS in CMAKE_C_FLAGS_RELEASEAndre McCurdy1
The base CMAKE_<LANG>_FLAGS are included for all build types, therefore the CMAKE_<LANG>_FLAGS_RELEASE should contain only additional flags or over-rides. https://cmake.org/cmake/help/v3.2/variable/CMAKE_LANG_FLAGS.html Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16rm_work.bbclass: Exclude do_rootfs stamp removalJate Sujjavanich1
This prevents unneeded rootfs rebuilds if the metadata has not changed while using rm_work. Signed-off-by: Jate Sujjavanich <jatedev@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16cairo: fix license for cairo-script-interpreterAndre McCurdy1
Without an explicit license, cairo-script-interpreter inherits the default LICENSE and isn't packaged in builds which blacklist GPLv3. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16openssh: enable X11Forwarding if distro feature x11 is setKai Kang1
When distro feature x11 is set, it is better enable X11Forwarding for ssh daemon. For contrast, dropbear enable X11 forward by default. It does NOT need to modify ${WORKDIR}/sshd_config, so drop the modification. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16acpid: Upgrade to 2.0.25Aníbal Limón1
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16libidn: 1.30 -> 1.32Kai Kang1
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16sqlite: 3.8.10.2 -> 3.9.0Kai Kang2
Upgrade sqlite from 3.8.10.2 to 3.9.0. * update python function to get right SRC_URI * drop 0001-using-the-dynamic-library.patch which use dynamic library that it is done that way in new version Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16rt-tests: bump to v0.94Josh Cartwright8
All of the rt-tests patches that OE has been carrying have been upstreamed or superceded by changes in the v0.94 release. Adjust SRC_URI to point to canonical upstream git repo, instead of a development tree. There was a notable change upstream that required slight reworking of the recipe. rt-tests now joins other kbuild-inspired projects by making use of a CROSS_COMPILE flag to indicate the compiler prefix. Previously TOOLCHAIN_OPTIONS were conveyed via $CC directly, however, this does not work with CROSS_COMPILE. Workaround this by both specifying CROSS_COMPILE, and feeding the rt-tests build system the proper $(HOST_CC_ARCH)$(TOOLCHAIN_OPTIONS) via $CFLAGS. Signed-off-by: Josh Cartwright <joshc@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16gbm: Fix "configure: error: gbm requires --enable-dri"Jens Rehsack1
When building mesa without X11 enabled, and disabling dri package config, the enforced "--enable-gbm" fails building mesa, because this feature requires "--enable-dri", too - which has been disabled by package config. Consequently, when gbm requires dri, --disable-dri causes in --disable-gbm, which makes explicit --disable-gbm in case of --disable-dri redundant. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16xinetd: install xinetd supported services configurationyadi.hu@windriver.com1
install xinetd supported services configuration, then these services are able to work Signed-off-by: Hu <yadi.hu@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16combo-layer: introduce ability to exclude component from mass updateAlexander D. Kanevskiy1
There is no ability at the moment for situations where users would like to keep section in combo-layer.conf but don't update it, unless explicitly specified. Now, by adding "update = no" to desired section would exclude that repository from "combo-layer update" command. It is still possible to explicitly update it by "combo-layer update $section". By default, all repositories are assumed as "update = yes" Signed-off-by: Alexander D. Kanevskiy <kad@kad.name> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16linux-dtb.inc: refactor common code to function get_real_dtb_path_in_kernelStefan Christ1
Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16linux-dtb.inc: refactor common code to function normalize_dtbStefan Christ1
Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16linux-dtb.inc: explicit test for empty string not neededStefan Christ1
The for loop already handles the case when KERNEL_DEVICETREE is empty. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16ptest-runner: Allow running of specific testsIoan-Adrian Ratiu1
By default ptest-runner executes all ptests found in a system. With this change, ptest-runner can be given a list of ptest package names to run (the default is still available). For example, to run only the zlib and rt-tests ptests: "ptest-runner zlib rt-tests" Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16oeqa/testimage: Add support for test folder export.Lucian Musat1
If tests are organized in folders then it will copy the whole folder to the export location. This should keep the original directory structure for exported oeqa/runtime. Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16oeqa/runtime/multilib: run the arch tests on connmand not connman-appletRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16oeqa/runtime: remove dmesg testRoss Burton3
This has been obsoleted by parselogs. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16nfs-utils/statd: fix a segfaultChen Qi2
Fix the segfault by separating the socket used in statd from the sockets of RPC core. Signed-off-by: Shan Hai <shan.hai@windriver.com> Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16qemu: enable user mode for mips64 and mips64elJackie Huang1
- remove mips64 and mips64el from softmmuonly list to enable user mode, they have been supported since 2012. - keep the softmmuonly list and for loop although there is only one for now in case more supported arches added. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16gnupg: fix find-version for beta checkingWenzong Fan2
find-version always assumes that gnupg is beta if autogen.sh is run out of git-repo. This doesn't work for users whom just take release tarball and re-run autoconf in their local build dir. This fixes runtime issue: $gpg --list-sigs gpg: NOTE: THIS IS A DEVELOPMENT VERSION! gpg: It is only intended for test purposes and should NOT be gpg: used in a production environment or with production keys! Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16rpm: define EM_AARCH64 for debugeditRoy Li2
EM_AARCH64 maybe not be defined due to old version elf.h when compile rpm-native, and lead to that debugedit can not work on aarch64 elf object files, since there is no other dependence, except these two macro, define them to make debugedit work on aarch64 elf files. debugedit: /bitbake_build/tmp/work/aarch64-wrs-linux/libvirt/1.2.19-r0/ package/usr/lib64/libvirt/ptest/daemon/libvirtd_admin_la-admin_server.o: Unhandled relocation 258 in .debug_info section Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16xserver-xorg: drop empty ${PN}-security-policy packageJoshua Lock1
The SecurityPolicy hasn't been included since 2007[1] and the last remnants were removed from the code base in 2010[2]. 1. http://cgit.freedesktop.org/xorg/xserver/commit/?id=9d03ca 2. http://cgit.freedesktop.org/xorg/xserver/commit/?id=19d03d Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16xserver-xorg: add Xwayland RRECOMMENDSJoshua Lock1
Xwayland has the same runtime dependencies as the standard xserver so set RRECOMMENDS the same way. Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16weston: add a PACKAGECONFIG option for xwayland supportJoshua Lock1
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16systemd: make dbus an optional build time dependencyJoshua Lock1
The dbus buildtime dependency is only required in order to build dbus related tests in modern systemd, make this a PACKAGECONFIG option. This changes the default behaviour to no longer build dbus related tests without explicitly enabling the PACKAGECONFIG. Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16weston: add PACKAGECONFIG to build with systemd-login supportJoshua Lock3
Automatically enable this support for distributions which have systemd in DISTRO_FEATURES. We add additional patches to weston, backported from Weston git, to support the newer single libsystemd pkg-config file and to make the enabling of systemd-login support explicit. Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16systemd: add PACKAGECONFIG to build with compatibility librariesJoshua Lock1
Systemd < 209 shipped separate pc files for various interfaces, these can still be generated for compatibility with code using the older interfaces. Add a PACKAGECONFIG option to build systemd with the compatibility pc files. Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16os-release: put double-quotes around variable contentsCraig McQueen1
This makes the resulting /etc/os-release file have valid shell assignment syntax. This makes it loadable by a shell script, using the 'source' command: source /etc/os-release Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16cpio: fix testcase symlink-bad-lengths [ LIN8-947 ]Jun Zhang2
* fix the output of stderr & stdout to meet latest cpio Signed-off-by: Jun Zhang <jun.zhang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16cpio: Fix symlink-bad-length test for 64-bit [ LIN8-947 ] architectures.Jun Zhang2
* src/util.c: Return non-zero exit code if EOF is hit prematurely. Backport commit: http://git.savannah.gnu.org/cgit/cpio.git/commit/src/util.c?id=f6a8a2cbd2d5ca40ea94900b55b845dd5ca87328 Signed-off-by: Jun Zhang <jun.zhang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16gtk+3: fix ALTERNATIVE_PRIORITY conflict with gtk+Robert Yang1
Signed-off-by: Ross Burton <ross.burton@intel.com> Conflicts: gtk+3 and gtk+ have the same priority 10 for gtk-update-icon-cache Turn up gtk+3's priority to fix the conflict. [YOCTO #8477] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16coreutils: fix ALTERNATIVE_PRIORITY conflict with procps and mktempRobert Yang1
Signed-off-by: Ross Burton <ross.burton@intel.com> Conflicts: coreutils and procps have the same priority 100 for kill.1 coreutils and procps have the same priority 100 for uptime.1 coreutils and procps have the same priority 100 for uptime coreutils and procps have the same priority 100 for kill coreutils and mktemp have the same priority 100 for mktemp Turn down coreutils' priority to fix the conflict, the larger set of tools should use a lower priority. [YOCTO #8477] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16util-linux: fix ALTERNATIVE_PRIORITY conflict with ncurses procps and e2fsprogsRobert Yang1
Signed-off-by: Ross Burton <ross.burton@intel.com> Conflicts: util-linux and ncurses have the same priority 100 for reset util-linux and procps have the same priority 100 for kill.1 util-linux and procps have the same priority 100 for kill e2fsprogs and util-linux have the same priority 100 for libblkid.3 e2fsprogs and util-linux have the same priority 100 for blkid.8 e2fsprogs and util-linux have the same priority 100 for findfs.8 e2fsprogs and util-linux have the same priority 100 for fsck.8 Turn down util-linux' priority to fix the conflict, the larger set of tools should use a lower priority. [YOCTO #8477] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16console-tools: fix ALTERNATIVE_PRIORITY conflict with kbdRobert Yang1
Signed-off-by: Ross Burton <ross.burton@intel.com> Conflicts: console-tools and kbd have the same priority 100 for chvt console-tools and kbd have the same priority 100 for deallocvt console-tools and kbd have the same priority 100 for fgconsole console-tools and kbd have the same priority 100 for openvt Turn down console-tools' priority to fix the conflict, the larger set of tools should use a lower priority. [YOCTO #8477] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16debianutils: fix ALTERNATIVE_PRIORITY conflict with whichRobert Yang1
Signed-off-by: Ross Burton <ross.burton@intel.com> Conflicts: debianutils and which have the same priority 100 for which Turn down debianutils' priority to fix the conflict, the larger set of tools should use a lower priority. [YOCTO #8477] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16linux-dtb.inc: use same variable name DTB for all elements of KERNEL_DEVICETREEStefan Christ1
Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16linux-dtb.inc: remove unneeded 'cd'Stefan Christ1
Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16webkitgtk: Add upstream patch to fix build problemPushpal Sidhu2
From Upstream webkit: fd15a368fa73fe08d91cc1dd7ef05c0c5a3ae851 Webkit will fail to compile under certain circumstances. Please see https://bugs.webkit.org/show_bug.cgi?id=149172 for more details. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> Signed-off-by: Ross Burton <ross.burton@intel.com>