* removed PRINC to make it easier to remove .bbappend if this
functionality is moved to oe-core
* removed SYSTEMD_SERVICE already set in oe-core's .inc file
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* most of the time start fails:
| root@overo:~# systemctl status dhclient.service
| dhclient.service - Dynamic Host Configuration Protocol (DHCP)
| Loaded: loaded (/lib/systemd/system/dhclient.service; enabled)
| Active: failed (Result: resources) since Thu 2000-01-06 22:07:27 UTC; 15min ago
| Process: 300 ExecStart=/sbin/dhclient -cf /etc/dhcp/dhclient.conf -q -lf /var/lib/dhcp/dhclient.leases $INTERFACES (code=exited, status=0/SUCCESS)
|
| Jan 06 22:07:27 overo systemd[1]: Starting Dynamic Host Configuration Proto.....
| Jan 06 22:07:27 overo systemd[1]: PID file /var/run/dhclient.pid not readab...t.
| Jan 06 22:07:27 overo systemd[1]: Failed to start Dynamic Host Configuratio...).
* in cases it does not fail to start and we have a managing service (e.g
networkmanager) two instances of dhclient are running
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* 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>
* 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>
* 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>
* 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>
* avahi-systemd is now indluded in deamon
* systemd-compat-units are RRECOMMENDED from systemd itself
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* 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>
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>
* 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>
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>
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>
* 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>
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>
* 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>
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>
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>
* 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>
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>
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>
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>