From: Alexander Couzens Date: Thu, 15 Mar 2018 18:06:59 +0000 (+0100) Subject: base-files: change /var link from /tmp to tmp X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2b84f95f382f3e1043d17b541d6b1f6278861ad7;p=openwrt%2Fstaging%2Fjogo.git 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 --- 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/