Commit Graph

208 Commits

Author SHA1 Message Date
Martin Jansa
a4c4a48148 systemd: cleanup /var/run on boot and create /var/run/utmp
* 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: Eric Bénard <eric@eukrea.com>
2012-08-13 10:39:20 +02:00
Martin Jansa
1ccbd09222 libjpeg-turbo: add LEAD_SONAME to fix upgrade to 8d
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:26 +02:00
Andreas Müller
6a4c1d5c5b libjpeg-turbo: update 1.2.1 / use version 8d to follow oe-core libjpeg update
without following oe-core's version PREFERRED_PROVIDER_jpeg does not work and
libjpeg is build.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Eric Bénard <eric@eukrea.com>
2012-07-13 11:28:25 +02:00
Koen Kooi
75cf830027 busybox 1.19.4 bbapped: create dir before installing into it, fixes build failures on the autobuilder
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-27 21:58:08 +02:00
Martin Jansa
7f237b806e systemd-machine-units: add machine specific recipe for BSPs
* some machines like n900/gta02/palmpre are using extra units to
  initialize something (g_ether, cmt, ...), so make it easy to bbappend
  such units
* stuff like INHERIT_append_crespo = " systemd" from BSP doesn't play well with systemd.bbclass

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26 13:49:14 +02:00
Koen Kooi
397dba1ab2 systemd: create empty machine-id to fix first boot failures
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-16 11:01:38 +02:00
Koen Kooi
204f537a18 systemd: fix emergency and rescue services
In OE we use /home/root, not /root.

Bug-reported-by: Graham Murphy <Graham.Murphy@jhuapl.edu>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-13 17:20:48 +02:00
Koen Kooi
5fced1d76e systemd: fix vconsole-setup dependencies
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-09 13:46:21 +02:00
Koen Kooi
bd0a6a465f systemd: bump SRCREV
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-09 13:46:21 +02:00
Otavio Salvador
3f79074a70 systemd-systemctl-native: add support to disable services
This adds support to disable services making possible to it to be done
during rootfs generation.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-04-04 20:36:47 +02:00
Khem Raj
6460fe3a04 eglibc-2.12: Move to toolchain-layer
Its relevant in toolchain layer

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-03-29 23:12:24 -07:00
Andreas Müller
902ed05dfc libcgroup: fix QA warnings
fix the following warnings:
WARNING: For recipe libcgroup, the following files/directories were installed but not shipped in any package:
WARNING:   /lib/security/pam_cgroup.la
WARNING:   /lib/security/.debug
WARNING:   /lib/security/.debug/pam_cgroup.so.0.0.0
WARNING:   /lib/security/.debug/pam_cgroup.so
WARNING:   /lib/security/.debug/pam_cgroup.so.0

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-29 16:18:30 +02:00
Koen Kooi
6b22bd198a systemd-serialgetty: sync with upstream
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:57:19 +01:00
Andreas Müller
28d718f1ee udev_182: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:55:14 +01:00
Andreas Müller
67b01371ec udev_175: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:55:14 +01:00
Andreas Müller
c43b2b36bc systemd_git: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:55:13 +01:00
Andreas Müller
0658069375 systemd-serialgetty: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:55:12 +01:00
Andreas Müller
815124f28e systemd-compat-units: replace ${base_libdir}/systemd by ${systemd_unitdir} set in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-23 07:55:12 +01:00
Koen Kooi
0148de029c udev: update to 182
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-20 18:13:16 +01:00
Koen Kooi
31acd55435 busybox: update bbappend to match update recipe in oe-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-19 15:22:26 +01:00
Koen Kooi
af16bd03d0 dropbear: update bbappend to match update recipe in oe-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-19 15:22:21 +01:00
Koen Kooi
b0a7f2e761 systemd: update to v44 + CVE fix
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-18 13:04:15 +01:00
Otavio Salvador
c8680dada5 systemd-compat-units: rename service to run postinst scripts
OE-Core uses run-postinsts script to trigger package configuration on
first boot so the service ought to be named the same, for consistency.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-13 18:53:03 +01:00
Koen Kooi
bddff3209c systemd: update and disable storing coredumps in the journal
Storing coredumps in the journal was mentioned as one of the reasons the journals grow so large

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 10:36:57 +01:00
Andreas Oberritter
8b5006510a udev-173: don't hardcode path to pidof
* pidof lives in /bin, search it in $PATH.
* Assume pidof's presence.
* Remove -e shell option, because pidof may return nonzero.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:50:37 +01:00
Koen Kooi
112c1f86fc systemd: update to latest git
This is in preparation for the v44 release.

