[OE-core] [PATCH] oe-core: Fix base-files wrong softlink of /var/run and /var/lock
fupan.li at windriver.com
fupan.li at windriver.com
Thu Feb 18 02:10:19 UTC 2016
From: fli <fupan.li at windriver.com>
OE-CORE's fs-perms.txt force /var/run to link /run and
/var/lock to /run/lock, so in order to match with it,
make base-files /var/run and /var/lock link the absolute
path too.
Signed-off-by: fli <fupan.li at windriver.com>
---
meta/recipes-core/base-files/base-files_3.0.14.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index f643c8b..82c97da 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -103,8 +103,8 @@ do_install () {
ln -sf volatile/$d ${D}${localstatedir}/$d
done
- ln -snf ../run ${D}${localstatedir}/run
- ln -snf ../run/lock ${D}${localstatedir}/lock
+ ln -snf /run ${D}${localstatedir}/run
+ ln -snf /run/lock ${D}${localstatedir}/lock
${BASEFILESISSUEINSTALL}
--
1.9.1
More information about the Openembedded-core
mailing list