[OE-core] [PATCH 1/1] volatile-binds: correct path of command umount
Kai Kang
kai.kang at windriver.com
Mon Jul 6 01:59:30 UTC 2015
It calls /sbin/umount to stop service var-volatile-lib. But umount is
installed into directory /bin. Correct it.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
meta/recipes-core/volatile-binds/volatile-binds.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb b/meta/recipes-core/volatile-binds/volatile-binds.bb
index fee7275..7a3e45a 100644
--- a/meta/recipes-core/volatile-binds/volatile-binds.bb
+++ b/meta/recipes-core/volatile-binds/volatile-binds.bb
@@ -54,6 +54,7 @@ END
# after the volatile /var/lib is mounted.
sed -i -e "/^Before=/s/\$/ systemd-random-seed.service/" \
-e "/^WantedBy=/s/\$/ systemd-random-seed.service/" \
+ -e "/^ExecStop=/s/sbin/bin/" \
var-volatile-lib.service
fi
}
--
1.9.1
More information about the Openembedded-core
mailing list