summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions b/functions
index ba95e80..f407c82 100644
--- a/functions
+++ b/functions
@@ -671,7 +671,7 @@ initialize_buildroot() {
fi
# base directory structure
- install -dm755 "$buildroot"/{new_root,proc,sys,dev,run,tmp,etc,usr/{local,lib,bin}}
+ install -dm755 "$buildroot"/{new_root,proc,sys,dev,run,tmp,var,etc,usr/{local,lib,bin}}
ln -s "usr/lib" "$buildroot/lib"
ln -s "../lib" "$buildroot/usr/local/lib"
ln -s "bin" "$buildroot/usr/sbin"
@@ -679,6 +679,7 @@ initialize_buildroot() {
ln -s "usr/bin" "$buildroot/sbin"
ln -s "../bin" "$buildroot/usr/local/bin"
ln -s "../bin" "$buildroot/usr/local/sbin"
+ ln -s "/run" "$buildroot/var/run"
case $arch in
x86_64)