Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] skeleton: make /run a directory
@ 2014-11-27 16:48 Gustavo Zacarias
  2014-11-27 16:48 ` [Buildroot] [PATCH 2/2] skeleton/fstab: add /run entry Gustavo Zacarias
  2014-12-01 20:39 ` [Buildroot] [PATCH 1/2] skeleton: make /run a directory André Erdmann
  0 siblings, 2 replies; 8+ messages in thread
From: Gustavo Zacarias @ 2014-11-27 16:48 UTC (permalink / raw)
  To: buildroot

Using a /tmp symlink makes it racy (mode 1777 for /tmp proper) and ugly.
While at it also point /var/run to /run until everything is moved there like
it should be.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 system/skeleton/run        | 1 -
 system/skeleton/run/.empty | 0
 system/skeleton/var/run    | 2 +-
 3 files changed, 1 insertion(+), 2 deletions(-)
 delete mode 120000 system/skeleton/run
 create mode 100644 system/skeleton/run/.empty

diff --git a/system/skeleton/run b/system/skeleton/run
deleted file mode 120000
index 1c2f433..0000000
--- a/system/skeleton/run
+++ /dev/null
@@ -1 +0,0 @@
-tmp
\ No newline at end of file
diff --git a/system/skeleton/run/.empty b/system/skeleton/run/.empty
new file mode 100644
index 0000000..e69de29
diff --git a/system/skeleton/var/run b/system/skeleton/var/run
index 1431b0e..84ba55b 120000
--- a/system/skeleton/var/run
+++ b/system/skeleton/var/run
@@ -1 +1 @@
-../tmp
\ No newline at end of file
+../run
\ No newline at end of file
-- 
2.0.4

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

end of thread, other threads:[~2014-12-01 21:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-27 16:48 [Buildroot] [PATCH 1/2] skeleton: make /run a directory Gustavo Zacarias
2014-11-27 16:48 ` [Buildroot] [PATCH 2/2] skeleton/fstab: add /run entry Gustavo Zacarias
2014-12-01 20:39 ` [Buildroot] [PATCH 1/2] skeleton: make /run a directory André Erdmann
2014-12-01 21:01   ` Samuel Martin
2014-12-01 21:12     ` Gustavo Zacarias
2014-12-01 21:19       ` André Erdmann
2014-12-01 21:32         ` Gustavo Zacarias
2014-12-01 21:59           ` André Erdmann

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