Commit Graph

12 Commits

Author SHA1 Message Date
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 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 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
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 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 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 091579bf2c systemd: import from OE rev 84696f215bbf81cb3def7e03e45dd66b0a85b1bb
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-05-26 08:42:34 +02:00