]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
10 years agoref-manual: Removed tag from profile-manual cross-ref
Scott Rifenbark [Tue, 21 Apr 2015 20:46:57 +0000 (13:46 -0700)] 
ref-manual: Removed tag from profile-manual cross-ref

In the introduction, the ref-manual references several other YP
manuals.  If the manual is build separately, these references resolve
to the appropriate manuals.  When the mega-manual is built, the
same references are designed to not become links.  In otherwords,
mega-manual.sed processes those links out.  This is by design.

I found a #profile-manual tag on one of the links in the introduction.
This resulted in a link in the mega-manual that would go nowhere.  I
removed the tag.

(From yocto-docs rev: fdaf114ece20994ec55061612ab53e9334afde26)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobsp-guide: Fixed link to the OpenEmbedded style guide.
Scott Rifenbark [Tue, 21 Apr 2015 20:22:55 +0000 (13:22 -0700)] 
bsp-guide: Fixed link to the OpenEmbedded style guide.

A link was going to an old YP page that talked about patch
style guide stuff.  That page simply redirects the user to a
styleguide of the OE.  I fixed the link in the manual to go
directly to that page now.

(From yocto-docs rev: 913c30eae42e89cc6f8dd99026594c2843985c58)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoadt-manual: fixed formatting for user-supplied data in example.
Scott Rifenbark [Tue, 21 Apr 2015 20:15:37 +0000 (13:15 -0700)] 
adt-manual: fixed formatting for user-supplied data in example.

(From yocto-docs rev: 0a5b26ab90056b7107bb86329148e8c3a0173065)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Applied some formatting for user input.
Scott Rifenbark [Tue, 21 Apr 2015 18:58:50 +0000 (11:58 -0700)] 
dev-manual: Applied some formatting for user input.

(From yocto-docs rev: 6a9ff5b63d704fa17edd8c304f6c3c6d8d903090)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Fixed link to Toaster Manual.
Scott Rifenbark [Tue, 21 Apr 2015 18:38:24 +0000 (11:38 -0700)] 
dev-manual: Fixed link to Toaster Manual.

I found a link that is processed by the mega-manual.sed file correctly
but for the situation it does not resolve right.  The link is a
"naked" link.  In other words, it doesn't have a #<tag> part.
When the .sed file sees these types of links, no hyperlink is
generated.  I found a case in the dev-manual where I reference the
Toaster Manual in general and would like a link that would take the
user there.  So, I had to add a #<tag> part to the link in the XML

(From yocto-docs rev: ab11e9822b5ec1b0f7138f1419ce9c340f6f27ad)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Fixed a cross-ref link that used "here" as the link.
Scott Rifenbark [Tue, 21 Apr 2015 17:48:37 +0000 (10:48 -0700)] 
dev-manual: Fixed a cross-ref link that used "here" as the link.

I don't like these.  I fixed it up.

