Commit Graph

3119 Commits

Author SHA1 Message Date
Roy Li
01816e4420 dialog: fix the redirection of the error information
Drop the error information, other than redirect them to stdout, otherwise
the error information will be included into LIBS/CFLAG

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:54 +02:00
Joe Slater
48e5c5ef39 multipath-tools: update to version 0.5.0+
SCRREV includes patches up to 9/12/2014.

Modify upstream source to be better set up for
cross compilation.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:54 +02:00
Chen Qi
2b32463cfc rsyslog: add UPDATE_ALTERNATIVE for syslog-service
Use ALTERNATIVE mechanism in OE to manage the syslog service to
avoid conflicts with other syslog implementations like sysklogd
or busybox.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:54 +02:00
Wenzong Fan
e335110e1e imagemagick: do not install magick-baseconfig.h repeatedly
Both targets install-data-local & install-includeHEADERS will install
header file magick-baseconfig.h to the same location, and they might
be run in the same time while enabling parallel build:

* target dependencies:
  + install-data-am: ... install-data-local ... install-includeHEADERS

* make install error:
  /usr/bin/install: cannot create regular file \
  `.../usr/include/ImageMagick-6/magick/magick-baseconfig.h': \
  File exists \
  make[3]: *** [install-magickincarchHEADERS] Error 1

* reproduce the error:
  $ /usr/bin/install test /tmp & /usr/bin/install test /tmp
  [1] 4052
  /usr/bin/install: cannot create regular file `/tmp/test': File exists
  [1]+  Exit 1                  /usr/bin/install test /tmp

