Commit Graph

21065 Commits

Author SHA1 Message Date
Ming Liu 58744f8e59 groff: Fix build on Fedora 17 for 1.18.1.4
The commit 79fc5576:
[ groff: Fix build on Fedora 17 ]

was applied to 1.22.2, but it's also needed by 1.18.1.4 to solve a same
issue.

(From OE-Core rev: b019f2cdacfb64f149483df8a5b6b7b3f7943222)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-03 13:57:07 +01:00
Roxana Ciobanu ffd4e50bff gawk: fix optional dependency mpfr
Gawk was failing to compile because of the optional feature mpfr if it found
 libmpfr on build host and linked against that or mpfr existed in sysroot but
 not in deploy, or if gawk was pulled from sstate and someone had mpfr built.

 [YOCTO# 6473]

(From OE-Core rev: ec0def7cc204f402fba017264ea201956add342d)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-03 13:57:07 +01:00
Ming Liu 8a185784d2 groff: remove redundant code snippet
The exact same code snippet exists both in do_install_append and
do_install_append_class-native which is not necessary.

Remove it from do_install_append_class-native.

(From OE-Core rev: 0f107a76713cebb49004d48fd410d9f014dda4b3)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-03 13:57:07 +01:00
Roxana 0ed5a13f5f python3: fix builtins imports
The intent of this code is to generate things like -L=/usr/lib/foo so
for paths which start with "/" we should appent the "=". We should not do this
for ".". On some recent versions of binutils or patchsets on some recent
distros this appears to work differently and causes build failures, for example
on Ubuntu 14.04 LTS.

The simple fix is to check for "." as the path prefix.

[YOCTO #6467].

(From OE-Core rev: c36d459f0d40bdbd3ba809835e0475e8992bc778)

Signed-off-by: Roxana <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-30 16:36:44 +01:00
Richard Purdie 247c9a192c adt_installer: Fix sed file not found error
We need to look for the installed file within the sysroot we just installed
so add in the missing prefix. This avoids errors like:

Installing cross canadian packages for qemux86 ...
sed: no input files

[YOCTO #6443]

(From OE-Core rev: 3042dcaecadee266b1e4dcae102030c7e4802b89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-30 16:36:44 +01:00
Ionut Chisanovici 9e1c86921c oeqa/selftest/_toaster.py: fix 'IndentationError' issues
There were some indentation errors when the _toaster.py was merged into master.
This patch fix those errors.

(From OE-Core rev: 173194493294574e49874858ee7003000f41b4d6)

Signed-off-by: Ionut Chisanovici <ionutx.chisanovici@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-30 10:32:51 +01:00
Ionut Chisanovici 676c1f5c67 oeqa/selftest/toaster.py: renamed to _toaster.py
In order not to run the toaster selftests by default, we renamed to _toaster.py

(From OE-Core rev: 8da2ebba10e0128938919b39c29be40b7c1d80aa)

Signed-off-by: Ionut Chisanovici <ionutx.chisanovici@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-30 10:32:51 +01:00
Richard Purdie 6b5484d17d Revert "libusb: add missing build dependency on udev"
This reverts commit 6cebce6e355c4c7a87f4088bfa849d0a1c3439da.

Leads to build failures as nativesdk-udev doesn't exist (nor should it).

It also leads to circular dependencies and build failures from these.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-29 10:00:44 +01:00
Drew Moseley 61ab649849 classes/kernel: Use full path for symlink in update-alternatives.
Use a fully qualified path for the <path> parameter in calls
to update-alternatives.  The chkconfig-alternatives version
requires a full path and without it, the symlink is not
properly created.

(From OE-Core rev: 78ee4d8b1782445caecce8331e68efe83fc32044)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-29 09:04:22 +01:00
Richard Purdie ddb70af7d3 populate_sdk_base: Remove confusing echo
Remove a confusing echo after the previous commit, thanks for a suggestion
from Laurentiu.

(From OE-Core rev: cd1fdd05cc7457706d1e40042854c154cbb3d9e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

A
2014-06-29 09:04:22 +01:00
Dennis Meier b0a9f30e19 populate_sdk_base: add auto-completion in setup
(From OE-Core rev: d6c55f6910270e395f668c9114ec374b44c57538)

Signed-off-by: Dennis Meier <meier.dennis@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-29 09:04:22 +01:00
Paul Eggleton 4d96116f1e classes/report-error: tweak summary message
* We don't want everyone to remove their identifying info, just if they
  feel the need to
* Split lines for clarity
* A couple of grammar/spelling tweaks

(From OE-Core rev: b5c7538416e4c7a9e594edf930fa7ee844a347e6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-29 09:04:22 +01:00
Fabien Chereau 20561edd64 libusb: add missing build dependency on udev
This fixes the ./configure error in case libusb is built before udev/systemd.

(From OE-Core rev: 6cebce6e355c4c7a87f4088bfa849d0a1c3439da)

Signed-off-by: Fabien Chereau <fabien.chereau@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-29 09:04:22 +01:00
Ross Burton 442efc3959 patch.bbclass: unset TMPDIR after use
GNU Patch < 2.6.1 has a race condition so we create a per-instance TMPDIR to
avoid this.  This was implemented by setting os.environ[TMPDIR] but at the end
of do_patch the temporary directory is deleted but TMPDIR is not unset.

In general this doesn't cause a problem but if do_patch is embedded in a larger
function then TMPDIR is set to a directory that doesn't exist.  Avoid this by
removing TMPDIR from os.environ when the directory is deleted.

(From OE-Core rev: 51ea4378864f1468df2ca282a84f78a17d6861aa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-29 09:04:22 +01:00
Paul Gortmaker 0ae5aadc6b recipes-devtools: fix segfault in lib32-gcc with "." multilib_dir
When enabling a lib32-gcc in a 64 bit build, without doing any
other configuration, the mutilib dir is unspecified, which is
represented internally in gcc as "." and as such uncovers an
invalid free on a non-malloc'd pointer.

As suggested by the gcc folks, simply make sure the "." case
is also stored in a malloc'd pointer, so that the intended
runtime behaviour of the code remains unchanged.

Patch has been accepted by upstream maintainers of gcc.

(From OE-Core rev: bf1473d0c1b099b8d919835cc430b99606134aab)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-29 09:04:21 +01:00
Drew Moseley 184dddfb9a initrdscripts: Try to boot if boot label is unknown
The init-live.sh scripts assumes that the boot label set by
the LABELS variable is either "boot", "install", or
"install-efi".  If that variable is overridden to something else
we fall off the end of the case statement and the system locks
up.  If the boot label is unknown, at least attempt to boot.

(From OE-Core rev: 98353862c08be2f1724aaad7aa4ed0521e3621f2)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-29 09:04:21 +01:00
Richard Purdie 946fb184bf distutils/distutils3: Fix bashism
read -d is a bashism. Replace with a direct exec to avoid the problem
in this case. This fixes silent build failures in do_install of
tasks on systems with dash as /bin/sh.

Also merge the fix to distutils for only changing necessary files
to disutils3 as well.

(From OE-Core rev: 7d61661348cf48cbe379ae600565840ea08664b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-29 09:04:21 +01:00
Maxin B. John 68824d9b8f u-boot-fw-utils: install config file
The on-target fw_printenv and fw_setenv needs configuration file
(fw_env.config) to be present in the target.

(From OE-Core rev: b4cd268cf7506a521d7800112cb775bd49e1ef09)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:49 +01:00
Robert Yang c5713feb0c createrepo: RDEPENDS on libxml2-python
Fixed the error when run createrepo on target:
  Traceback (most recent call last):
    File "/usr/share/createrepo/genpkgmetadata.py", line 27, in <module>
      import libxml2
    File "/usr/lib64/python2.7/site-packages/libxml2.py", line 1, in <module>
  ImportError: No module named libxml2mod

(From OE-Core rev: 3ec0f411985cf6891b34e1f9624df9df38c9fc6f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:49 +01:00
Chen Qi a3cbd2d067 sudo: upgrade from 1.8.10p2 to 1.8.10p3
Upgrade sudo from 1.8.10p2 to 1.8.10p3.

[YOCTO #6457]

(From OE-Core rev: acd711f7faa98990f32b11f6235e739723ec2743)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:48 +01:00
Chen Qi 8eea757b66 initramfs-framework: get rid of udev-utils
Now that udev-utils package has been removed and 'udevadm' has been
moved to udev package, the initramfs-framework should also get rid
of the udev-utils package.

(From OE-Core rev: f0b8f08e13f395820172d16c9d4c016a0fbdbfe9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:48 +01:00
Chen Qi d3f11f8652 systemd: remove udev-utils, move 'udevadm' to udev package
The udev package RDEPENDS on the udev-utils package, and the actually
udev-utils package relies on the udev package because if there's no
udev daemon, 'udevadm' command doesn't make much sense.

Now that we have removed udev-utils package and moved 'udevadm' to
the udev package in the older udev recipe, we should do the same
for systemd.

(From OE-Core rev: 393867e8818b54255271bb70bcd7b6ffea137c0a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:48 +01:00
Chen Qi 9bb5c74729 udev: remove udev-utils, add 'udevadm' to udev package
Previously, the udev package only RRECOMMENDS udev-utils package,
but its init script in the udev package really relies on the
'udevadm' command to work properly. As a result, if 'NO_RECOMMENDATIONS'
is set to '1', errors occur at system start-up.

The udev-utils package only contains one file, that is /bin/udevadm.
So it's better that we remove the udev-utils package and move the
'udevadm' command to the udev package.

[YOCTO #6388]

(From OE-Core rev: 4814a7a85ccff74923a554bdc11820fceff84e2e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:48 +01:00
Denys Dmytriyenko 2ecb89961b udev-cache.default: set PROBE_PLATFORM_BUS to "yes" by default
Force probing of "platform" bus by default.

(From OE-Core rev: 6aae37c66fb6e7153b829ad860b7e7f94e804bd4)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:48 +01:00
Denys Dmytriyenko e508220e41 udev: update init script for conditional probing of platform bus
Make probing of "platform" bus conditional based on PROBE_PLATFORM_BUS
variable from /etc/default/udev-cache on subsequent boots when udev
cache is used. PROBE_PLATFORM_BUS has to be set to "yes" in order to
force probing on every boot, otherwise it uses the old default behaviour
of probing it just the first time.

This is helpful on modern SoCs where most of the low level peripheral
drivers are registered on the platform bus and need to be probed to load
the necessary modules and enable the connected buses and subsystems.

(From OE-Core rev: 70a695735e0a7d14448f2f5a9986bfe105210a91)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:48 +01:00
Richard Purdie 3da016249c own-mirrors: Add gitsm:// mirror support
(From OE-Core rev: 2abc6923956a3ebf8c0a00122ce605b8ec10ceb7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:48 +01:00
Richard Purdie b7c077ac79 gtk-doc: Add pkgconfig inherit
Anything using gtk-doc will be using pkgconfig as well so
add in the dependency rather than doing it for each and every recipe.

(From OE-Core rev: 7ee05554c55607d9aa02f9a93762e2024bcd4bb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:48 +01:00
Richard Purdie c3c1ceb7a0 libsdl: Convert to use pkg-config in internal m4 macros
Rather than code which doesn't even work properly when cross compiling,
lets just use pkg-config instead. Its a little simpler.

(From OE-Core rev: b550572bdad318aed02230496721430eec89c937)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:48 +01:00
Richard Purdie 0f182ed53c gst-openmax: Add missing pkgconfig inherit
(From OE-Core rev: 0f11090e566ae13fe76c4273655db320a87ba7ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:47 +01:00
Mark Hatle 94dbe8515d lib/oe/package_manager.py: Add processing for alternative SDK_OS
For the meta-mingw layer, we need to process alternative SDK_OS, since this
is not a Linux based OS.

(From OE-Core rev: b31e015d2e379c24610948d345c5970545887468)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:47 +01:00
Mark Hatle e110809a52 gcc-cross-canadian: Add configure-target-libgcc
While we're not going to package the libgcc component as part of the SDK,
we do need to generate it to get the unwind, and quadmath headers.  Without
this change it is not possible to build eglibc or other components that
require these headers with the SDK toolchain.

(From OE-Core rev: e67b24401a366b20644510703c7140be975869ea)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:47 +01:00
Mark Hatle d9cdeac6d7 populate_sdk: Fix TOOLCHAIN_TARGET_TASK_ATTEMPTONLY implementation
The variable was only partially implemented, and the part that was there
was named incorrectly to, missing the 'TASK' piece.

(From OE-Core rev: d0cb34cfe9a51fd8bc1e6e28c8eda60a25adc1ec)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:47 +01:00
Mark Hatle 03679b7e66 classes/package_rpm.bbclass: Fix SDK Suffix reference
The meta-mingw layer attempts to change the SDK Suffix, but the rpm
packaging had a hard coded reference to _nativesdk.

I did a quick scan for other hard coded entries and did not fine any
more.

(From OE-Core rev: 0d3f7a753f17fa8c455f64e3df3259ef1887fd8a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:47 +01:00
Saul Wold 97294829cd curl: Convert CURLGNUTL to PACKAGECONFIG
This will allow for easier configuration of curl for SSL vs gnutls

[YOCTO #6329]

(From OE-Core rev: 6a8144390eb2dee6e1baf7be75cffcacbb247002)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:47 +01:00
Saul Wold 224a183c05 ca-certificates: Update to 20140325
Changes to debian/copyright:
Update to "Copyright: Mozilla Contributors" for mozilla/{certdata.txt,nssckbi.h}

Backported on additional patch from ca-certificates tree

[YOCTO #6454]

(From OE-Core rev: 3af33d60f03afb19543247b5350137ff3a7ee7e0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:47 +01:00
Saul Wold 2f9fd473d2 mobile-broadband-provider-info: Update SRCREV
(From OE-Core rev: 684c9c8261494e3b66e37052c487c4449d8f9b01)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:47 +01:00
Saul Wold 0edf84484c man-pages: Update to 3.69
(From OE-Core rev: 4fe42df0b384383c57d9bf16d0a725778b3477ad)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:47 +01:00
Saul Wold 4bbfa0d864 xcb-util-renderutil: Update to version 0.3.9
Updated LIC_FILES_CHKSUM to focus only on header section
no license changes

(From OE-Core rev: 2832cb12b31f171e06b9bdd4e496682813301baf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:46 +01:00
Saul Wold 6e392abb99 curl: Update to 7.37
Remove patches that are fixed upstream

(From OE-Core rev: d5d169af2b34596deb3997c2bfa7398c447c4fac)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:46 +01:00
Saul Wold ee140962f3 gnupg: Update to 2.0.23
(From OE-Core rev: ea397e7060fcb92b0b31c3de7c498c0df3f55ac4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:46 +01:00
Saul Wold 9624793f85 liburcu: Update to 0.8.4
Removed patch fixed upstream

(From OE-Core rev: 08a136e6fd9b598fc11787752b1a0a5c53e898ec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:46 +01:00
Saul Wold c23e597532 libusb1: Update to 1.0.19
(From OE-Core rev: 94368a16636b05dc21db564a0a55e0a705fbfa29)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:46 +01:00
Saul Wold 1bcd736e73 sqlite3: Update to 3.8.5.0
(From OE-Core rev: 6b3ac5de53417f130f5335b88aa78f1bd655c4e0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:46 +01:00
Ash Charles 02a6b7b205 u-boot: Optionally deploy an environment or script file
Some boards are configured to read a script or environment file as part
of the u-boot boot sequence.  This file, typically called 'uEnv.txt' or
'boot.scr', would be deployed alongside the u-boot binary.  If a recipe
uses this u-boot.inc, such a file can be deployed by setting the optional
UBOOT_ENV parameter and including the file in the SRC_URI.  For example:

    SRC_URI_append_overo = "file://uEnv.txt"
    UBOOT_ENV_overo = "uEnv"

(From OE-Core rev: 1506c40c93651356b9fe2f7184b5e26f99e22686)

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:46 +01:00
Ross Burton f3d2e32a14 cmake.bbclass: restore OECMAKE_SOURCEPATH
Some packages put their CMakeLists.txt file in a subdirectory, so assuming that
it is in ${S} won't work.

Restore OECMAKE_SOURCEPATH (defaulting to ${S}) so that the location of
CMakeLists.txt can be set if required.

Based on a patch by Miroslav Keš <miroslav.kes@gmail.com>

(From OE-Core rev: 2c23d7ab913a636aa0ab6a6e899cf6211d1e2714)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:46 +01:00
Richard Purdie 540b7a196a binutils: Add fix for recent patch on older gcc
The recent bintuils patch update breaks on older gccs such as CentOS 6.
Backport a patch to address this.

(From OE-Core rev: 76f65e73081f52cea718ef164f9d1d7a5c65d537)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:46 +01:00
H.J. Lu ad07178802 binutils: Apply the proper fix for PR 16428
It is fixed by

commit 4199e3b8669d0a36448687850374fdc2ad7240b6
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 15 21:50:55 2014 +1030

    non-PIC references to __ehdr_start in pie and shared

    Rather than hacking every backend to not discard dynamic relocations
    against an undefined hidden __ehdr_start, make it appear to be defined
    early.  We want __ehdr_start hidden before size_dynamic_sections so
    that it isn't put in .dynsym, but we do need the dynamic relocations
    for a PIE or shared library with a non-PIC reference.  Defining it
    early is wrong if we don't actually define the symbol later to its
    proper value.  (In some cases we want to leave the symbol undefined,
    for example, when the ELF header isn't loaded, and we don't have this
    infomation available in before_allocation.)

So replace the existing patches with this one.

(From OE-Core rev: db37534c412ff3f1460687611060b3c4b3f95a04)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25 13:51:45 +01:00
Kai Kang 3c7b5ec1ca syslinux: fix isohybird overflows on 32 bit system
When call isohybrid with option '-u', it overflows on a 32 bits host. It
seeks to 512 bytes before the end of the image to install gpt header. If
the size of image is larger than LONG_MAX, it overflows fseek() and
cause error:

isohybrid: wrlinux-image-x86-64-20140505110100.iso: seek error - 8: Invalid argument

Replace fseek with fseeko to fix this issue.

(From OE-Core rev: 41bd9dbf6f3e0add6a9e2cb20cfcbff44d785ea4)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-24 19:54:12 +01:00
Yao Xinpan cc480eafe5 nfs-utils: fix the --with-statdpath= flag
if --with-statdpath= is not the default value, will happen the following questions:
'Failed to open directory sm: No such file or directory'.

Submitted to nfs-utils mailing list here:

    http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=3b1457d219ceb1058d44bacc657581f13437ae40#patch1

This has been accepted into upstream nfs-utils so it will not be needed
for future versions.

(From OE-Core rev: 15dbdfc6a7e3f03862d9c670ffd2ae8f4d9d8b69)

Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-24 19:54:12 +01:00
Ming Liu df7f5847e1 gummiboot.bbclass: Ensure MLPREFIX is applied to depends flag
Add MLPREFIX to depends flag to ensure the correct gummiboot is
dependended upon.

(From OE-Core rev: 9ed2b77aafe5bcd57da56377e6e58dae0c1fcfaf)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-24 19:54:12 +01:00