Commit Graph

93 Commits

Author SHA1 Message Date
Otavio Salvador
ebd90bda12 xinput-calibrator: Fix service file to require display-manager.service
The xinput-calibrator.service had a requires to xserver-nodm.service
but in fact it ought to wait by any display-manager to be initialized.
We fix it changing the require to display-manager.service.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2013-01-07 12:00:26 +01:00
Paul Eggleton
a5e669d292 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-13 08:44:50 +01:00
Mario Domenech Goulart
3defed53d4 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>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-12-10 12:19:22 +01:00
Eric BENARD
f8ad0760ab README: update to danny
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-23 15:22:46 +01:00
Otavio Salvador
2b2521e32d meta-systemd: meta-networking: ntp: Update bbappend to 4.2.6p5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-11-23 15:20:11 +01:00
Otavio Salvador
6d6dae7d14 meta-systemd: Move ntp recipes to 'meta-networking' sublayer
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-11-23 15:20:07 +01: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
Khem Raj
ba9aae5594 gitpkgv.bbclass: Add a symlink from meta-oe
This is for systemd layer to be used with
out depending on meta-oe eventually gitpkgv
or similar solution should come out of OE-Core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-07 12:21:24 +02:00
Martin Jansa
fc4cadbbb5 systemd-compat-units: move list of disabled services to variable, fix hwclock.sh and output
* variable allows to add items in .bbappend without overwritting whole
  postinst
* hwclock.service should be used to blacklist SYSV hwclock.sh (not hwclock.sh.service)
* show only newly disabled SYSV scripts

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-07 12:21:23 +02:00
Martin Jansa
7e42a01229 gpsd: drop older version 3.4
* GNUtoo tested 3.5 and it works fine, Thanks

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-28 22:45:47 +02:00
Martin Jansa
788dc2101c systemd: add glib-2.0 to DEPENDS
* | No package 'glib-2.0' found
  | No package 'gobject-2.0' found
  | configure:16371: error: Package requirements (glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0) were not met:
  |
  | No package 'glib-2.0' found
  | No package 'gobject-2.0' found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-23 12:47:05 +02:00
Martin Jansa
3c488a49b5 systemd: cleanup /var/run on boot and create /var/run/utmp
* Angstrom uses /var/run cleanup because:
  Some apps (e.g. avahi-daemon) to clean up their old-style pid files and fail
  to start every other boot. Se we let systemd clean it on boot.
  Which seems general enough, so lets move var-run.conf from base-files.bbappend
  to systemd recipe.

* /var/run/utmp was created by volatiles before, but without sysvinit installed
  systemd-update-utmp-runlevel.service fails to start without this file

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-23 12:47:04 +02:00