Commit Graph

351 Commits

Author SHA1 Message Date
Koen Kooi
d273a777b4 udev 171: readd modprobe rule to main recipe
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-31 20:37:36 +02:00
Koen Kooi
658bd7ef32 systemd-compat-units: package to fixup the rootfs, shouldn't be needed in the future
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-31 14:50:38 +02:00
Koen Kooi
5c3ba55683 udev 171: disable cache on systemd setups
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-31 10:50:01 +02:00
Koen Kooi
22c813fa4b systemd: fix postinst so u-a can run offline
otherwise we don't get an /sbin/init....

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-30 20:41:11 +02:00
Koen Kooi
a753f40478 udev: drop 168 and associated files
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-30 13:54:49 +02:00
Koen Kooi
c1111466bd udev 171: cleanup duplicated rules some more
Install only upstream rules and the touchscreen0 symlink rule

That gets us to:

root@beagleboard-c3:~# time (udevadm trigger ; udevadm settle)

real    0m1.540s
user    0m0.062s
sys     0m0.273s

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-30 13:54:49 +02:00
Koen Kooi
7aa7dd55db udev-extra-rules: recipe with extra rules previously provided by udev
These rules had no demonstratable benefit and slow down bootup a lot

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-30 13:54:49 +02:00
Martin Jansa
4a35648f51 dbus-daemon-proxy: add LIC_FILES_CHKSUM and disable as-needed
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-30 11:28:57 +02:00
Koen Kooi
5e4b91988c udev 171: add recipe with DP = -1
This is meant for people to test before making it the default. The goal is to
get rid of as many udev rules as possible to speed up boot time

Some numbers of udev-trigger running on beagleboard/angstrom:

udev with no accept4() syscall in libc: 180s

udev 168 with default rules: 	12s
udev 171 with default rules:	8s
udev 171 with minimal rules		0.8s

These times vary with the number of devices attached, SD card speed, etc.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-28 16:42:55 +02:00
Koen Kooi
f1b62bb0a9 systemd: expand RRECOMMENDS with kernel modules recommended by INSTALL
This makes on-demand mounting work for systems that have autofs4 as a module

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-28 16:42:55 +02:00
Koen Kooi
73ee0542d9 systemd: add u-a entries for reboot, halt and friends
Also drag in full modprobe.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-28 16:42:55 +02:00
Koen Kooi
086a042fb7 systemd: use PKGV and create 'lock' group in postinst
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-28 16:42:55 +02:00
Koen Kooi
ede2ce2942 systemd: fix "double getty" problem on serial console with recent kernels
From #systemd:

16:46 < koen> kay: do you know what could have changed in 2.6.39 that system opens a getty on tty0 by itself?
16:48 < kay> nothing in the kernel i could think of
16:48 < koen> I can trigger it just by switching kernels and leaving the rootfs identical
23:53 < mezcalero> koen: btw, it is /lib/systemd/systemd-generators/systemd-getty-generator which spawns gettys
23:53 < mezcalero> on the kernel console automatically
23:53 < mezcalero> it uses /sys/class/tty/console/active for that
23:53 < mezcalero> which eixsts only on recent kernels
00:32 < koen> mezcalero: so what's the best way to avoid double spawning a getty?
00:35 < mezcalero> if if you want a serial getty even if you are not redirecting the console just make sure to use the same service name
00:35 < mezcalero> how exactly are your two getty services called?
00:39 < koen> lrwxrwxrwx    1 root     root            41 May 27 22:38 getty@ttyO2.service -> /lib/systemd/system/serial-getty@.service
00:50 < mezcalero> koen: call it serial-getty@ttyO2
2011-05-28 16:42:55 +02:00
Koen Kooi
a44a502de6 systemd: add hack to fix parsing for machines without SERIAL_CONSOLE set
The recipe should stop installing the unit in that case

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-27 10:28:40 +02:00
Koen Kooi
6f67d69d41 uclibc: moved into OE-core, delete from meta-oe
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-27 08:12:25 +02:00
Koen Kooi
d98d1f8b11 systemd: update to v28
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-26 20:35:10 +02:00
Koen Kooi
a19941125a systemd: drag in new {udev,dbus}-systemd packages
The systemd units were split into their own subpackage in meta-oe and oe-core

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-26 11:08:44 +02:00
Koen Kooi
db5b58fd25 udev 168: enable systemd support, but package systemd files seperately
Systemd support in udev only affects 'make install', so no changes for sysvinit based systems

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-26 11:08:09 +02:00
Koen Kooi
091579bf2c systemd: import from OE rev 84696f215bbf81cb3def7e03e45dd66b0a85b1bb
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-26 08:42:34 +02:00
Koen Kooi
5755cbd883 dbus: drop from meta-oe
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-26 08:42:33 +02:00
Koen Kooi
90033f5d91 kbd: add 1.15.2 2011-05-25 20:18:41 +02:00
Koen Kooi
6e764b6217 libcgroups: import from OE rev 01d461a53cec16ddec29b996896839a17c51a74a
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-25 16:54:08 +02:00
Koen Kooi
1dc96edb94 libcap2: import for OE rev 01d461a53cec16ddec29b996896839a17c51a74
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-25 16:43:51 +02:00
Koen Kooi
d43c57f8cd task-boot: bump PR for MACHINE_ESSENTIAL_EXTRA_RDEPENDS change in OE-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-24 08:27:03 +02:00
Otavio Salvador
a6b5a90ea7 udev: move ConsoleKit files to udev-consolekit
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-23 16:13:18 +02:00
Otavio Salvador
896ba39f88 udev: remove udev.inc since it was not being in use
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-23 16:13:18 +02:00
Otavio Salvador
c1da9cf13b udev: fix action used during startup
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-23 16:13:18 +02:00
Otavio Salvador
4ab0bd1935 udev: fix init script indenting
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-23 16:13:18 +02:00
Khem Raj
5d96769da5 uclibc: Rename uclibc-libargp -> uclibc-argp and uclibc-libbacktrace -> uclibc-backtrace
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-20 09:08:09 +02:00
Martin Jansa
10d8c7ae11 glib-2.0: append libffi and python-argparse to DEPENDS_virtclass-native, drop gdbus-serialization test
* DEPENDS_virtclass-native is defined in glib.inc so normal DEPENDS are
  ignored for -native builds
