]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agolinux-yocto-rt/3.4: update qemuppc branch
Bruce Ashfield [Fri, 22 Jun 2012 03:02:58 +0000 (23:02 -0400)]
linux-yocto-rt/3.4: update qemuppc branch

The 3.4 kernel adopted the qemu machine name for the kernel branches, so
the 3.4-rt recipe needs to be updated to reflect that.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
12 years agolinux-yocto/3.4: update to v3.4.3
Bruce Ashfield [Tue, 19 Jun 2012 14:26:44 +0000 (10:26 -0400)]
linux-yocto/3.4: update to v3.4.3

Bumping the linux-yocto 3.4 SRCREV to import the -stable update
to v3.4.3.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
12 years agolinux-yocto/3.4: update and categorize configuration options
Bruce Ashfield [Fri, 15 Jun 2012 19:33:46 +0000 (15:33 -0400)]
linux-yocto/3.4: update and categorize configuration options

Updating the 3.4 kernel tree with some initial results of the 3.4
kernel configuration audit and refresh. This is the start of the
3.4 kernel configuration policy update and includes a refresh / update
with respect to kernel.org defaults and new categorization of
configuration fragments.

 0f6975b Sched: Import base BFS-423 for v3.4
 c517c5c cfg: strip off redundant path prefixes
 689fd20 cfg: create timer subdir for HZ and HPET related settings
 5367b46 cfg: add a fs dir for filesystem related configs
 67a784b x86/x86_64: disable MTRR sanitizer
 5da51ea x86/x86_64: consolidate ACPI and EFI settings
 7627402 x86/x86_64: enable CONFIG_NO_HZ=y by default.
 9ca6026 mips: select HZ=100 by default.
 149efc6 arm: select HZ=100 by default.
 29c9fc7 x86/x86_64: use HZ=1000
 700b8b5 x86/x86_64: enable boot mem corruption checks; align with korg defaults
 bbd054d x86: enable CONFIG_HIGHPTE=y by default.
 2569871 x86: align to korg defconfig on IRQ fixups and microcode
 ec5cdc2 x86/x86_64: enable SMP by default
 b9932fa cfg: relocate/add a frag for HPET / RTC enablement
 f9645f5 8250: separate out the 8250 configuration from feature dir
 5e8fea0 bsp: tie cfg/x86.scc into all "KARCH i386" boards
 4020ade cfg: make a common landing ground for ARCH=x86
 e126316 cfg: add basic HZ fragments
 4a8627b cfg: delete instances of any reference to dmesg buf size.
 0794c16 routerstationpro: lib/kobject_uevent: switch to uevent_sock_mutex

