Commit Graph

1429 Commits

Author SHA1 Message Date
Patrick Ohly
269d009a81 lvm2: libdevicemapper package needs udev rules and dmsetup
Applications like kpartx and cryptsetup were broken by moving only
libdevicemapper itself into a separate package: as a result of that
change, lvm2 was not getting pulled into images anymore although
libdevicemapper depends on dmsetup and udev rules to be fully
functional.

For example, "kpartx -as" started to hang while waiting for the udev
rules to trigger, which is what creates the /dev/mapper/ entries for
the new partitions (see also
https://github.com/docker/docker/issues/22025#issuecomment-243943728).

Putting udev rules and dmsetup also into libdevicemapper is perhaps
counter-intuitive, but necessary to keep the package functioning. A
full lvm2 installation is guaranteed to pull them in, too, both
because of implicit library dependencies and (just to be sure) an
explicit RDEPENDS.

lvm2-native doesn't have packages, so this RDEPENDS must be limited to
the target case.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:59 +02:00
Peter Kjellerstedt
af279a8e74 lvm2: Avoid an unnecessary dependency on bash
Rather than having the lvm2 package depend on bash, modify the init
scripts it may contain to use /bin/sh instead of /bin/bash.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:59 +02:00
Khem Raj
bfc16ec09d digitemp: Update past 3.7.1 release
Fetch from github

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:58 +02:00
Khem Raj
fb9224ed9e samsung-soc-utils: Remove -static
It does not build with all combinations e.g. with -fPIE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:58 +02:00
Khem Raj
64640f4e30 zile: Fix build with musl
With musl charset.alias is generated due to a gnu-config bug

Fixes

QA Issue: zile: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/charset.alias

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:58 +02:00
Khem Raj
d92ee32a61 gradm: Fix GNU_HASH QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:57 +02:00
Khem Raj
738d386c8c procmail: Fix GNU_HASH errors, pass LDFLAGS
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:57 +02:00
Qi.Chen@windriver.com
02cf7aba3c gperftools: fix do_compile failure for qemuppc
Fix the following error for qemuppc.

  error: 'siginfo_t' does not name a type

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-31 13:25:55 +02:00
Paul Gortmaker
d63e5687c7 eject: use update-alternatives for manpage
To fix:

   file /usr/share/man/man1/eject.1 conflicts between attempted installs
   of util-linux-doc-2.29.1-r0.core2_64 and eject-doc-2.1.5-r1.core2_64

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-22 13:31:45 +01:00
Denys Dmytriyenko
6c584374a5 devmem2: use different filename to avoid checksum conflicts
The newly resurrected devmem2.c file besides having a new location, also
updates its header, producing different checksums, which would conflict
with any previously cached or mirrored instances. To avoid such conflicts,
use a different filename in fetch(). Rename it back to original name at
unpack() for devmem2-fixups-2.patch to succeed w/o modifications.

WARNING: devmem2-1.0-r7 do_fetch: Fetcher failure for URL: 'http://www.free-electrons.com/pub/mirror/devmem2.c'. Checksum mismatch!
File: '/OE/master/downloads/devmem2.c' has md5 checksum be12c0132a1ae118cbf5e79d98427c1d when e23f236e94be4c429aa1ceac0f01544b was expected
File: '/OE/master/downloads/devmem2.c' has sha256 checksum ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191 when 3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639 was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "be12c0132a1ae118cbf5e79d98427c1d"
SRC_URI[sha256sum] = "ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

WARNING: devmem2-1.0-r7 do_fetch: Renaming /OE/sources/devmem2.c to /OE/sources/devmem2.c_bad-checksum_be12c0132a1ae118cbf5e79d98427c1d

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:34 +01:00
Paul Barker
078cfe871b vim: Update to 8.0.0427
8.0.0427 is currently used in Arch Linux so we know it has at least had
some testing.

Upstream has fixed the following CVEs since 8.0.0022:
* CVE-2016-1248 in 8.0.0056
* CVE-2017-5953 in 8.0.0322
* CVE-2017-6349 in 8.0.0377
* CVE-2017-6350 in 8.0.0378
See http://www.cvedetails.com/product/14270/VIM-VIM.html?vendor_id=8218

Patches are updated as src/configure.in was renamed upstream.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:34 +01:00
Ming Liu
ebd31fd8d5 meta: do not prepend/append to BBCLASSEXTEND
Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are
redundant and inconsistent with the same setting in other recipes.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:32 +01:00
Oleksandr Kravchuk
4b4a62ec07 recipes: delete obsolete patches
Deleted bunch of patches which are not used anymore by any recipe.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:34:32 +01:00
Armin Kuster
9ef1da92cf lvm2: fix bash depends QA issue
WARNING: lvm2-2.02.166-r0 do_package_qa: QA Issue: /etc/init.d/lvm2-monitor contained in package lvm2 requires /bin/bash, but no providers found in RDEPENDS_lvm2? [file-rdeps]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:32:40 +01:00
Martin Jansa
1dff2351aa vim: add native BBCLASSEXTEND
* some recipes might use xxd
* with stricter host binaries available in PATH:
  http://lists.openembedded.org/pipermail/openembedded-core/2017-March/133886.html
  we cannot use xxd from host and it's not so common to add it into
  HOSTTOOL_NONFATAL
* there is also smaller solution for xxd -i (which is what I need):
  https://github.com/gregkh/xxdi
  but after creating xxdi-native recipe for this I've discovered that
  perl on my host as well as perlnative doesn't provide File::Slurp
  used by this, so adding BBCLASSEXTEND here is easier solution

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:57:05 +01:00
Yi Zhao
268e2a619a syslog-ng: fix syntax error in syslog-ng.conf
The backtick as a special character causes a syntax error by the parser
in comment line:
Error performing backtick substitution in configuration file;
error='missing closing backtick (`) character',
filename='/etc/syslog-ng/syslog-ng.conf', line='55:1'

Replace it with single quote and bump the conf version to 3.8.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:45 +01:00
Khem Raj
f8c9209dba log4c: Backport patch to fix security format errors with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:43 +01:00
Khem Raj
475ba851de tbb: Update to 2017 release
Update license to reflect new Apache 2.0 license
Fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:42 +01:00
Khem Raj
e2975aee7c gperftools: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:42 +01:00
Khem Raj
a336efc8d7 grail: Disable elision warnings for clang
Clang warns more, but lets disable them for now

../../grail-3.1.1/src/handle.cpp:65:5: error: moving a temporary object prevents copy elision
      [-Werror,-Wpessimizing-move]
    std::move(UniqueRecognizer(recognizer));
    ^
../../grail-3.1.1/src/handle.cpp:65:5: note: remove std::move call here
    std::move(UniqueRecognizer(recognizer));
    ^~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:42 +01:00
Khem Raj
bfc4ad1307 fftw: Update to 3.3.6 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-11 17:56:41 +01:00
Peter Kjellerstedt
0c31f55bcf Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07 13:30:26 +01:00
Peter Kjellerstedt
f5ad701879 syslog-ng: Update to 3.8.1
* The upstream has changed to github.com.
* Remove patches that are no longer needed:
  - Fix-the-memory-leak-problem-for-mutex.patch
  - configure.patch
  - dbifix.patch
  - fix-a-memory-leak-in-log_driver_free.patch
* Update syslog-ng.service-the-syslog-ng-service.patch
* openssl is no longer optional, so remove its PACKAGECONFIG.
* Add (disabled) PACKAGECONFIGs for the new http and native modules.
* Disable the new python and java modules.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-04 12:38:53 +01:00
Peter Kjellerstedt
a4835a616b syslog-ng: Run autoreconf twice to avoid problems with libtool
syslog-ng has sub-projects with their own autotools configurations.
Something has been messed up after the switch to RSS and now it
requires autoreconf to be run twice to fully update all files.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-04 12:38:53 +01:00
Tom Hayward
fcd985180b usb-modeswitch and usb-modeswitch-data: update to 2.5.0 and 20170205 respectively.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-04 12:38:52 +01:00
Nicolas Ferre
fc80196145 devmem2: Change source URL to regain access to it
Change URL due to connexion error on the original page.
As the header of the new devmem2.c source file has changed, change the
signature and the LIC_FILES_CHKSUM specificaiton.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-04 12:38:52 +01:00
Derek Straka
7f502e7239 system-config-keyboard: fix depends to work correctly with RSS
Resolves build issue exposed by RSS

See http://errors.yoctoproject.org/Errors/Details/132829/
and http://errors.yoctoproject.org/Errors/Details/132855/

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-28 12:34:16 +01:00
Derek Straka
807722d516 ipmiutil: fix depends to work correctly with RSS
Resolves build issue exposed by RSS
See http://errors.yoctoproject.org/Errors/Details/130641/

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-28 12:34:15 +01:00
Derek Straka
88bea29585 usb-modeswitch: update inherit to work correctly with RSS
Resolves build issues exposed by RSS
http://errors.yoctoproject.org/Errors/Details/130620/

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-28 12:34:15 +01:00
Amarnath Valluri
d8bb36abe8 multipath-tools: Replace 'lib' with ${nonarch_base_libdir} for placing udev rules.
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-28 12:34:15 +01:00
Amarnath Valluri
05aefd1ca1 openct: Replace /lib/udev with ${nonarch_base_libdir}/udev.
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-23 23:22:59 +01:00
Amarnath Valluri
2320db6538 lvm2: Replace 'lib' with ${nonarch_base_libdir} for placing udev rules.
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-23 23:22:58 +01:00
Andreas Müller
d86b0abb88 libsdl-ttf: fix and unblacklist
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-02-23 23:22:27 +01:00
Andreas Müller
397c50a91b libsdl2-ttf: add pkgconfig to inherit and unblacklist
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-02-23 23:22:27 +01:00
Andreas Müller
919fe1caff postgresql: update 9.4.10 -> 9.4.11
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-02-23 23:22:27 +01:00
Andreas Müller
18b373d142 postgresql: use gettext bbclass and unblacklist
Although I reomeve gettext related packages from my build machine, I could not
reproduce error mentioned. Let's hope my asumption is good enough.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-23 23:22:27 +01:00
Martin Jansa
ec8d5fc0bb pidgin: add missing dependencies and unblacklist
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 21:38:39 +01:00
Paul Gortmaker
0d77dcf5c8 farsight: fix implicit pkgconfig dependency causing configure fail
In the config log we see:

  configure:12277: checking whether to build static libraries
  configure:12281: result: yes
  configure:12419: checking for x86_64-overc-linux-pkg-config
  configure:12452: result: no
  configure:12462: checking for pkg-config
  configure:12495: result: no
  configure:12801: Using Farsight2 source release as package name
  configure:12825: Using Unknown package origin as package origin
  configure:12879: Using /usr/libexec/gst-install-plugins-helper as plugin install helper
  configure:12953: checking for NICE
  configure:13022: error: Need libnice >= 0.0.9

While it libnice that fails configure, it is the absence of pkg-config
several lines above that causes the failure, as libnice is in the sysroot.

For most build hosts, you'll have to remove the default binary that
lives in /usr/bin/pkg-config in order to see this failure.

Cc: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:54 +01:00
Andreas Müller
b323ddd903 xdg-user-dirs: fix build by disabling building of man pages and unblacklist
Have tried adding several native dependenciesbut gut no successful build.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-02-22 13:16:52 +01:00
Andreas Müller
3a9e21d928 lmsensors: fix fetch and unblacklist
Error was not caused by RSS but upstream package path renaming without version
bump - tse tse...

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-02-22 13:16:51 +01:00
Peter Kjellerstedt
411f5caabc lvm2: Move libdevmapper to a separate package
This allows, e.g., cryptsetup to use libdevmapper without having to
pull in all of lvm2.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:48 +01:00
Peter Kjellerstedt
6370feda0d lvm2: Move bash scripts to a separate package
By putting the bash scripts in a separate package (lvm2-scripts), the
lvm2 package no longer needs to depend on bash. For backwards
compatibility, the lvm2 package recommends the lvm2-scripts package.

Also remove the adding of ${libdir}/device-mapper/.debug to
FILES_${PN}-dbg as it has not been needed since Krogoth.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:47 +01:00
Peter Kjellerstedt
402ee2143c lvm2: Add a PACKAGECONFIG for lvmetad
This allows the support for lvmetad to be disabled.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:47 +01:00
Peter Kjellerstedt
62ee47f2c9 lvm2: Add a PACKAGECONFIG for dmeventd
This allows the support for dmeventd to be disabled.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:47 +01:00
Peter Kjellerstedt
698d512877 lvm2: Add a PACKAGECONFIG for udev support
The added dependency on util-linux is necessary to avoid the following
QA warning which appears when the dependency on udev is removed:

  WARNING: lvm2-2.02.166-r0 do_package_qa: QA Issue: lvm2 rdepends on
  util-linux-libblkid, but it isn't a build dependency, missing
  util-linux in DEPENDS or PACKAGECONFIG? [build-deps]

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:47 +01:00
Peter Kjellerstedt
b790d81e60 lvm2: Standardize how PACKAGECONFIG is defined
The change in 4071e6b4b0 broke support for redefining PACKAGECONFIG in
a bbappend without having to resort to use PACKAGECONFIG_class-target.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:47 +01:00
Peter Kjellerstedt
02848f9707 lvm2: Make sure odirect is always enabled
Make sure that even if PACKAGECONFIG is modified in a bbappend,
odirect will still be enabled.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:46 +01:00
Peter Kjellerstedt
247256f42e lvm2: Depend on autoconf-archive-native instead of autoconf-archive
This still satisfies the dependency, and allows lvm2 to be built when
packages that use GPL-3.0 have been disabled via INCOMPATIBLE_LICENSE.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:46 +01:00
Patrick Ohly
0557b5e3d0 multipath-tools: fix ARM build failure
Updating to 0.6.4 introduced a build failure on ARM when thumb was
enabled because of the embedded valgrind.h macro calls. The easiest
solution and thus the one used here is to disable thumb for this
particular recipe for affected machines.

The more elaborate solution would be to patch the macro calls out of
the code when compiling for ARM with thumb.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-20 11:50:14 +01:00
Robert Yang
3f69e3cd85 udisks: add dbus-glib-native to DEPENDS
Fixed:
| dbus-binding-tool --prefix=daemon --mode=glib-server --output=daemon-glue.h ../data/org.freedesktop.UDisks.xml
| make[2]: dbus-binding-tool: Command not found

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2017-02-16 12:06:37 +01:00