projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ef0be3
)
base-files: change /var link from /tmp to tmp
author
Alexander Couzens
<lynxis@fe80.eu>
Thu, 15 Mar 2018 18:06:59 +0000
(19:06 +0100)
committer
Alexander Couzens
<lynxis@fe80.eu>
Thu, 5 Apr 2018 09:48:34 +0000
(11:48 +0200)
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>
package/base-files/Makefile
patch
|
blob
|
history
diff --git
a/package/base-files/Makefile
b/package/base-files/Makefile
index f4505d6843c4294fb0d4ce2827a8cad68347f5c5..37f0e1e2fd4862a77e90e079b01d4816fefd028f 100644
(file)
--- 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/