Commit Graph

98 Commits

Author SHA1 Message Date
Martin Jansa 39aabff8e0 systemd: add PACKAGES_DYNAMIC
* some packages can RDEPEND on e.g. libudev

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:52:55 +01:00
Martin Jansa 4be645b4f5 entrance: rename xserver-nodm.service to entrance.service so it does not conflict with xserver-nodm-init in sysroot
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:52:55 +01:00
Martin Jansa cf1c42c7a3 pcsc-lite: add bbappend in meta-systemd
* fixes packaging QA warning, when systemd is autodetected:
pcsc-lite-1.8.6: pcsc-lite: Files/directories were installed but not shipped
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/pcscd.service
  /lib/systemd/system/pcscd.socket

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:52:54 +01:00
Paul Eggleton 12793cc3f8 meta-systemd: ntp: update for server config improvements
This makes the service use the ntpdate-sync command which reads the
servers set in /etc/default/ntpdate; if nothing is set then no error is
produced on startup.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-04 11:25:35 +01:00
Mario Domenech Goulart 23c9e5d6c4 xinput-calibrator: update meta-systemd's bbappend to 2012 Aug 2nd's git snapshot
Change-Id: Iffa01114008f958c815d1d2ec7f81a92cc788aeb
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-04 10:47:31 +01:00
Andreas Müller 3f2736b481 lxdm: bugfixes by updating to latest git
* make keyboard layout combobox display languages properly
* systemd-support is included mainline
* autologin for timeouts < 5s works as expected

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-29 11:03:35 +01:00
Martin Jansa a539a4d25f xserver-nodm-init: replace 'WantedBy=graphical.target' by 'Alias=display-manager.service'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-29 11:03:34 +01:00
Martin Jansa 0c398b0c79 dhcp: rename bbappend to match new version from oe-core and move to oe-core prefix
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-11-29 11:03:34 +01:00
Martin Jansa 681ef5d053 systemd-systemctl-native: fix FILESPATH to find systemctl
* BPN is not enough and PN was removed in
  http://git.openembedded.org/openembedded-core/commit/?id=fb359583b659cda643973fa285002aaffb729a51

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-27 12:45:15 +01:00
Otavio Salvador c6fe627660 meta-systemd: meta-networking: ntp: Update bbappend to 4.2.6p5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-11-22 16:41:21 +00:00
Otavio Salvador 7da3e44c0d meta-systemd: Move ntp recipes to 'meta-networking' sublayer
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-11-22 16:41:21 +00:00
Holger Hans Peter Freyther 8ae005d033 systemd: Make the main systemd files proper CONFFILES
Allow a user to edit the main systemd configuration files and have
them not overwritten at the next upgrade of it.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-13 15:02:57 +01:00
Andreas Müller 4a87464fa6 lighttpd: move systemd appends since recipe is in oe-core 2012-11-13 12:58:07 +01:00
Paul Eggleton 3a30c56238 Replace bb.data.* with d.*
Used sed expression given here:

http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html

Plus an additional expression for .expand. Full expression is:

sed \
-e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

Some minor correction in systemd.bbclass was needed for some expressions
that didn't quite match the regex in the desired way; additionally a few
instances were manually changed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-28 14:32:06 +00:00
Martin Jansa 5067ced3fa systemd: disable python
* otherwise configure uses python-config from host and passes wrong CFLAGS
  see http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-October/042058.html
  for details

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-23 18:40:41 +02:00
Koen Kooi 86467baae9 systemd: update to 195
disable microhttd and package new files

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-23 11:16:44 +02:00
Khem Raj fb368b0790 systemd: Upgrade past v194
Booted on eglibc i586, arm, ppc qemu  systems

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-23 08:33:29 +02:00
Koen Kooi aff5f48fb8 Revert "systemd.bbclass: Dont check for multilib and change for nativesdk renaming"
This triggers:

ERROR: Nothing RPROVIDES 'connman-systemd' (but /OE/tentacle/sources/meta-angstrom/recipes-images/angstrom/systemd-image.bb RDEPENDS on or otherwise requires it)

This reverts commit cbac8756e8.
2012-10-09 11:16:04 +02:00
Khem Raj cbac8756e8 systemd.bbclass: Dont check for multilib and change for nativesdk renaming
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-09 11:05:08 +02:00
Koen Kooi d804e88272 Merge branch 'xfce-4.10' of git://gitorious.org/schnitzeltony-oe-meta/meta-openembedded 2012-09-26 09:35:45 +02:00
Andrei Gherzan 72e6ed1469 zram: Add systemd service for zram
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-24 10:02:01 +02:00
Martin Jansa fc9386733a recipes: bump PR to rebuild after libffi5 -> libffi6
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-20 10:02:45 +02:00
Andreas Müller 242c972502 mpd: Initial add 0.17.1
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-09-18 15:54:03 +02:00
Andreas Müller 4d234731b2 lxdm: initial add 1.22_git
* use git version since 1.21 missing escape button and bugfixes
* no init-scripts (I am working with systemd -> testing causes huge efforts ->
  subsequent patches)
* run tested on overo/xfce

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-17 10:42:35 +02:00
Andreas Müller fb0b27dd63 gdm: do not hardcode /usr/sbin
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-17 10:42:30 +02:00
Andreas Müller 4ac49b2ac2 gdm: do not rely on dev-tty7.device
Error message was:

[ TIME ] Timed out waiting for device dev-tty7.device.
[DEPEND] Dependency failed for Gnome Display Manager.

