aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-03-15 19:06:59 +0100
committerAlexander Couzens <lynxis@fe80.eu>2018-04-05 11:48:34 +0200
commit2b84f95f382f3e1043d17b541d6b1f6278861ad7 (patch)
tree0543e1b457919d680ecb28547547729dc2634dbd /package
parent1ef0be3e5bf6581b5668a99f2c07e3e2689f50ba (diff)
downloadupstream-2b84f95f382f3e1043d17b541d6b1f6278861ad7.tar.gz
upstream-2b84f95f382f3e1043d17b541d6b1f6278861ad7.tar.bz2
upstream-2b84f95f382f3e1043d17b541d6b1f6278861ad7.zip
base-files: change /var link from /tmp to tmp
Some packages are already using $(1)/var on package install. On multiuser systems this breaks the build when multiple users build OpenWrt. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'package')
-rw-r--r--package/base-files/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index f4505d6843..37f0e1e2fd 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -171,7 +171,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/