summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto/4.1: galileo backports and supportBruce Ashfield2016-02-113-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 2ff6c2ca2e22eaef37ccb4025bc0b78c42695eed) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.1: update to v4.1.17Bruce Ashfield2016-02-113-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 8dd87247c224877c2948364048b736abc8e633e7) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4: update to v4.4.1Bruce Ashfield2016-02-113-16/+16
| | | | | | | | | Integrating the 4.4.1 stable korg update. (From OE-Core rev: 1a6e4c4a4c6c4556580a08a2040baa54a64eb10e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: gracefully shutdown parsersEd Bartosh2016-02-111-0/+1
| | | | | | | | | | | | CookerParser.shutdown code doesn't do all required work to shutdown parser processes. As a result bitbake hangs if interrupted during parsing. Putting None into the parser_quit queue should fix this issue as it makes parsers to quit main loop. (Bitbake rev: f67307977e8f089ce6d208d3e9de2a6a1768757e) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: buildinfohelper: unset brbe variable when build finishesElliot Smith2016-02-112-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The brbe variable is set on the bitbake server when the Toaster UI starts. This enables Toaster to associate events with the correct build and build environment. However, the brbe variable is also used when a build starts to identify whether a new build needs to be created, or an existing one looked up. This causes a bug for command-line builds which happen after a Toaster-triggered build: because the brbe variable is never unset on the server or the buildinfohelper, the new command-line build events are treated as originating from the previous build. Ensure the brbe variable is reset when the buildinfohelper "closes" a build, so that each build then either sets the brbe variable (Toaster-triggered builds) or leaves it blank (command-line builds). Also modify the localhostbecontroller so that the brbe variable is not set on the server and not looked up from the server. This ensures that it is only set when the triggerBuild() method is called, and that it remains as None for command-line builds. [YOCTO #9021] (Bitbake rev: 4a6a8d0074f62208d843b06344be31ae73d9b745) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-buildtools-perl-dummy.bb: Fix variable expansion in python codeAníbal Limón2016-02-111-2/+2
| | | | | | | | | | | | | 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. (From OE-Core rev: cb7a3f997d7278eb6e31ea79ad933a7ab1717977) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/testsdk: do_testsdkext avoid STAGING_DIR/BASE_WORKDIR in PATHAníbal Limón2016-02-111-1/+10
| | | | | | | | | | | 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. (From OE-Core rev: 32611395e1da21f6f7f7916fb8077e35ee81bb23) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* freetype: update 2.6.2 -> 2.6.3Andre McCurdy2016-02-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 798aa553e46e0141c8998399820510812d5e51b7) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* freetype: minor formatting improvementsAndre McCurdy2016-02-111-10/+12
| | | | | | | | | No functional changes. (From OE-Core rev: 77c8871c165c36a70f77b76ff6bd4c2b8be63e96) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: upgrade SRCREVRoss Burton2016-02-111-2/+2
| | | | | | | | | | | 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. (From OE-Core rev: 8ea17ed6337df4c7bb7b48a51f5e07b5ba6f3f71) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libbsd: Security fix and update 0.8.2Armin Kuster2016-02-111-2/+2
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 29053ff82bf28da45eef9d7e85d6d3ce7060daf6) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad_git: fix gst_structure_get() etc compiler warningsAndre McCurdy2016-02-112-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | ../../../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. (From OE-Core rev: 4ffc1c6ea67e65c21964fa119820b37725f5a5de) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-good_git: fix gst_structure_get() compiler warningAndre McCurdy2016-02-112-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | ../../../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. (From OE-Core rev: 91c4b8278da274a8bc1213b7cd51a1a372f218d3) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-setuptools: Add python-compile on RDEPENDSAlejandro Hernandez2016-02-111-0/+1
| | | | | | | | | | | | | | 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] (From OE-Core rev: 1348fe26a182330475ca163e87205dc162fb3f6a) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Security fix CVE-2016-2198Armin Kuster2016-02-112-0/+46
| | | | | | | | | CVE-2016-2198 Qemu: usb: ehci null pointer dereference in ehci_caps_write (From OE-Core rev: 33b5c3b4822b6bbb06ad5fdf7a120acd520f665d) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Security fix CVE-2016-2197Armin Kuster2016-02-112-0/+60
| | | | | | | | | CVE-2016-2197 Qemu: ide: ahci null pointer dereference when using FIS CLB engines (From OE-Core rev: bbc41337d28cc54d115378d4cad32f7b1c6f6cd5) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: add PACKAGECONFIG options for less common / legacy protocolsAndre McCurdy2016-02-111-9/+23
| | | | | | | | | | | | | | | 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). (From OE-Core rev: b26634900d487a22eef41e9e077d35fb347d4c29) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster: tests Remove symlinks from toasteruitest folderMihail Stanciu2016-02-112-2/+0
| | | | | | | | | | | Remove symlinks in the UI tests folder as they are causing problems for bitbake upstream. [YOCTO #8787] Signed-off-by: Mihail Stanciu <stanciux.mihail@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/sanity: check_perl_modules provide output when failAníbal Limón2016-02-111-2/+4
| | | | | | | | | | When check_perl_modules fail is a good idea to print perl interpeter output for debug purposes. (From OE-Core rev: 9e0ee11a59c545dba45947b7675f5bcef489a7c8) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-selftest: devtool: add another devtool add testPaul Eggleton2016-02-111-0/+37
| | | | | | | | | | | | | | | | | | | | | | | 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) (From OE-Core rev: d991fe7f17861dc5c21f7eac30d8c912b4d5dbed) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipetool: create: set S when we set SRC_URI from local git repoPaul Eggleton2016-02-111-0/+1
| | | | | | | | | | | | | | 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. (From OE-Core rev: 8bbbd2d63f1bc752f9a30054a089dc2caf5fd84c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipetool: create: convert http git URLs that don't end in .git but contain ↵Paul Eggleton2016-02-111-4/+6
| | | | | | | | | | | | | | /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. (From OE-Core rev: 3ca04757a670e8b6f78799cc0454d75691809ac4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipetool: create: ensure URL parameters don't make it into the namePaul Eggleton2016-02-111-1/+1
| | | | | | | | | | | 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. (From OE-Core rev: d3c46b5d0abd56bcadd4f2f1ef985f13d67f605b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: add: fix adding from a local source directoryPaul Eggleton2016-02-111-1/+1
| | | | | | | | | | | | | 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]. (From OE-Core rev: 67ea9d21f20a371a0ee443b46326018cb1527b62) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: modify: make -x the default behaviourPaul Eggleton2016-02-112-7/+10
| | | | | | | | | | | | | | | 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. (From OE-Core rev: 80a44e52609a89d9ffe816181ae193af491c06ac) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipetool: create: determine name/version from github/bitbucket URLsPaul Eggleton2016-02-111-9/+35
| | | | | | | | | | | | | | 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. (From OE-Core rev: e8435fde7f82c39cc0efe1d4bf043b29f63898e9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipetool: create: support cmake find_library directivePaul Eggleton2016-02-111-0/+10
| | | | | | | | | | CMake supports a find_library() directive to find named libraries, so detect dependencies from this. (From OE-Core rev: d0265bc67f797ee4b7760cf37335994133809abf) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: commit for extra tasks that modify source when extractingPaul Eggleton2016-02-112-13/+38
| | | | | | | | | | | | | | | | 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]. (From OE-Core rev: 997a77d9b20af1778b804778e5d8c8a7424f7582) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/externalsrc: create symlinks for workdir and logsPaul Eggleton2016-02-111-0/+20
| | | | | | | | | | | | | | 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. (From OE-Core rev: 58adb3904c18acefd0da319e32f66ebca72eeaac) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/externalsrc: disable rm_work when activePaul Eggleton2016-02-111-0/+3
| | | | | | | | | | | 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. (From OE-Core rev: c0867a425166086624bcffa231a1497291f860cb) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative.bbclass: capture stdout/err from patchelf-uninativePatrick Ohly2016-02-111-1/+7
| | | | | | | | | | | | 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. (From OE-Core rev: 87e744791e59806d0c87b37d72ff32a96bbcb929) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* db: update HOMEPAGEAndre McCurdy2016-02-112-2/+2
| | | | | | | | | The previous HOMEPAGE is no longer available. (From OE-Core rev: 24eba6f321e1152bcf60bc16ec21b0b29ab21179) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: update to version 3.4Maxin B. John2016-02-118-107/+229
| | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: e1ae012388e4321b95cd79c014af135cf6c419ad) 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>
* iproute2: update to version 4.4.0Maxin B. John2016-02-111-2/+8
| | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 4e94ba3b0b8b476e46441707d3b1ead13da4ea76) 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>
* image_types_uboot: add cpio.gz.uboot to supported IMAGE_TYPESArnold Csorvasi2016-02-111-1/+1
| | | | | | | | | | | | 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. (From OE-Core rev: 8376fa3d4ef6175b83ab7f1ec8e4e20ec14964f4) Signed-off-by: Arnold Csorvasi <arnold.csorvasi@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipetool.newappend: add -e/--edit argumentChristopher Larson2016-02-111-2/+12
| | | | | | | | (From OE-Core rev: 2bd518fe3a8cb0022a816a7d1ac8d9a3dedee6d9) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* liburcu: Add nios2 supportMarek Vasut2016-02-112-3/+149
| | | | | | | | | | | | Add support for the nios2 into the liburcu. (From OE-Core rev: c0f8be26f5a82b546e066511a405306f40bfe1a8) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Fix build for arc, metag, nios2, or1k, tileMarek Vasut2016-02-112-0/+118
| | | | | | | | | | | | | | Upstream strace 4.11 does not build for arc, metag, nios2, or1k, tile. Backport patch from strace git master to fix the build issue. (From OE-Core rev: 437aa3ec99c37db222606e77d790fd54d8b074de) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udhcpc: specify full path for ip command callsMark O'Donovan2016-02-112-15/+16
| | | | | | | | (From OE-Core rev: 97dd53468537968422569797122ddef4b779a488) Signed-off-by: Mark O'Donovan <modonovan@biotector.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-lib: avoid including <sys/poll.h> directlyAndre McCurdy2016-02-112-0/+184
| | | | | | | | | | | | | musl libc generates warnings if <sys/poll.h> is included directly. Although alsa-lib does not build with -Werror enabled, other packages which include the alsa-lib public header files (ie libasound.h) might. (From OE-Core rev: e1c837d52016fdf7861dcbefb5fefbdf23af1886) 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>
* oprofile: Add nios2 supportMarek Vasut2016-02-112-1/+32
| | | | | | | | | | | | Add support for the nios2 architecture. (From OE-Core rev: a4292d508c2747d2543302404d877fff58f8b1d1) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr: Add nios2 supportMarek Vasut2016-02-112-0/+106
| | | | | | | | | | | | Add small patch to support nios2 in NSPR. (From OE-Core rev: 4d05f82844782a0fb053b9d2c7ad53e85efdf163) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* guile: Fix nios2 supportMarek Vasut2016-02-112-0/+37
| | | | | | | | | | | | Add minor patch to recognize nios2 build target. (From OE-Core rev: b2a5f9e98fd6bd7e1deeb0cd83587eb567ed6d75) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Repair nios2 PLT and GP handlingMarek Vasut2016-02-113-0/+180
| | | | | | | | | | | | | | | | Repair corner cases in nios2 PLT and GP handling. See the patches themselves for extensive detailed explanation. The patches don't contain the ChangeLog entries, since the changelog entries often cause trouble when applying the patch. (From OE-Core rev: fdac5c38183aa96faea8d51d16ce5f54ee16f944) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Ross Burton <ross.burton@intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-meta-base: make gstreamer1.0-plugins-base-alsa conditionalAndre McCurdy2016-02-111-1/+1
| | | | | | | | | | | | | | Include gstreamer1.0-plugins-base-alsa in gstreamer1.0-meta-base only if "alsa" is present in both MACHINE and DISTRO features. Note that building of the plugin by gstreamer1.0-plugins-base is already conditional (based on the "alsa" DISTRO feature). (From OE-Core rev: 948165dce7475b815a344fd3c3d58165e6865d48) 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>
* curl: drop obsolete pkgconfig_fix.patchAndre McCurdy2016-02-112-35/+1
| | | | | | | | | | | | This patch has been carried around in oe-core for a long time. It contains two unrelated changes and neither seem to be required any more. Drop the patch. (From OE-Core rev: 27837df35db57f50b8fa7f7c6b3f2e400205deb9) 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>
* iproute2: update to version 4.4.0Maxin B. John2016-02-112-2/+27
| | | | | | | | | | | | | 4.3.0 -> 4.4.0 Added iproute2-fix-building-with-musl.patch to fix build with musl. (From OE-Core rev: c8a7fdb2ac37b42a97f666cae6b3f5061a01ad45) 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>
* quota: update to version 4.03Maxin B. John2016-02-114-89/+135
| | | | | | | | | | | | | | | | | | | 4.02 -> 4.03 a) Added PACKAGECONFIG for ldapmail b) Added the following backported patches 1. 0001-Fix-build-with-disabled-ldap.patch 2. 0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch c) Removed following patch due to changes in buildsystem 1. config-tcpwrappers.patch d) Added libnl and dbus in build-deps (From OE-Core rev: ee2c3293dd2e4b23c81444e503a672f5883316ba) 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>
* oeqa/selftest/sstatetests.py: check that PARALLEL_MAKE doesn't change signaturesRoss Burton2016-02-111-14/+20
| | | | | | | | | | There are recipes that manage to have sstate signatures that depend on PARALLEL_MAKE, so verify that changing this variable doesn't change signatures. (From OE-Core rev: 14e8026cc25394b0a6d1d2063dc36b6b295857e5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: remove unused ALLOWED_FLAGSRoss Burton2016-02-111-3/+0
| | | | | | | | | This variable hasn't been used for a *long* time, remove it from bitbake.conf. (From OE-Core rev: 91c1235a1614a0b097f0a9efdd13436412a35387) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>