Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] oe-core: Fix base-files wrong softlink of /var/run and /var/lock
@ 2016-02-18  2:10 fupan.li
  2016-02-18  8:19 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: fupan.li @ 2016-02-18  2:10 UTC (permalink / raw)
  To: openembedded-core

From: fli <fupan.li@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@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-18  8:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-18  2:10 [PATCH] oe-core: Fix base-files wrong softlink of /var/run and /var/lock fupan.li
2016-02-18  8:19 ` Richard Purdie
2016-02-18  8:32   ` fupan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox