Move the do_sysvinit_install contents to do_install_append.
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Changed SRC_URI source to official web-site, which keeps tarballs with
old releases.
Cherry-picked from master, but without the upgrade to 4.7.5.
commit a2e075ba656a89da58ca4f849c2f08ec6d50a96f
Author: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Date: Mon Jan 9 15:34:07 2017 +0100
lftp: update to 4.7.5 and change SRC_URI source
Updated lftp to version 4.7.5 and changed SRC_URI source to official
web-site, which keeps tarballs with old releases.
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Before the path to the dependencies was hard coded into the generated
PocoConfig.cmake file. This causes issues with sstate.
This change overrides the libraries with just the library names and thus
let's the linker take care of finding them.
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 49ea5f4fa4a350f4e0c0e0ece855174274e5fcc1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
* --ignore-fail-on-non-empty works when the directory isn't empty, but still reports
failure when the directory doesn't exist at all, like in:
http://errors.yoctoproject.org/Errors/Details/138248/
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit b8368598aed3e07cfb638b537e409bd0b3692df9)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The picocom complains about missing GNU_HASH from the binary during
QA stage, this is because the picocom Makefile overrides CPPFLAGS,
CFLAGS and LDFLAGS. Fix this by passing those as an argument to make.
Moreover, since picocom 1.7 now accepts VERSION variable and the
UUCP_LOCK_DIR is set to /var/lock by default, drop the CPPFLAGS
override altogether and replace it simply with passing VERSION
argument to make to precisely retain the original intention.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit d77049facb76c9372101ccaa38e6f0523cf6c05d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
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>
(cherry picked from commit 64640f4e30d7756d80157d49342ae174db2fa065)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
* fixes:
No GNU_HASH in the elf binary:
'/tmp/work/armv5te-oe-linux-gnueabi/pngcheck/2.3.0-r0/packages-split/pngcheck/usr/bin/pngcheck'
[ldflags]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 9097d4a3fbc57d9c77d18e6a96620241c76c5b77)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
`inherit externalsrc gitver` is a very useful combo to get development trees
in your workspace having a ${PN}_git.bb with PV=${GITVER} coexisting with a regular
${PN}_${PV}.bb
but not everyone wants to checkout all developments sources and managinging different
layers for each options is quite troublesome.
making `gitver` skip the .bb instead of panic()ing every time EXTERNALSRC is missing
allows people to have a single development layer where packages get enabled if
the right sources are present or falling back to the last release if not
Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
v2:
* use git rev-parse instead of rev-list for consistency with get_git_pv
* fix getVar() to pass `expand` as required by morty's bitbake
Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
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: Armin Kuster <akuster808@gmail.com>
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: Armin Kuster <akuster808@gmail.com>
Eliminate references to syscalls not available
for ARM_EABI. Also add a dependency on libseccomp
which is needed for scfilter to work.
Set PACKAGECONFIG to not enable scfilter, since
kernel CONFIG_SECCOMP is unlikely to be set. This
aligns the usage of libseccomp with that of other packages.
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
ERROR: libdnet-1.12-r0 do_fetch: Fetcher failure for URL: 'https://github.com/dugsong/libdnet/archive/libdnet-1.12.tar.gz'. Checksum mismatch!
File: '/home/akuster/oss/downloads/libdnet-1.12.tar.gz' has md5 checksum d2f1b72eac2a1070959667e9e61dcf20 when 9253ef6de1b5e28e9c9a62b882e44cc9 was expected
File: '/home/akuster/oss/downloads/libdnet-1.12.tar.gz' has sha256 checksum b6360659c93fa2e3cde9e0a1fc9c07bc4111f3448c5de856e095eb98315dd424 when 83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026 was expected
use Gentoo url instead of github
Signed-off-by: Armin Kuster <akuster808@gmail.com>
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>
(cherry picked from commit 3a9e21d928199a5c8943857b13114f26dc6defd2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
If there is an invalid URL in URLS->buf after a valid one, uri_parse is
called with out pointing after the allocated memory. As uri_parse writes
to *out before returning an error the loop in create_url_list must be
stopped early to prevent an out-of-bound access
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit b4659368a01a5b4209d9e1e571bb569ef4a06195)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
They all need rcmd() API from rpc implementation
and while glibc provides it bundled, musl does not
so we disable these apps
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
(cherry picked from commit 3773725982e9160d7ddf20c3a8e31fd6fa04c549)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Fixes:
ARNING: gflags-2.1.2-r0 do_fetch: Failed to fetch URL
git://github.com/gflags/gflags.git;branch=master, attempting MIRRORS if
available
ERROR: gflags-2.1.2-r0 do_fetch: Fetcher failure: Unable to find
revision 1a02f2851ee3d48d32d2c8f4d8f390a0bc25565c in branch master even
from upstream
ERROR: gflags-2.1.2-r0 do_fetch: Fetcher failure for URL:
'git://github.com/gflags/gflags.git;branch=master'. Unable to fetch URL
from any source
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 1ba2436bdd9f22070c7e0a00f3a7422f6ecdcc4e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Version 3.1.3 includes security fix and all users are encouraged by the
developers to update to this or newer version as soon as possible.
fixes: CVE-2016-4303
see https://raw.githubusercontent.com/esnet/security/master/cve-2016-4303/esnet-secadv-2016-0001.txt.asc
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit fa65be9ba7943a68b988b5e1a3a37cda7ac74c37)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
| sed: can't read .../4.4.5-r0/image/usr/bin/onnode: No such file or directory
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit cc32689a5b55843eeaecda173933fd5f281ec3ff)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
In file included from <staging>/usr/include/c++/6.2.0/type_traits:35:0,
from <staging>/usr/include/sigc++-2.0/sigc++/visit_each.h:22,
from <staging>/usr/include/sigc++-2.0/sigc++/functors/slot.h:6,
from <staging>/usr/include/sigc++-2.0/sigc++/signal_base.h:27,
from <staging>/usr/include/sigc++-2.0/sigc++/signal.h:8,
from <staging>/usr/include/sigc++-2.0/sigc++/sigc++.h:104,
from <staging>/usr/include/glibmm-2.4/glibmm/thread.h:50,
from <staging>/usr/include/glibmm-2.4/glibmm.h:89,
from <staging>/usr/include/gtkmm-2.4/gtkmm.h:87,
from ../../gnome-system-monitor-2.28.2/src/procman.cpp:26:
<staging>/usr/include/c++/6.2.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
^~~~~
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit ea4abd908f4feadd17741e1f3431bb7825e69630)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The original SRC_URI is not valid, so update it with openl2tp official
ftp site.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit c50baaa487e4d560798d7eb540c9d158e8a25fcc)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
The SRC_URI of ctdb is not right for multilib. Replace var 'PN' with
'BPN' to fix it.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 885a8588ad794a3500781b2747a495a37e93d0e1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>