projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b5c46
)
base-files: link /var to tmp instead of /tmp
author
Yousong Zhou
<yszhou4tech@gmail.com>
Sun, 5 Mar 2017 06:45:08 +0000
(14:45 +0800)
committer
Yousong Zhou
<yszhou4tech@gmail.com>
Sun, 5 Mar 2017 09:23:46 +0000
(17:23 +0800)
To de-couple with host /tmp
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
package/base-files/Makefile
patch
|
blob
|
history
diff --git
a/package/base-files/Makefile
b/package/base-files/Makefile
index 78c3dc9390cf58fde8483596563c2e6e5e500887..99a10ffba678ae7a84e9c87c33651992e2019999 100644
(file)
--- a/
package/base-files/Makefile
+++ b/
package/base-files/Makefile
@@
-153,7
+153,7
@@
define Package/base-files/install
mkdir -p $(1)/root
$(LN) /proc/mounts $(1)/etc/mtab
rm -f $(1)/var
- $(LN)
/
tmp $(1)/var
+ $(LN) tmp $(1)/var
mkdir -p $(1)/etc
$(LN) /tmp/resolv.conf /tmp/TZ /tmp/localtime $(1)/etc/