From patchwork Mon Aug 20 16:34:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [meta-system] systemd-compat-units: ensure /tmp is mounted when starting run-postinsts Date: Mon, 20 Aug 2012 16:34:05 -0000 From: =?utf-8?q?Andreas_M=C3=BCller_=3Cschnitzeltony=40googlemail=2Ecom=3E?= X-Patchwork-Id: 34961 Message-Id: <1345480445-16994-1-git-send-email-schnitzeltony@googlemail.com> To: openembedded-devel@lists.openembedded.org /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]. Signed-off-by: Andreas Müller --- .../recipes-core/systemd/systemd-compat-units.bb | 2 +- .../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 aefd6a7..6b6b4dd 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" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r17" +PR = "r18" inherit allarch 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 879a251..da6fe76 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 @@ Description=Run pending postinsts DefaultDependencies=no ConditionPathExists=|/etc/rcS.d/S98run-postinsts -After=remount-rootfs.service +After=remount-rootfs.service tmp.mount Before=sysinit.target [Service]