spec: change /var/run and /var/lock symlink 38/58038/1 tizen submit/tizen/20180927.030200
authorMin Kang <min1023.kang@samsung.com>
Wed, 27 Jan 2016 04:46:36 +0000 (13:46 +0900)
committerMin Kang <min1023.kang@samsung.com>
Wed, 27 Jan 2016 04:50:59 +0000 (13:50 +0900)
change /var/run and /var/lock symlink
for referencing correct path

/var/run -> /run
/var/lock -> /run/lock

Change-Id: I327f2d6c2b05403bd42f1dadce91645c0d3cba5d
Signed-off-by: Min Kang <min1023.kang@samsung.com>
packaging/filesystem.spec

index 804ca6c..b44a3f9 100644 (file)
@@ -103,8 +103,8 @@ end
 return 0
 
 %post -p <lua>
-posix.symlink("../run", "/var/run")
-posix.symlink("../run/lock", "/var/lock")
+posix.symlink("/run", "/var/run")
+posix.symlink("/run/lock", "/var/lock")
 
 %files -f filelist
 %manifest %{name}.manifest