* gdbus-serialization test causes circular dependency dbus-glib, and
  because we cannot add dbus to DEPENDS then we had to drop this test
  so apply dcf425c5472fdee74885c4f21a851e39c84e6642 from oe.dev

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-19 00:02:52 +02:00
Martin Jansa
9cb1277b5e glib-2.0: use PN instead of glib-2.0 in PACKAGES and FILES
* otherwise notes like this are shown:
  NOTE: multiple providers are available for runtime glib-2.0-utils (glib-2.0-nativesdk, glib-2.0)
  NOTE: consider defining a PREFERRED_PROVIDER entry to match glib-2.0-utils

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-19 00:02:52 +02:00
Khem Raj
5ca20df915 uclibc_git.bb: Upgrade SRCREV and fix PV
use 0.9.32-rc3 in PV
Cleanup unused UCLIBC_BASE
Remove epoll patch obsoleted by SRCREV update

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-18 10:02:24 +02:00
Khem Raj
ca28a0b221 uclibc.inc: Package libargp and libbacktrace
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-18 09:39:13 +02:00
Khem Raj
9c5f5a8070 uclibc_git.bb: Backport epoll implementation
Many applications e.g. firefox need it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-16 20:50:44 +02:00
Koen Kooi
88295fc7dd udev: update to 168
This also removes machine specific files

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-16 15:38:23 +02:00
Otavio Salvador
e55afd32d8 glib-2.0: depends on python-argparse-native
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-10 16:59:07 +02:00
Martin Jansa
ee24b4ce36 glib-2.0: add git version for 2.29.3+git, which has gdbus-codegen included
* add negative DEFAULT_PREFERRENCE for now

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-10 13:57:34 +02:00
Martin Jansa
295562b311 udev: drop udev-compat for zaurus devices
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-10 13:57:32 +02:00
Khem Raj
d1742c8a96 uclibc_git.bb: Enable backtrace and fenv
Upgrade to latest snapshot to bring in libubacktrace
and enable it since e-wm needs it. Also enable fenv
to compiler target gcc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-09 18:59:03 +02:00
Khem Raj
1e2b88cbc4 proxy-libintl_20100902.bb: Specify -fPIC in CFLAGS
Some architectures like mips become upset if you
try to link non-pic libraries to shared objects
some generate pic by default so it does not matter
Specifying -fPIC on commandline should make all happy

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-29 21:08:55 +02:00
Khem Raj
497477b24a proxy-libintl: Upgrade to proxy-libintl-20100902
We do not need shared version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-26 09:03:53 +02:00
Koen Kooi
408601b9d4 meta-oe: catch up with POKYBASE -> COREBASE renaming
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-21 09:58:39 +02:00
Khem Raj
37f21da69b uclibc-initial_git.bb: Create symlinks to kernel headers
Without this the toolchain bootstrap will fail
on some compiler versions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-20 08:39:04 +02:00
Michael Lippautz
e0c3d4a2d6 fakeroot: Add LIC_FILES_CHKSUM
Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-19 15:20:02 +02:00
Koen Kooi
623e38e59d use COPYING.MIT from POKYBASE instead of meta-shr
This fixes builds where meta-shr isn't in TOPDIR/meta-shr but somewhere else (sources/meta-shr in my case)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-17 13:39:55 +02:00
Martin Jansa
89500c583e recipes,classes: import a lot of recipes from meta-shr
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer)
2011-04-10 14:43:41 +02:00
Koen Kooi
d390be3ddd task-boot: move from meta-angstrom to meta-oe
10:15 <JaMa|Wrk> Hi, found your task-boot, this is good for everyone, would you mind pushing it to meta-oe?

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-04-07 11:41:50 +02:00
Khem Raj
b60c8a5411 dbus.inc: Add missing dependency on libxdmcp
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-31 19:36:46 -07:00
Khem Raj
aacf3bff8d proxy-libintl: Bring in recipes from OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-31 19:36:46 -07:00
Khem Raj
48be1406a0 uclibc: Add uclibc 0.9.32(to be)
In addition to stock OE uclibc it has more
Add argp support
Add x86_64 arch support
Only NPTL is supported for threading

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-31 19:36:45 -07:00