scm/bb/tizen-distro.git
10 years agobitbake: toaster-requirements.txt: document requirements for the python environment
Alexandru DAMIAN [Thu, 17 Jul 2014 14:30:17 +0000 (15:30 +0100)]
bitbake: toaster-requirements.txt: document requirements for the python environment

Since Toaster adds a number of specific requirements managed
by pip, we document these requirements in order to be able
to run bitbake and toaster under virtualenv. The target here
is to break the dependency on distro packages for specific
python libraries.

In order to start bitbake/Toaster in a distro-independent manner,
we use virtualenv and pip. We add venv to the .gitignore list
to make room for the virtualenv deployment in this directory.

Use this command sequence to setup the virtualenv:

$ virtualenv venv
$ . venv/bin/activate
$ cat toaster-requirements.txt | xargs pip install

bitbake and Toaster will then run normally under virtualenv.

We also fix bugs related to toaster starting in managed mode
through this script:
  * toaster will not use bldcontrol application in interactive mode
  * a proper message will be displayed if toaster detects a managed
start request in a build environment

(Bitbake rev: b5789c7ea7e6d1a4b67ec60fc0e4233ec543ba3a)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: properly set layers when running a build
Alexandru DAMIAN [Tue, 15 Jul 2014 18:31:10 +0000 (19:31 +0100)]
bitbake: toaster: properly set layers when running a build

This patch enables the localhost build controller to
properly set the layers before the build runs.

It creates the checkout directories under BuildEnvironment
sourcedir directory, and runs the build in the buildir
directory.

Build launch errors are tracked in the newly added BRError table.
These are different from build errors, in the sense that the
build can't start due to these errors.

(Bitbake rev: 1868d5635b517e0fe1b874674ea7a78910b26e2e)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add project main edit page
Alexandru DAMIAN [Mon, 30 Jun 2014 17:33:04 +0000 (18:33 +0100)]
bitbake: toaster: add project main edit page

This is the first commit on the project main edit page.

At this point we have:
* the default settings for a newly created project
* the ability to add targets
* the ability to trigger a build command, and have
the build executed

Project layers now have an optional field, allowing for
removal. Default meta, meta-yocto and meta-yocto-bsp
layers cannot be optional.

We add XHR calls for interactivity in the main page.

(Bitbake rev: 4e438854120cbd10319df1b571ec93e334002325)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: move bldcontrol initial_data fixture to code
Alexandru DAMIAN [Tue, 15 Jul 2014 13:14:56 +0000 (14:14 +0100)]
bitbake: toaster: move bldcontrol initial_data fixture to code

We move the initial_data fixture to a code migration,
in order to make sure that we don't overwrite modified data.

The data is inserted only if no data is present, instead
of always overwriting the entry.

The check settings returns 0 if the check was ok.

(Bitbake rev: 525c316ac95c06c52fbcfc836ca5599ee9dbfe8b)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: improved Project models
Alexandru DAMIAN [Tue, 15 Jul 2014 12:01:56 +0000 (13:01 +0100)]
bitbake: toaster: improved Project models

A layer may live in a subdirectory of a git repository,
so we add a field to track this setting in the Project layers.

We add the Project schedule_build function, which creates
a build request from the current project configuration.

We also fix an import problem with Projects in views.

(Bitbake rev: 1b5835e5d48cbfb7d38e38437c45d161052dfb37)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add fields for sourcedir and builddir paths
Alexandru DAMIAN [Tue, 15 Jul 2014 11:35:43 +0000 (12:35 +0100)]
bitbake: toaster: add fields for sourcedir and builddir paths

We add explicit absolute paths for a directory where
the layer sources will be checked out (sourcedir) and
where the build activities will take place.

Adding minimal checking when starting the application in
order to make sure that BuildEnvironment (BE) settings are
usable. This check is ran by the toaster script at startup.

Modify the localhost bbcontroller to use the BE settings
instead of trying to self-configure on checked out sources.

(Bitbake rev: d17500d3f73fdeeef5f11fb3773a65e927be3f02)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: "per-package" should say "per-recipe"
Robert P. J. Day [Tue, 22 Jul 2014 21:54:42 +0000 (17:54 -0400)]
bitbake: "per-package" should say "per-recipe"

(Bitbake rev: 1cd369883469747a8158826bb8d67dcca2a8577f)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: Updated the the example 'bitbake -h' output to match the actual output,...
Scott Rifenbark [Mon, 7 Jul 2014 06:11:34 +0000 (09:11 +0300)]
bitbake: Updated the the example 'bitbake -h' output to match the actual output, which has been recently patched to fix the '-S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER' option.

