Commit Graph

127 Commits

Author SHA1 Message Date
Martin Jansa
dcbf03f84c systemd: remove dbus-systemd from RDEPENDS
* dbus-systemd package was removed in oe-core and it's part of PN
  with systemd in DISTRO_FEATURES
* fixes parsing after first part of meta-systemd merge to oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-22 13:17:15 +01:00
Enrico Scholz
38a5cf3fa0 systemd.bbclass: move disable operation into prerm() script
The 'systemctl disable' operation should not be done in postrm() because
the .service file does not exist anymore and the script will fail hence.

After moving this command into prerm(), postrm() becomes empty and can
be removed completely.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-18 10:49:43 +01:00
Martin Jansa
13be4a07ec meta-systemd: connman, openssh: move bbappends to oe-core dir
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-17 14:22:11 +01:00
Andrei Gherzan
2dbefd2915 portmap: Add systemd service
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-17 14:18:15 +01:00
Andrei Gherzan
4fe188b085 ofono: Package systemd service
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-17 14:18:15 +01:00
Andrei Gherzan
f9b8725a5c bluez4: Package systemd service
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Acked-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-17 14:18:15 +01:00
Martin Jansa
8902e3e639 meta-systemd: connman: rename bbappend to match 1.10 from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-17 14:18:15 +01:00
Noor Ahsan
d84138e041 autofs: Add bbappend to add systemd support.
* Removed systemd support from meta-networking recipe
and added bbappend to add its support.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-10 12:01:32 +01:00
Khem Raj
e9afe28896 meta-systemd/atftpd: Adjust bbappend to match to recipe upgrade
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:52 -08:00
Khem Raj
3663fda08f dhclient.service: Rearrange the cmdline for dhclient
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:52 -08:00
Khem Raj
dc75cb086d rpcbind: Add systemd service unit file
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:52 -08:00
Khem Raj
845f6dccaf nis: Add support for systemd launch of NIS services
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:52 -08:00
Khem Raj
6f86cfec55 dhcp: Add systemd unit file for dhclient
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:52 -08:00
Khem Raj
087ecf88f4 at: Add systemd unit file
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:52 -08:00
Khem Raj
af1e1e3f55 systemd.bbclass: Fixes for living along with multilib
This essentially fixes two problems
1. We were ignoring systemd for multilibs now we dont
2. We were replacing '-systemd' string in PN which is
a problem whenre -systemd appears more than once
e.g. lib32-systemd-units-system it was removing both
essentially we should only chop the end of PN if it
ends with '-systemd'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:51 -08:00
Khem Raj
69b0e85b41 systemd: Fix build when base_libdir is not /lib
we were carrying a wrong patch to fix rootlibdir
to adapt systemd to OE's notion of base_libdir
but thats not right and the units dont get initialised
properly when we have base_libdir which is not /lib

This patch fixes the use of base_libdir where
it should have been catering to notions of systemd/udev
for putting unit files and init scripts in /lib
and not in base_libdir

It also ignores the lib32-* packages so that systemd
build works for multilib enabled systems.

Adapt to nativesdk renaming

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-08 09:31:51 -08:00
Andreas Müller
2f5134b98d xfce4-session: Add shutdown/reboot functionality for systemd
can't wait for stable xfce 4.12 in 03/2013

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-27 16:14:22 +01:00
Martin Jansa
e36b5b36e4 libpam: update bbappend to match new oe-core version
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-26 11:51:44 +01:00
Enrico Scholz
3c21a46020 meta-systemd: select recipes based on active collections
Recipes of inactivate layers must been BBMASK'ed to prevent build errors.
This is very unflexible and causes high maintenance effort for keeping
the project configuration in sync with the actual meta-systemd layout.

With this patch, the .bbappend files within the meta-* directories are
ignored unless the corresponding collection has been selected.  As it
relies on the order of BBFILES and BBFILE_COLLECTIONS expansion, a
sanity check has been added which aborts the build when assumptions do
not apply anymore.

MJ: added meta-xfce as it was created later
MJ: fixed expression for oe-core bbappends

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-26 11:45:25 +01:00
Martin Jansa
616c8ec151 meta-systemd: move libpam bbappend to oe-core prefix
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-26 11:45:25 +01:00
Otavio Salvador
ade2d4d35e 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>
2012-12-19 17:48:12 +01:00
Martin Jansa
31ff8c0cb7 wpa-supplicant, gcc-common-4.6, packagegroup-qte-toolchain-target: use correct PRINC form
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-16 21:11:44 +01:00
Koen Kooi
93f954c334 Merge remote-tracking branch 'meta-oe-contrib/jansa/pull' 2012-12-14 19:41:15 +01:00
Koen Kooi
da9e2d4a11 systemd: update to v196
Systemd-analyze has 2 reverts to keep it working with the python currently present in OE-core

The LGPLv2.1 was update to the latest text from gnu.org, so match checksum to that.

Runtime tested on beaglebone/angstrom and soekris-net6501/angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-14 13:09:34 +01:00
Andreas Müller
7a8e502971 lighttpd: follow oe-core to 1.4.32
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-14 09:31:32 +01:00
Martin Jansa
48a62d1a72 strongswam: disable systemd support in meta-oe and reenable it in meta-systemd
* fixes:
strongswan-5.0.0: strongswan: Files/directories were installed but not shipped
  /lib
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/strongswan.service

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-12 19:39:11 +01:00
Martin Jansa
d0d77c7ba4 systemd: add target python to depends
* pythonnative adds only python-native to DEPENDS, but we need target python for working python-config
checking for python-config... /OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/python-native/python-config
Traceback (most recent call last):
  File "/OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/python-native/python-config", line 24, in <module>
    pyver = sysconfig.get_config_var('VERSION')
  File "/OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 602, in get_config_var
    return get_config_vars().get(name)
  File "/OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 518, in get_config_vars
    func()
  File "/OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/python2.7/distutils/sysconfig.py", line 416, in _init_posix
    raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /OE/jansa-test/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib/python2.7/config/Makefile (No such file or directory)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:52:58 +01:00
Martin Jansa
8b4f56eda8 util-linux: add meta-systemd bbappend for new version which installs uuidd.service and socket
* fixes:
util-linux-2.22.1: util-linux: Files/directories were installed but not shipped
  /lib/systemd
  /lib/systemd/system
  /lib/systemd/system/uuidd.socket
  /lib/systemd/system/uuidd.service

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:52:56 +01:00
Martin Jansa
6f6b66780a systemd: reenable python and add python-systemd-journald
* we need inherit pythonnative to find right python-native

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:52:55 +01:00
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