Commit Graph

60 Commits

Author SHA1 Message Date
Otavio Salvador
2cba3b0244 systemd-systemctl-native: add support to recursive services
Some services can reference others for installation thought the Also
key; systemctl now handles it calling itself recursively for each
service.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-15 09:25:07 +01:00
Martin Jansa
0c1147ad8d systemd: add prerm u-a calls
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-21 12:08:21 +01:00
Koen Kooi
c30abb39eb systemd: bump SRCREV
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-20 13:00:25 +01:00
Koen Kooi
80689864f3 systemd: bump SRCREV
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-08 10:42:29 +01:00
Otavio Salvador
79f35231a3 systemd-systemctl-native: add a systemctl wrapper
The wrapper allows for enabling services at rootfs generation thus
allowing systemd to be used in ready-only filesystems.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-04 19:41:19 +01:00
Koen Kooi
239e817197 systemd-compat-units: run systemd-machine-id-setup
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-01 14:33:10 +01:00
Martin Jansa
592e24e043 systemd-serialgetty: use better default SERIAL_CONSOLE
* having /dev/ttySO fails with:
  | ln: failed to create symbolic link
  `/OE/shr-core/tmp/work/nokia900-oe-linux-gnueabi/systemd-serialgetty-1.0-r0/image/etc/systemd/system/getty.target.wants/serial-getty@/dev/ttyS0.service':
  No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-11-01 09:57:03 +01:00
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