Commit Graph

19312 Commits

Author SHA1 Message Date
Saul Wold 484e8619cd mktemp: cleanup update-alternatives deprecated code
(From OE-Core rev: 4807d938023ce06f2924c8a0503c32d083be23b5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:33 +01:00
Saul Wold f70db67dbd msmtp: cleanup update-alternatives deprecated code
(From OE-Core rev: c8344dd884e19144576c994766e49e230c7eca13)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:32 +01:00
Saul Wold 9f64e1396d pigz: cleanup update-alternatives deprecated code
(From OE-Core rev: ec30a17ca617d9251404938da95ce578ff6402cf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:32 +01:00
Saul Wold cb4c91be2f metacity: cleanup update-alternatives deprecated code
(From OE-Core rev: d0c82d1f45ff7a0a25bcee1b7676b70c29b580b6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:32 +01:00
Saul Wold 69e160949d matchbox-session: cleanup update-alternatives deprecated code
(From OE-Core rev: 46ce038d6c06eac7f34023b47bc80ef4ce61fb67)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:31 +01:00
Saul Wold 0409ee3c4e matchbox-wm-2: cleanup update-alternatives deprecated code
(From OE-Core rev: a19cd0521c181962605250d83327ebeeb7c46366)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:31 +01:00
Saul Wold 1025e4ab0c mutter: cleanup update-alternatives deprecated code
(From OE-Core rev: c54ae0c71580ae363569fdbcb4d096cc6ea405ed)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:31 +01:00
Saul Wold 90bb29cc31 powertop: cleanup update-alternatives deprecated code
(From OE-Core rev: 443473a88dd94a5fe0d6bc7a5d14d45ea5bbdec5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:30 +01:00
Saul Wold 41ab6b5f5e findutils: cleanup update-alternatives deprecated code
(From OE-Core rev: 5f8f9ff0413683d1a1f01fceaa709def723aca91)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:30 +01:00
Saul Wold 825929cc3c findutils: refactor common code to findutils.inc
(From OE-Core rev: 071a959d430402a78ca5b392c8387489da042c08)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:30 +01:00
Saul Wold a4e13edf89 diffutils: cleanup update-alternatives deprecated code
(From OE-Core rev: 47620d768194fd69a75f4c19d77dcbdd22eadcb6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:29 +01:00
Saul Wold ff5c7e2ad9 diffutils: refactor to add a common diffutils.inc
(From OE-Core rev: f5f3cf1ac4c2dd3cae0cda3c858c8e5b309e1fdc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:29 +01:00
Saul Wold 6bb519b048 bc: cleanup update-alternatives deprecated code
(From OE-Core rev: 98a5fe8f5382742806235933910de826edc3d09a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:29 +01:00
Saul Wold 53a6bc5a9d ubootchart: cleanup update-alternatives deprecated code
(From OE-Core rev: 744fb15df985e74adbb2b03e4543c2fd66adee86)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:28 +01:00
Saul Wold 197c77b661 patch: cleanup update-alternatives deprecated code
(From OE-Core rev: 6a76ad8a45b4e099703c051d759f687904442713)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:28 +01:00
Saul Wold cc0c08fa2c tinylogin: cleanup update-alternatives deprecated code
(From OE-Core rev: fc408785ed2b9be00b25a725e666f6428292a418)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:27 +01:00
Saul Wold 80e764e610 kbd: cleanup update-alternatives deprecated code
(From OE-Core rev: 8240556c40a499aff5a405de3e28e1ed749e8ef5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:27 +01:00
Saul Wold d08996355c console-tools: cleanup update-alternatives deprecated code
(From OE-Core rev: 91799f66dcc9f2ba43f16f756a861e0b08e2d340)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:27 +01:00
Saul Wold c21ce7bc24 mini-x-session: cleanup update-alternatives deprecated code
(From OE-Core rev: 6e344e2564456a366682a423d4f061f5d93b2137)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:26 +01:00
Saul Wold 1e3bbf71fa openssh: cleanup update-alternatives deprecated code
(From OE-Core rev: 11c169a9b289b0412e512c37d380a99fd1630df5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:26 +01:00
Saul Wold 7f515e942e rxvt-unicode: cleanup update-alternatives deprecated code
(From OE-Core rev: 0dc9024cb6e5f75f5b568b42b03925c413093f4e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:25 +01:00
Saul Wold 5b8a9e3980 rxvt-unicode: remove setting of LD_LIBRARY_PATH
This is no longer needed as we do not run tic at install time

(From OE-Core rev: c73ab3c1ef27af0577617b0d992da535958b0aed)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15 14:26:25 +01:00
Scott Rifenbark efcb0a81d8 documentation/poky-ref-manual/ref-structure.xml: deleting images
Added clarification on how a user can hand-delete images from
the build/tmp/deply/images directory.

(From yocto-docs rev: 4655085d43b36b024a2e01cfcc7455e18d891ab8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-14 09:34:58 +01:00
Scott Rifenbark 49e8c5aa6d documentation/dev-manual/dev-manual-common-tasks.xml: Packages dir removed
Updated an old comment in the layers.conf file example to say we
have recipes-* directories instead of the old packages directory.

(From yocto-docs rev: c39394e848d6039e6728b7e53de86958f951e258)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-14 09:34:57 +01:00
Scott Rifenbark eea510cfd3 documentation/dev-manual: modified SSH server discussion for QEMU Images
Two areas of the manual updated to reflect the fact that not all
QEMU images have an SSH server in them.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: a173d8cb05ee695b02188a037ee047db016c6a67)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-14 09:34:57 +01:00
Richard Purdie 8b8748c8f9 rpmresolve: Ensure we call the rpm relocation code at init
We need to call rpmcliInit to ensure the rpm relocation code is called
and it correctly honours the relocation environmental variables.

We can drop the ReadConfigFiles call since the cliInit does this for us.

(From OE-Core rev: eb17fdc1461953382360635480f12357eac4dc43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-14 09:34:12 +01:00
Paul Eggleton d45bbc5c75 createrepo: add wrapper script to fix paths
Fixes sstate relocation due to the path to /etc/rpm being baked into the
libraries - this manifested in the form of the following assertion at
runtime:

python: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed.

Fixes [YOCTO #2753].

(From OE-Core rev: b5028cc84ad7c40c51cadbdf7fdc892cde4462cb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13 20:10:34 +01:00
Paul Eggleton 61addcc853 rpmresolve: add wrapper script to fix paths
Fixes sstate relocation due to the path to /etc/rpm being baked into the
libraries - this manifested in the form of the following assertion at
runtime:

rpmresolve: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed.

Fixes [YOCTO #2936].

(From OE-Core rev: 44c2fb7ea0228dd749129d334c76a1bd2983e585)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13 20:10:33 +01:00
Saul Wold 8daf311c3b watchdog: fix SRC_URI _ -> -
(From OE-Core rev: 3d27ee3da296b57b6bc702431437e635c53697f7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13 20:10:33 +01:00
Robert Yang 047db04923 qemu.inc: disable curl for qemu-nativesdk
We had added the --disable-curl to EXTRA_OECONF, but there is an
EXTRA_OECONF_virtclass-nativesdk += "foo", the
"EXTRA_OECONF_virtclass-nativesdk +=" equals to
"EXTRA_OECONF_virtclass-nativesdk =" (the "+" has no effect here), so we
should add the "--disable-curl" to EXTRA_OECONF_virtclass-nativesdk.

And change the "+=" to "=" to not confuse people.

[YOCTO #2305]

(From OE-Core rev: a69df1807af3e099685b766dac4d6c6919b01852)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-13 20:10:30 +01:00
Saul Wold 2dec760b79 foomatic: fix perl path for target
This problem appears on F17 when configure finds /bin/perl, since the beh
script is a target side script, we need to set PERL in the do_configure_prepend
in order for the correct perl to be used

(From OE-Core rev: 5290e82ecef08b5e573d7442627276d7b42c6b93)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-08 10:06:00 +01:00
Richard Purdie 87ffccb5dc automake: Fix version reference in path substitutions
Without this the substitutions don't get made potentially resulting in a variety of
different failures.

(From OE-Core rev: 1e873271362b770381903098d46c4aec164d81de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 23:36:05 +01:00
Richard Purdie 61a43e54bf linux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels too
(From OE-Core rev: b033000900ef2082a2d2d2be3e36b6b813309902)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 23:30:08 +01:00
Richard Purdie bf96b5ccd8 linux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels too
(From OE-Core rev: 6b4ed64c04bbeb019192a7db1f77cfd002281be4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 23:30:07 +01:00
Khem Raj d32e948f03 binutils: Enable threaded linking with gold
This options will let gold spawn multiple
threads for linking and speeding up linking
on multicore build hosts.

(From OE-Core rev: 210957a58260ec50416649aba799d0e96aeeff24)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 23:30:07 +01:00
Richard Purdie 7e8b65b29b package-index: Remove the python hack, its not needed after the pythonnative changes
(From OE-Core rev: 247330b515a1f19189e97f3832242c1c965c2782)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 23:30:07 +01:00
Richard Purdie 016247241d gcc: Disable use of sdt.h header
The target sysroot might contain sdt.h but we don't list this in DEPENDS
and shouldn't be referencing it. Unfortunately there is no way to tell
configure this since these tests are uncached and we can't force
a particular value. The only option is therefore to patch this out.

(From OE-Core rev: 1409d9b9690e39ecc63aacfdd5785586d83633ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 23:30:07 +01:00
Andy Ross 99e6ed0b46 iputils: Break libsysfs dependency
iputils drops a /bin/arping with a runtime linkage against libsysfs in
/usr.  Port Fedora 17 iputils-20071127-infiniband.patch, which inlines
access previously done by libsysfs.

(From OE-Core rev: 99c482124e9f476923f6d5cf0a9e5551507f9d14)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 12:58:02 +01:00
Darren Hart 89886d9359 linux-yocto-custom: Clarify usage and clear COMPATIBLE_MACHINE
There has been some confusion over proper use of the linux-yocto-custom
recipe. It is not intended to build as is from meta-skeleton. It should
be modified via a bbappend file to provide a Linux kernel config at the
very least.

Update the commentary to make this requirement more explicit. Add some
additional detail about how to create a bbappend file and how and when
to modify the various variables.

Clear COMPATIBLE_MACHINE so bitbake will not attempt to build the recipe
unless the user explicitly adds there machine to the variable, which
should encourage them to read the recipe comments before attempting to
build it.

(From OE-Core rev: 8ac3d0566e793777ec4f6629ef752d6db6231ca9)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 12:56:34 +01:00
Jesse Zhang d6ef548c48 image-mklibs: pass correct libdir to mklibs
libdir should be specified, or else mklibs won't work for 64bit targets.
It wouldn't be able to find the libs.

    Traceback (most recent call last):
      File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 553, in <module>
        header = elf_header(find_lib(libraries.copy().pop()))
      File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 89, in elf_header
        raise Exception("Cannot find lib: " + obj)
    Exception: Cannot find lib:

(From OE-Core rev: d2cd2ccea8bc4d110647ba3bd202772e5407000a)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 12:56:34 +01:00
Richard Purdie f6763e90b2 python: Fix RPATH QA issue on non-gplv3 builds
On non-gplv3 builds, gdbm gets built different due to the different version
which triggers a different codepath in python's db support and then hence
triggers an invalid RPATH QA issue. This change extends the appropriate patch
to cover the code paths we need it to cover and avoid adding the problematic
RPATH.

(From OE-Core rev: 90540692c40719b757b80bdc6e78e679a3df83a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 12:37:13 +01:00
Richard Purdie 41fc0ae69b linux-yocto-3.4: Disable extra slang header search path
Add in a workaround to avoid host infection detection build failures
from the slang include directory in perf. I'll defer to Bruce to
fix this properly but we need a workaround now as this is breaking
builds.

(From OE-Core rev: 4fd4b2eafb5f4ff2ef85d7f5ff3238a41c34313b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 12:37:13 +01:00
Richard Purdie ff6de612f8 linux-firmware: Ensure PR goes forward, not backwards after the revert
(From OE-Core rev: 447819db343a93bcc1e079c2a33b592da20f6c1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 12:37:12 +01:00
Richard Purdie 8c8312c072 Revert "linux-firware: use ${base_libdir} instead of /lib for packaging"
This change breaks firmware loading on 64 bit platforms. This therefore
reverts commit ce2665b6ae77770d69ffbc4d45c96ce829d16738.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 11:17:36 +01:00
Richard Purdie ef98412865 kernel.bbclass: Revert ${base_libdir} change
The base_libdir change in 5b8a4798ea
breaks the kernel build for 64 bit machines. Revert this part of the
change.

(From OE-Core rev: 351bdc59f8af915ae203af7799eedc0ce42785f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 11:17:36 +01:00
Richard Purdie e72a154603 kernelshark: Inherit pythonnative
(From OE-Core rev: 2b23cd1c8f81de989bce1ecab2d5b4328328de86)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 10:55:55 +01:00
Richard Purdie 37da1385d4 gdb-cross: Explicitly disable python
Python isn't in DEPENDS but can be autodetected from the sysroot. Explicitly
disable it to ensure deterministic builds.

(From OE-Core rev: b8dd9592f844d15cdc8631b56ec42888a07826c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07 10:55:55 +01:00
Bogdan Marinescu c86d26cb97 subversion: Add missing build dependency on sqlite3
subversion needs an explicit dependency on sqlite3, otherwise it
does not build. Tested by building core-image-minimal.

(From OE-Core rev: 47aca0f0f79c30d1df1f89c710d3e354f436145d)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06 16:14:06 +01:00
Xin Ouyang 4590c0b09d findutils-4.4.2: add bison-native to DEPENDS
[YOCTO #2858]

(From OE-Core rev: 09a023e777b1e05b3edbec2bc49232042f6bf088)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06 16:13:13 +01:00
Bogdan Marinescu 8030c3f264 bison: updated to 2.5.1
The gets patch is not needed anymore in this version. The
manpage patch was updated for this version.

(From OE-Core rev: 2f11d409e20d90f2d619b4d92495c3fcd30584ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06 16:13:12 +01:00