Richard Purdie [Fri, 12 Feb 2016 11:34:07 +0000 (11:34 +0000)]
autotools: Correct dependency search logic error
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>
Richard Purdie [Fri, 12 Feb 2016 18:00:00 +0000 (18:00 +0000)]
scripts/runqemu-internal: Work around qemux86 PAT bugs in linux 4.4.1
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>
Patrick Ohly [Fri, 12 Feb 2016 07:47:23 +0000 (08:47 +0100)]
base.bbclass: fix support for gitsm://
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>
Bruce Ashfield [Thu, 11 Feb 2016 15:08:16 +0000 (10:08 -0500)]
linux-yocto/4.1: galileo backports and support
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>
Bruce Ashfield [Thu, 11 Feb 2016 15:08:15 +0000 (10:08 -0500)]
linux-yocto/4.1: update to v4.1.17
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>
Aníbal Limón [Thu, 11 Feb 2016 22:08:06 +0000 (16:08 -0600)]
nativesdk-buildtools-perl-dummy.bb: Fix variable expansion in python code
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>
Aníbal Limón [Thu, 11 Feb 2016 22:08:05 +0000 (16:08 -0600)]
classes/testsdk: do_testsdkext avoid STAGING_DIR/BASE_WORKDIR in PATH
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>
Andre McCurdy [Wed, 10 Feb 2016 23:19:38 +0000 (15:19 -0800)]
freetype: update 2.6.2 -> 2.6.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.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 10 Feb 2016 22:56:35 +0000 (22:56 +0000)]
piglit: upgrade SRCREV
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>
Armin Kuster [Wed, 10 Feb 2016 22:18:24 +0000 (14:18 -0800)]
libbsd: Security fix and update 0.8.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.
Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| ../../../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>
| ../../../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>
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>
Paul Eggleton [Thu, 11 Feb 2016 01:13:36 +0000 (14:13 +1300)]
oe-selftest: devtool: add another devtool add test
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>
Paul Eggleton [Thu, 11 Feb 2016 01:13:35 +0000 (14:13 +1300)]
recipetool: create: set S when we set SRC_URI from local git repo
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>
Paul Eggleton [Thu, 11 Feb 2016 01:13:34 +0000 (14:13 +1300)]
recipetool: create: convert http git URLs that don't end in .git but contain /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>
Paul Eggleton [Thu, 11 Feb 2016 01:13:33 +0000 (14:13 +1300)]
recipetool: create: ensure URL parameters don't make it into the name
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>
Paul Eggleton [Thu, 11 Feb 2016 01:13:32 +0000 (14:13 +1300)]
devtool: add: fix adding from a local source directory
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>
Paul Eggleton [Thu, 11 Feb 2016 01:13:31 +0000 (14:13 +1300)]
devtool: modify: make -x the default behaviour
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>
Paul Eggleton [Thu, 11 Feb 2016 01:13:30 +0000 (14:13 +1300)]
recipetool: create: determine name/version from github/bitbucket URLs
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>
Paul Eggleton [Thu, 11 Feb 2016 01:13:28 +0000 (14:13 +1300)]
devtool: commit for extra tasks that modify source when extracting
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>
Paul Eggleton [Thu, 11 Feb 2016 01:13:27 +0000 (14:13 +1300)]
classes/externalsrc: create symlinks for workdir and logs
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>
Paul Eggleton [Thu, 11 Feb 2016 01:13:26 +0000 (14:13 +1300)]
classes/externalsrc: disable rm_work when active
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>
Patrick Ohly [Thu, 11 Feb 2016 06:59:42 +0000 (07:59 +0100)]
uninative.bbclass: capture stdout/err from patchelf-uninative
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>
Maxin B. John [Wed, 10 Feb 2016 16:35:12 +0000 (18:35 +0200)]
mdadm: update to version 3.4
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>
Maxin B. John [Wed, 10 Feb 2016 12:10:10 +0000 (14:10 +0200)]
iproute2: update to version 4.4.0
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>
Marek Vasut [Wed, 10 Feb 2016 00:04:05 +0000 (01:04 +0100)]
liburcu: Add nios2 support
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>
Marek Vasut [Wed, 10 Feb 2016 00:04:00 +0000 (01:04 +0100)]
strace: Fix build for arc, metag, nios2, or1k, tile
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>
Marek Vasut [Wed, 10 Feb 2016 00:04:06 +0000 (01:04 +0100)]
oprofile: Add nios2 support
Add support for the nios2 architecture.
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>
Marek Vasut [Wed, 10 Feb 2016 00:04:04 +0000 (01:04 +0100)]
nspr: Add nios2 support
Add small patch to support nios2 in NSPR.
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>
Marek Vasut [Wed, 10 Feb 2016 00:04:03 +0000 (01:04 +0100)]
guile: Fix nios2 support
Add minor patch to recognize nios2 build target.
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>
Marek Vasut [Wed, 10 Feb 2016 00:04:01 +0000 (01:04 +0100)]
binutils: Repair nios2 PLT and GP handling
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.
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>
Andre McCurdy [Tue, 9 Feb 2016 19:02:06 +0000 (11:02 -0800)]
curl: drop obsolete pkgconfig_fix.patch
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.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Maxin B. John [Tue, 9 Feb 2016 17:48:50 +0000 (19:48 +0200)]
quota: update to version 4.03
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
Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Mike Crowe [Mon, 8 Feb 2016 21:29:10 +0000 (21:29 +0000)]
hdparm: Explicitly set EXTRA_OEMAKE as required
This recipe currently relies on EXTRA_OEMAKE having been to set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make
this explicit so that the default in bitbake.conf can be changed.
Unlike the other recipes that I've fixed recently, this one manifests
itself in a more subtle way by failing a QA check.
Reported-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* update SRC_URI and checksum.
* add PACKAGECONFIG to offer choice of crypto implementation (for sha1 functions)
* use libcrypto by default. In upstream commit a24bdce4, support for
SHA-1 was copied from xserver repo, so let's use the same default for
--with-sha1 option that we use in xserver recipe in OE core.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
Randy MacLeod [Tue, 9 Feb 2016 02:46:50 +0000 (21:46 -0500)]
Remove obsolete references to exmap
Exmap was a useful tool but it appears to be unsupported.
Remove it from the sample local.conf and remove the
commented lines from the profile tools packagegroup.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Markus Lehtonen [Mon, 8 Feb 2016 15:20:06 +0000 (17:20 +0200)]
sign_package_feed.bbclass: fix task dependencies
This dependency was already added to sign_rpm.bbclass. However, the same dep needs to be
added to sign_package_feed.bbclass, too, to cover the case where rpm
signing is disabled but package feed signing is enabled.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Patrick Ohly [Mon, 8 Feb 2016 15:14:09 +0000 (16:14 +0100)]
meta/conf/layer.conf: adapt to more flexible initramfs-framework RDEPENDS
initramfs-framework now RDEPENDS on ${VIRTUAL-RUNTIME_base-utils},
which can be busybox or some alternative like toybox. Making the
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS exception flexible, too, ensures that
distros using toybox still pass the selftests.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross Burton [Mon, 8 Feb 2016 15:00:24 +0000 (15:00 +0000)]
tune-corei7.inc: tell qemu to emulate a matching processor
If tune-corei7 is in use then the target binaries may contain instructions that
qemu-x86-64 can't execute by default, resulting in errors on rootfs construction:
In this case the instruction is popcnt, part of SSE4.2, so tell Qemu to emulate
the CPU that the tune targets (in this case, Nehalem). Also pass check=false as
the Nehalem machine supports VME but user-space qemu doesn't, which produces a
warning unless CPUID checking is disabled.
[ YOCTO #8888 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
Ross Burton [Wed, 10 Feb 2016 14:04:04 +0000 (14:04 +0000)]
python: merge python-elementtree into python-xml
python-xml depends on python-elementtree as the latter just contains a C library
used by the former. However there's no point to this split apart from
increasing the number of packages, so merge -elementtree into python-xml.
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Maciej Borzecki [Wed, 10 Feb 2016 12:32:55 +0000 (13:32 +0100)]
systemd: tighten timesyncd and journal-gateway user accounts
Make sure that systemd-timesync and systemd-journal-gateway are created
without dedicated home directories, home set to / and /bin/nologin as
shell. This makes us in sync with what systemd-sysusers sets when
adding users during startup.
Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Maciej Borzecki [Wed, 10 Feb 2016 12:32:53 +0000 (13:32 +0100)]
systemd: extend PACKAGECONFIG flags
We currently ship a rather full-blown setup of system. Very few
configuration knobs are actually exposed through PACKAGECONFIG
flags. This patch adds new PACKAGECONFIG flags for some finer tuning of
systemd's functionality. The default setting attempts to preserve all of
the features that were previously auto-enabled.
Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Maciej Borzecki [Wed, 10 Feb 2016 12:32:54 +0000 (13:32 +0100)]
systemd: move some tools into systemd-extra-utils package
This patch attempts to split some of the extra functionality delivered
by systemd utilities from the main package into a separate package. This
allows for trimming the size of a default systemd installation down to
~7MB with all configuration features disabled. The new
systemd-extra-utils package is added to RRECOMMENDS so that by default
it will get installed into the target image.
Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Maciej Borzecki [Wed, 10 Feb 2016 12:32:52 +0000 (13:32 +0100)]
classes/useradd: handle whitespace only USERADD/GROUPADD/GROUPMEMS
Useradd attempts to add users/groups even when
{USERADD,GROUPADD,GROUPMEMS}_PARAM is whitespace only. This scenario is
possible when variables and modified using one of +=, =+ operator, yet
the content being added is conditional (i.e. may depend on PACKAGECONFIG
flags).
Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andre McCurdy [Wed, 10 Feb 2016 17:43:34 +0000 (17:43 +0000)]
gdb: build fix for MIPS + musl libc
The MIPS specific header <sgidefs.h> is provided by glibc and uclibc
but not by musl. Regardless of the libc, the kernel headers provide
<asm/sgidefs.h> which provides the same definitions, so use that
instead.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andre McCurdy [Wed, 10 Feb 2016 17:43:33 +0000 (17:43 +0000)]
strace: build fix for MIPS + musl libc
The MIPS specific header <sgidefs.h> is provided by glibc and uclibc
but not by musl. Regardless of the libc, the kernel headers provide
<asm/sgidefs.h> which provides the same definitions, so use that
instead.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 10 Feb 2016 17:43:32 +0000 (17:43 +0000)]
uclibc: fetch from master branch not 1.0
The SRC_URI was fetching from the "1.0" branch but the uclibc maintainers appear
to have removed this, presumably because it's synonymous with master as all of
the releases are also on the master branch.
[ YOCTO #9074 ]
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Wed, 10 Feb 2016 17:43:31 +0000 (17:43 +0000)]
uclibc-ng: Bump up to 1.0.12 release
Here are changes between 1.0.11 and 1.0.12
release 1.0.12 - Chimay Brune
Leonid Lisovskiy (5):
libdl: dlopen() mustn't forget RTLD_NODELETE flag
tests: Extend OMIT LDFLAGS logic to test binaries too
Provide __adjtimex() alias, like glibc.
ldso: Fix fail of $ORIGIN expansion in case of RTLD_NOLOAD
ldso: Use single rtld_flags interpretation through all the calls
Waldemar Brodkorb (11):
Suppress warning "_GNU_SOURCE" redefined
hppa: unbreak toolchain building
test: disable tests requiring math headers
nios2: allow to build toolchain
add exp10() from glibc
Do not follow compressed items forever.
Make sure to always terminate decoded string
add $ORIGIN test-case
mips64: fix memcpy, patch from glibc
mips: fix clashing symbols
bump version for release
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 10 Feb 2016 18:25:59 +0000 (18:25 +0000)]
e2fsprogs: Fix multiple xattr handling
There is an ordering issue when adding multiple xattr values to
an ext filesystem build using the -d option to mkfs. This patch
fixes that issue. Its been posted for discussion with the upstream
community.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 11 Feb 2016 12:12:41 +0000 (12:12 +0000)]
cdrtools-native: Explicitly set EXTRA_OEMAKE as required
This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be change
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 11 Feb 2016 12:11:16 +0000 (12:11 +0000)]
oeqa/prservice: Fix whitespace problem
Recent bitbake changes mean the whitespace formatting around the way functions are
defined, changed which broke the rather ugly construct this test uses to append to
a python function. This really needs to be rewritten and improved but fix the
whitespace so at least the tests work again and other regressions don't creep in.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mike Crowe [Fri, 5 Feb 2016 18:04:30 +0000 (18:04 +0000)]
ptest-runner: Explicitly set EXTRA_OEMAKE as required
This recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.
Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>