Commit Graph

20 Commits

Author SHA1 Message Date
Khem Raj
7254205d68 systemd: Replace use of %m in printf formats
The patch is applied optionally only to uclibc builds
Also move the mkostemp replacement patch to uclibc only list

Not perfect yet but gets us going on uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-11 20:19:12 +02:00
Koen Kooi
b77b973a58 systemd git: bump SRCREV to get a proper fix for the hugepages and mqueue issue
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-09 11:35:36 +02:00
Khem Raj
6965f7ab28 systemd_git.bb: Add patch to disable --nonet option
Hi I am not particularly happy with this patch but by letting xsltproc
download stylesheets from internet it atleast compiles the thing. But
its very slow. So any better solution if someone has suggestion please
by all means

-Khem

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-01 09:00:01 +02:00
Khem Raj
c4f636ad33 systemd_git.bb: Alias mkostemp() to mkstemp() for uclibc targets
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-01 09:00:00 +02:00
Koen Kooi
56485baea5 systemd: clean up serial port handling some more and fix the screen clearing problem
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-30 00:27:54 +02:00
Koen Kooi
8a12ecca32 systemd: move machine specific package out to a new recipe
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-28 16:58:20 +02:00
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
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