run tested on overo/xfce

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-17 10:42:29 +02:00
Sander van Grieken 733280b428 dnsmasq: add systemd service scripts for dnsmasq
Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-10 10:56:49 +02:00
Khem Raj 008ad87502 systemd: Upgrade to 189
Fix running and building on uclibc
Currently it doesnt work on uclibc-git
only on 0.9.33 but thats a regression in
uclibc most likely

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-08 11:36:53 +02:00
Martin Jansa 21a4be0e36 task*: rename to packagegroup to match oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-09-05 10:05:06 +02:00
Sander van Grieken 62884020d9 avahi: use systemd.bbclass for avahi-systemd
The original behaviour is to enable the service in the package postinst phase. This patch
will enable the service also when building the rootfs, so it fixes the case when no
package-management is enabled. It also now delegates systemd enablement to the systemd
bbclass, instead of using explicit code in the recipe itself.

Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-04 14:49:01 +02:00
Denis 'GNUtoo' Carikli f0bb191381 meta-systemd: systemd-systemctl-native: Also add support for WantedBy=*.service
Right now there was only WantedBy=*.target, which prevented some services from beeing installed,
  which prevent them from running at boot.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-30 10:42:12 +02:00
Khem Raj 525ac87a31 systemd: Refresh the uclibc specific patches
Make sure that patches apply on top of latest systemd
some source files have moved around.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-27 14:42:44 +02:00
Martin Jansa 39efb7357f dhcp: rename .bbappend to match oe-core version
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-26 18:21:43 +02:00
Andreas Müller ea50866e0c busybox/meta-systemd: follow oe-core to 1.20.2
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-24 11:06:54 +02:00
Andreas Müller d7553889e8 wpa-supplicant: add systemd support
* native systemd support came in with v1.0 [1]
* needs [2] to work properly
* mends my wlan under control of networkmanager

[1] http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap-1.git;a=blob_plain;f=wpa_supplicant/ChangeLog
[2] http://patches.openembedded.org/patch/34335/

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-21 19:08:58 +02:00
Martin Jansa b61b6ec854 connman: rename bbappend to match new 1.4 version from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-20 22:51:54 +02:00
Andreas Müller f3e8eac6df pulseaudio: remove bbappend
oe-core has updated to 2.1 which includes the appended patch

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-20 22:51:54 +02:00
Koen Kooi b64269b221 Merge remote-tracking branch 'meta-oe-contrib/jansa/efl' 2012-08-20 20:04:32 +02:00
Andreas Müller 402a081494 systemd-compat-units: ensure /tmp is mounted when starting run-postinsts
/tmp is required for postinst:
Aug 20 16:59:33 overo S98run-postinsts[68]: * opkg_prep_intercepts: Failed to make temp dir /tmp/opkg-07xOYO/opkg-intercept-wfVgAQ: No such file or directory.
Aug 20 16:59:33 overo S98run-postinsts[68]: * rm_r: Failed to open dir /tmp/opkg-07xOYO: No such file or directory.

This bug left postints unfinished e.g. pango-module-* [1].

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-August/041096.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-20 19:57:56 +02:00
Martin Jansa e008cc8688 systemd.bbclass: add option to disable automatic RRECOMMENDS pkg-systemd_base -> pkg-systemd
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-20 10:02:09 +02:00
Denis 'GNUtoo' Carikli 1158592e04 meta-systemd: adjust the gpsd bbappend to match the current version.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-20 10:02:09 +02:00
Martin Jansa 9af01097c2 meta-systemd: elsa: rename to entrance
* elsa was killed in r75060 and reintroduced in r75061 with old name - entrance
* also use Alias=display-manager.service like gdm does now

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-20 09:57:43 +02:00
Andreas Müller a78056c60e gdm: replace 'WantedBy=graphical.target' by 'Alias=display-manager.service'
Found at lxdm. Error message was there
| systemd[1]: Cannot add dependency job for unit display-manager.service ...

Inspired by [1]

[1] https://bbs.archlinux.org/viewtopic.php?pid=1131267

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-08 09:07:48 +02:00
Andreas Müller d6408d8793 systemd-systemctl-native: handle ALIAS tag
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-08 09:07:39 +02:00
Khem Raj ada707b4e1 systemd: Use cross cpp
While building for non x86 arch (ppc) found that build
was using host's cpp which was not generating exact
syscall list for ppc since it was using the include files
from host

With this patch will use $(CPP) instead of hardcoding
cpp in makefile.am and then set CPP properly in recipe

Fixes build failures on cross builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-08 09:02:51 +02:00
Khem Raj 6fd1caa623 busybox-syslog.service.in: Create alias for syslog.service
The default syslog implementation should make syslog.service a
symlink to itself, so that this socket activates the right actual
syslog service.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-08 09:02:31 +02:00
Khem Raj b0032dca69 busybox: stopping systemd-kmsg-syslogd is not needed
systemd-kmsg-syslogd.service is discontinued in systemd so
there is no need to stop it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-08 09:02:31 +02:00
Khem Raj 980b338fb5 systemd: Upgrade to 187 tag
Dont inherit vala not needed anymore

Fix build for ppc64

Consider /lib64 and /usr/lib64

Some 64bit architectures chose lib64 instead of lib
for default library dirnames. So we dig this from metadata
vars base_libdir and libdir instead of hardcoding 'lib'

ppc64 in OE uses lib64 for default libdir
and this leaves lot of udev/systemd
files unpackaged since 'lib' was hardcoded

Additionally use --split-usr option since
in OE-Core now we want to treat /usr mounted
sepatately.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-08 09:02:30 +02:00
Martin Jansa 3ce8db6d18 systemd-systemctl-native: extend systemctl wrapper to support mask action
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-08 09:02:05 +02:00
Martin Jansa e32c470d32 systemd-compat-units: use systemctl mask
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-08 09:02:04 +02:00