Commit Graph

193 Commits

Author SHA1 Message Date
Martin Jansa
ceac9460e8 README: show github mirror URL in layer dependencies
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-29 11:06:48 +02:00
Martin Jansa
20a10ba02f README: add -M to git send-email example
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-29 11:01:49 +02:00
Eric Bénard
8a350e3b4d update README to dylan
Signed-off-by: Eric Bénard <eric@eukrea.com>
2013-04-23 18:52:43 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Martin Jansa
9e192db23a busybox: fix upgrade path
* check_data_file_clashes: Package busybox-syslog wants to install file /lib/systemd/system/busybox-syslog.service
        But that file is already provided by package  * busybox-syslog-systemd
 * check_data_file_clashes: Package busybox-syslog wants to install file /lib/systemd/system/syslog.service
        But that file is already provided by package  * busybox-syslog-systemd
 * check_data_file_clashes: Package busybox-syslog wants to install file /lib/systemd/system/busybox-klogd.service
        But that file is already provided by package  * busybox-syslog-systemd

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:07 +02:00
Martin Jansa
65401d4785 dbus: add bbappend to fix upgrade path
* check_data_file_clashes: Package dbus-1 wants to install file /lib/systemd/system/multi-user.target.wants/dbus.service
        But that file is already provided by package  * dbus-systemd
 * check_data_file_clashes: Package dbus-1 wants to install file /lib/systemd/system/dbus.socket
        But that file is already provided by package  * dbus-systemd
 * check_data_file_clashes: Package dbus-1 wants to install file /lib/systemd/system/sockets.target.wants/dbus.socket
        But that file is already provided by package  * dbus-systemd

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:06 +02:00
Martin Jansa
b4cb81b1c9 systemd: add .bbappend to fix upgrade-path
* check_data_file_clashes: Package udev wants to install file /lib/systemd/system/sysinit.target.wants/systemd-udevd.service
        But that file is already provided by package  * udev-systemd
 * check_data_file_clashes: Package udev wants to install file /lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service
        But that file is already provided by package  * udev-systemd
 * check_data_file_clashes: Package udev wants to install file /lib/systemd/system/systemd-udevd.service
        But that file is already provided by package  * udev-systemd
 * check_data_file_clashes: Package udev wants to install file /lib/systemd/system/systemd-udev-settle.service
        But that file is already provided by package  * udev-systemd
 * check_data_file_clashes: Package udev wants to install file /lib/systemd/system/systemd-udev-trigger.service
        But that file is already provided by package  * udev-systemd
 * check_data_file_clashes: Package udev wants to install file /lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket
        But that file is already provided by package  * udev-systemd
 * check_data_file_clashes: Package udev wants to install file /lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket
        But that file is already provided by package  * udev-systemd
 * check_data_file_clashes: Package udev wants to install file /lib/systemd/system/systemd-udevd-control.socket
        But that file is already provided by package  * udev-systemd
 * check_data_file_clashes: Package udev wants to install file /lib/systemd/system/systemd-udevd-kernel.socket
        But that file is already provided by package  * udev-systemd

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:06 +02:00
Martin Jansa
8b465f791a layer.conf: remove detection of other layers, now there are only oe-core bbappends
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:06 +02:00
Martin Jansa
7de9451c98 meta-systemd: drop now unused gitpkgv.bbclass 2013-04-15 16:22:06 +02:00
Martin Jansa
54bcafbd5f polkit: move systemd support from meta-systemd back to meta-oe
* POLKITAUTH isn't used anymore PACKAGECONFIG should select right version for systemd now

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:06 +02:00
Martin Jansa
ae3415b289 packagegroup-basic: Drop bbappend from meta-systemd
* avahi-systemd is now indluded in deamon
* systemd-compat-units are RRECOMMENDED from systemd itself

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:06 +02:00
Martin Jansa
0027c0c3e2 networkmanager: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:06 +02:00
Martin Jansa
4f3b378e6a pcsc-lite: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:05 +02:00
Martin Jansa
6124111316 lxdm: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:05 +02:00
Martin Jansa
2db07ef244 rsyslog: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:05 +02:00
Martin Jansa
5ba9463567 syslog-ng: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:05 +02:00
Martin Jansa
a61c15efe4 zram: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:05 +02:00
Martin Jansa
fe76f1ab77 atftp: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:05 +02:00
Martin Jansa
1e29c4586e gateone: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:05 +02:00
Martin Jansa
fd84ec341f cherokee: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:04 +02:00
Martin Jansa
f2b3287cc1 xinput-calibrator: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:04 +02:00
Martin Jansa
ca1f7c0399 net-snmp: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:04 +02:00
Martin Jansa
05c8eb4393 xserver-nodm-init: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:04 +02:00
Martin Jansa
e965f6efc0 gpsd: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:04 +02:00
Martin Jansa
87259e3768 strongswan: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:04 +02:00
Martin Jansa
ab198bbcfa udisks: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:04 +02:00
Martin Jansa
443ea30263 dnsmasq: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:03 +02:00
Martin Jansa
eb0e685982 cloud9: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:03 +02:00
Martin Jansa
17c747d85e xfce4-session: move systemd support from meta-systemd back to meta-xfce
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:03 +02:00
Martin Jansa
5f26b00964 yp-tools, ypbind-mt: move systemd support from meta-systemd back to meta-networking
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:03 +02:00
Martin Jansa
4188d72551 ntp: move systemd support from meta-systemd back to meta-networking
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:03 +02:00
Martin Jansa
9858cfdb48 autofs: move systemd support from meta-systemd back to meta-networking
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:03 +02:00
Martin Jansa
05fbf94558 mpd: move systemd support from meta-systemd back to meta-multimedia
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:03 +02:00
Martin Jansa
0638208514 gdm: move systemd support from meta-systemd back to meta-gnome
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:02 +02:00
Martin Jansa
48442f2621 entrance: move systemd support from meta-systemd back to meta-efl
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:02 +02:00
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