Commit Graph

1914 Commits

Author SHA1 Message Date
Christopher Larson
c1952180fe kernel.bbclass: add deploy link to KERNEL_IMAGETYPE
It's common to provide a non-machine-suffixed link in DEPLOY_DIR_IMAGE, so
let's be consistent and do so here as well.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:07 +02:00
Khem Raj
9972fff420 kernel.bbclass: Dont package kxgettext.o
kxgettext.o is generated when building ppc kernels
so we end up with packaging errors like

> ERROR: QA Issue: Architecture did not match (20 to 62) on
> /work/virtex5-poky-linux/linux-xilinx-2.6.38-r00/packages-split/kernel-dev/usr/src/kernel/scripts/kconfig/kxgettext.o

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:07 +02:00
Bruce Ashfield
3f45ebc886 kernel.bbclass: add non-santized kernel provides
If the kernel version string uses characters or symbols that
need to be santized for the package name, we can end up with a
mismatch between module requirements and what the kernel
provides.

The kernel version is pulled from utsrelease.h, which contains
the exact string that was passed to the kernel build, not
one that is santized, this can result in:

 echo "CONFIG_LOCALVERSION="\"MYVER+snapshot_standard\" >> ${B}/.config

 <build>

 % rpm -qp kernel-module-uvesafb-3.4-r0.qemux86.rpm --requires
update-modules
kernel-3.4.3-MYVER+snapshot_standard
 % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides
kernel-3.4.3-myver+snapshot-standard = 3.4-r0

At rootfs assembly time, we'll have a dependency issue with the kernel
providing the santizied string and the modules requiring the utsrelease.h
string.

To not break existing use cases, we can add a second provides to the
kernel packaging with the unsantized version string, and allowing the
kernel module packaging to be unchanged.

   RPROVIDES_kernel-base += "kernel-${KERNEL_VERSION}"

 % rpm -qp kernel-3.4.3-myver+snapshot-standard-3.4-r0.qemux86.rpm --provides
