Commit Graph

64 Commits

Author SHA1 Message Date
Koen Kooi 705e4e484f systemd: bump SRCREV to fix capability dropping on older (<.39) kernels
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-28 14:57:03 +02:00
Koen Kooi 9e3f9dddd2 systemd: bump SRCREV to get the new daemons
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-27 20:15:37 +02:00
Koen Kooi 61743ca888 glib-2.0: sync with OE-core
remove 2.28.1 and merge in packaging changes

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-22 18:17:27 +02:00
Koen Kooi 556fd149ec glib-2.0: import 2.28.8 untill it gets into OE-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-19 20:41:26 +02:00
Koen Kooi c5d9f70552 dropbear-systemd: config files for socket-based activation of dropbear
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-19 20:41:26 +02:00
Koen Kooi 059bd1cc7b systemd: bump to v29 release
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-17 12:53:14 +02:00
Koen Kooi eac31f4e3a systemd-compat-units: fix service name in opkg unit
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-11 11:14:22 +02:00
Koen Kooi ea3ad6818e systemd-compat-units: make opkg unit block startup
Without Type=oneshot it would configure things in the background and bootup would go as normal. Now it will block sysinit.target till it's done.

Sadly no full feedback on the console yet.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-10 15:46:21 +02:00
Koen Kooi 8024bae636 systemd: update runtime dependencies for agetty
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-09 11:03:04 +02:00
Koen Kooi 92492f8596 systemd-compat-units: disable old style 'networking' script for the time being
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-06 13:08:15 +02:00
Koen Kooi 5b27dc8974 systemd: bump SRCREV and fix postinst
The u-a class gets in the way of the addgroup, so do things manually

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-06 10:24:40 +02:00
Otavio Salvador d014d6322b udev-extra-rules: refactor mount.sh script
Avoids a fork for using cat and do a whitespace cleanup.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-06-02 10:04:55 +02:00
Koen Kooi 7da05acc46 udev-extra-rules: remove modprobe rule, it has moved back to udev
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-31 20:37:45 +02:00
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