* 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>
* 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>
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>
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>
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>
* 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>
* 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>
* 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>
* 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>
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>
* 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>
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>
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>
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.