53 Commits

Author SHA1 Message Date
Koen Kooi
2f260409a0 systemd: fix internal pager
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-01 08:36:17 +01:00
Otavio Salvador
48e381fcb0 systemd: add lock group using useradd.bbclass
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-24 16:23:42 +02:00
Koen Kooi
960002137d systemd: fix initramfs symlink
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-21 16:49:37 +02:00
Otavio Salvador
ca82bc073d systemd: add systemd-initramfs
Includes a /init that points to ${base_sbin}/init that is called so to
avoid having to include post rootfs commands for it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-21 16:13:47 +02:00
Otavio Salvador
8fee9e2af6 systemd-serialgetty: don't require systemd_git.bb
Avoids the recompile of this package every time systemd is change.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-21 16:13:46 +02:00
Koen Kooi
517325b50b systemd-compat-units: start opkg after remount-rootfs.target, not before
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-18 11:18:13 +02:00
Koen Kooi
ce4f274e3d systemd-speed-hacks: disable remountfs removal, images ship util-linux-mount now to fix this bug
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-16 09:54:06 +02:00
Koen Kooi
bae44233bb systemd-speed-hacks: remove some (re)mount tasks that aren't needed yet in OE built images
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-12 14:45:57 +02:00
Koen Kooi
5e49da18dd systemd: update to v37
Runtime tested on beagleboard/angstrom, usrp-e1xx/angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-12 11:30:32 +02:00
Koen Kooi
375b2e6c6b systemd: split out vconsole services into its own subpackage
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-09 22:16:06 +02:00
Koen Kooi
a0906790ae systemd: recommend fsck.extX to get fsck working on those filesystems
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-09 19:34:05 +02:00
Koen Kooi
ee02784bf2 systemd: inherit pkgconfig
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-07 23:49:59 +02:00
Koen Kooi
ea53d5c61b systemd: use proper fsck
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-06 15:17:47 +02:00
Koen Kooi
b297ece0b5 systemd: update to latest git
Fix docbook-xsl problem by forcing the xsltproc check to false

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-02 20:08:50 +02:00
Koen Kooi
92edaa1967 systemd: replace analyze patch with upstream version
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-27 13:02:26 +02:00
Koen Kooi
fb0d50c16f systemd: bump to v36
2 of the 3 analyze patches have been applied upstream, delete them

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-25 16:34:24 +02:00
Koen Kooi
54ab502d4f systemd: add kernel time and summary into svg plot
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-22 17:16:28 +02:00
Koen Kooi
e74d8c7cc9 systemd: bump SRCREV for automount fixes
Also fix -dev package

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-21 11:21:25 +02:00
Khem Raj
0f149196c1 systemd: Refresh format-replace-m-uclibc patch
This patch was not applying so we adjust it
to the new changes in uclibc sources.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-19 08:24:55 +02:00
Koen Kooi
322d9fa8ab systemd: update to v35
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-09-01 13:05:42 +02:00
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
0aa9586cb3 systemd: update to v32
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-29 21:05:32 +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
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
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
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
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