Permalink
Browse files

functions: symlink /usr/local/sbin -> /usr/bin

This was overlooked in 5f81d06.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
  • Loading branch information...
1 parent e27b8d8 commit f3638aaa09370849f93567029066e0ff3a5426cc @falconindy committed Aug 13, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 functions
View
@@ -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"

0 comments on commit f3638aa

Please sign in to comment.