summaryrefslogtreecommitdiffstats
path: root/meta-systemd/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* meta-systemd: drop default SYSTEMD_PACKAGES = "${PN}"Martin Jansa2013-04-121-1/+0
|
* meta-systemd: Append ${PN} to SYSTEMD_SERVICEKhem Raj2013-04-121-1/+1
| | | | | | | | | | | | | | | 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>
* systemd-speed-hacks: removeAndreas Müller2013-02-011-18/+0
| | | | | | | 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>
* systemd: remove core recipes - they migrated to oe-coreAndreas Müller2013-02-0122-2068/+0
| | | | | | | 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>
* systemd: remove dbus-systemd from RDEPENDSMartin Jansa2013-01-221-1/+1
| | | | | | | | * 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>
* systemd: Fix build when base_libdir is not /libKhem Raj2013-01-081-36/+41
| | | | | | | | | | | | | | | | | | | 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>
* systemd: update to v196Koen Kooi2012-12-144-112/+201
| | | | | | | | | | 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>
* systemd: add target python to dependsMartin Jansa2012-12-111-2/+2
| | | | | | | | | | | | | | | | | * 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>
* systemd: reenable python and add python-systemd-journaldMartin Jansa2012-12-111-7/+15
| | | | | | * we need inherit pythonnative to find right python-native Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* systemd: add PACKAGES_DYNAMICMartin Jansa2012-12-111-0/+1
| | | | | | * some packages can RDEPEND on e.g. libudev Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* systemd-systemctl-native: fix FILESPATH to find systemctlMartin Jansa2012-11-271-1/+4
| | | | | | | | * 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>
* systemd: Make the main systemd files proper CONFFILESHolger Hans Peter Freyther2012-11-131-1/+6
| | | | | | | 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>
* systemd: disable pythonMartin Jansa2012-10-231-1/+2
| | | | | | | | | * 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>
* systemd: update to 195Koen Kooi2012-10-231-2/+7
| | | | | | disable microhttd and package new files Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd: Upgrade past v194Khem Raj2012-10-234-32/+61
| | | | | | | 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>
* recipes: bump PR to rebuild after libffi5 -> libffi6Martin Jansa2012-09-201-1/+1
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd: Upgrade to 189Khem Raj2012-09-0810-435/+682
| | | | | | | | | | Fix running and building on uclibc Currently it doesnt work on uclibc-git only on 0.9.33 but thats a regression in uclibc most likely Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* meta-systemd: systemd-systemctl-native: Also add support for WantedBy=*.serviceDenis 'GNUtoo' Carikli2012-08-302-2/+2
| | | | | | | | Right now there was only WantedBy=*.target, which prevented some services from beeing installed, which prevent them from running at boot. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* systemd: Refresh the uclibc specific patchesKhem Raj2012-08-273-37/+32
| | | | | | | | Make sure that patches apply on top of latest systemd some source files have moved around. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd-compat-units: ensure /tmp is mounted when starting run-postinstsAndreas Müller2012-08-202-2/+2
| | | | | | | | | | | | | /tmp is required for postinst: Aug 20 16:59:33 overo S98run-postinsts[68]: * opkg_prep_intercepts: Failed to make temp dir /tmp/opkg-07xOYO/opkg-intercept-wfVgAQ: No such file or directory. Aug 20 16:59:33 overo S98run-postinsts[68]: * rm_r: Failed to open dir /tmp/opkg-07xOYO: No such file or directory. This bug left postints unfinished e.g. pango-module-* [1]. [1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-August/041096.html Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd-systemctl-native: handle ALIAS tagAndreas Müller2012-08-082-1/+18
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd: Use cross cppKhem Raj2012-08-082-0/+32
| | | | | | | | | | | | | | | While building for non x86 arch (ppc) found that build was using host's cpp which was not generating exact syscall list for ppc since it was using the include files from host With this patch will use $(CPP) instead of hardcoding cpp in makefile.am and then set CPP properly in recipe Fixes build failures on cross builds Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd: Upgrade to 187 tagKhem Raj2012-08-082-6/+103
| | | | | | | | | | | | | | | | | | | | | | | Dont inherit vala not needed anymore Fix build for ppc64 Consider /lib64 and /usr/lib64 Some 64bit architectures chose lib64 instead of lib for default library dirnames. So we dig this from metadata vars base_libdir and libdir instead of hardcoding 'lib' ppc64 in OE uses lib64 for default libdir and this leaves lot of udev/systemd files unpackaged since 'lib' was hardcoded Additionally use --split-usr option since in OE-Core now we want to treat /usr mounted sepatately. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd-systemctl-native: extend systemctl wrapper to support mask actionMartin Jansa2012-08-082-1/+19
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd-compat-units: use systemctl maskMartin Jansa2012-08-081-4/+10
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd-compat-units: move list of disabled services to variable, fix ↵Martin Jansa2012-08-071-5/+14
| | | | | | | | | | | hwclock.sh and output * variable allows to add items in .bbappend without overwritting whole postinst * hwclock.service should be used to blacklist SYSV hwclock.sh (not hwclock.sh.service) * show only newly disabled SYSV scripts Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* systemd: add glib-2.0 to DEPENDSMartin Jansa2012-07-231-2/+2
| | | | | | | | | | | | * | No package 'glib-2.0' found | No package 'gobject-2.0' found | configure:16371: error: Package requirements (glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0) were not met: | | No package 'glib-2.0' found | No package 'gobject-2.0' found Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd: cleanup /var/run on boot and create /var/run/utmpMartin Jansa2012-07-232-1/+8
| | | | | | | | | | | | | | * Angstrom uses /var/run cleanup because: Some apps (e.g. avahi-daemon) to clean up their old-style pid files and fail to start every other boot. Se we let systemd clean it on boot. Which seems general enough, so lets move var-run.conf from base-files.bbappend to systemd recipe. * /var/run/utmp was created by volatiles before, but without sysvinit installed systemd-update-utmp-runlevel.service fails to start without this file Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd: include /etc/rpm/macros.systemd in PN-devMartin Jansa2012-07-201-2/+2
| | | | | | | | | | * fixes: WARNING: QA Issue: systemd: Files/directories were installed but not shipped /etc/rpm /etc/rpm/macros.systemd Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd: add usbutils to DEPENDSMartin Jansa2012-07-201-2/+2
| | | | | | | | | * fixes: | No package 'usbutils' found | configure:16015: error: Package requirements (usbutils >= 0.82) were not met: Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* recipes: convert tabs to 4 spaces in populate_packagesMartin Jansa2012-07-191-2/+2
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd: update to 186+gitKoen Kooi2012-07-194-14/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is a combined udev+systemd recipe: it will build both udev and systemd in one go, but keep the old (sub)package layout: udev udev-utils udev-systemd systemd systemd-vconsole-setup systemd-analyze systemd-initramfs And all libraries are seperated out: libgudev-1.0-0 libsystemd-daemon0 libsystemd-id128-0 libsystemd-journal0 libsystemd-login0 libudev1 The SRCREV is 94 patches ahead of the v186 tag to drag in compile fixes for 'old' gcc versions like 4.5.x. Runtime tested with build from scratch and opkg upgrade with angstrom Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* move systemd recipes to meta-systemdAndreas Müller2012-07-1613-0/+1196