kernel-3.4.3-MYVER+snapshot_standard
kernel-3.4.3-myver+snapshot-standard = 3.4-r0

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:07 +02:00
Darren Hart
8c724c4ab8 kernel: Add kernel headers to kernel-dev package
[YOCTO #1614]

Add the kernel headers to the kernel-dev package. This packages what was
already built and kept in sysroots for building modules with bitbake.
Making this available on the target requires removing some additional
host binaries.

Move the location to /usr/src/kernel

Before use on the target, the user will need to:

    # cd /usr/src/kernel
    # make scripts

This renders the kernel-misc recipe empty, so remove it.

As we use /usr/src/kernel in several places (and I missed one in the
previous version), add a KERNEL_SRC_DIR variable and use that throughout
the class to avoid update errors in the future.

Now that we package the kernel headers, drop the
kernel_package_preprocess function which removed them from PKGD.

All *-sdk image recipes include dev-pkgs, so the kernel-dev package will
be installed by default on all such images.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:07 +02:00
Liang Li
9ab875fbea 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>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:07 +02:00
Bruce Ashfield
72c4d30de5 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>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:07 +02:00
Otavio Salvador
a17cda6e85 cpuburn-neon: fix packaging to use a date as version and valid sources
* The package were not versioning the sources as the files had no
   version on its name. We workaround it mangling the DL_DIR;

 * We now dynamically check if the machine has or not neon feature and
   set COMPATIBLE_MACHINE.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-18 09:23:04 +02:00
Koen Kooi
dbb3624147 libpam 1.1.5 bbappend: register PAM session with logind
This makes screen/tmux/etc work as intended

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-17 08:52:13 +02:00
Koen Kooi
a97d600352 v4l-utils 0.8.8: disable qv4l2 build
It picks up host qmake and breaks the build.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-17 08:52:01 +02:00
Andreas Müller
0da076d59a task-xfce-extended: remove xfce4-icon-theme
xfce4-icon-theme is not required by default since xfce4-settings initially
works with gnome-icon-theme and gnome-icon-theme is pulled in by many other
recipes anyway.
To reduce rootfs size - especially after gtk-update-icon-cache -
xfce4-icon-theme is removed.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-17 08:50:33 +02:00
Andreas Müller
5981a1459b xfce4-power-manager: update to 1.2.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-17 08:50:32 +02:00
Koen Kooi
aa4f437796 various: update ; proto= to ; protocol= in SRC_URI
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-16 11:06:40 +02:00
Andreas Müller
2c8329b8d9 udisks: do not start daemon automatically at boot time 2012-07-16 09:39:08 +02:00
Andreas Müller
6e6bd9af71 systemd.bbclass: introduce SYSTEMD_AUTO_ENABLE variable
Currently all services introduced are enabled and started at installation. By
setting SYSTEMD_AUTO_ENABLE = "disable" the default behaviour can be
overridden.
2012-07-16 09:39:08 +02:00
Andreas Müller
c21e67f8e5 networkmanager: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:08 +02:00
Andreas Müller
87526c2f21 gpsd: move systemd support to meta-systemd 2012-07-16 09:39:07 +02:00
Andreas Müller
fca1dffca7 rsyslog: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
d7639a2ae1 keymaps: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
0cee7e28f0 dropbear: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
42e00e8ffd xserver-nodm-init: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
34fe984fc6 xinput-calibrator: : move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
23d5e85065 cloud9: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
855e8d63a6 openssh: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
c203043683 cherokee: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
365d5ec941 gateone: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
a55a931807 connman: move systemd support to meta-systemd 2012-07-16 09:39:06 +02:00
Andreas Müller
1e6cf9483d dhcp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
ca89a23506 atftp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
9f2dd8c0ae net-snmp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
46acf9d3b5 elsa: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
8149b358f9 cronie: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
36aa9a4fc0 lighttpd: move systemd support to meta-systemd 2012-07-16 09:39:06 +02:00
Andreas Müller
14a5f1174c udisks: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
d1f914398d syslog-ng: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
2dae284c9e ntp: move systemd support to meta-systemd 2012-07-16 09:39:06 +02:00
Andreas Müller
326e027816 busybox: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:05 +02:00
Andreas Müller
519d60e717 gdm: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:05 +02:00
Andreas Müller
fb56d13c70 polkit: meta-systemd rework
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:05 +02:00
Andreas Müller
c2597edb99 task-x11: in case meta-systemd is part of BBLAYERS, xserver-nodm-init-systemd is recommended automatically 2012-07-16 09:39:05 +02:00
Andreas Müller
8d0e29dd07 task-basic: move systemd support to meta systemd 2012-07-16 09:39:05 +02:00
Andreas Müller
8b774a53c0 systemd.bbclass: do not warn for systemd files are in ${PN}
Since we have our own layer there is no need to separate out systemd packages
2012-07-16 09:39:05 +02:00
Andreas Müller
264e5a44e1 systemd.bbclass: add *-systemd packages to RRECOMMENDS 2012-07-16 09:39:05 +02:00
Andreas Müller
241e40a64a meta-oe/layer.conf: systemd-serialgetty moved to meta-systemd 2012-07-16 09:39:05 +02:00
Andreas Müller
5915e63981 layer.conf/README: search directory structure for bbappends changed
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:05 +02:00
Andreas Müller
a5b2aea321 move systemd recipes to meta-systemd 2012-07-16 09:39:05 +02:00
Andreas Müller
5ed19733f5 systemd.bbclass: move to meta-systemd 2012-07-16 09:39:05 +02:00
Koen Kooi
d0b43b1144 meta-multimedia README: meta-oe is no longer optional
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-13 10:22:07 +02:00
Elvis Dowson
99cb797bd8 meta-oe: Fix SRC_URI warnings to use "protocol" not "proto"
This commit updates the SRC_URI for the following recipes to use "protocol"
meta-oe/recipes-devtools/python/python-pyyaml_svn.bb
meta-oe/recipes-navigation/navit/navit_svn.bb
meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb
meta-oe/recipes-qt/qcanobserver/qcanobserver_svn.bb
meta-oe/recipes-support/dfu-util/dfu-util_svn.bb
meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb
meta-oe/recipes-support/samsung-soc-utils/s3c24xx-gpio_svn.bb
meta-oe/recipes-support/samsung-soc-utils/s3c64xx-gpio_svn.bb
meta-oe/recipes-support/samsung-soc-utils/sjf2410-linux-native_svn.bb
meta-oe/recipes-support/usbpath/usbpath_svn.bb
meta-oe/recipes-support/wmiconfig/wmiconfig_svn.bb

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-13 10:20:01 +02:00
Paul Eggleton
1c2f045d90 xbmc: move from meta-oe to meta-multimedia
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-13 10:19:59 +02:00
Koen Kooi
82fe3fa0a8 opencv, opencv-samples: drop 2.3.1
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-13 10:19:57 +02:00