aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2017-06-26systemd: upgrade to 230Chen Qi
Patches are rebased or removed for the latest version. Python testing scripts are removed for systemd-ptest as systemd is configured with '--without-python'. systemd-bootchart is now seprated from systemd, thus removing the related configuration items. And we add systemd-bootchart recipe. [ systemd-bootchart: add missing distro features check - RB ] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 70d782eee573fe46ec512bf59ac6f41e53a99b1b) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: use correct path for perl librariesAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: enable nativesdkAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26gptfdisk: put sgdisk into its own packageAndreas Oberritter
This allows to avoid pulling in ncurses if only sgdisk is needed. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26gptfdisk: fix support for 'large' drivesAndreas Oberritter
Make's switch '-e' replaced important compiler flags from the project's Makefile, i.e. -D_FILE_OFFSET_BITS=64. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: dselect depends on perlAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: fix rpath error during configureAndreas Oberritter
| checking for shared library run path origin... /bin/sh: ../apt-1.0.10.1/buildlib/config.rpath: No such file or directory Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: optionally build and install manpagesAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: always install dpkg-configure.serviceAndreas Oberritter
systemd.bbclass handles everything based on DISTRO_FEATURES. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: update packages and files to match Debian more closelyAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: simplify replacing perl interpreter in scriptsAndreas Oberritter
Target scripts already contain the correct value. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: remove unneeded do_configure overrideAndreas Oberritter
Exporting PERL_LIBDIR is enough, compiler.m4 isn't needed. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: install start-stop-daemon to /sbin to match Debian and busyboxAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: set license field to more common "GPLv2+"Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: use PACKAGECONFIGAndreas Oberritter
Keep default dependencies as before. Set default compressor to xz if selected, gzip otherwise. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: Introduce apt-opkgAndreas Oberritter
'apt-opkg' provides a stripped-down opkg frontend with an apt backend. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: recommend gnupgAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: more fine-grained packagingAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: group variables (license, configuration, packaging)Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: merge apt.inc into .bbAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: merge with apt-nativeAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt-native: drop obsolete patchesAndreas Oberritter
0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch and noconfigure.patch are obsolete due to dpkg's new cross-bootstrap support. db_linking_hack.patch and environment.patch are marked as backports from 2007. no-curl.patch: curl-native is already a prerequisite. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: rewrite do_installAndreas Oberritter
Install missing files and directories (apt, apt-ftparchive, apt-helper, apt-mark, manpages, trusted.gpg.d). Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: use default packaging rules for -dev packageAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: use default packaging rules for base package, prepend apt-utilsAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: use default packaging rules for manpagesAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt-native: use sed to prepare apt.conf.sampleAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt: merge apt-package.inc into .bbAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt-native: merge apt-native.inc into .bbAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg-native: hardcode SYSCONFDIR to /etc in update-alternativesAndreas Oberritter
It needs to be relative to DPKG_INSTDIR when installing. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26apt-native: Use option --cross-bootstrap for rootfsAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: update-alternatives-dpkg should conflict with other providersAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: implement offline mode for update-alternativesAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26openjade/sgml-common: Add sstate postrm commandsRichard Purdie
If you bump the PR of sgml-common and openjade-native but not sgml- common-native, you will see a failure as files were removed from the sysroot but still referenced by the sgml docbook catalog. To properly handle this, the clean function needs to run at sstate removal time, the problem is that this sstate removal can happen when the metadata isn't present, so the correct removal commands are unknown. To avoid this, we need to write the commands into a "postrm" script when we install the files, this can then be executed at sstate removal time. [YOCTO #8273] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cdae3e76232110903d124195b036e4e70fb28aa4) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-06-26dpkg: Avoid automatic target architecture detectionAlexandre Belloni
dpkg is using a script (dpkg-architecture.pl) to detect the target architecture automatically. Unfortunately, it is using the cross compiler prefix to do the detection and for ARM, oe-core is using <vendor>-linux-gnueabi for toolchains with and without call-convention hard. The script then always detects 'armel' and never gets 'armhf' for call-convention hard. This solves: dpkg: error processing archive evtest_1.32+0+b8343ec112-r0_armhf.deb (--install): package architecture (armhf) does not match system (armel) Errors were encountered while processing: evtest_1.32+0+b8343ec112-r0_armhf.deb Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit b01a01ff47e09da4aaa2db992380ca0498f0e5ae) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
2017-05-18pseudo: Work around issues with glibc 2.24Richard Purdie
There are issues with a change made to RTLD_NEXT behaviour in glibc 2.24 and that change was also backported to older glibc versions in some distros like Fedora 23. This adds a workaround whilst the pseudo maintainer fixes various issues properly. (From OE-Core rev: 21c38a091c4a1917f62a942c4751b0fd11dce340) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-18pseudo: obey our LDFLAGSChristopher Larson
(From OE-Core rev: fc04eae73cb99d3783b09d062120a9b7dc95210a) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-18qemu: Security fix CVE-2016-4952Adrian Dudau
affects qemu < 2.7.0 Quick Emulator(Qemu) built with the VMWARE PVSCSI paravirtual SCSI bus emulation support is vulnerable to an OOB r/w access issue. It could occur while processing SCSI commands 'PVSCSI_CMD_SETUP_RINGS' or 'PVSCSI_CMD_SETUP_MSG_RING'. A privileged user inside guest could use this flaw to crash the Qemu process resulting in DoS. References: ---------- http://www.openwall.com/lists/oss-security/2016/05/23/1 Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-18qemu: Security fix CVE-2016-4439Adrian Dudau
affects qemu < 2.7.0 Quick Emulator(Qemu) built with the ESP/NCR53C9x controller emulation support is vulnerable to an OOB write access issue. The controller uses 16-byte FIFO buffer for command and data transfer. The OOB write occurs while writing to this command buffer in routine get_cmd(). A privileged user inside guest could use this flaw to crash the Qemu process resulting in DoS. References: ---------- http://www.openwall.com/lists/oss-security/2016/05/19/4 https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-4441 Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-18binutils: apply RPATH fixes from our libtool patchesRoss Burton
We don't autoreconf/libtoolize binutils as it has very strict requirements, so extend our patching of the stock libtool to include two fixes to RPATH behaviour, as part of the solution to ensure that native binaries don't have RPATHs pointing at the host system's /usr/lib. This generally doesn't cause a problem but it can cause some binaries (such as ar) to abort on startup: ./x86_64-pokysdk-linux-ar: relocation error: /usr/lib/libc.so.6: symbol _dl_starting_up, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference The situation here is that ar is built and as it links to the host libc/loader has an RPATH for /usr/lib. If tmp is wiped and then binutils is installed from sstate relocation occurs and the loader changed to the sysroot, but there remains a RPATH for /usr/lib. This means that the sysroot loader is used with the host libc, which can be incompatible. By telling libtool that the host library paths are in the default search path, and ensuring that all default search paths are not added as RPATHs by libtool, the result is a binary that links to what it should be linking to and nothing else. [ YOCTO #9287 ] (From OE-Core rev: 6b201081b622cc083cc2b1a8ad99d6f7d2bea480) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-18binutils: fix typo in libtool patchRoss Burton
There was a clear typo in a function name, correct it. (From OE-Core rev: dcf44e184a807d76463a3bf1b2315e80b9469de3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> minor fixup Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-03-21Revert "file: update SRCREV for 5.25 to fix fetch fail on missing commit"Richard Purdie
This reverts commit b35225c88ff681a4a903f7fb4612ac768214f539. Upstream restored the original hashes.
2017-03-20file: update SRCREV for 5.25 to fix fetch fail on missing commitPaul Gortmaker
Machines that cloned a while ago will have the commit, but new deployments won't because it seems the upstream changed/rebased and the old commit ID has been garbage-collected away. Hence the fetch fails to check out the named commit ID. Both the old (gone) commit, and the "new" commit show the same dates and commit log and point at 5.25, so hopefully this is the right thing to do. A git diff of the two seems to only show a blanket uprev of CVS tags and deletion of a couple autogen'd files, and no real source changes. (From OE-Core rev: adb71e06768adadda7b69c3b5e81ca3ad67237f4) Cc: Christos Zoulas <christos@zoulas.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-08gcc-runtime.inc: Add CPP support for x86-64-x32 tuneJuro Bystricky
Using the following setup (as specified in yocto sample code): MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:libx32" DEFAULTTUNE_virtclass-multilib-libx32 = "x86-64-x32" We fail to compile simple CPP programs because CPP cannot find relevant header files, looking for them in a non-existing place. To fix this, we create a symlink of the name CPP expects and point it to the corresponding existing directory. [YOCTO#10354] [YOCTO#10380] (From OE-Core rev: 9f9be229040f4f9a523a1e25afd78d5c3f4efc23) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08gcc-runtime.inc: add CPP support for mips64-n32 tuneJuro Bystricky
This patch fixes the problem where the CPP compiler cannot find include files. The compiler is configured to look for the files in places that do not exist. When querying the CPP for search paths, we observe messages such as these: multilib configuration: MACHINE="qemumips64" require conf/multilib.conf MULTILIBS = "multilib:lib64 multilib:lib32" DEFAULTTUNE = "mips64-n32" DEFAULTTUNE_virtclass-multilib-lib64 = "mips64" DEFAULTTUNE_virtclass-multilib-lib32 = "mips32r2" ignoring nonexistent directory "<path>/sysroots/mips64-n32-poky-linux-gnun32/usr/include/c++/6.2.0/mips64-poky-linux/32 single lib configuration: MACHINE="qemumips64" DEFAULTTUNE = "mips64-n32" ignoring nonexistent directory "<path>/sysroots/mips64-n32-poky-linux-gnun32/usr/include/c++/6.2.0/mips64-poky-linux/ To fix this, create a symlink of the name CPP expects and point it to the corresponding "gnun32" directory. [YOCTO#10142] (From OE-Core rev: 55115f90f909d27599c686852e73df321ad1edff) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08libgcc-common.inc: Fix broken symlinks for multilib SDKJuro Bystricky
This patch fixes broken "32" symlinks for multilib settings: MACHINE = "qemuarm64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "armv7a" and MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:libx32" DEFAULTTUNE_virtclass-multilib-libx32 = "x86-64-x32" [YOCTO#8642] [YOCTO#10380] (From OE-Core rev: 2810671a0f96776c135137f27a5ca52194ddd692) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08rpm: prevent race in tempdir creationMarkus Lehtonen
This patch fixes an extramely rare race condition in creation of rpmdb temporary directory. The "rpmdb-more-verbose-error-logging" patch is still left in place, just for the case. [YOCTO #9416] (From OE-Core rev: 84de3283fa2a2908d367eb58953903ae685b0298) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-08binutils: Fix gas error with cfi_section inconsistenciesKhem Raj
This error is visible when using clang but not when using gcc this has been reported and fixed upstream. llvm bug https://llvm.org/bugs/show_bug.cgi?id=29017 binutils bug https://sourceware.org/bugzilla/show_bug.cgi?id=20648 (From OE-Core rev: e5a81575f11dc2a0ec9ee4184514750d2dbd09aa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> hand merged to apply against 2.26 Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-10-06binutils: fix AR issue when opkg is unpacking IPKs containing empty entriesChristophe Chapuis
* this patch is backported from 2.26.1 which is already in oe-core/master since this patch: commit 37e8b6ecf9f9163d7b5b3becdc2feba57df4838f Author: Khem Raj <raj.khem@gmail.com> Date: Thu Jul 7 11:08:29 2016 -0700 Subject: binutils: Upgrade to 2.26.1 -SRCREV = "71fa566a9cf2597b60a58c1d7c148bab637454a6" +SRCREV = "c29838e7f484e0b5714b02e7feb9a88d3a045dd2" * verified that the patch exists in this SRCREV range: ~/projects/binutils $ git log --oneline 71fa566a9cf2597b60a58c1d7c148bab637454a6..c29838e7f484e0b5714b02e7feb9a88d3a045dd2^C ... 343a405 Allow zero length archive elements ... so it isn't needed in master branch Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-06python3: Security fix CVE-2016-1000110Armin Kuster
Signed-off-by: Armin Kuster <akuster808@gmail.com>