summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-08-13 02:04:25 +0200
committerDave Reisner <dreisner@archlinux.org>2012-08-13 02:07:11 +0200
commitf3638aaa09370849f93567029066e0ff3a5426cc (patch)
treefcdd3e06e70a0ea14803fae48d1f6e9f38ea33dc /functions
parente27b8d84eecad27c1ebc6aa5edfa93d44e7fcd95 (diff)
downloadmkinitcpio-f3638aaa09370849f93567029066e0ff3a5426cc.tar.gz
mkinitcpio-f3638aaa09370849f93567029066e0ff3a5426cc.tar.xz
functions: symlink /usr/local/sbin -> /usr/bin
This was overlooked in 5f81d06e8b87. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
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"