(From yocto-docs rev: 2267fc3353563a249cc9bf16ec0bf4d5930ddaa9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Added Toaster to the list of ways to develop.
Scott Rifenbark [Tue, 21 Apr 2015 17:45:54 +0000 (10:45 -0700)] 
dev-manual: Added Toaster to the list of ways to develop.

I put this in the intro list for the section that presents various
ways to use YP.

(From yocto-docs rev: 05f924f799a1f1396bf7154b298aabc3d06ad1d7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Removed a cross-ref link to "here"
Scott Rifenbark [Tue, 21 Apr 2015 17:32:39 +0000 (10:32 -0700)] 
dev-manual: Removed a cross-ref link to "here"

This practice is not good.  I had one in the manual.  I reworded
the text to not use that term in a link.

(From yocto-docs rev: 53636ae7370827945b31d11785410dd44670bb91)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated branch descriptions for better manual maintenance
Scott Rifenbark [Tue, 21 Apr 2015 17:24:17 +0000 (10:24 -0700)] 
dev-manual: Updated branch descriptions for better manual maintenance

The "Repositories, Tags, and Branches" section had some wording
that described how branches are maintained in the poky repo that
made it hard to maintain in the doc from release to release.  I had
a list of past releases by name and as such would have to update
it every release to make it reflect the last set.  Well... this
is not the best way to do this and proved out as it slipped through
the cracks for the YP 1.8 release.  Consequently, I recast the text
so it is "release proof".

(From yocto-docs rev: b6e27d06df58a43bb767e9616ccf3c0711e83cf6)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Removed "Intel Corporation" from the "Links" section.
Scott Rifenbark [Tue, 21 Apr 2015 17:10:20 +0000 (10:10 -0700)] 
ref-manual: Removed "Intel Corporation" from the "Links" section.

In an attempt to keep the project as much open source as possible,
I removed the link to Intel from this list of resources.  We don't
list Linux, OpenedHand, Wind River, etc.

(From yocto-docs rev: 5efe375a94a14d4a70aa2c3ff9ab39d6c7362526)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated the poky definition in the "Terms" section.
Scott Rifenbark [Tue, 21 Apr 2015 17:04:37 +0000 (10:04 -0700)] 
dev-manual: Updated the poky definition in the "Terms" section.

Added some stuff about "poky" meaning the default distribution
when using YP and the poky git repository to build an image.

(From yocto-docs rev: bd534a5bdf405044c8f1a60ee9e251bff2a0e53c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updates to ELF binary QA warning - review changes
Scott Rifenbark [Mon, 20 Apr 2015 23:27:53 +0000 (16:27 -0700)] 
ref-manual: Updates to ELF binary QA warning - review changes

Applied some review edits from Paul.

Fixes [YOCTO #7630]

(From yocto-docs rev: 064fa763686f5ddaccba4a7201757f2a6fc8636c)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated the "Enabling and Using the Tool" section
Michael Wood [Mon, 20 Apr 2015 17:21:40 +0000 (10:21 -0700)] 
dev-manual: Updated the "Enabling and Using the Tool" section

The send-error-report tool syntax has slightly changed since the
documentation was written.  Removed the [server] part of the
command and added more detail on its use and results.

Reported-by: Michael Wood <michael.g.wood@intel.com>
(From yocto-docs rev: 10e28ab877b327301be536e5d515d5a419d082ac)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodev-manual: Updated "Requirements" section for creating partitioned images
Ed Bartosh [Mon, 20 Apr 2015 16:42:24 +0000 (09:42 -0700)] 
dev-manual: Updated "Requirements" section for creating partitioned images

Wic is not using parted and other runtime dependencies from host
system anymore.  It uses native tools instead.  Removed host parted
from the list of requirements.  Added instructions to build native
tools.

(From yocto-docs rev: ab22aff62bd9ffde3dfefe9fcabadc6e5aae7e31)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updates to the TCLIBC variable description
Scott Rifenbark [Mon, 20 Apr 2015 14:58:31 +0000 (07:58 -0700)] 
ref-manual: Updates to the TCLIBC variable description

An old note still existed in this entry that stated we don't support
glibc.  This is not true.  I deleted the note.

Reported-by: Paul Eggleton <paul.eggleton@intel.com>
(From yocto-docs rev: e72f248f45678fb445e60106dd338c4d9cd114d8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Updates to ELF binary QA warning
Scott Rifenbark [Mon, 20 Apr 2015 14:55:41 +0000 (07:55 -0700)] 
ref-manual: Updates to ELF binary QA warning

Fixes [YOCTO #7630]

Apparently the text relocation being done here can cause runtime
performance issues.  I documented a potential work-around for the
issue and provided a cross-reference link to an external site for
more general information about text relocation at runtime.

Reported-by: Laszlo Papp <lpapp@kde.org>
(From yocto-docs rev: f7ba2fd03ee40c5dbe6a07a24a63d9147857ed78)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Added glossary entry for EXTERNAL_KERNEL_TOOLS
Scott Rifenbark [Wed, 15 Apr 2015 18:53:18 +0000 (11:53 -0700)] 
ref-manual: Added glossary entry for EXTERNAL_KERNEL_TOOLS

(From yocto-docs rev: 23caeb53eaed68135e4dbf7adbb5c0c16ef70cf0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoref-manual: Fixed style sheet
Scott Rifenbark [Wed, 15 Apr 2015 18:52:04 +0000 (11:52 -0700)] 
ref-manual: Fixed style sheet

Style sheet was not spacing after the first paragraph for glossary
entries.

(From yocto-docs rev: fb08aec5303ed21315839c55b413873569497f23)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobash: explicitly define NON_INTERACTIVE_LOGIN_SHELLS in CFLAGS
Chen Qi [Tue, 21 Apr 2015 09:30:47 +0000 (17:30 +0800)] 
bash: explicitly define NON_INTERACTIVE_LOGIN_SHELLS in CFLAGS

If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the
startup files, even if they are not interactive.

This is the behaviour of other major distros like Ubuntu and Fedora.
We also need to set it so that when executing `su -l xxx -c env' command,
/etc/profile is parsed.

[YOCTO #5359]
[YOCTO #7137]

(From OE-Core rev: 33af68d62bb427c588f5eeecb75fbc31b55f8459)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoshadow: fix `su' behaviour
Chen Qi [Tue, 21 Apr 2015 09:30:46 +0000 (17:30 +0800)] 
shadow: fix `su' behaviour

0001-su.c-fix-to-exec-command-correctly.patch is removed. Below is the reason.
This patch is introduced to solve the 'su: applet not found' problem when
executing `su -l xxx -c env'. The patch references codes of previous release
of shadow. However, this patch introduces bug#5359. So it's not correct.

Let's first look at the root cause of 'su: applet not found' problem.
This problem appears when /bin/sh is provided by busybox.
When executing `su -l xxx -c env' command, the following function is invoked.
    execve("/bin/sh", ["-su", "-c", "env"], [/* 6 vars */])
Note that the argv[0] provided to new executable file (/bin/sh) is "-su".
As /bin/sh is a symlink to /bin/busybox. It's /bin/busybox that is executed.
In busybox's appletlib.c, it would examine argv[0], try to find an applet
that has the same name, and then try to execute the main function of the
applet. This logic results in `su' applet from busybox to be executed.
However, we default to set 'BUSYBOX_SPLIT_SUID' to "1", so 'su' is not found.
Further more, even if we set 'BUSYBOX_SPLIT_SUID' to "0", so that 'su' applet
is found. The whole behaviour is still not correct. Because 'su' from shadow
takes higher priority than that from busybox, so 'su' from busybox should never
be executed on such system unless it's specified clearly by the end user.
The logic of busybox's appletlib.c is totally correct from the point of busybox
itself. It's an integration problem.

To solve the above problem, this patch comment out SU_NAME in /etc/login.defs
so that the final function executed in shadow's su is as below.
    execve("/bin/sh", ["-sh", "-c", "env"], [/* 6 vars */])

[YOCTO #5359]
[YOCTO #7137]

(From OE-Core rev: 6820f05dad0b4f9b9bbcf7c2a0af8c34f66199ae)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-4.9: backport from gcc trunk r212178
Stefan Müller-Klieser [Tue, 21 Apr 2015 08:23:47 +0000 (10:23 +0200)] 
gcc-4.9: backport from gcc trunk r212178

When compiling meta-toolchain-qt5 on cortexa8, the compiler throws an
internal compiler error:

...
qttools-opensource-src-5.3.2/src/linguist/shared/po.cpp:
In function 'bool loadPO(Translator&, QIODevice&, ConversionData&)':
qttools-opensource-src-5.3.2/src/linguist/shared/po.cpp:717:1:
internal compiler error: in add_stores, at var-tracking.c:6000
...

Tracking this down led to https://bugs.linaro.org/show_bug.cgi?id=534
It seems the bug is well know and fixed upstream. So backporting from
trunk seems to be the right solution. This fixes the compiler problem
on cortexa8 and does not seem to be very invasive. The original commit
can be found at:

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212178 138bc75d-0d04-0410-961f-82ee72b054a4

(From OE-Core rev: 6751ef78694783fb86e55c77afefae750ab1b610)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agositeinfo.bbclass: Added Epiphany archinfo
Peter Saunderson [Sun, 12 Apr 2015 17:31:42 +0000 (18:31 +0100)] 
siteinfo.bbclass: Added Epiphany archinfo

Adding machine definitions for the epiphany (http://www.adapteva.com/) chip.

(From OE-Core rev: 2081033c11dcd81bd290bc1d6c22ea84eb97923f)

Signed-off-by: Peter Saunderson <peteasa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinsane.bbclass: Added Epiphany machine definitions
Peter Saunderson [Sun, 12 Apr 2015 17:27:38 +0000 (18:27 +0100)] 
insane.bbclass: Added Epiphany machine definitions

Adding machine definitions for the epiphany (http://www.adapteva.com/) chip using https://github.com/adapteva/epiphany-binutils-gdb.
For binutils implementation that defines TARGET_ARCH MACHINE "epiphany": 4643 See https://github.com/adapteva/epiphany-binutils-gdb/blob/epiphany-binutils-2.24/bfd/elf32-epiphany.c
For example layer that uses these defines see https://github.com/peteasa/meta-epiphany.git

(From OE-Core rev: 937471ff2c633865d68e6ee73e0ec462d3768116)

Signed-off-by: Peter Saunderson <peteasa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage: zap_empty_root_password doesn't handle passwd file in shadow case
tprrt [Mon, 13 Apr 2015 22:08:03 +0000 (00:08 +0200)] 
image: zap_empty_root_password doesn't handle passwd file in shadow case

/etc/passwd isn't editted if /etc/shadow exists and should be else
it can cause problems with some login providers such as toybox.

(From OE-Core rev: 09ac2664fba223111c20c3000af6b8d5cdaabeb1)

Signed-off-by: tprrt <tprrt@tupi.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorootfsdebugfiles.bbclass: quick-and-dirty installation of additional files
Patrick Ohly [Mon, 13 Apr 2015 15:44:38 +0000 (08:44 -0700)] 
rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files

The main motivation for this class was the observation that
a) a core-image can hang under qemu when the kernel does not
   have enough entropy to generate the ssh host key
b) ssh complains about changing ssh host key files when
   rebooting the same machine with different images

For debugging it is okay to reuse an ssh host key generated on the device
before. There may be also similar use cases, so the class is generic enough to
also copy more than one file or directory, with dropbear_rsa_host_key given as
example.

The documentation and naming of the class makes it clear that it
should not be used for production images.

(From OE-Core rev: ae4d605d802edb4c8bdb2dbee1b0c36d7730c07f)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoghostscript: add objarch.h for armeb
Krishnanjanappa, Jagadeesh [Tue, 14 Apr 2015 09:38:48 +0000 (15:08 +0530)] 
ghostscript: add objarch.h for armeb

ghostscript application fails to fetch objarch.h file while building for armeb.
The fetch failure is due to absence of this file in the default set of
directories that the OpenEmbedded build system searches (i.e FILESPATH)
for patches and files. This patch adds the required objarch.h file for
armeb in one of the default locations where OpenEmbedded build system searches.

(From OE-Core rev: c520165f8fe7c01865ddb2565908211c0cfd2185)

Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: code cleanup: wildcard imports
Ed Bartosh [Wed, 15 Apr 2015 20:47:10 +0000 (23:47 +0300)] 
wic: code cleanup: wildcard imports

Here is what PEP8(Style Guide for Python Code) says about this:

Wildcard imports (from <module> import *) should be avoided, as they
make it unclear which names are present in the namespace, confusing
both readers and many automated tools.

(From OE-Core rev: 13416c1941f5dc8abcdb0073f2104a89eae2d6f1)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: code cleanup: undefined variables
Ed Bartosh [Wed, 15 Apr 2015 20:45:46 +0000 (23:45 +0300)] 
wic: code cleanup: undefined variables

Fixed forgoten imports Wic_PartData and ImageError.
Removed unused and undefined variable syslinux_conf.

(From OE-Core rev: db0903ad89dcb655c0eec5ac6dce96aae26533da)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoolchain-shar-extract.sh: mention how to set up the SDK environment
Paul Eggleton [Mon, 20 Apr 2015 16:47:09 +0000 (17:47 +0100)] 
toolchain-shar-extract.sh: mention how to set up the SDK environment

Tell the user how to set up the SDK environment each time they want to
use it.

(From OE-Core rev: 617225af7a7cc9cb038fb1e6466af03867482032)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_base: Show title in SDK installer
Paul Eggleton [Mon, 20 Apr 2015 16:47:08 +0000 (17:47 +0100)] 
classes/populate_sdk_base: Show title in SDK installer

Show a friendly title when running the SDK installer, so the user knows
what SDK they are installing. The title is controlled by the
SDK_INSTALLER_TITLE variable and includes the distro name and SDK
version by default.

(From OE-Core rev: 0af913887f4c0a79c6b950bd5d57c06333520a14)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_ext: add warning against editing configuration
Paul Eggleton [Mon, 20 Apr 2015 16:47:07 +0000 (17:47 +0100)] 
classes/populate_sdk_ext: add warning against editing configuration

It may be tempting to edit the configuration of the encapsulated version
of the build system, however that is not the way it is intended to be
used, so add a warning against doing this.

(From OE-Core rev: 80bbd763448fa061e3dbc3ace8d6bc9f65e4bfaf)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_ext: disable network connectivity check
Paul Eggleton [Mon, 20 Apr 2015 16:47:06 +0000 (17:47 +0100)] 
classes/populate_sdk_ext: disable network connectivity check

Most of the time we shouldn't be downloading anything within the
extensible SDK (since it's all pre-built and we have the sstate
artifacts) therefore there's really no need for a connectivity
check, in fact it may just get in the way.

(From OE-Core rev: beaf851ae8aadb5b9e3c0b9840479efcbb05be23)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: force use of bash when running build within extensible SDK
Paul Eggleton [Mon, 20 Apr 2015 16:47:05 +0000 (17:47 +0100)] 
devtool: force use of bash when running build within extensible SDK

Ubuntu's default dash shell causes oe-init-build-env to behave a bit
differently - (a) it can't pick up the OE root directory and (b) it
can't see any build directory specified as a command-line argument
(since dash doesn't pass through any arguments specified to sourced
scripts). We could work around these but doing so requires some internal
knowledge of the script; a much simpler fix is just to force running the
command under bash since it's expected to be installed on every distro.

Thanks to Chen Qi <Qi.Chen@windriver.com> for this fix.

Fixes [YOCTO #7614].

(From OE-Core rev: 27942f546e6b08cdf9f2dbda2e24d237cde7f5f5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss: improve the script signlibs.sh
Jackie Huang [Wed, 25 Mar 2015 02:19:15 +0000 (10:19 +0800)] 
nss: improve the script signlibs.sh

The *.chk files are installed in ${libdir} by nss,
which is already known, no need to 'find' to get the
file list, and 'ls' is more faster than 'find'.

(From OE-Core rev: 7eba8ba126e8757d0b1d5c3a758748e42c3646ff)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: Add lastb to alternatives
Bryan Evenson [Mon, 20 Apr 2015 18:43:32 +0000 (14:43 -0400)] 
util-linux: Add lastb to alternatives

util-linux creates lastb as a symlink to last during the build.
Just as other applications may provide last, other applications
may provide lastb.

Add alternatives designations for lastb to avoid installation
conflicts with other applications.

(From OE-Core rev: cde6a85fd327407320adaad21203079a8dacbf23)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-lib: 1.0.28 -> 1.0.29
Tanu Kaskinen [Mon, 20 Apr 2015 19:45:43 +0000 (22:45 +0300)] 
alsa-lib: 1.0.28 -> 1.0.29

Release notes:
http://alsa-project.org/main/index.php/Changes_v1.0.28_v1.0.29

Dropped the backported patches.

Dropped also fix-tstamp-declaration.patch. It's unclear whether the
ancient patch is needed by anyone any more. The original commit
message[1] wasn't very clear on what specific conditions triggered the
build failure that the patch fixes, so it's hard to try to reproduce
the failure.

[1] http://cgit.openembedded.org/openembedded/commit/?id=f61f3efe2389249c001107ccd55dac39e79ef2a1

(From OE-Core rev: 893b317c354d2bb4ee9f44d7318e0f59382060a9)

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agou-boot.inc: make sure all counter variables are properly unset
Carlos Rafael Giani [Mon, 20 Apr 2015 19:17:08 +0000 (21:17 +0200)] 
u-boot.inc: make sure all counter variables are properly unset

The script does "i == j" checks to retrieve the config <-> type pairs from
the UBOOT_MACHINE and UBOOT_CONFIG lists. This check however requires both
j and i to be initially unset. Ensure this by explicitely unsetting i.

This fixes broken u-boot SPL installations with SolidRun machines
(the SPL wasn't being installed and deployed.)

(From OE-Core rev: 50233dc2544fe8eeee69a5dc07f505db29fc9e0e)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobison: don't depend on help2man
Robert Yang [Tue, 21 Apr 2015 09:04:01 +0000 (02:04 -0700)] 
bison: don't depend on help2man

Fix build error when no help2man on the host:
tmp/work/x86_64-linux/bison-native/3.0.4-r0/bison-3.0.4/build-aux/missing: line 81: help2man: command not found

(From OE-Core rev: 166f2587468ae71988c610858aad3f7ef67eccba)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinit-install-efi.sh: fix gummiboot entry installation
Reinette Chatre [Tue, 14 Apr 2015 18:49:37 +0000 (11:49 -0700)] 
init-install-efi.sh: fix gummiboot entry installation

After selecting the "install" gummiboot option of a Live image we are
seeing boot failure resulting from the gummiboot entries not being
installed correctly. This seems to be a problem in this init-install-efi.sh
script where it incorrectly installs the gummiboot entries into the root
filesystem, not the boot partition. We fix it by installing the entries in
the boot partition.

(From OE-Core rev: c9b06c79ed8a082d1b385e9f61721aeeda9bf1af)

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotxdata: update to 2015c
Armin Kuster [Tue, 14 Apr 2015 05:02:47 +0000 (22:02 -0700)] 
txdata: update to 2015c

Changes affecting future time stamps

Egypt's spring-forward transition is at 24:00 on April's last Thursday,
not 00:00 on April's last Friday.  2015's transition will therefore be on
Thursday, April 30 at 24:00, not Friday, April 24 at 00:00.  Similar fixes
apply to 2026, 2037, 2043, etc.  (Thanks to Steffen Thorsen.)

Changes affecting past time stamps

The following changes affect some pre-1991 Chile-related time stamps
in America/Santiago, Antarctica/Palmer, and Pacific/Easter.

The 1910 transition was January 10, not January 1.

The 1918 transition was September 10, not September 1.

The UTC-4 time observed from 1932 to 1942 is now considered to be
standard time, not year-round DST.

Santiago observed DST (UTC-3) from 1946-07-15 through 1946-08-31,
then reverted to standard time, then switched its time zone to
UTC-5 on 1947-04-01.

Assume transitions before 1968 were at 00:00, since we have no data
saying otherwise.

The spring 1988 transition was 1988-10-09, not 1988-10-02.
The fall 1990 transition was 1990-03-11, not 1990-03-18.

Assume no UTC offset change for Pacific/Easter on 1890-01-01,
and omit all transitions on Pacific/Easter from 1942 through 1946
since we have no data suggesting that they existed.

One more zone has been turned into a link, as it differed
from an existing zone only for older time stamps.  As usual,
this change affects UTC offsets in pre-1970 time stamps only.
The zone's old contents have been moved to the 'backzone' file.
The affected zone is America/Montreal.

(From OE-Core rev: fb45d5079235873c364639c43a15dcb56e075f14)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotzcode: update to 2015c
Armin Kuster [Tue, 14 Apr 2015 05:02:46 +0000 (22:02 -0700)] 
tzcode: update to 2015c

Changes affecting commentary
 Mention the TZUpdater tool.
 Mention "The Time Now".  (Thanks to Brandon Ramsey.)

(From OE-Core rev: a9b726ae096132517c7992e025d7b001837bd9bd)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc-target: remove gcc-plugin-dev from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:44 +0000 (02:04 -0700)] 
gcc-target: remove gcc-plugin-dev from PACKAGES

There should be only one dev and dbg package.

(From OE-Core rev: b38119f4dc69421605355f92954ef39dad93b419)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcc: remove libgcov-dev from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:43 +0000 (02:04 -0700)] 
libgcc: remove libgcov-dev from PACKAGES

There should be only one dev and dbg package.

(From OE-Core rev: 1e9ccec936554c69ede04babee9955f25b296588)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocurl: remove extra dev and staticdev from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:42 +0000 (02:04 -0700)] 
curl: remove extra dev and staticdev from PACKAGES

There should be only one dev and dbg package.

(From OE-Core rev: eb972e9b4b4210fa1c35fc0fae0ada27264b2e66)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxz: remove liblzma-dev and liblzma-dbg from PACKAGES
Robert Yang [Tue, 14 Apr 2015 09:04:41 +0000 (02:04 -0700)] 
xz: remove liblzma-dev and liblzma-dbg from PACKAGES

There should be only one dev and dbg package.

(From OE-Core rev: bc443f009bb34129fb9c092bb9e5ae538e472f66)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobison: 2.7.1 -> 3.0.4
Robert Yang [Tue, 14 Apr 2015 09:07:12 +0000 (02:07 -0700)] 
bison: 2.7.1 -> 3.0.4

* Based on Chong Lu's previous upgrade to 3.0.2
* Remove unneeded patches:
  dont-depend-on-help2man.patch and
  fix_cross_manpage_building.patch

(From OE-Core rev: fbb26d8db8e71fd979edd2bafa7e0bab7632950c)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowebkit-gtk: ANGLE doesn't build with bison 3
Chong Lu [Tue, 14 Apr 2015 09:07:14 +0000 (02:07 -0700)] 
webkit-gtk: ANGLE doesn't build with bison 3

Use %lex-param to set YYLEX_PARAM.

(From OE-Core rev: 32d71ce184aa036b21116fcfaad799be59579329)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer: change priv_gst_parse_yylex arguments
Chong Lu [Tue, 14 Apr 2015 09:07:13 +0000 (02:07 -0700)] 
gstreamer: change priv_gst_parse_yylex arguments

Change priv_gst_parse_yylex to fit new bison version, else we will
get following error:

| grammar.tab.c: In function 'priv_gst_parse_yyparse':
| grammar.tab.c:67:25: error: too few arguments to function 'priv_gst_parse_yylex'
|  #define yylex           priv_gst_parse_yylex
|                          ^

(From OE-Core rev: e20e186959c64a6cb405761417969429ddf6011e)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython-git: 0.3.6 -> 1.0.0
Robert Yang [Tue, 14 Apr 2015 09:07:11 +0000 (02:07 -0700)] 
python-git: 0.3.6 -> 1.0.0

(From OE-Core rev: d90fe3be2693a4810f0e165a278d19662abf3477)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcl: 8.6.3 -> 8.6.4
Robert Yang [Tue, 14 Apr 2015 09:07:10 +0000 (02:07 -0700)] 
tcl: 8.6.3 -> 8.6.4

The LIC_FILES_CHKSUM has been changed since 2 extra spaces in the end
were moved.

(From OE-Core rev: 6ec3b49c994f855910a3eb1a111f959e7d44c16d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognu-efi: 3.0.1 -> 3.0.2
Robert Yang [Tue, 14 Apr 2015 09:07:09 +0000 (02:07 -0700)] 
gnu-efi: 3.0.1 -> 3.0.2

(From OE-Core rev: 621d6355869c7490d0a902d4acacbfd2dcdb7129)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontcache: allow to pass different fontconfig cache dir
Martin Jansa [Tue, 7 Apr 2015 11:21:13 +0000 (13:21 +0200)] 
fontcache: allow to pass different fontconfig cache dir

(From OE-Core rev: 40f7986313277ef815b19331388bca124187bfeb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/utils/decorators: Fix up frame selection
Nathan Rossi [Thu, 16 Apr 2015 08:29:24 +0000 (18:29 +1000)] 
oeqa/utils/decorators: Fix up frame selection

Use threading to get the current threads ident to select the current
executing frame to ensure that the scanned stack is the expected stack.

This allows for the decorators to be used within a process that has
multiple threads executing.

(From OE-Core rev: a44d27b92baba4ab51f432ec01cdc473436ce406)

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes: Fix charset.alias for musl
Khem Raj [Thu, 16 Apr 2015 02:00:25 +0000 (19:00 -0700)] 
recipes: Fix charset.alias for musl

This is same gnulib fix replicated across needed recipes

Change-Id: I756713407111a726eae98e26c9c1ff64981371c0
(From OE-Core rev: fbe6d2c12aa9f7956bc87efeb68cb64b26b60c7a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomtd-utils: update to latest and fix static inlining
Khem Raj [Thu, 16 Apr 2015 02:00:26 +0000 (19:00 -0700)] 
mtd-utils: update to latest and fix static inlining

use static storage class instead of extern for inline functions
and remove duplicate definitions as a result

Change-Id: I72e8c5f19dff656c18f719d1e9e2ca697c9a856f
(From OE-Core rev: 1a9d92b9891c06ede91af05d516a429e1f81777d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibnfsidmap: Include sys/types.h for u_int32_t
Khem Raj [Thu, 16 Apr 2015 02:00:24 +0000 (19:00 -0700)] 
libnfsidmap: Include sys/types.h for u_int32_t

Exposed using musl

Change-Id: Ia155850b3dfe62cd7d10b207b94ff3cc1f0244fc
(From OE-Core rev: 65e30309ac66bdd7785eb3790b91245a9ac5277a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoparted: Add patches to fix build on musl
Khem Raj [Thu, 16 Apr 2015 02:00:23 +0000 (19:00 -0700)] 
parted: Add patches to fix build on musl

Theese patches are actually generic but expose issues
when compiling on musl

Change-Id: Ib5312af280d2c399334c5645fbea215737933ae5
(From OE-Core rev: b468afdf13954976a637322cf21d95a0362c32b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistcc:Include missing fcntl.h in zeroconf
Khem Raj [Thu, 16 Apr 2015 02:00:22 +0000 (19:00 -0700)] 
distcc:Include missing fcntl.h in zeroconf

This is exposed by musl

Change-Id: I39ea3a66135d33ed0a9abbd94d3c0f39120e3586
(From OE-Core rev: 02141a482e6db16968bfee787b38a284487bd770)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodosfstools: Fix build with musl
Khem Raj [Thu, 16 Apr 2015 02:00:21 +0000 (19:00 -0700)] 
dosfstools: Fix build with musl

We need to pass _GNU_SOURCE and include fcntl.h

Change-Id: Ice0597ddac3b275400880d85793ece4b300bec9b
(From OE-Core rev: 022a96c7a396bd6bbf499984f4ea8639111fe3b7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssh: Upgrade 6.7 - > 6.8
Khem Raj [Thu, 16 Apr 2015 02:00:20 +0000 (19:00 -0700)] 
openssh: Upgrade 6.7 - > 6.8

Its a major releaseof openssh, should be fully
compatible with 6.7 additionally works with musl

Change-Id: I903d31247b8a318b9be1c21f764ffe56b5971ca9
(From OE-Core rev: 4ac2974f463f8e2970d9e44e3b273c672a3cab8c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocoreutils: Add code to consider musl when selecting charsets
Khem Raj [Thu, 16 Apr 2015 02:00:19 +0000 (19:00 -0700)] 
coreutils: Add code to consider musl when selecting charsets

The real issue is in gnulib where it should be fixed
but gnulib gets imported in source into various components
and that may take a while. So lets fix the componnets versions
and as/if they land in new gnulib with a fix we can take
it off.

Change-Id: I63bbcb7bc4d92cb1ec74bb4f4f5109a377060253
(From OE-Core rev: 901114ffb72c14b989690d753298d9db77a126b5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoat: Remove glibc specific code
Khem Raj [Thu, 16 Apr 2015 02:00:18 +0000 (19:00 -0700)] 
at: Remove glibc specific code

Fixes errors like
|
/home/kraj/work/bleeding/openembedded-core/build/tmp-musl/work/i586-oe-linux-musl/at/3.1.16-r0/at-3.1.16/parsetime.y:264:
undefined reference to `__isleap'
| collect2: error: ld returned 1 exit status

Change-Id: Ie6ec970b12c918de640ba47e090b2f67a3a43f4e
(From OE-Core rev: a6e65f1889fb3e9ff4e45197c20806f96eefde9b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: fixes for compilation failures with musl
Andre McCurdy [Sat, 18 Apr 2015 00:25:36 +0000 (17:25 -0700)] 
strace: fixes for compilation failures with musl

Backports from upstream:

  http://sourceforge.net/p/strace/code/ci/d34e00b293942b1012ddc49ed3ab379a32337611
  http://sourceforge.net/p/strace/code/ci/3460dc486d333231998de0f19918204aacee9ae3

Expected to be released officially as part of strace 4.11

(From OE-Core rev: 7d40c6ff1d1d64ebeeffb6bfc200dcd84861214a)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoe2fsprogs: add ptest
Dmitry Eremin-Solenikov [Sat, 18 Apr 2015 14:58:17 +0000 (17:58 +0300)] 
e2fsprogs: add ptest

Enable ptest for e2fsprogs by reusing provided testsuite.

(From OE-Core rev: 47edd33cf8df3ebbfd5164136fb79ac831f01286)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunwind: use gold for all archs
Robert Yang [Mon, 20 Apr 2015 08:05:34 +0000 (01:05 -0700)] 
libunwind: use gold for all archs

At least the following boards have build errors without using gold:
qemux86, qemux86-64, qemuarm, qemuaarch64, qemuppc.

The error is:
ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
ld: failed to set dynamic section sizes: Bad value
ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
ld: failed to set dynamic section sizes: Bad value
| collect2: error: ld returned 1 exit status

So use gold for all archs to fix the problem.

(From OE-Core rev: 3dd233ac0c80393824100c54bb525236f8290fd2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopax-utils: 0.9.2 -> 1.0.3
Robert Yang [Mon, 20 Apr 2015 08:09:22 +0000 (01:09 -0700)] 
pax-utils: 0.9.2 -> 1.0.3

(From OE-Core rev: 80a1677b9ebae3ca78864eac14a7c300a7093777)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoliberror-perl: 0.17022 -> 0.17023
Robert Yang [Mon, 20 Apr 2015 08:09:21 +0000 (01:09 -0700)] 
liberror-perl: 0.17022 -> 0.17023

(From OE-Core rev: 8a7769b31e11f3ed50950fa2509e70c4dcf4ef6f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocryptodev: 1.6 -> 1.7
Robert Yang [Mon, 20 Apr 2015 08:09:20 +0000 (01:09 -0700)] 
cryptodev: 1.6 -> 1.7

* Remove 0002-In-the-3.13-rc1-Linux-kernel-the-INIT_COMPLETION-mac.patch
  since it was a backported patch.

* Updated 0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch.

(From OE-Core rev: 9347311ca444c3128653c96f9f2845713c646fa7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodbus-glib: 0.102 -> 0.104
Robert Yang [Mon, 20 Apr 2015 08:09:19 +0000 (01:09 -0700)] 
dbus-glib: 0.102 -> 0.104

(From OE-Core rev: 746e45aa9d608846b62febf530b9414700627027)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoccache: 3.1.9 -> 3.1.11
Robert Yang [Mon, 20 Apr 2015 08:09:18 +0000 (01:09 -0700)] 
ccache: 3.1.9 -> 3.1.11

(From OE-Core rev: 38f17efd9722c7f8f76349387ac10121f011a7a4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodirectfb: 1.7.6 -> 1.7.7
Robert Yang [Mon, 20 Apr 2015 08:09:17 +0000 (01:09 -0700)] 
directfb: 1.7.6 -> 1.7.7

(From OE-Core rev: 7082c51f2a01de64eb490c6d062a0cce4b0eab8c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocracklib: 2.9.2 -> 2.9.3
Robert Yang [Mon, 20 Apr 2015 08:09:16 +0000 (01:09 -0700)] 
cracklib: 2.9.2 -> 2.9.3

(From OE-Core rev: ab45988308bee91c7d600c6adf308fc55858e715)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosysvinit: Add lastb to alternatives
Bryan Evenson [Mon, 20 Apr 2015 15:07:37 +0000 (11:07 -0400)] 
sysvinit: Add lastb to alternatives

SysVinit creates lastb as a symlink to last during the build.
Just as other applications may provide last, other applications
may provide lastb.

Add alternatives designations for lastb to avoid installation
conflicts with other applications.

(From OE-Core rev: c76270e55cf6db6c757690f4b8df8c95924bdcd7)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoudev: Add RCONFLICTS/RREPLACES for udev-utils
Bryan Evenson [Mon, 20 Apr 2015 14:53:47 +0000 (10:53 -0400)] 
udev: Add RCONFLICTS/RREPLACES for udev-utils

As of commit 9bb5c7472958aeea46225e835f44d45bea7f7351, the
udev-utils package no longer exists with udev taking ownership
of udevadm.  However, systems that had udev-utils installed have
a conflict with udev.

Add RCONFLICTS and RREPLACES variables for udev-utils so udev-utils
will be removed from systems that are upgrading udev.  This change
would be applicable for master back through dizzy when the problem
was introduced.

(From OE-Core rev: 3a457cd2c5c9abf1b3aa622edbcc689d88b1c4ac)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolz4: update package to 128 and SRC_URI
Armin Kuster [Tue, 14 Apr 2015 15:53:59 +0000 (08:53 -0700)] 
lz4: update package to 128 and SRC_URI

The main reason for the update is to use github
as the project moved away from googlecode.

(From OE-Core rev: 090727384bed38c4317a25d2ecf4c7855a3ffaaa)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupstream_tracking.inc: bluez4 removed from oe-core
Cristian Iorga [Mon, 20 Apr 2015 14:46:44 +0000 (17:46 +0300)] 
upstream_tracking.inc: bluez4 removed from oe-core

info updated accordingly.

(From meta-yocto rev: cd1641674f8a2378f12682d67c5a45e4b58965c0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomaintainers.inc: remove info related to bluez4
Cristian Iorga [Mon, 20 Apr 2015 14:46:43 +0000 (17:46 +0300)] 
maintainers.inc: remove info related to bluez4

bluez4, bluez-hcidump, gst-plugin-bluetooth recipes
will be removed from oe-core, maintainers removed.

(From meta-yocto rev: 8953a5bf2200c929ee792cdbdb4ef913fde1e33f)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage.bbclass: Allow to remove do_rootfs -> virtual/kernel:do_packagedata dependency
Martin Jansa [Mon, 20 Apr 2015 13:04:44 +0000 (15:04 +0200)] 
image.bbclass: Allow to remove do_rootfs -> virtual/kernel:do_packagedata dependency

* this is causing dependency loops in some cases
  e.g. linux-hp-tenderloin depends on initramfs-android-image, but
    commit 41f0f86ec0a3e0b6f6c9bb4ef71a4215c00bf66c
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Tue Jan 27 15:24:52 2015 +0000
    Subject: image: Add missing depends on virtual/kernel for depmod data
  adds also dependency between <image>.do_rootfs and virtual/kernel:do_packagedata
  causing this dependency loop:

Dependency loop #1 found:
  Task 78 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_install)
    (dependent Tasks ['linux-hp-tenderloin, do_compile',
                      'pseudo, do_populate_sysroot'])
  Task 88 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_package)
    (dependent Tasks ['rpm, do_populate_sysroot',
                      'pseudo, do_populate_sysroot',
                      'linux-hp-tenderloin, do_install',
                      'initramfs-android-image.bb, do_packagedata',
                      'glibc, do_packagedata',
                      'file, do_populate_sysroot',
                      'gcc-runtime, do_packagedata'])
  Task 89 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_package_write_ipk)
    (dependent Tasks ['linux-hp-tenderloin, do_package',
                      'opkg-utils, do_populate_sysroot',
                      'linux-hp-tenderloin, do_packagedata',
                      'pseudo, do_populate_sysroot'])
  Task 560 (meta-smartphone/meta-android/recipes-core/images/initramfs-android-image.bb, do_rootfs)
    (dependent Tasks ['bash, do_package_write_ipk',
                      'run-postinsts, do_package_write_ipk',
                      'db, do_package_write_ipk',
                      'update-rc.d, do_populate_sysroot',
                      'android-tools-conf, do_package_write_ipk',
      'base-passwd, do_package_write_ipk',
                      'initramfs-boot-android, do_package_write_ipk',
      'expat, do_package_write_ipk',
                      'bzip2, do_packagedata',
      'glibc-initial, do_packagedata',
                      'openssl, do_package_write_ipk',
                      'bzip2, do_package_write_ipk',
      'busybox, do_packagedata',
                      'zlib, do_packagedata',
      'qemuwrapper-cross, do_packagedata',
                      'base-passwd, do_packagedata',
      'busybox, do_package_write_ipk',
                      'zlib, do_package_write_ipk',
      'qemuwrapper-cross, do_package_write_ipk',
      'gcc-runtime, do_package_write_ipk',
      'gettext, do_packagedata',
      'initramfs-boot-android, do_packagedata',
      'gettext, do_package_write_ipk',
      'libgcc-initial, do_packagedata',
                      'expat, do_packagedata',
                      'gdbm, do_packagedata',
      'depmodwrapper-cross, do_package_write_ipk',
                      'libgcc-initial, do_package_write_ipk',
                      'glibc-initial, do_package_write_ipk',
                      'linux-libc-headers, do_packagedata',
                      'glibc, do_packagedata',
                      'initramfs-android-image.bb, do_packagedata',
                      'glibc, do_package_write_ipk',
                      'sqlite3, do_packagedata',
                      'initramfs-android-image.bb, do_package_write_ipk',
                      'sqlite3, do_package_write_ipk',
                      'android-tools-conf, do_packagedata',
                      'ncurses, do_packagedata',
                      'openssl, do_packagedata',
                      'android-tools, do_packagedata',
                      'ncurses, do_package_write_ipk',
                      'cryptodev-linux, do_packagedata',
                      'android-tools, do_package_write_ipk',
                      'pseudo, do_populate_sysroot',
                      'cryptodev-linux, do_package_write_ipk',
                      'linux-libc-headers, do_package_write_ipk',
                      'depmodwrapper-cross, do_packagedata',
                      'linux-hp-tenderloin, do_packagedata',
                      'readline, do_package_write_ipk',
                      'opkg-utils, do_packagedata',
                      'linux-hp-tenderloin, do_package_write_ipk',
                      'python, do_packagedata',
                      'gdbm, do_package_write_ipk',
                      'opkg, do_populate_sysroot',
                      'python, do_package_write_ipk',
                      'libtool-cross, do_packagedata',
                      'db, do_packagedata',
                      'libgcc, do_packagedata',
                      'libtool-cross, do_package_write_ipk',
                      'update-rc.d, do_packagedata',
                      'update-rc.d, do_package_write_ipk',
                      'libgcc, do_package_write_ipk',
                      'opkg-utils, do_populate_sysroot',
                      'makedevs, do_populate_sysroot',
                      'readline, do_packagedata',
                      'base-files, do_packagedata',
                      'gcc-runtime, do_packagedata',
                      'opkg-utils, do_package_write_ipk',
                      'base-files, do_package_write_ipk',
                      'ldconfig-native, do_populate_sysroot',
                      'bash, do_packagedata',
                      'run-postinsts, do_packagedata'])
  Task 82 (meta-smartphone/meta-hp/recipes-kernel/linux/linux-hp-tenderloin_git.bb, do_compile)
    (dependent Tasks ['initramfs-android-image.bb, do_rootfs',
                      'linux-hp-tenderloin, do_configure'])

(From OE-Core rev: 2e3c8fd70694dcf9553b5e4c50a57b617a9130b6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoinitscripts: Remove /etc/volatile.cache on upgrade
Bryan Evenson [Tue, 14 Apr 2015 21:08:16 +0000 (17:08 -0400)] 
initscripts: Remove /etc/volatile.cache on upgrade

/etc/volatile.cache is a cached copy of a script (which is
generated by /etc/init.d/populate-volatile.sh) that generates
the volatile filesystem directories.  Since volatile.cache is
a generated file, it is not necessarily changed if
populate-volatile.sh is updated.  As a result, the stale script
can add/remove the wrong directories on the next system boot.

If initscripts is being upgraded, make sure volatile.cache gets
deleted.

(From OE-Core rev: 317269b4a5c698e30b87bd597b436283512cbde9)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobase-files: Check for /run and /var/lock softlinks on upgrade
Bryan Evenson [Tue, 14 Apr 2015 21:08:15 +0000 (17:08 -0400)] 
base-files: Check for /run and /var/lock softlinks on upgrade

Commit ea647cd9eebdc3e3121b84074519c4bb305adac9 moved the locations
of /run and /var/lock to match the FHS 3 draft specifications.
However, the install doesn't remove the existing directories.
As a result, upgrading a system may result in /run as a softlink
to /var/run and /var/run as a softlink to /run, creating a circular
link.

During pre-install, check for the existence of the old softlinks and
remove them so the new directories can be installed.

(From OE-Core rev: 272805f064848f14306b1ed2648a7760017ee318)

Signed-off-by: Bryan Evenson <bevenson@melinkcorp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: lib/bb/utils: add safeguard against recursively deleting things we shouldn't
Paul Eggleton [Fri, 17 Apr 2015 14:26:59 +0000 (15:26 +0100)] 
bitbake: lib/bb/utils: add safeguard against recursively deleting things we shouldn't

Add some very basic safeguard against recursively deleting paths such
as / and /home in the event of bugs or user mistakes.

Addresses [YOCTO #7620].

(Bitbake rev: 56cddeb9e1e4d249f84ccd6ef65db245636e38ea)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cookerdata: Allow ~ in bblayers
Ed Bartosh [Sat, 18 Apr 2015 15:09:46 +0000 (18:09 +0300)] 
bitbake: cookerdata: Allow ~ in bblayers

Implemented processing of ~ in bblayer's paths if HOME
environment variable is approved.

(Bitbake rev: 3b8a656d3ccb543c32696229184ebf12237ad38e)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogmp: remove referencing paths from the build host
Junling Zheng [Fri, 17 Apr 2015 08:50:08 +0000 (08:50 +0000)] 
gmp: remove referencing paths from the build host

Currently ${D}${includedir}/gmp.h references the path of build host
incorrectly, remove it.

(From OE-Core rev: 97d56a5b8e4f15eb32095f242eb2fd62fc5d85f2)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocairo_1.14.2: Modified the license of cairo-trace.
Lei Maohui [Fri, 17 Apr 2015 06:15:40 +0000 (14:15 +0800)] 
cairo_1.14.2: Modified the license of cairo-trace.

Because the license of cairo-trace is GPLv3(util/cairo-trace/COPYING).
So pickup cairo-trace,and modified the license to GPLv3.

(From OE-Core rev: 9e29a8bec3e6bcba38cf097181e50f1266b33221)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibgcrypt: modified the license of dumpsexp.
Lei Maohui [Fri, 17 Apr 2015 03:21:38 +0000 (11:21 +0800)] 
libgcrypt: modified the license of dumpsexp.

Because dumpsexp.c is GPLv3. So pick up the dumpsexp and modified license to GPLv3.

(From OE-Core rev: 18cc7893e453bb10e395ff81dd10c0b5872a1742)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomdadm: add ptest
Dmitry Eremin-Solenikov [Fri, 17 Apr 2015 13:52:24 +0000 (16:52 +0300)] 
mdadm: add ptest

Enable ptest for mdadm, by reusing internal testsuite.

(From OE-Core rev: 313a6ee224831d842af8ca95d827bf17230540dc)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: try to find bitbake using find_executable API
Ed Bartosh [Fri, 17 Apr 2015 13:19:01 +0000 (16:19 +0300)] 
wic: try to find bitbake using find_executable API

Current wic code was assuming that bitbake directory is on the
same level as scripts, which is not the case for oe classic.

Using find_executable bitbake location should be determined better
as this API uss $PATH to search for executables.

Fixes [YOCTO #7621]

(From OE-Core rev: 9d86eb2e448263f7e395b48d95c380b2dc66ad8e)

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodevtool: call parse_recipe with correct arguments
Markus Lehtonen [Thu, 16 Apr 2015 16:37:57 +0000 (19:37 +0300)] 
devtool: call parse_recipe with correct arguments

Give the correct data object ("config data" instead of "recipe data") as
an argument to oe.recipeutils.patch_recipe()

Fixes [YOCTO #7595]

(From OE-Core rev: 7d2b918019b0afe215a6489dad697afac34f73e9)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/base: clarify S not set correctly warning
Paul Eggleton [Fri, 17 Apr 2015 15:43:09 +0000 (16:43 +0100)] 
classes/base: clarify S not set correctly warning

Hopefully make it a bit clearer to the user which recipe needs fixing
and what needs to be done to fix it.

(From OE-Core rev: 50e75d0cd7190a009776d72a4ae5c3e835895e6b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/package_manager: avoid traceback with no packages
Paul Eggleton [Fri, 17 Apr 2015 15:43:08 +0000 (16:43 +0100)] 
lib/oe/package_manager: avoid traceback with no packages

If you were using deb packaging, had buildhistory enabled and produced
an SDK that contained no packages in one of the sysroots (such as with
uninative-tarball) then the do_populate_sdk was failing with a python
traceback because there were no fields to split in the output line.

(From OE-Core rev: a0eb3ebbc82133ad239a752a4a85d154be31a311)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/package: clarify installed-vs-shipped message
Paul Eggleton [Fri, 17 Apr 2015 15:43:07 +0000 (16:43 +0100)] 
classes/package: clarify installed-vs-shipped message

Based on the number of times I've had to explain it over the years it
seems that a lot of new users don't immediately realise what is meant
by "shipped" here (nor should we expect them to) so let's at least
mention packaging and briefly tell the user what they need to do. (I was
going to go into more detail in the message, but there is really more
detail than can be covered succinctly here.)

(From OE-Core rev: 7047d02619547401c313de8c6972a7a0af77e2bc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsb: provide lsb-core-ARCH
Dmitry Eremin-Solenikov [Wed, 15 Apr 2015 09:09:29 +0000 (12:09 +0300)] 
lsb: provide lsb-core-ARCH

Some lsb packages depend on correct lsb-core-ARCH package being
installed (or rather provided) on the target file system. Provide this
package name by main lsb package.

(From OE-Core rev: 981109b7388dcd0de9fd2e9cdfe2a920b9f8facb)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogroff: fix RDEPENDS
Dmitry Eremin-Solenikov [Wed, 15 Apr 2015 09:09:28 +0000 (12:09 +0300)] 
groff: fix RDEPENDS

RDEPENDS_${PN} is appended with "sed" and on the following line it's fixed
to just "perl". Merge both lines to have correct RDEPENDS.

(From OE-Core rev: 5519d245dcf698b57949d29fc777928952a3f992)

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: remove CVE-2014-9645 patch (already upstream in 1.23.x)
Andre McCurdy [Wed, 15 Apr 2015 02:53:53 +0000 (19:53 -0700)] 
busybox: remove CVE-2014-9645 patch (already upstream in 1.23.x)

The CVE-2014-9645 fix was merged in Busybox prior to the 1.23.0
release [1]. The fix was then reworked in Busybox 1.23.1, in such
a way that the original change was no longer required [2].

Although oe-core's CVE-2014-9645 patch still applies cleanly to
Busybox 1.23.1 and 1.23.2, applying it partially reverts the second
version of the upstream fix.

  [1] http://git.busybox.net/busybox/commit/modutils/modprobe.c?h=1_23_stable&id=4e314faa0aecb66717418e9a47a4451aec59262b
  [2] http://git.busybox.net/busybox/commit/modutils/modprobe.c?h=1_23_stable&id=1ecfe811fe2f70380170ef7d820e8150054e88ca

(From OE-Core rev: a753d3d8884b96baad5ed1a03335a81586420b86)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agostrace: fix build for aarch64
Koen Kooi [Wed, 15 Apr 2015 12:32:37 +0000 (14:32 +0200)] 
strace: fix build for aarch64

Upstream added aarch64 support but forgot to update 'make dist' leading to missing files in the tarball.

(From OE-Core rev: a40309f284805e8cda024f7299a676cfdf8f97a5)

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibunwind: fix build with aarch64
Robert Yang [Tue, 14 Apr 2015 05:41:20 +0000 (22:41 -0700)] 
libunwind: fix build with aarch64

Referred to RP's fix for x86 and x86-64:
34d517a5626ce2465f776367349bd9e66bf8ed1f
libunwind: Build with gold to avoid build failures

Fixed:
aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value
aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid
aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value
| collect2: error: ld returned 1 exit status

(From OE-Core rev: 31d84f67f74b31b479409cfa446b14ac67bb3707)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoaspell: inherit binconfig-disabled
Robert Yang [Tue, 14 Apr 2015 03:36:07 +0000 (20:36 -0700)] 
aspell: inherit binconfig-disabled

There is a pspell-config.

(From OE-Core rev: 53c8a954e699b3ae3e7a0a2b3860cf7c9ad1288e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibepoxy: DEPENDS on virtual/egl and virtual/libx11
Robert Yang [Tue, 14 Apr 2015 04:59:49 +0000 (21:59 -0700)] 
libepoxy: DEPENDS on virtual/egl and virtual/libx11

Fixed do_configure error:
configure: error: libX11 headers (libx11-dev) required to build with GLX support
and do_compile error:
../include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No such file or directory
 #include "EGL/eglplatform.h"

The dependencies form its README.md:
* automake
* libegl1-mesa-dev
* xutils-dev

(From OE-Core rev: 04193b96fa6e41f9de7ea5eb15be133ac63b1ecc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocracklib: add python support back
Robert Yang [Mon, 8 Sep 2014 02:05:52 +0000 (19:05 -0700)] 
cracklib: add python support back

It had been disabled because of installed-vs-shipped:
    WARNING:   /usr/lib/python2.7
    WARNING:   /usr/lib/python2.7/site-packages

Now we fix it and add cracklib-python back.

(From OE-Core rev: fafa6b8f4444da3c0fc911d3a11eef2cd6ed825c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosyslinux: Fix syslinux-nomtools permissions
Robert Yang [Mon, 13 Apr 2015 06:48:38 +0000 (23:48 -0700)] 
syslinux: Fix syslinux-nomtools permissions

The permissions should be 755 in bindir, not 644.

(From OE-Core rev: b0973437f3205e30c010cd9d9f66d857511b9a69)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>