[LEDE-DEV] [PATCH 08/12] base-files: link /var to tmp instead of /tmp
Yousong Zhou
yszhou4tech at gmail.com
Sun Mar 5 01:31:39 PST 2017
To de-couple with host /tmp
Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
package/base-files/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 78c3dc9..99a10ff 100644
--- 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/
--
2.6.4
More information about the Lede-dev
mailing list