Commit Graph

258 Commits

Author SHA1 Message Date
Martin Jansa 7baa466291 at: move bbappend to oe-core subdirectory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:02 +02:00
Martin Jansa c39daf6e36 rpcbind: move bbappend to oe-core subdirectory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:02 +02:00
Martin Jansa a67fc4b8a3 busybox: move bbappend to oe-core subdirectory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:02 +02:00
Martin Jansa 1fb0eacf03 dropbear: move bbappend to oe-core subdirectory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:02 +02:00
Martin Jansa 7be95a25e0 keymaps: move bbappend to oe-core subdirectory
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:02 +02:00
Martin Jansa 6bb74e9147 atftpd: fix warning about overwritting keys
* WARNING: Variable key FILES_${PN}d (${sbindir}/* ${sysconfdir}/init.d/* /srv/tftp) replaces original key FILES_atftpd ( ${systemd_unitdir}/system/atftpd.service).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:16:51 +02:00
Martin Jansa 6ac7306132 openssh: fix warnings about overwritting keys
* they were causing real issues like openssh-sshd-systemd not really RPROVIDED..
  WARNING: Variable key RCONFLICTS_${PN}-sshd (dropbear) replaces original key RCONFLICTS_openssh-sshd ( openssh-sshd-systemd).
  WARNING: Variable key FILES_${PN}-sshd (${sbindir}/sshd ${sysconfdir}/init.d/sshd ${sysconfdir}/ssh/moduli ${sysconfdir}/ssh/sshd_config) replaces original key FILES_openssh-sshd ( ${systemd_unitdir}/system/sshd.socket).
  WARNING: Variable key RPROVIDES_${PN}-sshd (sshd) replaces original key RPROVIDES_openssh-sshd ( openssh-sshd-systemd).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:16:51 +02:00
Martin Jansa 739fc97599 meta-systemd: Add not only RPROVIDES, but also RREPLACES/RCONFLICTS
with this combo opkg should automatically remove PN-systemd and replace it with PN
2013-04-12 18:50:16 +02:00
Martin Jansa 1482cfe735 meta-systemd: bump PRINC in all .bbappends
* opkg upgrade will fail to upgrade every package PN when PN-system is installed
  * check_data_file_clashes: Package xserver-nodm-init wants to install file /lib/systemd/system/xserver-nodm.service
    But that file is already provided by package  * xserver-nodm-init-systemd
  You need to manually remove all PN-systemd packages on your target
  opkg remove -force-depends -force-remove `opkg list-installed | grep "\-systemd"`
  be careful with stuff like openssh-sshd-systemd or
  wpa-supplicant-systemd when you have access to target only over
  network
* this PRINC bump will force you to do it now even for people not using
  OEBasicHash or PR service

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-12 18:50:15 +02:00
Martin Jansa f195081bd0 meta-systemd: move cronie to oe-core subdirectory 2013-04-12 18:50:15 +02:00
Martin Jansa a179ca25a4 meta-systemd: drop default SYSTEMD_PACKAGES = "${PN}" 2013-04-12 18:50:15 +02:00
Khem Raj 313f0ae259 meta-systemd: Append ${PN} to SYSTEMD_SERVICE
When using systemd class from OE-Core we also need
to install the units explicitly.

systemd packages ending with -systemd are consumed
and now provided by package proper.

MJ: fix RPROVIDES_PN = PN-systemd in entrance
MJ: add RPROVIDES for ntp*-systemd in ntp
MJ: the same for wpa-supplicant

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-12 18:49:55 +02:00
Khem Raj 0afa2a51d2 Delete systemd class.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-12 18:48:42 +02:00
Koen Kooi 919e2e87ff cloud9 bbappend: add EnvironmentFile
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-11 11:33:39 +02:00
Koen Kooi fe9cbb0d3b cloud9: add autorestart on crash
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-11 11:33:39 +02:00
Martin Jansa b6e963562e Revert "cloud9: add EnvironmentFile"
* as Koen reported, creates gentooism /etc/conf.d,
* most OE packages prefer debianisms in /etc/default

This reverts commit 222b4eb3e4.
2013-04-10 18:17:22 +02:00
Jason Kridner 222b4eb3e4 cloud9: add EnvironmentFile
* Allows specification of NODE_PATH

Signed-off-by: Jason Kridner <jdk@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-09 21:34:17 +02:00
Martin Jansa 3dcb4f293b systemd.bbclass: set INHIBIT_UPDATERCD_BBCLASS like oe-core does now 2013-04-04 08:14:21 +02:00
Khem Raj 032e8ccfb1 cronie: Rename the bbappend to match OE-Core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-18 16:34:58 +01:00
Jukka Rissanen f423ccb8a7 wpa_supplicant: Location of systemd services files changed
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-18 16:31:32 +01:00
Martin Jansa ef4f712280 connman: rename .bbappend to match new version from oe-core
* drop settings already set in connman.inc

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-12 11:22:40 +01:00
Martin Jansa 8c8a576565 meta-systemd: restore wpa-supplicant bbappend
* systemd support in oe-core does not work for everybody

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-05 14:38:06 +01:00
Martin Jansa 09c91dd7ed patches: update Upstream-Status to use capital 'S'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-05 11:05:51 +01:00
Martin Jansa 92ea562baf gnome-terminal, system-tools-backends, slim, benchfft, syslog-ng: move to nonworking directories
* this set does not build with distroless qemuarm as reported in
  'State of bitbake world' thread, nobody volunteered to fix them

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-01 17:44:21 +01:00
Andreas Müller c751691a0a systemd-speed-hacks: remove
Tested: These cause avahi.service to fail starting

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-01 17:44:21 +01:00
Andreas Müller 52bb450cc8 systemd: remove core recipes - they migrated to oe-core
oe-core moved to systemd 197 so no package feeds should break

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-01 17:44:21 +01:00
Martin Jansa ce25b8d24c meta-systemd: openssh: rename bbappend to match oe-core version 6.1p1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-28 18:01:59 +01:00
Andreas Müller 6edc76eb7b util-linux: follow oe-core to 2.22.2
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2013-01-28 15:40:39 +01:00
Andreas Müller b9bd40a506 dhcp: follow oe-core to 4.2.5
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2013-01-28 15:40:39 +01:00
Martin Jansa 2389147d10 meta-systemd: remove wpa-supplicant bbappend
* oe-core now has wpa-supplicant 2.0, but also installs wpa_supplicant.service to PN
* feel free to add new bbappend with only systemd inherit and updated SYSTEMD_PACKAGES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-27 22:35:43 +01:00
Enrico Scholz a32c030a6d dropbear: read configuration from /etc/default/dropbear
Patch allows to specify additional parameters (e.g. '-B') by reading
/etc/default/dropbear as a systemd environment file.  It applies
$DROPBEAR_EXTRA_ARGS which used already by the oe-core sysv initscript.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-27 22:35:42 +01:00
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