summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions b/functions
index b42daf7..a6cc61b 100644
--- a/functions
+++ b/functions
@@ -618,13 +618,14 @@ initialize_buildroot() {
fi
# base directory structure
- install -dm755 "$workdir/root"/{new_root,proc,sys,dev,run,tmp,etc,usr/{local,lib,bin}}
+ install -dm755 "$workdir/root"/{new_root,proc,sys,dev,run,tmp,etc,usr/{local,lib,{,s}bin}}
ln -s "usr/lib" "$workdir/root/lib"
ln -s "../lib" "$workdir/root/usr/local/lib"
ln -s "bin" "$workdir/root/usr/sbin"
ln -s "usr/bin" "$workdir/root/bin"
ln -s "usr/bin" "$workdir/root/sbin"
ln -s "../bin" "$workdir/root/usr/local/bin"
+ ln -s "../bin" "$workdir/root/usr/local/sbin"
# kernel module dir
install -dm755 "$workdir/root/usr/lib/modules/$kernver/kernel"