diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-08-20 16:45:06 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-08-20 19:57:56 +0200 |
commit | 402a0814947b310835c194b15d3b844e710dd394 (patch) | |
tree | e40e75d07615601744b0beeb4731a7d82fcefe7b /meta-systemd/recipes-core | |
parent | f1b3d559f7fda42a2aaeee8bc277e03d00f138a9 (diff) | |
download | meta-openembedded-402a0814947b310835c194b15d3b844e710dd394.tar.gz |
systemd-compat-units: ensure /tmp is mounted when starting run-postinsts
/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>
Diffstat (limited to 'meta-systemd/recipes-core')
-rw-r--r-- | meta-systemd/recipes-core/systemd/systemd-compat-units.bb | 2 | ||||
-rw-r--r-- | meta-systemd/recipes-core/systemd/systemd-compat-units/run-postinsts.service | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-systemd/recipes-core/systemd/systemd-compat-units.bb b/meta-systemd/recipes-core/systemd/systemd-compat-units.bb index aefd6a758..6b6b4dda9 100644 --- a/meta-systemd/recipes-core/systemd/systemd-compat-units.bb +++ b/meta-systemd/recipes-core/systemd/systemd-compat-units.bb | |||
@@ -3,7 +3,7 @@ DESCRIPTION = "Units to make systemd work better with existing sysvinit scripts" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" |
5 | 5 | ||
6 | PR = "r17" | 6 | PR = "r18" |
7 | 7 | ||
8 | inherit allarch | 8 | inherit allarch |
9 | 9 | ||
diff --git a/meta-systemd/recipes-core/systemd/systemd-compat-units/run-postinsts.service b/meta-systemd/recipes-core/systemd/systemd-compat-units/run-postinsts.service index 879a25157..da6fe76a3 100644 --- a/meta-systemd/recipes-core/systemd/systemd-compat-units/run-postinsts.service +++ b/meta-systemd/recipes-core/systemd/systemd-compat-units/run-postinsts.service | |||
@@ -2,7 +2,7 @@ | |||
2 | Description=Run pending postinsts | 2 | Description=Run pending postinsts |
3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
4 | ConditionPathExists=|/etc/rcS.d/S98run-postinsts | 4 | ConditionPathExists=|/etc/rcS.d/S98run-postinsts |
5 | After=remount-rootfs.service | 5 | After=remount-rootfs.service tmp.mount |
6 | Before=sysinit.target | 6 | Before=sysinit.target |
7 | 7 | ||
8 | [Service] | 8 | [Service] |