Commit Graph

286 Commits

Author SHA1 Message Date
Koen Kooi
cb99ea268e systemd: update to v34
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-26 12:43:49 +02:00
Khem Raj
b435cc98b3 systemd: inherit perlnative
otherwise intltool fails to find XML parser module
as it uses perl from build host

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-08 10:51:52 +02:00
Khem Raj
e7573fb3c7 systemd: Link with librt explicitly on uclibc
Latest systemd has started to use mq_* functions
which are found on librt in uclibc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-06 10:33:46 +02:00
Koen Kooi
7e6f0f24aa systemd: update to v33-3
Adding the docbook deps removes the need for the xml removal patch

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-05 19:49:57 +02:00
Khem Raj
7a2b0458f9 systemd: Refresh format-replace-m-uclibc.patch
This patch needed refresh against latest systemd sources

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-03 12:20:37 +02:00
Koen Kooi
40e2732744 udev: update to 173
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-02 10:31:11 +02:00
Koen Kooi
0aa9586cb3 systemd: update to v32
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-29 21:05:32 +02:00
Koen Kooi
117fb53bfe libcgroup: update to 0.37.1
Also fix PAM support
2011-07-28 11:05:09 +02:00
Koen Kooi
e74449cac0 systemd: update to v31 + 2 bugfixes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-28 09:20:24 +02:00
Paul Eggleton
040f75eca2 Drop PRIORITY variable
As discussed on the mailing list, this variable isn't useful and if wanted
would be better implemented by distros using pn-X overrides.

This patch executes:

find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d'

against the tree removing the references. Thanks to Phil Blundell for
the command.

(Prompted by oe-core rev: d122343362669c683acc4af295971a62cbc823fc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-07-14 16:49:27 +01:00
Koen Kooi
fd183cfb3a systemd: update to v30 release
tested on: beagleboard/angstrom
           usrp-e1xx/angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-14 08:42:52 +02:00
Koen Kooi
b0bbfe2fb8 glibmm: add 2.28.2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-12 12:25:23 +02:00
Koen Kooi
05906402a8 libsigc++: add 2.2.9
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-12 12:25:23 +02:00
Koen Kooi
51d3a33c5d mm-common: add 0.9.5
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-12 12:25:13 +02:00
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
7eaa5bd132 udev: update to 172
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-11 17:13:08 +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
15a5642b2a libcap2: drop, it's in oe-core already
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-28 14:57:03 +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
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