Just disable the one from install-data-local to remove this race issue.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:54 +02:00
Chong.Lu@windriver.com
f25843b7fa collectd: add systemd unit file
Add systemd unit file for collectd.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Robert Yang
a689cb8239 talloc: fixes for sstate cache reuse
Fixes for sstate cache reuse between different build dirs. The
${SWIGLIBDIR##${STAGING_DIR_NATIVE}} had confused bitbake, bitbake would
add the "SWIGLIBDIR##${STAGING_DIR_NATIVE}" to the deps of do_install,
which caused the sstate cached can't be re-used.

Use another way for SWIGLIBDIR to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Wenzong Fan
e99ca149a1 talloc: fix swig dependencies
* depens on swig-native to make sure that the talloc.i always be
  installed;

* remove relative path that from `swig -swiglib`:

    ${D}/usr/bin/../share -> ${D}/usr/share

  This prevents 'install' from creraing empty dir: ${D}${bindir};

* fix the path to talloc.i for separate build.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Chong.Lu@windriver.com
711f3b8da8 postgresql: add systemd unit file
Add systemd unit file for postgresql.
When 'sysvinit' and 'systemd' are both in DISTRO_FEATURES, we need to prevent
the init script from running via systemd.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Chong.Lu@windriver.com
dfa0b4c86d postgresql: move initdb to postgresql-setup
We shouldn't use sysvinit init script to initialize database when use systemd
as the init manager, so split initdb function to postgresql-setup.
Before starting postgresql server, we can use "postgresql-setup initdb" to
initialize the database cluster.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Chen Qi
cf2ab9ecbf hostapd: use ${PN} for SYSTEMD_SERVICE
Use ${PN} for SYSTEMD_SERVICE to avoid errors in case of multilib.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Chen Qi
7325e284b6 mariadb: use ${PN} for SYSTEMD_SERVICE
Use ${PN} for SYSTEMD_SERVICE to avoid errors in case of multilib.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Khem Raj
394d1444b3 subsurface: Adjust dependencies to match eglibc -> glibc move
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Khem Raj
06e7054b9a collectd: Upgrade to 5.4.1 and fix with glibc 2.20
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Khem Raj
add0ba41de luajit, acpitests: Fix build on hardfloat arm
luajit as well as acpitests build system has mind of its own and does not
respect CC and friends in makefiles so we have to inject
the CFLAGS via EXTRA_OEMAKE, some of ABI defining params
e.g. float-abi selection is mentioned in TUNE_CCARGS and
not in TOOLCHAIN_OPTIONS. This causes build to go for softfloat
build and that is not what we want.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:53 +02:00
Khem Raj
83694c255a numlockx: Update SRC_URI to somewhere fetchable
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:52 +02:00
Khem Raj
4ac2ac6fa8 ckermit: Update recipe ckermit_301.bb -> ckermit_302.bb
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:52 +02:00
Paul Eggleton
2b47bf3d60 libunwind: remove as recipe is now in OE-Core
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-09-26 05:41:52 +02:00
Khem Raj
afa3b1578f glade3: Enable gnome support in meta-gnome instead of meta-oe
This decouples meta-oe dependencies on meta-gnome, right now
we have to use meta-gnome as dependent layer

ERROR: Nothing PROVIDES 'libbonoboui' (but
meta-openembedded/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
DEPENDS on or otherwise requires it)

ERROR: Required build target 'glade3' has no buildable providers.

Missing or unbuildable dependency chain was: ['glade3', 'libbonoboui']

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26 05:41:52 +02:00
Robert Yang
8770ddd1a0 rrdtool: use rrdtool rather than PN
The "${datadir}/${PN}" will be changed to "${datadir}/lib32-rrdtool"
when multilib which isn't what need, use rrdtool to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-26 05:41:51 +02:00
Robert Yang
08bcdfaca9 bonnie: add perl to RDEPENDS_bonnie-scripts
Perl:
bonnie-scripts/usr/bin/bon_csv2html:#!/usr/bin/perl
bonnie-scripts/usr/bin/bon_csv2txt:#!/usr/bin/perl

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-26 05:41:51 +02:00
Robert Yang
40dc443da8 sdparm: split sdparm-scripts subpkg
Bash scripts:
packages-split/sdparm/usr/bin/sas_disk_blink:#!/bin/bash
packages-split/sdparm/usr/bin/scsi_ch_swp:#!/bin/bash

The sdparm is a ~150K executable so making it pull in bash
at >1000K isn't good for embedded systems.

Neither script appears to be essential, so put them in sdparm-scripts as
Randy suggested.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-26 05:41:51 +02:00
Robert Yang
bd4b6d1e1a sg3-utils: add bash to RDEPENDS_sg3-utils
Bash scripts:
sg3-utils/usr/bin/scsi_stop:#!/bin/bash
sg3-utils/usr/bin/scsi_mandat:#!/bin/bash
sg3-utils/usr/bin/scsi_logging_level:#! /bin/bash
sg3-utils/usr/bin/scsi_temperature:#!/bin/bash
sg3-utils/usr/bin/scsi_start:#!/bin/bash
sg3-utils/usr/bin/scsi_satl:#!/bin/bash
sg3-utils/usr/bin/scsi_readcap:#!/bin/bash
sg3-utils/usr/bin/scsi_ready:#!/bin/bash

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-26 05:41:51 +02:00
Peter Bigot
3b6dd621da gpsd: add deterministic support for KPPS interface
gpsd enables low-precision PPS (pulse-per-second) support by default,
but only includes the high-precision kernel API capabilities if
sys/timepps.h is also detected.  Under Linux the pps-tools package
installs this header.  Remove the feature non-determinism and increase
gpsd capabilities by adding an explicit dependency.

See: http://www.catb.org/gpsd/gpsd-time-service-howto.html#_enabling_pps

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-01 11:37:12 +02:00
Peter Bigot
1eff1134a0 pps-tools: add recipe
This provides some utilities and a user-space header necessary to use
the Linux KPPS (RFC 2783) capabilities of gpsd and ntp.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-01 11:37:12 +02:00
Peter Bigot
3bd654324c gpsd: update to 3.10
Patches rebased onto new version with no material changes.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-01 11:37:11 +02:00
Kang Kai
7d9e535d2e mariadb: upgrade from 5.5.38 to 39
Upgrade mariadb from 5.5.38 to 5.5.39. Previous upgrade made a lot of
work, so it is easy this time.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-28 19:55:38 +02:00
Yasir Khan
f6e6d632db lmbench: add lmbench-exception LICENSE
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-28 19:55:38 +02:00
Sven Ebenfeld
59a7c659e8 md5deep: Add recipe for md5deep package version 4.4
I need to build hashdeep/md5deep within OE to include it in my images. This recipe enables OE to cross-compile md5deep. I needed to add the patch as do_configure_qa is complaining about cross-compilation errors otherwise. I added a pull request for the issue with the variable expansion to hashdeep as well.

Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-28 19:55:38 +02:00
Chen Qi
44834de2a3 mariadb: add systemd unit file
The service file mainly comes from Fedora20.

This patch also adds a configuration file under /etc/tmpfiles.d so
that mysqld could start correctly.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-27 12:49:19 +02:00
Martin Jansa
5a25dde053 packagegroup*: set PACKAGE_ARCH before packagegroup inherit
* The required order was changed in oe-core commit:
  allarch: Add warning about packagegroup
  Since we want to start including this class conditionally, detect cases
  where packagegroup files use the old ordering and inform the user they
  need to update this.
* drop PACKAGE_ARCH setting from xorg-fonts-100dpi - nothing seems MACHINE
  specific in it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-27 12:49:19 +02:00
Otavio Salvador
768f20b8ad php: Fix native build due mistakenly linking against host's iconv
The configure script has mistakenly choose to enable iconv support,
due host to provide it, adding '/usr/lib' to the linking flags and
failing as:

,----[ Linking error while testing 'fork' support ]
| conftest.c:268: warning: conflicting types for built-in function 'fork'
| .../build/tmp/sysroots/x86_64-linux/usr/lib/libxml2.so:
|     undefined reference to `gzopen64@ZLIB_1.2.3.3'
| collect2: ld returned 1 exit status
`----

This patch disables iconv support for native builds fixing the error.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-27 12:49:18 +02:00
Hongxu Jia
196f1050f1 mariadb: change the group of /var/lib/mysql from 'nogroup' to 'mysql'.
The commit 8f637f9bbc added
mysql group, we should change the group of /var/lib/mysql
from 'nogroup' to 'mysql' also.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-27 12:48:45 +02:00
Jackie Huang
78038840cc lmbench: remove debianutils from RDEPENDS and add perl
- I don't see any evdidence that lmbench needs debianutils to run:
  debianutils provides:
    run-parts, tempfile, savelog, which, ischroot,
    add-shell, installkernel, remove-shell
  but none of them is used by lmbench scripts and I tested it work
  fine without debianutils, so remove debianutils from RDEPENDS

- Some scripts in lmbench are perl scripts, so add
  RDEPENDS on perl (no addtional perl module is needed).

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-23 13:18:35 +02:00
Jackie Huang
ba39f28596 lmbench: use BPN instead of PN
Use BPN instead of PN to fix the dirs in scripts
when build with multilib.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-23 13:18:06 +02:00
Kang Kai
9566158249 samba: upgrade to 3.6.24
Upgrade samba to latest 3.6.x version.

* remove PR
* remove backport CVE patches
* update 4 patches: documentation.patch, documentation2.patch, undefined-symbols.patch
  and bug_387266_upstream_4104_mention-kerberos-in-smbspool-manpage.patch

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-23 13:18:06 +02:00
Denys Dmytriyenko
2d6b021fce ltp-ddt: update to the latest rev, bump the version
* Fix KERNEL_DIR vs. KERNEL_INC properly, drop not needed Makefile patch
* Pass CC and KERNEL_CC to preserve the necessary system flags
* Tons of other fixes and new testcases

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-23 13:18:06 +02:00
Hongxu Jia
8f637f9bbc mariadb: refer ubuntu/redhat to add mysql group
In ubuntu/redhat, we have:
...
ps -eo user,group,cmd | grep "mysql"
mysql    mysql    /usr/sbin/mysqld
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:08 +02:00
Jackie Huang
b2b80a1ee8 lmbench: fix doc install failure
Fix the failure:
cp: cannot create regular file `/usr/share/man/man1/bargraph.1': Permission denied
mkdir: cannot create directory `/usr/share/man/man9': Permission denied

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:08 +02:00
Jackie Huang
7dc1efce3f lmbench: fix lmbench memory check failure
lmbench can't proceed on some targets.  The memory check fails because the
memory latency of each page is longer then 10us, which is a time limit set
in the original memsize.c.

The memory latency is very different on different targets due to the
hardware and current system load.  The targets with slower memory
chips or heavy system load need much longer time to read or write
the memory.

This fix changes the fixed time limit of 10us to a specific value calculated
from the runtime target.

Also set an upper limit of memory size used for lmbench testing.  The memory
check sometimes fails if the target has a large amount of memory, for
example more than 4G.

Signed-off-by: Qingming Su <qingming.su@windriver.com>
Signed-off-by: Fupan Li <fupan.li@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:08 +02:00
Jackie Huang
fca294b76e lmbench: Fix "make html" graph failure
The html-list perl script cannot parse the first line of the result
files about the lmbench version.

Additional fixes are to make the result's html pages easier to understand.

Signed-off-by: Lin Yu <lin.yu@windriver.com>
Signed-off-by: Fupan Li <fupan.li@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:08 +02:00
Roy.Li
6edd5b3364 numactl: fix the ptest
1. one test case is not installed
2. install a copy of numactl into ptest dir, since the test
script is using the relative path to run numactl

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:07 +02:00
Jackie Huang
c73e26932d iw: uprev to version 3.15
- change to use tar.gz since bz2 is no longer provided in upstream
- adjust the patch for new version

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:07 +02:00
Andrei Gherzan
d6c5c40f72 libcec: Update to v2.1.4
Change-Id: Iaacfe4506b8ce68443fafd1eeee6b3eea6ff667d
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:07 +02:00
Bob Cochran
06ff090e19 postgresql: Fix typo in PACKAGECONFIG[python] variable
typo in extra argument to be added when feature is disabled

Signed-off-by: Bob Cochran <openembedded@mindchasers.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:06 +02:00
Tom King
03dea919fe gypsy: fix QA issue by removing EXTRA_OECONF
Addresses QA issue in:

http://lists.openembedded.org/pipermail/openembedded-core/2014-August/095778.html

gypsy-0.9: gypsy: configure was passed unrecognised options: --with-distro [unknown-configure-option]

Signed-off-by: Tom King <ka6sox@gmail.com>
Signed-off-by: Ron Lockwood-Childs <rchilds@vctlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:06 +02:00
Maciej Borzecki
f91fbf1bda collectd: make pinba support a selectable feature
Pinba support requires protobuf-c that is currently only available in
meta-virtualization layer. Make this a selectable feature.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:06 +02:00
Ben Shelton
2139d9034d mg: fix build when host system does not have libncurses-dev
The configure script for mg checks the standard locations under /usr for
the term.h header file needed to build against ncurses; however, in the
OE cross-compile case, this is not valid, since the file will be under
the sysroot instead.  This causes the configure step to fail when the
build machine does not have the libncurses-dev package installed.

To fix the issue, remove the check.  Since mg DEPENDS on ncurses, term.h
will always be there.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:06 +02:00
Ben Shelton
db6489c2fa cgdb: add recipe
cgdb is a lightweight ncurses-based interface to gdb that provides
syntax highlighting, visual breakpoints, and other features.

Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:06 +02:00
Chen Qi
8f09c03e47 hostapd: add systemd support
Add hostapd.service file.
The file mostly comes from Fedora20.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:05 +02:00
Maciej Borzecki
576206dd2f rabbitmq-c: add recipe
rabbitmq-c is a C library providing an implementation of AMQP client for
use with v2.0+ of the RabbitMQ broker

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-15 17:07:03 +02:00