Note also, that I have added a new option that has since appeared
in the output but was not in the manual's example.  That option
added is '--token=XMLRPCTOKEN'.

Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(Bitbake rev: 8fbffd25d42f1f2d9a85ae1d9cc4852e835730d4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2: Add module for ClearCase (ccrc://)
Dennis Meier [Thu, 17 Jul 2014 09:23:45 +0000 (11:23 +0200)]
bitbake: fetch2: Add module for ClearCase (ccrc://)

The clearcase fetcher is used to retrieve files from a ClearCase
(http://en.wikipedia.org/wiki/Rational_ClearCase) repository.

Usage in the recipe:

    SRC_URI = "ccrc://cc.example.org/ccrc;vob=/example_vob;module=/example_module"
    SRCREV = "EXAMPLE_CLEARCASE_TAG"
    PV = "${@d.getVar("SRCREV").replace("/", "+")}"

The fetcher uses the rcleartool or cleartool remote client, depending on which one is available.

Supported SRC_URI options are:

- vob
    (required) The name of the clearcase VOB (with prepending "/")

- module
    The module in the selected VOB (with prepending "/")

    The module and vob parameters are combined to create
    the following load rule in the view config spec:
                load <vob><module>

- proto
    http or https

Related variables:

    CCASE_CUSTOM_CONFIG_SPEC
            Write a config spec to this variable in your recipe to use it instead
            of the default config spec generated by this fetcher.
            Please note that the SRCREV loses its functionality if you specify
            this variable. SRCREV is still used to label the archive after a fetch,
            but it doesn't define what's fetched.

User credentials:

    When using cleartool:
            The login of cleartool is handled by the system. No special steps needed.

    When using rcleartool:
            In order to use rcleartool with authenticated users an `rcleartool login` is
            necessary before using the fetcher.

(Bitbake rev: 76cff0aaad4cf10b325bceadd8ea90b3d75edcc2)

Signed-off-by: Dennis Meier <meier.dennis@siemens.com>
Reviewed-by: Roger Meier <r.meier@siemens.com>
Reviewed-by: Christian Liechti <christian.liechti@siemens.com>
Reviewed-by: Henrique Mendonca <henrique.mendonca@siemens.com>
Reviewed-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: command/runqueue: Fix shutdown logic
Richard Purdie [Mon, 21 Jul 2014 08:35:53 +0000 (09:35 +0100)]
bitbake: command/runqueue: Fix shutdown logic

If you hit Ctrl+C at the right point, the system processes the request
but merrily continues building. It turns out finish_runqueue() is called
but this doesn't stop the later generation and execution of the
runqueue.

This patch adjusts some of the conditionals to ensure the build really
does stop.

(Bitbake rev: 39b08c604ba713100e174c136f81f18eca6ef33d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowget: Remove unneeded DEPENDS line
Richard Purdie [Mon, 21 Jul 2014 18:10:20 +0000 (19:10 +0100)]
wget: Remove unneeded DEPENDS line

(From OE-Core rev: 6bc3696d8451a23d743daf03ee98c4ba54ce4551)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-tools: Disable use of GTK+ when not using X11
Otavio Salvador [Fri, 18 Jul 2014 16:47:06 +0000 (13:47 -0300)]
alsa-tools: Disable use of GTK+ when not using X11

The GTK+3 does not provide support for DirectFB backend so we cannot
enable GTK+ features of alsa-tools in this case; GTK+2 does not provide
support for Wayland.

This patch changes GTK+ support to be enabled only when X11 support is
enabled.

(From OE-Core rev: 3af5ed10f93de6def9342f710f3c6b94219a4c7e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildtools-tarball: Add wget to buildtools-tarball
Tudor Florea [Sun, 20 Jul 2014 20:00:43 +0000 (22:00 +0200)]
buildtools-tarball: Add wget to buildtools-tarball

GNU Wget cannot be upgrated to a newer that 1.12 version on supported
Centos distro. GNU Wget 1.12 and earlier uses a server-provided filename
instead of the original URL to determine the destination filename of a
download.
This means the files downloaded when fetching cannot be properly used:
$ wget http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz
$ ls
eventlog_0.2.13.tar.gz?AWSAccessKeyId=AKIAICTJ5MANGPMOH7JA&Expires=1400838672&Signature=TjakOBpOvHtEKKDgF14iVinWpY0=
This in turn lead to build errors like:
WARNING: Failed to fetch URL http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz, attempting MIRRORS if available
ERROR: Fetcher failure for URL: 'http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz&#39;. The fetch command returned success for url http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz but /path/to/downloads/eventlog_0.2.13.tar.gz doesn't exist?!
ERROR: Function failed: Fetcher failure for URL: 'http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz&#39;. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /path/to/tmp/work/ppce500v2-enea-linux-gnuspe/eventlog/0.2.13-r0/temp/log.do_fetch.28302
ERROR: Task 4 (/path/to/poky/meta-openembedded/meta-oe/recipes-support/eventlog/eventlog_0.2.13.bb, do_fetch) failed with exit code '1'

[YOCTO #6549]

(From OE-Core rev: 16dcc820af60f1a875c9b3b13b545a78124ddd7f)

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: Add PACKAGECONFIG for acl/attr
Richard Purdie [Mon, 21 Jul 2014 08:31:12 +0000 (09:31 +0100)]
shadow: Add PACKAGECONFIG for acl/attr

Otherwise builds are not deterministic.

(From OE-Core rev: 11e02c05da6945c24092ec06493cdafa2dcdbe0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibomxil-0.9.3: Remove versioning for .so files.
Drew Moseley [Sun, 20 Jul 2014 20:13:36 +0000 (16:13 -0400)]
libomxil-0.9.3: Remove versioning for .so files.

The so files installed by libomxil are not versioned and should
be installed without version-based symlinks so that omxregister-bellagio
can properly find and register them.

(From OE-Core rev: aa99817ad02c153361b2707d6fc81c09e72f4b8f)

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake: update help message for dump-signatures
Robert Yang [Fri, 4 Jul 2014 05:39:04 +0000 (22:39 -0700)]
bitbake: bitbake: update help message for dump-signatures

The bitbake -S had been updated which always reuires an argument, so
update the help info:
- Add the two args in the help message: none and printdiff

- Use type="choice" so that we can get more friendly error messages,
  for example:
  bitbake: error: option -S: invalid choice: 'printdiffX' (choose from 'none', 'printdiff')

- dump-signatures=DUMP_SIGNATURES -> dump-signatures=SIGNATURE_HANDLER

(Bitbake rev: 021b778fa4685bdde39e1a0f6c7c57632dcf792a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: fixed some example whitespace issues
Scott Rifenbark [Thu, 10 Jul 2014 07:45:09 +0000 (10:45 +0300)]
bitbake: bitbake-user-manual-metadata.xml: fixed some example whitespace issues

I added some whitespace to bring the example to use 5 spaces
rather than for so that it follows the manual's convention.

(Bitbake rev: 4c6e7d88d715db18e61bb263dfd2672ebb6c6b09)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: KERNEL_FEATURES example updated.
Scott Rifenbark [Thu, 10 Jul 2014 07:38:39 +0000 (10:38 +0300)]
bitbake: bitbake-user-manual-metadata.xml: KERNEL_FEATURES example updated.

I added text to separate this example code from the general
BitBake User Manual's spirit of standing alone and away from
YP or OE stuff.  Also, added another space to move the examples
code so that 5 spaces are used for literal indentation.

(Bitbake rev: 17fcac8a7b21afa5c7d201e94cbf603ab07ba70c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: Fixed whitespace
Scott Rifenbark [Thu, 10 Jul 2014 07:33:08 +0000 (10:33 +0300)]
bitbake: bitbake-user-manual-metadata.xml: Fixed whitespace

I noticed that the examples from some patches were not indenting
by 5 spaces.  I have fixed these to be consistent.

(Bitbake rev: c487341bd20b70aae6b430ee1c74a7f20345f81a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: Removed fakeroot from list
Robert P. J. Day [Thu, 10 Jul 2014 07:28:39 +0000 (10:28 +0300)]
bitbake: bitbake-user-manual-metadata.xml: Removed fakeroot from list

"fakeroot" is now specified as a function attribute, not as a task
flag.

(Bitbake rev: 749b39a8e5e8060222c748a349efc31f541da94e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: Added second conditional metadata example.
Robert P. J. Day [Thu, 10 Jul 2014 07:23:32 +0000 (10:23 +0300)]
bitbake: bitbake-user-manual-metadata.xml: Added second conditional metadata example.

I think having a couple real-life examples here would make a huge
difference.

Comment from Scott: I modified the example description to indicate
that it is from an OpenEmbedded metadata-based recipe (i.e from
YP).  We have been trying very hard to keep the BitBake User
Manual as separate as possible from the YP docs.

(Bitbake rev: 834780772a08ecce7ed863e96d0674b47d0e589d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: Adding some flag examples.
Robert P. J. Day [Thu, 10 Jul 2014 07:12:09 +0000 (10:12 +0300)]
bitbake: bitbake-user-manual-metadata.xml: Adding some flag examples.

As long as i've understood everything correctly, this is just
throwing in some physical examples of a couple concepts.

(Bitbake rev: a18cc69c2fef6484a6acd78ea008d1da71198e68)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: Edits to some operators
Scott Rifenbark [Wed, 9 Jul 2014 11:59:47 +0000 (14:59 +0300)]
bitbake: bitbake-user-manual-metadata.xml: Edits to some operators

Added wording to clearly state immediate or delayed application
for various operators.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(Bitbake rev: 877c4c9a466e26953abd6fe416c2cba092607dac)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-execution.xml: Minor edits to execution chapter.
Robert P. J. Day [Tue, 8 Jul 2014 18:58:42 +0000 (21:58 +0300)]
bitbake: bitbake-user-manual-execution.xml: Minor edits to execution chapter.

(Bitbake rev: 8ff1b363df74f7e48da67fce9cf6b7e868c5e28e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-intro.xml: More edits to the intro chapter.
Robert P. J. Day [Tue, 8 Jul 2014 12:32:50 +0000 (15:32 +0300)]
bitbake: bitbake-user-manual-intro.xml: More edits to the intro chapter.

Some applied as is, some not applied, some modified.

(Bitbake rev: af98b2ff4f44f892b63a6598e7fdfc144972ed3d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-intro.xml: Minor edits to start of intro chapter
Robert P. J. Day [Tue, 8 Jul 2014 12:11:06 +0000 (15:11 +0300)]
bitbake: bitbake-user-manual-intro.xml: Minor edits to start of intro chapter

(Bitbake rev: 4e5db4bc460c12194a233dd283c273009606bb64)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-user-manual-metadata.xml: Replaced "populate_staging"
Robert Yang [Mon, 7 Jul 2014 05:57:19 +0000 (08:57 +0300)]
bitbake: bitbake-user-manual-metadata.xml: Replaced "populate_staging"

There is no "populate_staging" any longer, should be
"populate_sysroot".

(Bitbake rev: dbe5902e64259e2143f09ab1aa9afa03aa02f4c4)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitmake-user-manual-fetching.xml: Added transportuser parameter for SVN
Scott Rifenbark [Thu, 3 Jul 2014 12:27:54 +0000 (15:27 +0300)]
bitbake: bitmake-user-manual-fetching.xml: Added transportuser parameter for SVN

Fixes [YOCTO #6475]

A new parameter has been added to make sure the user is not
passed as the username for the subversion commands with the
SVN fetcher.

(Bitbake rev: 366c70dbb0e9916f50ce1a4ff3ad4bd2757832a3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfs: Remove the extraneous install directory
Saul Wold [Fri, 18 Jul 2014 17:05:14 +0000 (10:05 -0700)]
rootfs: Remove the extraneous install directory

The /install/tmp diectory is created during installation by
the smart package manager, we need to clean it up here

[YOCTO #6497]

(From OE-Core rev: d4f4ad5edd8914e696722c1a1c3ba7de091d4c19)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopseudo: uprev to 1.6.1
Peter Seebach [Fri, 18 Jul 2014 18:49:25 +0000 (13:49 -0500)]
pseudo: uprev to 1.6.1

Pseudo now automatically tries to shut down the server after running
single commands under pseudo ("pseudo <cmd>"), which means it can
print a useless "server already offline" message in some cases. The
message has been changed to a debugging message only.

The glibc symbol versions for memcpy were being applied to non-x86
targets, unintentionally, which broke builds for at least some targets.
(But pseudo doesn't usually get built for targets so it didn't
get noticed right away.)

(From OE-Core rev: f3b5421a9c95b5516e5810285729affe80729135)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokernelshark: Remove trace-cmd from the kernelshark package
Darren Hart [Fri, 18 Jul 2014 23:01:52 +0000 (23:01 +0000)]
kernelshark: Remove trace-cmd from the kernelshark package

Fixes [YOCTO 6550]

Images installing both trace-cmd and kernelshark would fail with:

error: file /usr/bin/trace-cmd conflicts between attempted installs of
kernelshark-1.2+git0+7055ffd37b-r3.core2_32 and
trace-cmd-1.2+git0+7055ffd37b-r3.core2_32

This patch removes ${bindir}/trace-cmd from the install prior to
packaging, as is already done with the ${datadir}.

Reported-by: California Sullivan <california.l.sullivan@intel.com>
(From OE-Core rev: 3cd92ac652e12fc2f4d67cbc5e7f83dd95f6bd1d)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
(cherry picked from commit eb08ae8f729ef77329892d19b23ddfdaa7953de0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibatomics-ops: Extend to nativesdk
Richard Purdie [Fri, 18 Jul 2014 22:37:54 +0000 (22:37 +0000)]
libatomics-ops: Extend to nativesdk

(From OE-Core rev: df41a457eb467489ef57974cfa12db3a51d59ab1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub_git: bump version, remove patch
Trevor Woerner [Fri, 11 Jul 2014 16:11:01 +0000 (12:11 -0400)]
grub_git: bump version, remove patch

A previously upstreamed patch has been applied. Bump the version to
incorporate this upstream update.

(From OE-Core rev: 72f3c0eb12fbad7318573c060b0f84993048fdcc)

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-video-intel: disable non-deterministic tests for libX11
Ross Burton [Thu, 17 Jul 2014 16:41:18 +0000 (17:41 +0100)]
xf86-video-intel: disable non-deterministic tests for libX11

libX11 et al are checked for at confgure time and tests optionally built.  As
these don't get installed we don't want to add build dependencies, but the
non-determinism means that builds can fail.

(From OE-Core rev: cc4de34c94a89831c2aac56b9fb78612cdde0099)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: security patch for CVE-2014-3471
Daniel BORNAZ [Thu, 17 Jul 2014 12:24:11 +0000 (14:24 +0200)]
qemu: security patch for CVE-2014-3471

Qemu PCIe bus support is vulnerable to a use-after-free flaw. It could
occur via guest, when it tries to hotplug/hotunplug devices on the
guest.

A user able to add & delete Virtio block devices on a guest could use
this flaw to crash the Qemu instance resulting in DoS.

Originated-by: Marcel Apfelbaum <address@hidden>
Updated the qemu recipe to include the security patch.

Upstream-Status: Submitted

(From OE-Core rev: a84e1749b489cee5ea219799c35e29b6edead30f)

Signed-off-by: Daniel BORNAZ <daniel.bornaz@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooprofile: backport two patches to support e500mc/e6500
Ting Liu [Wed, 16 Jul 2014 10:00:21 +0000 (18:00 +0800)]
oprofile: backport two patches to support e500mc/e6500

(From OE-Core rev: 687cfed641e6ce3d7e2de7e7b8ed55e0324743a6)

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: fix 64 bit process detection
Ting Liu [Wed, 16 Jul 2014 09:38:11 +0000 (17:38 +0800)]
strace: fix 64 bit process detection

(From OE-Core rev: f35552e4bbf865aa20148b161d5520de025faf02)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-numpy: add support for powerpc64 architecture
Ting Liu [Wed, 16 Jul 2014 09:38:10 +0000 (17:38 +0800)]
python-numpy: add support for powerpc64 architecture

(From OE-Core rev: 189dae9edf24ba7bc60c51d4f26d91fe5bdf7dec)

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane.bbclass: avoid QA errors for n32 kernel
Ming Liu [Tue, 15 Jul 2014 05:26:59 +0000 (13:26 +0800)]
insane.bbclass: avoid QA errors for n32 kernel

A series of commits had been integrated to avoid qa checking code
throwing the bitsize not matched error for x32 kernel files, the
same logic is also needed by n32 kernel which was not addressed in
that series.

This commit extends the condition for n32 kernel files.

(From OE-Core rev: 6a169be15439f12169869ecef890594796e70e58)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodiffstat: update to version 1.59
Chong Lu [Wed, 16 Jul 2014 08:52:05 +0000 (16:52 +0800)]
diffstat: update to version 1.59

Remove unneeded patches, since they're included in new version.

(From OE-Core rev: 0e2d98bc17d4f3b80926f9a86006010ea6907a74)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: update *LIBC_* linker relocation reglex
Ting Liu [Wed, 16 Jul 2014 10:35:58 +0000 (18:35 +0800)]
gcc: update *LIBC_* linker relocation reglex

* GLIBC_DYNAMIC_LINKER64 reglex does not work for rs6000/linux64.h,
  update it.
* it turns out that UCLIBC_DYNAMIC_LINKER reglex will strip the 32/64
  chars from UCLIBC_DYNAMIC_LINKER64/UCLIBC_DYNAMIC_LINKER32, add '\b'.
  my two PCs: Centos 6.5 (python 2.7.5) and Fedora 13 (python 2.7.3)

(From OE-Core rev: a0b408191d64804df1748163060313af31433ac8)

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: use pidfile in initscript
Richard Tollerton [Wed, 16 Jul 2014 21:28:32 +0000 (16:28 -0500)]
openssh: use pidfile in initscript

Stopping sshd must only kill the listening (top-level) daemon; it must
not stop any other sshd process, because those are forked ssh
connections which may include e.g. the connection that called
/etc/init.d/sshd stop.

This initscript uses "start-stop-daemon -x <exe>" for starting/stopping.
When that is provided by busybox, this behavior is broken:
`/etc/init.d/sshd stop` stops *all* sshd processes. This was caused by a
fix to busybox 1.20: 17eedcad9406c43beddab3906c8c693626c351fb
"ssd: compat: match -x EXECUTABLE by /proc/pid/exe too".

The fix is to use a pidfile. All initscripts in upstream openssh do this,
as does dropbear.

Acked-by: Gratian Crisan <gratian.crisan@ni.com>
Acked-by: Ken Sharp <ken.sharp@ni.com>
(From OE-Core rev: 993405285e547403d5c753adfa91c26c43be13f6)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc: rewritten tzselect as posix sh and move it to tzcode package
Hongxu Jia [Thu, 17 Jul 2014 05:53:10 +0000 (13:53 +0800)]
eglibc: rewritten tzselect as posix sh and move it to tzcode package

The problem is that this would cause bash installed to meta-toolchain,
the dependencies chain is:
meta-toolchain -> eglibc-utils -> bash
We should eliminate bash dependencies in anything core to a tiny system.

The eglibc-utils also provides eglibc-utils/usr/bin/zdump,
eglibc-utils/usr/bin/zic which all of them belonged to tzcode, so we
should split these three utils as tzcode package.

[YOCTO #6544]

(From OE-Core rev: f7f3a1fb3855799bb48708f32533e93e336e6995)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: enable CONFIG_FEATURE_AWK_LIBM by default
Hongxu Jia [Thu, 17 Jul 2014 05:53:09 +0000 (13:53 +0800)]
busybox: enable CONFIG_FEATURE_AWK_LIBM by default

It was required by tzselect which is provided by eglibc utils.
The eglibc is a fundamental package, so enable math functions
of awk is reasonable.

Here is the error if we not enable that:
...
root@qemuarm:~# tzselect -c +4852+00220
awk: cmd. line:39: Math support is not compiled in
...

[YOCTO #6544]

(From OE-Core rev: 52a3df6a57c22df9da5ce05134395cf0756c63c6)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodefault-distrovars/multilib: update license whitelists to use canonical names
Ross Burton [Wed, 16 Jul 2014 21:08:14 +0000 (22:08 +0100)]
default-distrovars/multilib: update license whitelists to use canonical names

Now that all licenses are canonicalised to SPDX names when processing, we need
to rename the whitelists to the match.

[RP: Fixed up multilib.bbclass too]

(From OE-Core rev: 5b6cdac26e35e9a3b8b09185fc16765fa99dfe5f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolicense.bbclass: canonicalise licenses when dealing with INCOMPATIBLE_LICENSE
Ross Burton [Thu, 17 Jul 2014 14:41:05 +0000 (15:41 +0100)]
license.bbclass: canonicalise licenses when dealing with INCOMPATIBLE_LICENSE

If INCOMPATIBLE_LICENSE=GPL-3.0 but the recipe sets LICENSE=GPLv3, the current
code won't trigger because they're different strings.

Fix this by attempting to canonicalise every license name to a SPDX name, so
both names in this example become GPL-3.0.

[ YOCTO #5622 ]

(From OE-Core rev: 8998e13fc95f11d15c34fb09d8451a9d4b69f2f1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/test-remote-image: use the scriptpath module
Corneliu Stoicescu [Thu, 17 Jul 2014 16:11:47 +0000 (19:11 +0300)]
scripts/test-remote-image: use the scriptpath module

Use the scripts/lib/scriptpath module in order to standardize the adding of bitbake/lib and meta/lib to sys.path.

(From OE-Core rev: 32c5b31d8a22bb8ba49db8a5c797ad0f421e67a3)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoscripts/oe-selftest: add command-line parsing and options
Corneliu Stoicescu [Thu, 17 Jul 2014 15:10:43 +0000 (18:10 +0300)]
scripts/oe-selftest: add command-line parsing and options

[YOCTO #6453]

(From OE-Core rev: d9291390d56cae9c9d0f5e44d5e7293260dad077)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Reduce output and add verbose flag
Darren Hart [Wed, 16 Jul 2014 14:16:04 +0000 (14:16 +0000)]
mkefidisk.sh: Reduce output and add verbose flag

Remove superfluous output from commands, add a -v verbose flag, and
cleanup output.

(From OE-Core rev: 0742bcd437362eb31b40e35f7331f191a1e070d0)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Make the rootfs copy the last step
Darren Hart [Wed, 16 Jul 2014 14:16:03 +0000 (14:16 +0000)]
mkefidisk.sh: Make the rootfs copy the last step

Copying the rootfs is the most time intensive task. Move it last so if
we are to encounter other errors, we do so quickly and error out.

(From OE-Core rev: 38a485aabfb57d42fa4663386c22aa9260d0a944)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Add die() and cleanup() routines
Darren Hart [Wed, 16 Jul 2014 14:16:02 +0000 (14:16 +0000)]
mkefidisk.sh: Add die() and cleanup() routines

Currently the script will attempt to continue even after a fatal error.
Add a die() routine which will abort in the case of a fatal error and
call a cleanup() routine to unmount any images or devices and remove the
TMPDIR.

Move the variable assignment and directory creation earlier in the
script, making it more obvious what we need to clean up.

(From OE-Core rev: 40fe82fecf7a94b24893862ac17ee2bc749fc5e8)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Improve logging
Darren Hart [Wed, 16 Jul 2014 14:16:01 +0000 (14:16 +0000)]
mkefidisk.sh: Improve logging

Add logging functions: error, warn, info, and success, using tput to add
color highlighting.

Use these routines throughout the script, replacing echo statements and
adding "|| error" in several places to eliminate silent failures. Add a
simple exit block which checks for issues encountered while running.

(From OE-Core rev: b5a3f6465a7fd8e821b81da053bf7e11535f1652)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Copy the EFI dir recursively
Darren Hart [Wed, 16 Jul 2014 14:16:00 +0000 (14:16 +0000)]
mkefidisk.sh: Copy the EFI dir recursively

Rather than only copying the EFI/BOOT dir, copy the entire EFI dir
recursively. This allows for custom configurations to be enabled
implicitly with no extra work required.

(From OE-Core rev: f6f243bff4fa7c0e876a506a7013c86e0141556c)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Add gummiboot support
Darren Hart [Wed, 16 Jul 2014 14:15:59 +0000 (14:15 +0000)]
mkefidisk.sh: Add gummiboot support

Fixes [YOCTO 6295]

Add gummiboot support for images built using:

EFI_PROVIDER="gummiboot"

Add conditional configuration for GRUB and gummiboot. Provide some
messaging about which is being performed.

(From OE-Core rev: b0c86d8149dffd72d0dbd2451031f30953e36dc7)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Add mount error checking
Darren Hart [Wed, 16 Jul 2014 14:15:58 +0000 (14:15 +0000)]
mkefidisk.sh: Add mount error checking

Provide reasonable feedabck if the mount commands fail.

(From OE-Core rev: 07cf8cfb843311d7f868c502d542af51f64d71bd)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomkefidisk.sh: Use all caps for volume names
Darren Hart [Wed, 16 Jul 2014 14:15:57 +0000 (14:15 +0000)]
mkefidisk.sh: Use all caps for volume names

Avoid some mkfs warnings by using all caps in the volume names.

(From OE-Core rev: d80d730a5fa84d3a036d1fc8290620e90d5db460)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: Add support for /etc/default/urandom
Richard Tollerton [Thu, 17 Jul 2014 21:56:57 +0000 (16:56 -0500)]
initscripts: Add support for /etc/default/urandom

Source /etc/default/urandom if present.  This allows the rootfs to
remain read-only while enabling the user to override the location of the
random seed file.

(From OE-Core rev: 415e1a4ac8120b28118671698459b098c965a4f6)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: make hostname.sh coreutils-compatible
Richard Tollerton [Thu, 17 Jul 2014 21:56:56 +0000 (16:56 -0500)]
initscripts: make hostname.sh coreutils-compatible

inetutils and busybox hostname utils support `hostname -F`; coreutils
hostname doesn't. So just use `cat` instead.

(From OE-Core rev: acb8674e498468088d867ffae9a458caa08d95d5)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: Use current date as an additional source of entropy
Ken Sharp [Thu, 17 Jul 2014 21:56:55 +0000 (16:56 -0500)]
initscripts: Use current date as an additional source of entropy

If the seed file is empty or does not exist, the date is an extremely
poor backup source of entropy, but it is better than nothing.

(From OE-Core rev: 0a41a7c20316c7d3330233a624d8cf20ea5a81ae)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: parametrize random seed file location
Richard Tollerton [Thu, 17 Jul 2014 21:56:54 +0000 (16:56 -0500)]
initscripts: parametrize random seed file location

Currently, the random seed file location is hardcoded to
/var/lib/urandom/random-seed.  Refactor it to a parameter
(RANDOM_SEED_FILE) so the file location is defined in only one place.

(From OE-Core rev: 558ba23cfdd60bf64b9214460a2772be70079796)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: save /etc/timestamp with seconds accuracy
Blair Elliott [Thu, 17 Jul 2014 21:56:53 +0000 (16:56 -0500)]
initscripts: save /etc/timestamp with seconds accuracy

Currently, /etc/timestamp is saved with minutes accuracy.  To increase
the accuracy, modify the save-rtc.sh and bootmisc.sh scripts to save and
read /etc/timestamp respectively with seconds accuracy.

(From OE-Core rev: 8fed53e4e72230c61f23cb36eda36c228aede1e0)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: bootmisc.sh: Make sysctl -p honor VERBOSE
Richard Tollerton [Thu, 17 Jul 2014 21:56:52 +0000 (16:56 -0500)]
initscripts: bootmisc.sh: Make sysctl -p honor VERBOSE

busybox sysctl may lack the "-q" setting, so simulate it with redirects.

(From OE-Core rev: 5672b5188557b940340bdc3e6a3ac30835b829fb)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorpm: compile rpmqv.c instead of rpmqv.cc
Joe Slater [Fri, 18 Jul 2014 01:14:54 +0000 (18:14 -0700)]
rpm: compile rpmqv.c instead of rpmqv.cc

Some versions of gcc will put a reference to __gxx_personality_v0
into rpm.o and rpmbuild.o.  This means we must link using g++,
and Makefile does not.

Go back to using rpmqv.c (which is currently identical to rpmqv.cc).

(From OE-Core rev: a36327ee2d159b3791cc6ce0c36af4b9e0693e51)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgpg-error: fix pkgconfig.patch
Tim Orling [Thu, 17 Jul 2014 23:07:45 +0000 (16:07 -0700)]
libgpg-error: fix pkgconfig.patch

Typo in pkgconfig.patch:
   -Libs: -L{libdir} -lgpg-error
vs.
   +Libs: -L${libdir} -lgpg-error

This patch fixes failure in libgcrypt-native do_configure.
| ../x86_64-linux-libtool: line 6001: cd: {libdir}: No such file or directory
| x86_64-linux-libtool: link: cannot determine absolute directory name of `{libdir}'

(From OE-Core rev: 66293fe13e25bb7a946db5a4b337d5bfcb015091)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-core: fix endianness problem
Shan Hai [Fri, 18 Jul 2014 05:21:37 +0000 (13:21 +0800)]
grub-core: fix endianness problem

Fix tftp stalls on loading files bigger than ~32k bug by cherry picking
a patch from grub upstream.

(From OE-Core rev: adac8c63a0eefd3ce118f8964b05a952e629da38)

Signed-off-by: Shan Hai <shan.hai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolz4: update to latest
Armin Kuster [Fri, 18 Jul 2014 03:45:56 +0000 (20:45 -0700)]
lz4: update to latest

update to version r119
LICENSE md5sum changed since it was updated in r117 for
  copyright date change
Fixes CVE-2014-4611

(From OE-Core rev: b1811c07589a3eff5702d435f8feface63f1c39e)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocommon-mingw: force ac_cv_func_mmap_fixed_mapped=no
Richard Tollerton [Wed, 16 Jul 2014 18:58:03 +0000 (13:58 -0500)]
common-mingw: force ac_cv_func_mmap_fixed_mapped=no

The expat mingw build breaks because ix86-common defines
ac_cv_func_mmap_fixed_mapped=yes, causing the build to think that
mmap(), mman.h actually exist. Fix this by always forcing the variable
to "no", which configure would have concluded without such interference.

(From OE-Core rev: 9add830b85222b57774acc35539e678d9ca8efb2)

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: ensure that filenames with empty space character are handled
João Henrique Ferreira de Freitas [Fri, 18 Jul 2014 03:09:26 +0000 (00:09 -0300)]
populate_sdk_base: ensure that filenames with empty space character are handled

When extracting toolchain, if the list $executable_files has filenames
with empty space character, the list will created but relocate_sdk.sh
will not handle it well. This will lead to the below erro:

    ./tmp/deploy/sdk/buildtools-mytools-x86_64-nativesdk-standalone-1.6.1.0.sh
    Enter target directory for SDK (default: /opt/mydistro/mytoolset/1.6.1.0):
    You are about to install the SDK to "/opt/mydistro/mytoolset/1.6.1.0". Proceed[Y/n]?
    Extracting SDK...done
    Setting it up.../opt/mydistro/mytoolset/1.6.1.0/relocate_sdk.sh: line 2: sintaxe error `token'  `('
    /opt/mydistro/mytoolset/1.6.1.0/relocate_sdk.sh: line 2: `e

The same occurs with replacement of ${SDKPATH} in configs/scripts/etc files.

We should ensure that full path is protected before relocate_sdk.sh
and ${SDKPATH} replacement calls.

(From OE-Core rev: d7adf8349a65da6f0fdd0f00e606e8bc27ce3f28)

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-distribute: add nativesdk to BBCLASSEXTEND
João Henrique Ferreira de Freitas [Fri, 18 Jul 2014 03:09:25 +0000 (00:09 -0300)]
python-distribute: add nativesdk to BBCLASSEXTEND

Without this, python tools that need python-distribute doesn't install
in SDK generated by OE.

(From OE-Core rev: 778a00c3dd656bbfac03274b5f60788518f7b964)

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibdrm: enable freedreno experimental support
Nicolas Dechesne [Fri, 18 Jul 2014 10:33:01 +0000 (12:33 +0200)]
libdrm: enable freedreno experimental support

The freedreno project is a free and open source linux driver for the 2D/3D GPUs
in Qualcomm snapdragon SoCs.

Support for freedreno in libdrm was added around 2.4.43.

(From OE-Core rev: cb70a6128d4886035fba698a8efbc4b91a3706cb)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibdrm: upgrade to 2.4.54
Nicolas Dechesne [Tue, 15 Jul 2014 21:07:11 +0000 (23:07 +0200)]
libdrm: upgrade to 2.4.54

Version 2.4.54 was released a couple of months ago, see [1] for list of
changes.

The upgrade is required for using recent freedreno X11 driver on QCOM SoC. This
was tested on IFC6410 board.

[1] http://lists.x.org/archives/xorg-announce/2014-May/002426.html

(From OE-Core rev: 316122bb75e04aa7419dc49fcff6af384be37983)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: Disable make install parallelism
Richard Purdie [Fri, 18 Jul 2014 12:40:31 +0000 (13:40 +0100)]
subversion: Disable make install parallelism

The Makefile generation for subversion is horrible, I can't figure out
where the dependencies are missing, it looks like they might be missing
everywhere. Give up and disable parallel make install.

(From OE-Core rev: f5569d30b98418b201766ad07b177aac5fae4a41)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolicense.bbclass: fix indentation in python function
Roxana Ciobanu [Fri, 18 Jul 2014 12:41:34 +0000 (15:41 +0300)]
license.bbclass: fix indentation in python function

If we don't fix this, the fix for bug 6502 will trigger warnings
that the write_package_manifest function contains tabs.

Related to fix for [YOCTO #6502].

(From OE-Core rev: 6d93be5338ca301caafbcd44bfe3da08c05610ec)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosubversion: neon support was dropped, switch to serf
Richard Purdie [Thu, 17 Jul 2014 20:37:38 +0000 (20:37 +0000)]
subversion: neon support was dropped, switch to serf

(From OE-Core rev: 1838153de3a68ac391bdec139446e496ad093763)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoserf: Add new recipe (needed by subversion for http support)
Richard Purdie [Thu, 17 Jul 2014 20:37:23 +0000 (20:37 +0000)]
serf: Add new recipe (needed by subversion for http support)

(From OE-Core rev: 572407ad9474f94299810c5c9a81587265730218)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibatomic-ops: Add BBCLASSEXTEND for native (to support bdwgc-native)
Richard Purdie [Thu, 17 Jul 2014 21:14:49 +0000 (21:14 +0000)]
libatomic-ops: Add BBCLASSEXTEND for native (to support bdwgc-native)

(From OE-Core rev: ebe518d6bb8af6b53805e554e4a61e6534cfb479)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobdwgc: Add PACKAGECONFIG for libatomic-ops
Richard Purdie [Thu, 17 Jul 2014 06:41:32 +0000 (06:41 +0000)]
bdwgc: Add PACKAGECONFIG for libatomic-ops

Taken from the libgc recipe in meta-oe.

(From OE-Core rev: a449598a839e677e2a094aa4bd9a68003de6e42e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqs/selftest: Added test case decorators for toaster
Lucian Musat [Thu, 17 Jul 2014 10:57:00 +0000 (13:57 +0300)]
oeqs/selftest: Added test case decorators for toaster

(From OE-Core rev: 87ded649257e963e45d629679d44376d9a993ecd)

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogmp: use PACKAGECONFIG to address readline dependency
Ming Liu [Thu, 17 Jul 2014 07:58:18 +0000 (15:58 +0800)]
gmp: use PACKAGECONFIG to address readline dependency

To avoid automatically detecting readline dependency, which will lead to
a implicit build result.

(From OE-Core rev: b98da859423a541e419bbf38edacf2320ce00c8d)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoflac: explicitly disable checking for nasm
Ming Liu [Thu, 17 Jul 2014 07:58:17 +0000 (15:58 +0800)]
flac: explicitly disable checking for nasm

Automatical checking for nasm program will lead flac to a implicit build
result depending on nasm is built before or after it.

(From OE-Core rev: 3db77bfb5f02dae841f24eba66ac5747bbe10b9f)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa: fix return status in pam.py to match shadow-4.2.1
Chen Qi [Thu, 17 Jul 2014 07:53:35 +0000 (15:53 +0800)]
oeqa: fix return status in pam.py to match shadow-4.2.1

The return statuses of commands like `su --help' or `passwd --help'
in shadow 4.2.1 version are different from those in shadow 4.1.4.3
version.

Now that we've upgraded shadow to 4.2.1, we need to fix these statuses
in the pam.py to make things work as expected.

(From OE-Core rev: 6bc53438735690866358194dd9e88fa1d7435e2c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: upgrade from 4.1.4.3 to 4.2.1
Chen Qi [Thu, 17 Jul 2014 07:53:34 +0000 (15:53 +0800)]
shadow: upgrade from 4.1.4.3 to 4.2.1

Upgrade shadow from 4.1.4.3 to 4.2.1.

Changes during this upgrade are as following.

1. Remove the "merged" patches. These patches are either merged or
   the same functionality has been implemented upstream.

   add_root_cmd_groupmems.patch
   add_root_cmd_options.patch
   fix-etc-gshadow-reading.patch
   shadow-4.1.4.2-env-reset-keep-locale.patch
   shadow-4.1.4.2-groupmod-pam-check.patch
   shadow-4.1.4.2-su_no_sanitize_env.patch
   shadow.automake-1.11.patch
   shadow_fix_for_automake-1.12.patch
   useradd.patch

2. Remove the unneeded patch.
   The following patch has been removed because the logic in the related
   codes of the new version has been changed. In specific, the codes now
   can handle the 'NULL' return value. So there's no need for the following
   patch.

   slackware_fix_for_glib-2.17_crypt.patch

3. Teak the current patch to match the new version.

   allow-for-setting-password-in-clear-text.patch

4. Add a patch to fix compilation failure.

   usermod-fix-compilation-failure-with-subids-disabled.patch

5. Add a patch to fix the installation failure.

   fix-installation-failure-with-subids-disabled.patch

5. Add a patch to fix the failure at rootfs time if extrausers is inherited.

   commonio.c-fix-unexpected-open-failure-in-chroot-env.patch

6. Fix the bad section in the recipe.

7. Disable the new subids feature in the new version as it doesn't support
   cross compilation for now.

8. Modify the pkg_postinst to `exit 1' if the `pwconv' or `grpconv' fails.
   Also, fix the arguments to use '--root $D' instead of '--root=$D'.

9. Add a patch for shadow-native to create parent directories when necessary.

   0001-useradd.c-create-parent-directories-when-necessary.patch

(From OE-Core rev: b73e5cd51551556f9e6a4f7d9e7deec4d9d661bd)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: Upgrade to 3.70
Saul Wold [Tue, 15 Jul 2014 20:28:35 +0000 (13:28 -0700)]
man-pages: Upgrade to 3.70

(From OE-Core rev: 4fb8d2e4fda6e90d38766bf333b9fb6b3cb95561)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpod-plainer-perl: Upgrade to 1.04
Saul Wold [Tue, 15 Jul 2014 20:28:00 +0000 (13:28 -0700)]
libpod-plainer-perl: Upgrade to 1.04

Year changed in README for Copyright and Licnese info

(From OE-Core rev: 59300e17bd990cb9387850e7257ab4e6674eb4d3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognupg: Upgrade to 2.0.25
Saul Wold [Tue, 15 Jul 2014 20:27:27 +0000 (13:27 -0700)]
gnupg: Upgrade to 2.0.25

(From OE-Core rev: 80d5c657f6658bbda042d4e3c382342804ca2041)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolzo: Upgrade to 2.08
Saul Wold [Tue, 15 Jul 2014 20:26:01 +0000 (13:26 -0700)]
lzo: Upgrade to 2.08

Changed copyright lines from multiple to a single line, no license change

(From OE-Core rev: 381c240be680c535830eccf6ed9d3696e3217dae)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosquashfs-tools: Upgrade to 4.3
Saul Wold [Tue, 15 Jul 2014 20:24:45 +0000 (13:24 -0700)]
squashfs-tools: Upgrade to 4.3

Remove patches that are now implemented upstream
COPYING file has formating change no change to licence itself

(From OE-Core rev: 518d6b32aa9d84e572ccd6d04368f4c5bdb222ec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokmod: Upgrade to latest git
Saul Wold [Tue, 15 Jul 2014 20:17:19 +0000 (13:17 -0700)]
kmod: Upgrade to latest git

Update to version 18 with an additional patch from
the git repo to address an issue.

(From OE-Core rev: 5a16da19eda60992e094b38ebb185875529b3b4c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agokbd: Upgrade to 2.0.2
Saul Wold [Tue, 15 Jul 2014 20:16:28 +0000 (13:16 -0700)]
kbd: Upgrade to 2.0.2

Tarball compression type changed to zx

(From OE-Core rev: 12b3b7191c14a0151977a9e9b66ba446228074bf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: exclude some ARM EABI obsolete syscalls
Roy.Li [Mon, 23 Jun 2014 06:28:30 +0000 (14:28 +0800)]
qemu: exclude some ARM EABI obsolete syscalls

some syscalls are obsolete and no longer available for EABI, exclude them to
fix the below error:
        In file included from qemu-seccomp.c:16:0:
        qemu-seccomp.c:28:7: error: '__NR_select' undeclared here (not in a function)
              { SCMP_SYS(select), 252 },
                ^
        qemu-seccomp.c:36:7: error: '__NR_mmap' undeclared here (not in a function)
              { SCMP_SYS(mmap), 247 },
                ^
        qemu-seccomp.c:57:7: error: '__NR_getrlimit' undeclared here (not in a function)
              { SCMP_SYS(getrlimit), 245 },
                ^
        qemu-seccomp.c:96:7: error: '__NR_time' undeclared here (not in a function)
              { SCMP_SYS(time), 245 },
                ^
        qemu-seccomp.c:185:7: error: '__NR_alarm' undeclared here (not in a function)
              { SCMP_SYS(alarm), 241 },

please refer source files:
        arch/arm/include/uapi/asm/unistd.h
or kernel header:
        /usr/include/asm/unistd.h

(From OE-Core rev: 49257247fdc57e9296520bbd598fd8cbf425d44a)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc: check for required distro features
Chen Qi [Thu, 3 Jul 2014 03:23:42 +0000 (11:23 +0800)]
eglibc: check for required distro features

If users accidently override the DISTRO_FEATURES in local.conf,
then build failures occur for lack of libc functions.

All features in DISTRO_FEATURES_LIBC should be in DISTRO_FEATURES.
That's why this patch let the recipe inherit distro_features_check
class and set REQUIRED_DISTRO_FEATURES to "${DISTRO_FEATURES_LIBC}".

[YOCTO #6381]

(From OE-Core rev: 82d9d12a3364914a5c1f354671adac1f0a71eea3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython: Forcibly disable tk
Richard Purdie [Wed, 16 Jul 2014 16:09:47 +0000 (16:09 +0000)]
python: Forcibly disable tk

Avoids the determinism problem shown with the warnings:

WARNING: QA Issue: python-tkinter rdepends on libx11 but its not a build dependency? [build-deps]
WARNING: QA Issue: python-tkinter rdepends on tcl-lib but its not a build dependency? [build-deps

(From OE-Core rev: 53ae544cfdac22c82af452b8c7ebe6664296bd9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: Fix build determinism problem
Richard Purdie [Wed, 16 Jul 2014 15:59:34 +0000 (15:59 +0000)]
xserver-xorg: Fix build determinism problem

We're seeing the warning:

WARNING: QA Issue: xserver-xorg rdepends on nettle but its not a build dependency? [build-deps]

We list openssl in DEPENDS so we need to specify that as the sha1 provider
rather that nettle which is autodetected.

(From OE-Core rev: bfc19d81a5992c8b7b725a873dda527c9c9c148d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognutls: Fix floating libidn dependency
Richard Purdie [Wed, 16 Jul 2014 15:46:49 +0000 (15:46 +0000)]
gnutls: Fix floating libidn dependency

Avoids WARNING: QA Issue: gnutls-bin rdepends on libidn but its not a build dependency? [build-deps]

(From OE-Core rev: 6fd51f5c15a380eae630fe853ba0eccde7b9a369)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibpcap: Fix floating dbus dependency
Richard Purdie [Wed, 16 Jul 2014 15:46:14 +0000 (15:46 +0000)]
libpcap: Fix floating dbus dependency

Avoids WARNING: QA Issue: libpcap rdepends on dbus-lib but its not a build dependency? [build-deps]

(From OE-Core rev: 8ced43cfee6e8de4fa462b0aabb0e1e5aeb2a65f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontcache: Fix build dependency errors
Richard Purdie [Wed, 16 Jul 2014 15:27:42 +0000 (15:27 +0000)]
fontcache: Fix build dependency errors

This addresses warnings like:

WARNING: QA Issue: liberation-fonts rdepends on fontconfig-utils but its not a build dependency? [build-deps]

since the dependencies were being added at package time and were not
visible to bitbake.

Also take the opportunity to convert to use PACKAGEFUNCS rather than
the horrible populate_packages_append.

(From OE-Core rev: f784e9f53f333f05b3ef570334bf2f6bc9e972c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoneard: Fix typo in patch leading to parallel make race
Richard Purdie [Wed, 16 Jul 2014 14:14:46 +0000 (14:14 +0000)]
neard: Fix typo in patch leading to parallel make race

The typo left room for a parallel make race for unit/test-snep-read.o,
fix it.

(From OE-Core rev: 061b9fd4b6dca030df1f2f00a59ad7d365b06894)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobtrfs-tools: Upgrade 3.12 -> 3.14.2
Richard Purdie [Wed, 16 Jul 2014 14:01:51 +0000 (14:01 +0000)]
btrfs-tools: Upgrade 3.12 -> 3.14.2

(From OE-Core rev: da30d4cfe4b3cac12d09384ca27f9612b5288b48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibconvert-asn1-perl: Upgrade 0.26 -> 0.27
Richard Purdie [Wed, 16 Jul 2014 13:05:54 +0000 (13:05 +0000)]
libconvert-asn1-perl: Upgrade 0.26 -> 0.27

(From OE-Core rev: 1a8d584ffcdfc6e746eadcc190c13cac0c48766f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-pycurl: Upgrade 7.19.3 -> 7.19.3.1
Richard Purdie [Wed, 16 Jul 2014 13:03:49 +0000 (13:03 +0000)]
python-pycurl: Upgrade 7.19.3 -> 7.19.3.1

License text just moved within the README.rst (same checksum)

(From OE-Core rev: 2d7566c7b564facb4ada5b29f7a77bfb203ebcb0)

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