* drop 2 patches that aren't needed anymore
* fix more endianness problems
* fix journal crashes with large files

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:03:52 +01:00
Koen Kooi
81703d249d systemd: enable logging to disk instead of tmpfs
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:03:52 +01:00
Koen Kooi
c2feb1ab2a systemd: enable xz compression for journald
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:03:52 +01:00
Andreas Oberritter
5b3974ed48 udev: consolekit package requires x11
* consolekit fails to build without x11, so drop the
  runtime dependency on consolekit if x11 is unavailable.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-07 15:17:13 +01:00
Andreas Müller
1aa96dc9df systemd-systemctl-native: multiple service files not looped properly
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-04 18:05:01 +01:00
Koen Kooi
3d15d096b6 systemd: address logind problem on BE machines
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-29 14:53:13 +01:00
Martin Jansa
8cd93743d7 Quoting fixes
* We have various variables which are either not quoted at all or are
* half quoted. This patch fixes the bad exmaples so everything is consistent.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-26 23:57:23 +01:00
Martin Jansa
9514e3dd67 task-x11: use allarch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-02-24 23:42:16 +01:00
Martin Jansa
d3c5c64deb task-cli-tools: move ltrace to RRECOMMENDS as it's probably not available for shr4 and sh3 and use allarch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-02-24 23:42:16 +01:00
Paul Eggleton
a04e14f407 Tidy up unused files
In 3fdcb18dd6 the cups and ldconfig-native
recipes were removed but the associated files weren't, so remove those
as well.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-24 13:07:43 +01:00
Koen Kooi
9cca08ee27 systemd: split out libraries from ${PN}
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-02-24 10:55:49 +01:00
Andreas Müller
3a5e1a0d86 busybox: remove unneeded systemd code / use ${systemd_unitdir}
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23 16:46:32 +01:00
Andreas Müller
8998d3aae4 dropbear: remove unneeded systemd code / use ${systemd_unitdir}
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23 16:46:31 +01:00
Andreas Müller
9d72ff10c5 systemd-systemctl-native: add multiple services support
Thanks to Otavio Salvador for helping hint [1]

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-February/037856.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23 16:46:30 +01:00
Khem Raj
2b402359f2 udev: Upgrade 180 -> 181
180 does not compile with kmod-5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23 16:46:30 +01:00
Andreas Oberritter
143367e4f5 busybox: create /etc/default on do_install
* Currently, it's blindly assumed that /etc/default
  exists, when busybox-syslog gets copied into it.
  This only works by chance and only if CONFIG_HWCLOCK=y
  is set.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-20 22:55:28 +01:00
Martin Jansa
d0028e40a3 recipes: bump PR to rebuild .la files without libz.la
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-02-13 16:59:29 +01:00
Koen Kooi
724ec1ea4f systemd: move to v40 and don't kill user processes on exit
This fixes screen and tmux persistency issues.

Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-07 16:06:19 +01:00
Khem Raj
3fdcb18dd6 recipe: Delete the duplicate recipes which are already in oe-core
These recipes are either same or have small differences but
are superset of changes in oe-core. We can use them from oe-core
as it is without losing or adding any functionality by default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-05 16:04:54 +01:00
Otavio Salvador
6396ac4454 busybox: fix busybox-syslog systemd service file
The service file had the 'Wants' in 'Service' group instead of the
'Unit' group.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-01 08:24:08 +01:00
Otavio Salvador
0d20039cfd systemd-serialgetty: support machines without serial console
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-01 08:24:06 +01:00
Martin Jansa
0c0b8b7c13 udev-180: switch from git checkout to release tarball
* problem is with manpage generation, commit
  http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=6528a3938fe8727b99b210cf504a335d07c94c37
  assumes that even without xstltproc we can install pregenerated
  manpages, but they are only in release tarball (e.g. src/udev.7)
  and without them, build system tries to regenerate and fails:

  /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/xsltproc -o src/udev.7 -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl src/udev.xml
  warning: failed to load external entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
  cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-30 21:08:00 +01:00
Koen Kooi
4eb9cc06d8 udev: add 180
* 'blkid' isn't needed anymore, since 176 udev links against libblkid
* 'modprobe' and 'depmod' aren't needed anymore, udev now links against libkmod
* The entire source including the license files were re-indented hence the LIC_FILES_CHKSUM changes

Runtime tested on beagleboard/angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-30 15:15:06 +01:00
Koen Kooi
63a410133a task-basic: systemd drags in the (u)mount it needs on its own now
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-29 09:23:36 +01:00
Koen Kooi
e682ad9809 task-basic: no external syslog needed for systemd v39
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-28 12:20:59 +01:00