Commit Graph

64 Commits

Author SHA1 Message Date
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
Martin Jansa
ec501e356f systemd: include /etc/rpm/macros.systemd in PN-dev
* fixes:
  WARNING: QA Issue: systemd: Files/directories were installed but not shipped
    /etc/rpm
    /etc/rpm/macros.systemd

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-20 13:29:48 +02:00
Martin Jansa
ec2459251c systemd: add usbutils to DEPENDS
* fixes:
  | No package 'usbutils' found
  | configure:16015: error: Package requirements (usbutils >= 0.82) were not met:

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-20 13:29:47 +02:00
Martin Jansa
3cdd031c54 connman: rename bbappend to match new version from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-19 19:54:30 +02:00
Martin Jansa
ab6cc21103 meta-systemd: pulseaudio: rename bbappend to match new oe-core version
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-19 19:54:30 +02:00
Martin Jansa
5cb8258d15 recipes: convert tabs to 4 spaces in populate_packages
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 16:26:18 +02:00
Koen Kooi
3770f2bbee systemd bbclass: replace all tabs with 4 spaces
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 16:26:15 +02:00
Martin Jansa
9e2751773c pulseaudio: add patch to fix build with new udev API provided by systemd recipe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:07:12 +02:00
Koen Kooi
36b6847874 systemd: update to 186+git
This is a combined udev+systemd recipe: it will build both udev and systemd in one go, but keep the old (sub)package layout:

	udev
	udev-utils
	udev-systemd
	systemd
	systemd-vconsole-setup
	systemd-analyze
	systemd-initramfs

And all libraries are seperated out:

	libgudev-1.0-0
	libsystemd-daemon0
	libsystemd-id128-0
	libsystemd-journal0
	libsystemd-login0
	libudev1

The SRCREV is 94 patches ahead of the v186 tag to drag in compile fixes for 'old' gcc versions like 4.5.x.

Runtime tested with build from scratch and opkg upgrade with angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-19 11:07:12 +02:00
Koen Kooi
dbb3624147 libpam 1.1.5 bbappend: register PAM session with logind
This makes screen/tmux/etc work as intended

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-07-17 08:52:13 +02:00
Andreas Müller
2c8329b8d9 udisks: do not start daemon automatically at boot time 2012-07-16 09:39:08 +02:00
Andreas Müller
6e6bd9af71 systemd.bbclass: introduce SYSTEMD_AUTO_ENABLE variable
Currently all services introduced are enabled and started at installation. By
setting SYSTEMD_AUTO_ENABLE = "disable" the default behaviour can be
overridden.
2012-07-16 09:39:08 +02:00
Andreas Müller
c21e67f8e5 networkmanager: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:08 +02:00
Andreas Müller
87526c2f21 gpsd: move systemd support to meta-systemd 2012-07-16 09:39:07 +02:00
Andreas Müller
fca1dffca7 rsyslog: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
d7639a2ae1 keymaps: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
0cee7e28f0 dropbear: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
42e00e8ffd xserver-nodm-init: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
34fe984fc6 xinput-calibrator: : move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
23d5e85065 cloud9: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
855e8d63a6 openssh: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
c203043683 cherokee: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:07 +02:00
Andreas Müller
365d5ec941 gateone: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
a55a931807 connman: move systemd support to meta-systemd 2012-07-16 09:39:06 +02:00
Andreas Müller
1e6cf9483d dhcp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
ca89a23506 atftp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
9f2dd8c0ae net-snmp: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
46acf9d3b5 elsa: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
8149b358f9 cronie: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:06 +02:00
Andreas Müller
36aa9a4fc0 lighttpd: move systemd support to meta-systemd 2012-07-16 09:39:06 +02:00