[YOCTO #1694]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
12 years agokern-tools: add buildall and robustness fixes
Bruce Ashfield [Fri, 15 Jun 2012 19:26:44 +0000 (15:26 -0400)]
kern-tools: add buildall and robustness fixes

Updating the kern-tools SRCREV to pickup the following functionality:

 - buildall: provides the ability to build all kernel branches
             without a build system, only a cross compiler and configme
             are required.

 - robustness/cleanups: obselete/unused code removal and general robustness
                        fixes from Paul Gortmaker and Bruce Ashfield

The following kern-tools commits are part of this series:

 b8dfd3d buildall: add whitelist/blacklist support
 0ef039c configme: catch errors found during fragment sanitization
 5b6498c buildall: remove all instances of it using/reading scc files
 2e57550 buildall: support semi seamless restarts
 4b5dd4d kconf_check: simplify cmdline args, dont store data per branch
 58fbb6e configme: relieve it of all knowledge of scc files
 a03e291 configme: strip out alternative meta series logic.
 96d2bcf kgit-init: check for valid branchpoint
 5598db6 buildall: allow a max cap on the number of builds done
 b46abec buildall: add support for randomizing build order
 68a04e9 buildall: dont copy failed build logs into main build dir
 5575d85 buildall: script to independently build all board kernels
 86d6200 configme: delete unused variable
 8d4e29d configme: delete unused KPROFILE setting
 7e15436 configme: ensure we have a valid machine type set
 152b9cb scc: remove depreciated/unused commands
 bb4e96a scc: allow includes within conditional statements
 7da7951 configme: derive path to tools from $0
 152dc45 configme: test for BUILD_DIR != ""
 129f7b0 kgit-scc: add warnings about bad input args.
 e977662 kgit-scc: add text for no arg and invalid arg case.

[YOCTO #843]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
12 years agoclasses/image: Allow openssh empty passwords login.
Lianhao Lu [Mon, 11 Jun 2012 08:51:51 +0000 (16:51 +0800)]
classes/image: Allow openssh empty passwords login.

Allow empty passwords login so that the default root user can login in
through openssh.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
12 years agomtd-utils: do not stage headers in sysroot
Andrea Adami [Thu, 21 Jun 2012 22:57:03 +0000 (00:57 +0200)]
mtd-utils: do not stage headers in sysroot

* Headers are included in the package for compatibility
* but have not yet been synched with linux 3.0
* The actual issue was that ubi-user.h in sysroot
* was overwritten by the older version.
* Unfortunately one ioctl was renamed:
* http://lists.infradead.org/pipermail/linux-mtd/
* 2011-March/034419.html
* Note: the recipe will still use its own older header,
* following upstream.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
12 years agomx: Upgrade to 1.4.6
Saul Wold [Sat, 23 Jun 2012 19:09:39 +0000 (12:09 -0700)]
mx: Upgrade to 1.4.6

Remove patch as introspection.m4 is now included with the upstream

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosanity.bbclass: Increase LAYER_CONF_VERSION to match bblayers change
Richard Purdie [Mon, 25 Jun 2012 16:20:06 +0000 (17:20 +0100)]
sanity.bbclass: Increase LAYER_CONF_VERSION to match bblayers change

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcmode-default: Update gzip PREFERRED_VERSION to 1.15
Saul Wold [Sat, 23 Jun 2012 19:16:38 +0000 (12:16 -0700)]
tcmode-default: Update gzip PREFERRED_VERSION to 1.15

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibtiff: Upgrade to 4.0.2
Saul Wold [Sat, 23 Jun 2012 19:16:14 +0000 (12:16 -0700)]
libtiff: Upgrade to 4.0.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibidn: Upgrade to 1.25
Saul Wold [Sat, 23 Jun 2012 19:15:48 +0000 (12:15 -0700)]
libidn: Upgrade to 1.25

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofoomatic-filters: Upgrade to 4.0.16
Saul Wold [Sat, 23 Jun 2012 19:15:25 +0000 (12:15 -0700)]
foomatic-filters: Upgrade to 4.0.16

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agognutls: Upgrade to 2.12.20
Saul Wold [Sat, 23 Jun 2012 19:14:39 +0000 (12:14 -0700)]
gnutls: Upgrade to 2.12.20

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibtasn1: Upgrade to 2.13
Saul Wold [Sat, 23 Jun 2012 19:13:41 +0000 (12:13 -0700)]
libtasn1: Upgrade to 2.13

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoresolvconf: Upgrade to 1.67
Saul Wold [Sat, 23 Jun 2012 19:13:09 +0000 (12:13 -0700)]
resolvconf: Upgrade to 1.67

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocracklib: Upgrade to 2.8.19
Saul Wold [Sat, 23 Jun 2012 19:12:38 +0000 (12:12 -0700)]
cracklib: Upgrade to 2.8.19

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxml-simple-perl: Upgrade to 2.20
Saul Wold [Sat, 23 Jun 2012 19:10:56 +0000 (12:10 -0700)]
libxml-simple-perl: Upgrade to 2.20

Change license file to LICENSE, which now contails both
Artistic-1.0 and GPL-1.0 License text

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxml2: Update to 2.8.0
Saul Wold [Sat, 23 Jun 2012 06:01:06 +0000 (23:01 -0700)]
libxml2: Update to 2.8.0

removed 2 patches that are now fixed upstream
updated hash.c LIC_FILES_CHKSUM due to updating the date to 2012

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoutil-linux: Update to 2.21.2
Saul Wold [Sat, 23 Jun 2012 05:58:58 +0000 (22:58 -0700)]
util-linux: Update to 2.21.2

Remove patch that was corrected upstream

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosysstat: Update to 10.0.5
Saul Wold [Sat, 23 Jun 2012 05:58:04 +0000 (22:58 -0700)]
sysstat: Update to 10.0.5

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopsmisc: Update to 22.19
Saul Wold [Sat, 23 Jun 2012 05:57:39 +0000 (22:57 -0700)]
psmisc: Update to 22.19

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosqlite3: Update to 3.7.13
Saul Wold [Sat, 23 Jun 2012 05:57:04 +0000 (22:57 -0700)]
sqlite3: Update to 3.7.13

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodistrodata: Fix missed VARIABLE name change
Saul Wold [Fri, 22 Jun 2012 21:47:50 +0000 (21:47 +0000)]
distrodata: Fix missed VARIABLE name change

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemu.inc: Fix packageconfig options
Khem Raj [Thu, 21 Jun 2012 22:44:48 +0000 (15:44 -0700)]
qemu.inc: Fix packageconfig options

--{en|dis}able-gl-accel is spcefic to gl
patches in 0.15.1 which may not be available
for other qemu's so if someone chooses to remove
gl from PACKAGECONFIG then we dont explicitly
use the --disable-gl-accel option since this
wont be recognised by configure.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agouclibc: Fix packaging to match the new package order
Khem Raj [Thu, 21 Jun 2012 22:43:28 +0000 (15:43 -0700)]
uclibc: Fix packaging to match the new package order

This gets rid of some phony rdepends on uclibc-dev
being reported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agolinux-firmware: update to main repo on kernel.org
Paul Gortmaker [Fri, 22 Jun 2012 14:15:07 +0000 (10:15 -0400)]
linux-firmware: update to main repo on kernel.org

This is now the authoratative repository, taking updates.
The latest has a couple updated license files, vs. the previous
srcrev that was used.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 years agosudo: upgrade to 1.8.5p2
Scott Garman [Fri, 22 Jun 2012 01:06:34 +0000 (18:06 -0700)]
sudo: upgrade to 1.8.5p2

LIC_FILES_CHKSUM updated due to trivial copyright date change.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
12 years agogzip: upgrade to 1.5
Scott Garman [Fri, 22 Jun 2012 00:27:32 +0000 (17:27 -0700)]
gzip: upgrade to 1.5

LIC_FILES_CHKSUM updated due to trivial copyright date change.

Use new update-alternatives syntax.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
12 years agogcc: Remove csl gcc recipes
Khem Raj [Thu, 21 Jun 2012 23:08:51 +0000 (16:08 -0700)]
gcc: Remove csl gcc recipes

sourcery toolchain is available as external pluggable toolchain
if needed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agoeglibc-2.13: Retire into toolchain layer
Khem Raj [Thu, 21 Jun 2012 23:06:32 +0000 (16:06 -0700)]
eglibc-2.13: Retire into toolchain layer

If anyone wants it add toolchain-layer from meta-openembedded
repo to your setup

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agogcc-4.6: Retire into toochain-layer
Khem Raj [Thu, 21 Jun 2012 23:05:16 +0000 (16:05 -0700)]
gcc-4.6: Retire into toochain-layer

If anyone wants it add toolchain-layer from meta-openembedded
repo to your setup

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 years agogpgme: updated to 1.3.2
Valentin Popa [Fri, 22 Jun 2012 12:27:53 +0000 (15:27 +0300)]
gpgme: updated to 1.3.2

Licence update: the same licence and new copyright years added

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
12 years agorunqemu-internal: qemu fails to run on ext2 image
Kang Kai [Wed, 20 Jun 2012 08:55:51 +0000 (16:55 +0800)]
runqemu-internal: qemu fails to run on ext2 image

[Yocto 2579]

When set DISTRO to poky-tiny, only ext2 image is created. But
runqemu-internal doesn't set QEMUOPTIONS for ext2 image that make qemu
fail to boot.

Fix it for qemux86 arch since poky-tiny can only build for qemux86 now.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
12 years agoxev: updated to 1.2.0
Valentin Popa [Wed, 20 Jun 2012 07:57:50 +0000 (10:57 +0300)]
xev: updated to 1.2.0

tested on sato

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
12 years agocml1.bbclass: Only delay exit if the command fails
Darren Hart [Fri, 15 Jun 2012 21:44:24 +0000 (14:44 -0700)]
cml1.bbclass: Only delay exit if the command fails

Rather than pause for 5 seconds, test the return code of the command and
require user input before exiting on failure. This avoids pausing after
successful command execution as well as possibly not waiting long enough
if the user happens to be doing something else for 5 seconds.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
12 years agobitbake.conf/abi_version.conf: Update to use BasicHash signature generator
Richard Purdie [Fri, 22 Jun 2012 14:04:27 +0000 (15:04 +0100)]
bitbake.conf/abi_version.conf: Update to use BasicHash signature generator

This switches to use the hash based signature generatior and update
layout_abi to match stamp file layout changes.

Angstrom and Poky did this a while ago. This brings the OE-Core defaults
into line with what is the best common practise at this point. Its been
discussed on the mailing lists and by the TSC at length, this just completes
the transition.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolayer.conf/bblayers.conf.sample: Fix empty BBPATH entry warnings
Richard Purdie [Fri, 22 Jun 2012 13:33:12 +0000 (14:33 +0100)]
layer.conf/bblayers.conf.sample: Fix empty BBPATH entry warnings

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years ago[PATCH] guile: fix compilation on MIPS/PPC
Bogdan Marinescu [Thu, 21 Jun 2012 11:39:53 +0000 (14:39 +0300)]
[PATCH] guile: fix compilation on MIPS/PPC

This commit fixes the guile compilation segfault on MIPS/PPC.
Tested by compiling guile with MACHINE=qemumips.

[Yocto #2478]

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosato-icon-theme: inherit the GNOME icon theme (Yocto #2594)
Ross Burton [Thu, 21 Jun 2012 10:57:56 +0000 (11:57 +0100)]
sato-icon-theme: inherit the GNOME icon theme (Yocto #2594)

Many apps want to use the full GNOME icon theme and install it, but if our theme
doesn't inherit it the the icons are not available.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevolution-data-server: updated to ver. 2.30_3
Valentin Popa [Wed, 20 Jun 2012 07:50:41 +0000 (10:50 +0300)]
evolution-data-server: updated to ver. 2.30_3

Tested using Tasks & Contacts

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxinetd: Add default options.
Xin Ouyang [Wed, 20 Jun 2012 07:17:17 +0000 (15:17 +0800)]
xinetd: Add default options.

Currently, xinetd cannot start if no service enabled.

 # /etc/init.d/xinetd start
 # ps aux | grep xinetd
 # cat /var/log/syslog
 xinetd[862]: 862 {init_services} no services. Exiting...

So add -stayalive option by default, as most distos do.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoSimplify "SRC_URI_append +=" to "SRC_URI_append ="
Robert P. J. Day [Wed, 20 Jun 2012 08:51:32 +0000 (04:51 -0400)]
Simplify "SRC_URI_append +=" to "SRC_URI_append ="

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-gnome: upgrade to 0.7, which works with connman 1.0
Ross Burton [Wed, 20 Jun 2012 11:27:23 +0000 (12:27 +0100)]
connman-gnome: upgrade to 0.7, which works with connman 1.0

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-gnome: clean up runtime dependencies
Ross Burton [Wed, 20 Jun 2012 11:27:22 +0000 (12:27 +0100)]
connman-gnome: clean up runtime dependencies

There is no need to recommend Python as it isn't used, and specifying the connman plugins should be done by the image.

Add a dependency on connman itself as otherwise connman-gnome doesn't do much.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-gnome: fix build depends (Yocto #2556)
Ross Burton [Wed, 20 Jun 2012 11:27:21 +0000 (12:27 +0100)]
connman-gnome: fix build depends (Yocto #2556)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: upgrade to 1.0
Ross Burton [Wed, 20 Jun 2012 11:27:20 +0000 (12:27 +0100)]
connman: upgrade to 1.0

Drop patches that have been merged upstream, or are not relevant any more.

License checksums changed because the (C) years were updated.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: add compat RPROVIDES for older packaging
Ross Burton [Wed, 20 Jun 2012 11:27:19 +0000 (12:27 +0100)]
connman: add compat RPROVIDES for older packaging

wifi, bluetooth and 3g used to be plugins so were packaged separately, but not
anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: rationalise configure options
Ross Burton [Wed, 20 Jun 2012 11:27:18 +0000 (12:27 +0100)]
connman: rationalise configure options

dnsproxy and ntpd don't exist anymore, and the client is almost entirely useless.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogitignore: ignore build*/ entirely
Ross Burton [Wed, 20 Jun 2012 11:47:14 +0000 (12:47 +0100)]
gitignore: ignore build*/ entirely

Previously parts of build*/ were ignored, but unless you committed the top-level
build/ in a branch this didn't achieve anything.  Change that to ignore all
top-level build* directories.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-libc-headers: use kernel-arch to set ARCH
Bruce Ashfield [Wed, 20 Jun 2012 14:54:54 +0000 (10:54 -0400)]
linux-libc-headers: use kernel-arch to set ARCH

linux-libc-headers no longer needs its own ARCH mapping code,
since the mapping done in kernel-arch works and we can
consolidate all arch mapping code in a single place.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Fix a case of sysroot with trailing / and gxx-include-dir leading slash
Khem Raj [Wed, 20 Jun 2012 15:18:39 +0000 (08:18 -0700)]
gcc: Fix a case of sysroot with trailing / and gxx-include-dir leading slash

when using --with-sysroot=/ and --with-gxx-headers=/usr/include/c++
configure eats up one leading / from gxx include dir
fixed thusly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.7: Update to tip of gcc-4_7-branch since 4.7.1 has been out
Khem Raj [Wed, 20 Jun 2012 15:18:37 +0000 (08:18 -0700)]
gcc-4.7: Update to tip of gcc-4_7-branch since 4.7.1 has been out

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Enable plugins by default
Khem Raj [Wed, 20 Jun 2012 15:18:40 +0000 (08:18 -0700)]
binutils: Enable plugins by default

Plugins work well in 2.22+ so lets enable them
helps with lto

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Add with-sysroot to target binutils
Khem Raj [Wed, 20 Jun 2012 15:18:38 +0000 (08:18 -0700)]
binutils: Add with-sysroot to target binutils

Also rearrange the recipes to have common bits
in inc files and not include the target bb file
everywhere. This lets us add specific options
to specific recipes particularly target recipe in
this case

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc-git: Upgrade to latest tip of master
Khem Raj [Wed, 20 Jun 2012 15:18:36 +0000 (08:18 -0700)]
uclibc-git: Upgrade to latest tip of master

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes-kernel: remove linux-tools.inc
Bruce Ashfield [Wed, 20 Jun 2012 14:31:41 +0000 (10:31 -0400)]
recipes-kernel: remove linux-tools.inc

perf has been moved to a standalone package, making linux-tools.inc
unecessary. It can now be removed and recipes that included it
updated.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes-kernel: make perf a standalone package
Liang Li [Wed, 20 Jun 2012 14:31:40 +0000 (10:31 -0400)]
recipes-kernel: make perf a standalone package

perf has been coupled to the kernel packages via kernel.bbclass.
While maintaining the build of perf out of the kernel source tree
is desired the package coupling has proved to be awkward in
several situations such as:

  - when a kernel recipe doesn't want to build/provide perf
  - when licensing of dependencies would prohibit perf and hence
    the kernel from being built.

To solve some of these problems, this recipe is the extraction of
the linux-tools.inc provided perf compilation into a standalone
perf recipe that builds out of the kernel source, but is otherwise
independent.

No new functionality is provided above what the linux-tools.inc
variant provided, but the separate recipe provides baseline for
adding new functionality.

Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel: save $kerndir/tools and $kerndir/lib from pruning
Bruce Ashfield [Wed, 20 Jun 2012 14:31:39 +0000 (10:31 -0400)]
kernel: save $kerndir/tools and $kerndir/lib from pruning

The kernel source tree in the sysroot has all unecessary source
code removed. The existing use case is to support module building
out of the sysroot, but as more toolsa are moved into the kernel
tree itself there are new use cases for the kernel sysroot source.

To avoid putting dependencies on the kernel, and to be able to
individually build and package these tools out of the source tree,
we can save $kerndir/tools and $kernddir/lib from being removed.
This enables tools like perf to be built our of the kernel source
in the sysroot, without significantly increasing the amount of
source in the sysroot.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm.bbclass: fix incremental rpm generation
Robert Yang [Thu, 21 Jun 2012 02:30:00 +0000 (10:30 +0800)]
package_rpm.bbclass: fix incremental rpm generation

Fixes:
* Remove the "echo '# Remove manifest padding....' > remove.manifest,
  The remove.manifest would be used via "rpm -e `remove.manifest`",
  there would be error since there is no pkg called: Remove, manifest or
  padding

* The incremental.manifest can't be null when used by rpm, so check it
  before use.

* The rpm needs:
--root "${target_rootfs}/install"
  when use:
-D "_dbpath ${target_rootfs}/install"
  Otherwise it would use the ${target_rootfs} as the root, and use the
  ${target_rootfs}/var/lib/rpm as the dbpath, this is OK in a fresh
  installation, but there would be errors when increment rpm generation.

[YOCTO #2617]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg-utils: bump SRCREV
Martin Jansa [Thu, 21 Jun 2012 05:53:18 +0000 (07:53 +0200)]
opkg-utils: bump SRCREV

* there are 2 small fixes
  python-2.6 compatibility
  missing C option for opkg-build

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext 0.16.1: Update FILES for post PACKAGE reoder
Saul Wold [Tue, 19 Jun 2012 22:39:59 +0000 (15:39 -0700)]
gettext 0.16.1: Update FILES for post PACKAGE reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpcre: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:30:30 +0000 (05:30 -0700)]
libpcre: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoconf/bitbake.conf: fix reparsing after -p is used
Paul Eggleton [Mon, 18 Jun 2012 17:55:56 +0000 (18:55 +0100)]
conf/bitbake.conf: fix reparsing after -p is used

The bitbake wrapper script is set up such that the -p (--parse-only)
command line option is not executed under pseudo, and it sets the
PSEUDO_BUILD variable to indicate whether or not pseudo is being used.
Since PSEUDO_BUILD is allowed through into the environment via
BB_ENV_EXTRAWHITE it influences the data hash and thus if you run
"bitbake -p" and then run bitbake again to actually build something, the
change to PSEUDO_BUILD causes the cache from the -p execution not to be
used. This is fixed simply by adding PSEUDO_BUILD to
BB_HASHCONFIG_WHITELIST in bitbake.conf so that it doesn't influence the
data hash.

Fixes [YOCTO #2600].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agoclasses/cml1: ensure -c menuconfig forces a rebuild next time
Paul Eggleton [Mon, 18 Jun 2012 15:50:50 +0000 (16:50 +0100)]
classes/cml1: ensure -c menuconfig forces a rebuild next time

Ensure the following results in the kernel being rebuilt, repackaged and
re-deployed in the final step:

bitbake virtual/kernel
bitbake -c menuconfig virtual/kernel
[ make changes to the kernel configuration and save ]
bitbake virtual/kernel

If there are no changes to the configuration saved, the rebuild will not
be triggered.

Note that this relies on a function recently added to BitBake and
requires full hashing (i.e. BB_SIGNATURE_HANDLER must be set to a
signature handler that inherits from BasicHash) - if this is not the
case or the function is not available in the version of BitBake being
used this change will do nothing.

Fixes [YOCTO #2256].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12 years agoopenssl: add deprecated and unmaintained find.pl from perl-5.14 to fix perlpath.pl
Martin Jansa [Sat, 16 Jun 2012 06:43:35 +0000 (08:43 +0200)]
openssl: add deprecated and unmaintained find.pl from perl-5.14 to fix perlpath.pl

* openembedded-core/meta/recipes-connectivity/openssl/openssl.inc
*
* is using perlpath.pl:
*
*   do_configure () {
*           cd util
*           perl perlpath.pl ${STAGING_BINDIR_NATIVE}
*   ...
*
* and perlpath.pl is using find.pl:
* openssl-1.0.0i/util/perlpath.pl:
*   #!/usr/local/bin/perl
*   #
*   # modify the '#!/usr/local/bin/perl'
*   # line in all scripts that rely on perl.
*   #
*
*   require "find.pl";
*   ...
*
* which was removed in perl-5.16.0 and marked as deprecated and
* unmaintained in 5.14 and older:
* /tmp/usr/lib/perl5/5.14.2/find.pl:
*   warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl
*   core distribution in the next major release. Please install it from the
*   CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]},
*   line @{[(caller)[2]]}.\n";
*
*   # This library is deprecated and unmaintained. It is included for
*   # compatibility with Perl 4 scripts which may use it, but it will be
*   # removed in a future version of Perl. Please use the File::Find module
*   # instead.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agokernel.bbclass: pass KERNEL_VERSION to depmod calls in postinst
Martin Jansa [Tue, 19 Jun 2012 07:42:10 +0000 (09:42 +0200)]
kernel.bbclass: pass KERNEL_VERSION to depmod calls in postinst

* without this, kernel upgrades where KERNEL_VERSION is changed
  e.g. 3.4.2 -> 3.4.3 generate .dep for running 3.4.2 and after reboot user ends
  up without any module loaded to make it worse after reboot nothing is upgraded
  to trigger another kernel(-module) postinst to generate .dep for now running 3.4.3

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12 years agolibpcre: Clean up FILES_* after PACKAGES reoder
Saul Wold [Tue, 19 Jun 2012 15:41:08 +0000 (08:41 -0700)]
libpcre:  Clean up FILES_* after PACKAGES reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibevent: disable openssl by default
Saul Wold [Mon, 18 Jun 2012 23:28:45 +0000 (16:28 -0700)]
libevent: disable openssl by default

This creates a more deterministic build and also reduces the size of this library.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoPR bumps for PACKAGES reorder
Saul Wold [Mon, 18 Jun 2012 19:51:21 +0000 (12:51 -0700)]
PR bumps for PACKAGES reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocurl: Clean up FILES_* after PACKAGES reoder
Saul Wold [Mon, 18 Jun 2012 19:03:18 +0000 (12:03 -0700)]
curl: Clean up FILES_* after PACKAGES reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoman-pages: Clean up FILES_* after PACKAGES reoder
Saul Wold [Mon, 18 Jun 2012 18:22:28 +0000 (11:22 -0700)]
man-pages: Clean up FILES_* after PACKAGES reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agohdparam: Clean up FILES_* after PACKAGES reoder
Saul Wold [Mon, 18 Jun 2012 18:04:34 +0000 (11:04 -0700)]
hdparam: Clean up FILES_* after PACKAGES reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogrub: Clean up FILES_* after PACKAGES reoder
Saul Wold [Mon, 18 Jun 2012 18:01:35 +0000 (11:01 -0700)]
grub: Clean up FILES_* after PACKAGES reoder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibtool: add ${PN} in middle of package list to ensure .m4 get with ${PN}
Saul Wold [Wed, 13 Jun 2012 20:56:29 +0000 (13:56 -0700)]
libtool: add ${PN} in middle of package list to ensure .m4 get with ${PN}

With the new order scheme, ${PN} needs to be in the middle
for the .m4 files to be packaged, otherwise the move the
-dev package which is wrong in this case.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agowebkit-gtk: remove /usr/libexec since it's empty
Saul Wold [Thu, 7 Jun 2012 05:14:28 +0000 (22:14 -0700)]
webkit-gtk: remove /usr/libexec since it's empty

This was discovered due to the package reorganization

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agojs: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 07:47:27 +0000 (00:47 -0700)]
js: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolttng-viewer: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 07:47:07 +0000 (00:47 -0700)]
lttng-viewer: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibidn: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 07:46:51 +0000 (00:46 -0700)]
libidn: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogtk-sato-engine: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:27:38 +0000 (18:27 -0700)]
gtk-sato-engine: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofreetype: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:26:20 +0000 (18:26 -0700)]
freetype: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogthumb: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:25:19 +0000 (18:25 -0700)]
gthumb: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoslang: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:24:54 +0000 (18:24 -0700)]
slang: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agognome-keyring: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:24:35 +0000 (18:24 -0700)]
gnome-keyring: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoprocps: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:23:25 +0000 (18:23 -0700)]
procps: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocups: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:22:53 +0000 (18:22 -0700)]
cups: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogettext: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:22:42 +0000 (18:22 -0700)]
gettext: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoicu: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:22:19 +0000 (18:22 -0700)]
icu: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogroff: clean up FILE after PACKAGE reorder
Saul Wold [Wed, 6 Jun 2012 01:21:39 +0000 (18:21 -0700)]
groff: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxml2: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:52:41 +0000 (05:52 -0700)]
libxml2: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibpng: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:47:02 +0000 (05:47 -0700)]
libpng: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodb: Ensure the library version matches package version
Saul Wold [Tue, 12 Jun 2012 23:19:47 +0000 (16:19 -0700)]
db: Ensure the library version matches package version

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agognutls: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:42:11 +0000 (05:42 -0700)]
gnutls: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogpgme: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:33:59 +0000 (05:33 -0700)]
gpgme: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibgcrypt: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:32:53 +0000 (05:32 -0700)]
libgcrypt: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibgpg-error: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:31:51 +0000 (05:31 -0700)]
libgpg-error: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibproxy: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:25:00 +0000 (05:25 -0700)]
libproxy: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibusb-compat: clean up FILE after PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:19:03 +0000 (05:19 -0700)]
libusb-compat: clean up FILE after PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopth: clean-up FILES list due to PACKAGE reorder
Saul Wold [Tue, 5 Jun 2012 12:17:43 +0000 (05:17 -0700)]
pth: clean-up FILES list due to PACKAGE reorder

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agotaglib: correct location of taglib-config to -dev
Saul Wold [Tue, 5 Jun 2012 12:16:20 +0000 (05:16 -0700)]
taglib: correct location of taglib-config to -dev

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc-package: Update PACKAGES and files based on new ordering
Saul Wold [Tue, 5 Jun 2012 12:05:51 +0000 (05:05 -0700)]
eglibc-package: Update PACKAGES and files based on new ordering

Signed-off-by: Saul Wold <sgw@linux.intel.com>