Commit Graph

51 Commits

Author SHA1 Message Date
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
Andreas Müller 14a5f1174c udisks: 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 d1f914398d syslog-ng: 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 2dae284c9e ntp: move systemd support to meta-systemd 2012-07-16 09:39:06 +02:00
Andreas Müller 326e027816 busybox: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:05 +02:00
Andreas Müller 519d60e717 gdm: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:05 +02:00
Andreas Müller fb56d13c70 polkit: meta-systemd rework
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:05 +02:00
Andreas Müller 8d0e29dd07 task-basic: move systemd support to meta systemd 2012-07-16 09:39:05 +02:00
Andreas Müller 8b774a53c0 systemd.bbclass: do not warn for systemd files are in ${PN}
Since we have our own layer there is no need to separate out systemd packages
2012-07-16 09:39:05 +02:00
Andreas Müller 264e5a44e1 systemd.bbclass: add *-systemd packages to RRECOMMENDS 2012-07-16 09:39:05 +02:00
Andreas Müller 5915e63981 layer.conf/README: search directory structure for bbappends changed
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2012-07-16 09:39:05 +02:00
Andreas Müller a5b2aea321 move systemd recipes to meta-systemd 2012-07-16 09:39:05 +02:00
Andreas Müller 5ed19733f5 systemd.bbclass: move to meta-systemd 2012-07-16 09:39:05 +02:00
Martin Jansa 49dc49bd22 meta-systemd: fixup BBFILE_PATTERN override
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-17 11:11:29 +02:00