aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-02-16coreutils: fix problem with acl for 6.9 versionChenQi/coreutils-6.9-aclChen Qi
If 'acl' is not in DISTRO_FEATURES, building coreutils 6.9 would sometimes fail. The problem could be reproduced by executing the following command. `bitbake acl && bitbake coreutils -c configure && bitbake acl -c cleansstate && bitbake coreutils -c compile' Fix this problem by setting the correct value for the 'acl' PACKAGECONFIG. [YOCTO #8906] Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2016-02-13lib/oe/terminal: set workdir for konsole terminalPascal Bach
It seems that if the --workdir option is not set konsole does open in the users home directory. By setting --workdir . konsole opens in the recipes work directory. This is the same behavior as observed for other consoles. (Tested with Konsole 2.14.2 on Debian Jessie). Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-13mmc-utils: upgrade to latest git versionMaxin B. John
Removed 0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch Instead of that patch, define __SANE_USERSPACE_TYPES__ to avoid compile errors due to conflicting types for '__u64' in MIPS64/PPC64 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-13ltp: Upgrade to 20160126 and fix build on muslKhem Raj
pass -D__SANE_USERSPACE_TYPES__ to CFLAGS MIPS64/PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h prevents 64-bit userland from seeing this definition, instead defaulting to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get int-ll64.h included. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-13initscripts: start urandom after populate-volatilesJens Rehsack
In case of read-only rootfs, populoate-volatiles might be used to create some links (or bind-mounts) required for having a writable /var/lib. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-13initscripts: populate-volatiles.sh: add mount-bind featureJens Rehsack
Add ability to run "mount --bind" to populate-volatiles. Since several programs use realpath to determine several full qualified file names, there is no symlink to be resolved. So when speccing /run/lock - that's the location - not /var/run/lock because of the program is smarter than the operator/distributor. See https://github.com/rehsack/meta-jens/blob/jethro/recipes-core/initscripts/initscripts/volatiles for an example how to use the "b" feature. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-13libdrm: don't detect components that have been disabledRoss Burton
We pass --disable-cairo-tests but if cairo is in the sysroot it is detected and used, which causes problems in mass builds as cairo could be removed whilst libdrm is being built. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-13buildhistory: Fix regex to handle versions without spacesRichard Purdie
Its valid to have dependencies like XXX (=2.1) without spaces, as injected by debian.bbclass. The code was breaking these into separate components and destroying them so improve the regex to handle them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-13debian: Fix superfluous setting for RPROVIDESRichard Purdie
PKG_ can be set to something like ${MLPREFIX}<name> and the lack of expansion here means the case where MLPREFIX is empty leads to a bogus RPROVIDES. Use expansion of the variable to avoid this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-13autotools: Fix interaction with bitbake -bRichard Purdie
If you run bitbake -b on something using autotools with dependencies on m4 files, it currently fails as the TASKDEPDATA is incomplete for bitbake -b and this means the relevant macros aren't found. Work around this by adding *all* m4 files for the -b case (and show a warning). [YOCTO #8890] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-13autotools: Correct dependency search logic errorRichard Purdie
We go to the effort of finding the value of start, we should then use it rather than relying on the value of dep being preserved from the previous loop. Took me far too long to notice this issue when changing the code. Also drop an unused variable. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-12scripts/runqemu-internal: Work around qemux86 PAT bugs in linux 4.4.1Richard Purdie
Since the upgrade of qemux86 to 4.4.1 we're seeing PAT issues when starting the X server. We need to fix the problem but the failing sanity tests mask out other issues and we need a workaround. Merge this for now until we can figure out the full issue. This is better than changing the kernel defconfig or reverting to old kernel versions. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-12sanity: Bump minimum version to 1.29.0Richard Purdie
This requires the python expansion changes and allow SRCPV to work correctly without errors. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-12base.bbclass: fix support for gitsm://Patrick Ohly
Before the "Improve handling of SRCPV" change, gitsm SRC_URI entries were merely missing a dependency on git for do_fetch. But after that change, the special handling for "needsrcrev" was not applied, leading to a fetcher error (older bitbake) or even a parse error (recent bitbake). Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11linux-yocto/4.1: galileo backports and supportBruce Ashfield
Updating the 4.1 branches with backported mainline support for the galileo. a5327464dad9 iio: light: add support for ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensors 7a868ce12675 pwm-pca9685: enable ACPI device found on Galileo Gen2 9f169f0f6493 at24: enable ACPI device found on Galileo Gen2 8b662e6343a1 gpio: pca953x: support ACPI devices found on Galileo Gen2 a9939d26a6a0 gpio: pca953x: store driver_data for future use 52355b7a7fee mfd: intel_quark_i2c_gpio: support devices behind i2c bus ba850c2a9965 mfd: intel_quark_i2c_gpio: load gpio driver first 8b322e7df2bf mfd: core: redo ACPI matching of the children devices 23c1fb4bc37d i2c / ACPI: Rework I2C device scanning f7eea071b03c gpio / ACPI: Return -EPROBE_DEFER if the gpiochip was not found bdc90004c8d5 GPIO / ACPI: export acpi_gpiochip_request(free)_interrupts for module use 447db37b6df9 gpio / ACPI: Add support for retrieving GpioInt resources from a device edce965b0881 i2c: fix leaked device refcount on of_find_i2c_* error path f9b93689fdf5 i2c: core: only use set_scl for bus recovery after calling prepare_recovery a10a703575bd i2c: core: Reduce stack size of acpi_i2c_space_handler() ad91512127cd i2c: core: fix typo in comment b16ba95782f1 i2c: check for proper length of the reg property 028a8d9209b7 i2c: slave: add error messages to slave core 58551fe2320d i2c / ACPI: Assign IRQ for devices that have GpioInt automatically 85153945ad9e i2c / ACPI: Use 0 to indicate that device does not have interrupt assigned Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11linux-yocto/4.1: update to v4.1.17Bruce Ashfield
Updating to the -stable korg release with the following changes: 2d5f6b041335 Linux 4.1.17 d17367a77457 recordmcount: Fix endianness handling bug for nop_mcount 1f6d936d33f4 arm64: restore bogomips information in /proc/cpuinfo 705164dbe08f mn10300: Select CONFIG_HAVE_UID16 to fix build failure 57b7d61c2d89 fix the regression from "direct-io: Fix negative return from dio read beyond eof" 8885e7f3d76a direct-io: Fix negative return from dio read beyond eof b824d64b153a media/vivid-osd: fix info leak in ioctl 3f0cf7dcf712 staging: lustre: echo_copy.._lsm() dereferences userland pointers directly b50a2b556d1e HID: core: Avoid uninitialized buffer access c777e9ab2a44 parisc iommu: fix panic due to trying to allocate too large region e479822e1e3a iommu/vt-d: Fix ATSR handling for Root-Complex integrated endpoints f21731a54a66 arm64: mm: ensure that the zero page is visible to the page table walker 3e804c36399e arm64: Clear out any singlestep state on a ptrace detach operation 426bfb6a7784 ARM/arm64: KVM: correct PTE uncachedness check 3f0b20e1a2d8 arm64: fix building without CONFIG_UID16 f94cf332a806 arm64: KVM: Fix AArch32 to AArch64 register mapping 959cad3a68a7 ARM/arm64: KVM: test properly for a PTE's uncachedness 75f1fde24b56 arm64: kernel: pause/unpause function graph tracer in cpu_suspend() f22c64cd0745 arm64: bpf: fix mod-by-zero case 40c5dde6eb7e arm64: bpf: fix div-by-zero case 8831ded35abd recordmcount: arm64: Replace the ignored mcount call into nop a33b8ff3d6cb powerpc/module: Handle R_PPC64_ENTRY relocations 1e2c53f19cef scripts/recordmcount.pl: support data in text section on powerpc 4126ac7cdcef powerpc: Make {cmp}xchg* and their atomic_ versions fully ordered af69fe1f70af powerpc: Make value-returning atomics fully ordered 1e14dd5a3864 powerpc/powernv: pr_warn_once on unsupported OPAL_MSG type a54d3a423412 powerpc/tm: Check for already reclaimed tasks 567a215dd158 powerpc/tm: Block signal return setting invalid MSR state eeca98948d8c xfrm: dst_entries_init() per-net dst_ops 139bd872dc68 xen-netfront: update num_queues to real created a1edfa789d1a xen-netfront: respect user provided max_queues 21edf40b5ccb xen-netback: respect user provided max_queues 534e9016cd88 sctp: Prevent soft lockup when sctp_accept() is called during a timeout event 490c963c1eb9 team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid 95785b105fa2 batman-adv: Drop immediate orig_node free function ae3eb44e0e8b batman-adv: Drop immediate batadv_hard_iface free function 924224c6e44a batman-adv: Drop immediate neigh_ifinfo free function 620493a90c78 batman-adv: Drop immediate batadv_neigh_node free function 9d188c6b672c batman-adv: Drop immediate batadv_orig_ifinfo free function 34c5bf7c7bf4 batman-adv: Avoid recursive call_rcu for batadv_nc_node 016cb1d02db9 batman-adv: Avoid recursive call_rcu for batadv_bla_claim a50a93cc9928 ppp, slip: Validate VJ compression slot parameters completely 5984398539a2 isdn_ppp: Add checks for allocation failure in isdn_ppp_open() 9ba3d77689a5 tcp/dccp: fix old style declarations 479b539a3101 tcp/dccp: fix timewait races in timer handling 332fb8799ed1 bridge: fix lockdep addr_list_lock false positive splat 2980502b9f6d ipv6: update skb->csum when CE mark is propagated dc1cfcc26697 net: bpf: reject invalid shifts 2a1e5e4ab662 phonet: properly unshare skbs in phonet_rcv() 7d9fb947be67 bonding: Prevent IPv6 link local address on enslaved devices abefd1b4087b net: preserve IP control block during GSO segmentation 4bb526bce19d udp: disallow UFO for sockets with SO_NO_CHECK option e7bbeacbafc1 tcp_yeah: don't set ssthresh below 2 add92082e2d1 ipv6: tcp: add rcu locking in tcp_v6_send_synack() bcea43fb3164 net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory a33704eb6085 vxlan: fix test which detect duplicate vxlan iface 8f5cd6eea811 net: possible use after free in dst_release 02a1fef61d06 net: sched: fix missing free per cpu on qstats 5596242a6263 net: filter: make JITs zero A for SKF_AD_ALU_XOR_X a6b1d2489380 bridge: Only call /sbin/bridge-stp for the initial network namespace dc6b0ec667f6 unix: properly account for FDs passed over unix sockets f45f0213b831 connector: bump skb->users before callback invocation c000d76ec0d8 sctp: sctp should release assoc when sctp_make_abort_user return NULL in sctp_close 45d52b0b1f9f net: cdc_ncm: avoid changing RX/TX buffers on MTU changes 6866b52c56db addrconf: always initialize sysctl table data 8a39e24931d1 ipv6/addrlabel: fix ip6addrlbl_get() 57d0c018b46e veth: don’t modify ip_summed; doing so treats packets with bad checksums as good. 3fabd53542c8 xhci: refuse loading if nousb is used 3f5e25aa380d USB: cp210x: add ID for ELV Marble Sound Board 1 887c3cc2557b USB: ipaq.c: fix a timeout loop a7e83b16c8d8 USB: fix invalid memory access in hub_activate() 5241134a79fa airspy: increase USB control message buffer size abcbfda367d4 usb: xhci: fix config fail of FS hub behind a HS hub with MTT 1f6a2cc39913 ASoC: compress: Fix compress device direction check 20091f9139bc ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz 6ac84206a212 ASoC: davinci-mcasp: Fix XDATA check in mcasp_start_tx 1fce19176555 ASoC: wm8974: set cache type for regmap 5a1109e05e09 ASoC: es8328: Fix deemphasis values 64fa05313b0a ASoC: wm8962: correct addresses for HPF_C_0/1 1c98861e6467 ASoC: rsnd: fixup SCU_SYS_INT_EN1 address b309c8bf5a4a ALSA: timer: Handle disconnection more safely 2b332719b8f0 ALSA: hda - Flush the pending probe work at remove a63fabd4ac6c ALSA: hda - Fix bass pin fixup for ASUS N550JX efcf073d7fa1 ALSA: control: Avoid kernel warnings from tlv ioctl with numid 0 965b1203f399 ALSA: hrtimer: Fix stall by hrtimer_cancel() 281bedb8728f ALSA: pcm: Fix snd_pcm_hw_params struct copy in compat mode d1a55757feff ALSA: seq: Fix snd_seq_call_port_info_ioctl in compat mode dc5697eb3297 ALSA: timer: Fix double unlink of active_list ac905ca58370 ALSA: timer: Fix race among timer ioctls 042b42c579b9 ALSA: hda - fix the headset mic detection problem for a Dell laptop 466c99bd815a ALSA: timer: Harden slave timer list handling 27b496cc9e8c ALSA: usb-audio: Fix mixer ctl regression of Native Instrument devices 6aee1f8440bf ALSA: hda - Fix white noise on Dell Latitude E5550 49c9eb3db864 ALSA: seq: Fix race at timer setup and close 9a6003a362ac ALSA: seq: Fix missing NULL check at remove_events ioctl aa13585b6672 ALSA: usb: Add native DSD support for Oppo HA-1 37191bd8b4dd ALSA: hda/realtek - Fix silent headphone output on MacPro 4,1 (v2) b40f630cfe4d ALSA: hda - Set SKL+ hda controller power at freeze() and thaw() 73a5fdacba1f ALSA: usb-audio: Add sample rate inquiry quirk for AudioQuest DragonFly 271126c7cbb6 ALSA: usb-audio: Add a more accurate volume quirk for AudioQuest DragonFly 228a0e09d53a ALSA: hda - Set codec to D3 at reboot/shutdown on Thinkpads be7c9844eea1 ALSA: hda - Apply click noise workaround for Thinkpads generically dff55bf1b247 ALSA: hda - Add a fixup for Thinkpad X1 Carbon 2nd bc4d35b2c8c7 ALSA: hda - Fix noise problems on Thinkpad T440s c5e609dc5cab ALSA: hda - Add inverted dmic for Packard Bell DOTS af95ff49d83b ALSA: rme96: Fix unexpected volume reset after rate changes 9bc3da2497b3 ALSA: hda - Fix noise on Gigabyte Z170X mobo 842dd2467a24 ALSA: hda - Add fixup for Acer Aspire One Cloudbook 14 5c7e814c1b3a ALSA: hda - Apply HP headphone fixups more generically c397bc975aa4 ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in 055fb07950be ALSA: hda - Apply pin fixup for HP ProBook 6550b 29923678a8ef ALSA: hda - Add Intel Lewisburg device IDs Audio e702f5856baa ALSA: hda - Disable 64bit address for Creative HDA controllers 69bed67bc32f ipmi: move timer init to before irq is setup 8dfca273353b ipmi: Start the timer and thread on internal msgs c1a631b482a7 x86/mm: Improve switch_mm() barrier comments ae535caf02c7 x86/mm: Add barriers and document switch_mm()-vs-flush synchronization 4b6c3a55305d x86/boot: Double BOOT_HEAP_SIZE to 64KB eec2baa86479 x86/reboot/quirks: Add iMac10,1 to pci_reboot_dmi_table[] 17f33d468f4d KVM: x86: correctly print #AC in traces 8a3185c54d65 KVM: x86: expose MSR_TSC_AUX to userspace e052d6eeedf1 KVM: PPC: Book3S HV: Prohibit setting illegal transaction state in MSR 19eaffefc4b0 KVM: svm: unconditionally intercept #DB 03e572f3dda7 KVM: VMX: fix SMEP and SMAP without EPT c12a3752a390 x86/xen: don't reset vcpu_info on a cancelled suspend 702d87e2ff77 xen/gntdev: Grant maps should not be subject to NUMA balancing 3ab6a090acfb x86/signal: Fix restart_syscall number for x32 tasks c24eedeca7b8 x86/mpx: Fix instruction decoder condition Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11linux-yocto/4.4: update to v4.4.1Bruce Ashfield
Integrating the 4.4.1 stable korg update. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11nativesdk-buildtools-perl-dummy.bb: Fix variable expansion in python codeAníbal Limón
Since python expansion of bb data variables is disable in order to provide a standard interface usage for expand variables this variables aren't expanded now so change to call d.expand('${VAR}'). This API expansion change was causing to install perl in nativesdk. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11classes/testsdk: do_testsdkext avoid STAGING_DIR/BASE_WORKDIR in PATHAníbal Limón
The inclusion of STAGING_DIR/BASE_WORKDIR in PATH is contaminating the environment, i.e. when try to sanity check perl (check_perl_modules) it takes perl from STAGING_DIR causing eSDK install to fail. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11freetype: update 2.6.2 -> 2.6.3Andre McCurdy
Update LICENSE.TXT hash due to minor rewording to clarify licensing of fthash.c and fthash.h files. No changes to overall licensing. Other changes from the upstream changelog: I. IMPORTANT CHANGES - Khmer, Myanmar, Bengali, and Kannada script support has been added to the auto-hinter. II. MISCELLANEOUS - Better support of Indic scripts like Devanagari by using a top-to-bottom hinting flow. - All FreeType macros starting with two underscores have been renamed to avoid a violation of both the C and C++ standards. Example: Header macros of the form `__FOO_H__' are now called `FOO_H_'. In most cases, this should be completely transparent to the user. The exception to this is `__FTERRORS_H__', which must be sometimes undefined by the user to get FreeType error strings: Both this form and the new `FTERRORS_H_' macro are accepted for backwards compatibility. - Minor improvements mainly to the Type 1 driver. - The new CFF engine now supports all Type 2 operators except `random'. - The macro `_STANDALONE_', used for compiling the B/W and smooth rasterizers as stand-alone modules, has been renamed to `STANDALONE_', since macro names starting with an underscore and followed by an uppercase letter are reserved in both C and C++. - Function `FT_Library_SetLcdFilterWeights' now also activates custom LCD filter weights (instead of just adjusting them). - Support for `unpatented hinting' has been completely removed: Consequently, the two functions `FT_Face_CheckTrueTypePatents' and `FT_Face_SetUnpatentedHinting' now return always false, doing nothing. - The `ftgamma' demo program has been modernized; the gamma grid display has been moved from `ftview' to this program. - It is now possible to cycle through the available LCD fitlering modes. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11freetype: minor formatting improvementsAndre McCurdy
No functional changes. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11piglit: upgrade SRCREVRoss Burton
Upgrade the SRVREV to a slightly more up-to-date revision, this time from 2015-02-19. This commit in particular was chosen as it's the one before Piglit gained a hard dependnecy on python-six, which isn't yet in oe-core. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11libbsd: Security fix and update 0.8.2Armin Kuster
This update includes: CVE-2016-2090 Heap buffer overflow in fgetwln function of libbsd libbsd 0.8.1 and earlier contains a buffer overflow in the function fgetwln(). An if checks if it is necessary to reallocate memory in the target buffer. However this check is off by one, therefore an out of bounds write happens. Upstream has released version 0.8.2 to fix this. Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11gstreamer1.0-plugins-bad_git: fix gst_structure_get() etc compiler warningsAndre McCurdy
| ../../../gst-plugins-bad-1.7.1/sys/decklink/gstdecklinkaudiosrc.cpp: In function 'gboolean gst_decklink_audio_src_set_caps(GstBaseSrc*, GstCaps*)': | ../../../gst-plugins-bad-1.7.1/sys/decklink/gstdecklinkaudiosrc.cpp:315:59: error: missing sentinel in function call [-Werror=format=] | g_object_get (videosrc, "connection", &vconn, NULL); | ^ | cc1plus: all warnings being treated as errors For GStreamer functions declared with G_GNUC_NULL_TERMINATED, ie __attribute__((__sentinel__)), gcc will generate a warning if the last parameter passed to the function is not NULL (where a valid NULL in this context is defined as zero with any pointer type). The C callers to such functions within gst-plugins-bad use the C NULL definition (ie ((void*)0)), which is a valid sentinel. However the C++ NULL definition (ie 0L), is not a valid sentinel without an explicit cast to a pointer type. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11gstreamer1.0-plugins-good_git: fix gst_structure_get() compiler warningAndre McCurdy
| ../../../gst-plugins-good-1.7.1/ext/taglib/gstid3v2mux.cc: In function 'void add_image_tag(TagLib::ID3v2::Tag*, const GstTagList*, const gchar*, guint, const gchar*)': | ../../../gst-plugins-good-1.7.1/ext/taglib/gstid3v2mux.cc:468:63: error: missing sentinel in function call [-Werror=format=] | GST_TYPE_TAG_IMAGE_TYPE, &image_type, NULL)) { | ^ | cc1plus: all warnings being treated as errors gst_structure_get() is declared with G_GNUC_NULL_TERMINATED, ie __attribute__((__sentinel__)), which means gcc will generate a warning if the last parameter passed to the function is not NULL (where a valid NULL in this context is defined as zero with any pointer type). The C code callers to gst_structure_get() within gst-plugins-good use the C NULL definition (ie ((void*)0)), which is a valid sentinel. However gstid3v2mux.cc uses the C++ NULL definition (ie 0L), which is not a valid sentinel without an explicit cast to a pointer type. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11python-setuptools: Add python-compile on RDEPENDSAlejandro Hernandez
When trying to install packages using python-setuptools, compilation may fail complaining about the py_compile module not existing, this presented itself when installing pyephem for example, this patch adds python-compile to setuptools RDEPENDS to fix the issue. [YOCTO 9009] Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11qemu: Security fix CVE-2016-2198Armin Kuster
CVE-2016-2198 Qemu: usb: ehci null pointer dereference in ehci_caps_write Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11qemu: Security fix CVE-2016-2197Armin Kuster
CVE-2016-2197 Qemu: ide: ahci null pointer dereference when using FIS CLB engines Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11curl: add PACKAGECONFIG options for less common / legacy protocolsAndre McCurdy
As a result of this commit, the following protocols will now be disabled by default: DICT GOPHER IMAP IMAPS POP3 POP3S RTSP SMTP SMTPS TELNET TFTP Also add a PACKAGECONFIG option for libidn (previously disabled unconditionally). Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11classes/sanity: check_perl_modules provide output when failAníbal Limón
When check_perl_modules fail is a good idea to print perl interpeter output for debug purposes. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11oe-selftest: devtool: add another devtool add testPaul Eggleton
Add a test so we validate the following recently implemented/fixed aspects of "devtool add": * Adding from a local directory with no name specified * Auto-detecting the name and version from autoconf files * Setting SRC_URI and S from the local git repo * Showing the recipe file path in "devtool status" if it has been created within the workspace Incidentally also tests: * LICENSE and LIC_FILES_CHKSUM detection (though just for this piece of software) * Extracting a dependency from autoconf (though just for this narrow case since there's only one) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11recipetool: create: set S when we set SRC_URI from local git repoPaul Eggleton
If you specify a local directory which happens to be a git repository with an origin remote (and it is in fact remote), we can use that for SRC_URI as implemented by OE-Core revision b143d414846854dc8b3e0a47358daf5646eded38, however we also need to set S if the recipe is going to be of any use fetching from that SRC_URI later. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11recipetool: create: convert http git URLs that don't end in .git but contain ↵Paul Eggleton
/git/ When recipetool create is given a URL that starts with http(s):// and contains /git/, such as the URLs at git.yoctoproject.org, it's fairly safe to assume it's a git repository and not something that should be fetched with wget, so rewrite the URL. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11recipetool: create: ensure URL parameters don't make it into the namePaul Eggleton
When auto-detecting the name for a recipe from the URL, strip off any parameters (";name=value...") before parsing the URL, otherwise this just ends up in the recipe name which is undesirable. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11devtool: add: fix adding from a local source directoryPaul Eggleton
Fix a regression introduced in in OE-Core revision aedfc5a5db1c4b2b80a36147c9a13b31764d91dd where specifying a local source tree without specifying a name resulted in a traceback. Fixes [YOCTO #9086]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11devtool: modify: make -x the default behaviourPaul Eggleton
It's going to be more common for users not to have the prepared source tree for a recipe already, so the default behaviour ought to be to extract it for them from the recipe. Change the default to extract (effectively making the -x option a no-op) and add a --no-extract/-n option to disable it. Later we can look at trying to be smart and reusing an existing source tree instead of erroring out if it exists; for now this is just the default reversal. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11recipetool: create: determine name/version from github/bitbucket URLsPaul Eggleton
Both BitBucket and GitHub provide "release" downloads that unfortunately don't include the actual project name. For recipetool this means we have to have special handling for these URLs or else the current code assumes the name of the project is something like "v0.9.1". Borrow and adapt some code from autospec to do this, and put it in its own function for clarity. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11recipetool: create: support cmake find_library directivePaul Eggleton
CMake supports a find_library() directive to find named libraries, so detect dependencies from this. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11devtool: commit for extra tasks that modify source when extractingPaul Eggleton
When extracting source for a recipe, if there are additional custom tasks run that make changes to the source, create a commit in the generated git branch so they are contained. This is particularly useful for tasks that come before do_patch since otherwise the changes might get incorporated in the first applied patch, but otherwise it helps avoid the tree being dirty at any point. Fixes [YOCTO #7626]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11classes/externalsrc: create symlinks for workdir and logsPaul Eggleton
Auto-create symlinks in the source directory to the work directory (${WORKDIR}) and logs directory (${T}) so that they are easier for the user to find. This is particularly useful within the extensible SDK where the user is less likely to be familiar enough with the structure of the build system to know where to find these things, but otherwise they are a useful shortcut for anyone. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11classes/externalsrc: disable rm_work when activePaul Eggleton
If you're using externalsrc, it's very likely that you're going to want to examine the intermediate build results even if the recipe builds successfully; therefore you won't want rm_work to delete those. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11uninative.bbclass: capture stdout/err from patchelf-uninativePatrick Ohly
When patchelf-uninative fails, reporting only the exit code as done by subprocess.check_call() is not enough to understand the problem. We also need to capture and report the output of the command. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11db: update HOMEPAGEAndre McCurdy
The previous HOMEPAGE is no longer available. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11mdadm: update to version 3.4Maxin B. John
3.3.4 -> 3.4 a) Removed the following upstreamed patch: 1. 0001-Define-_POSIX_C_SOURCE-if-undefined.patch b) Added following patches to fix uclibc,musl and x32 build failures 1. 0001-mdadm.h-bswap-is-already-defined-in-uclibc.patch 2. 0001-util.c-include-poll.h-instead-of-sys-poll.h.patch 3. 0001-Fix-some-type-comparison-problems.patch 4. 0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-11iproute2: update to version 4.4.0Maxin B. John
4.3.0 -> 4.4.0 a) Added iproute2-fix-building-with-musl.patch to fix build with musl. b) Include below listed utilities that are not yet enabled/packaged in the iproute2 recipe: 1. lnstat 2. ifstat 3. genl 4. rtacct 5. nstat 6. ss Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-11image_types_uboot: add cpio.gz.uboot to supported IMAGE_TYPESArnold Csorvasi
U-Boot needs the U-Boot header in a ramdisk image to boot it. Add this header to the cpio.gz image, so that it can be booted with U-Boot. Signed-off-by: Arnold Csorvasi <arnold.csorvasi@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-11recipetool.newappend: add -e/--edit argumentChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-11liburcu: Add nios2 supportMarek Vasut
Add support for the nios2 into the liburcu. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-11strace: Fix build for arc, metag, nios2, or1k, tileMarek Vasut
Upstream strace 4.11 does not build for arc, metag, nios2, or1k, tile. Backport patch from strace git master to fix the build issue. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Robert Yang <liezhi.yang@windriver.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-11udhcpc: specify full path for ip command callsMark O'Donovan
Signed-off-by: Mark O'Donovan <modonovan@biotector.com> Signed-off-by: Ross Burton <ross.burton@intel.com>