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>
This commit is contained in:
parent
1ef0be3e5b
commit
2b84f95f38
1 changed files with 1 additions and 1 deletions
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in a new issue