summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-04-02 19:45:47 +0200
committerDave Reisner <dreisner@archlinux.org>2012-04-02 19:45:47 +0200
commitb65cf9cd9b292e6fdbedabf2cee7a4da1cf4a26b (patch)
treefe823b8501776190b091e6e353e3284cc63a349c
parent8981d81e026dcac3ee1f675126a50bf8b38bbb69 (diff)
downloadmkinitcpio-0.8.6.tar.gz
mkinitcpio-0.8.6.tar.xz
create /lib as a symlink to /usr/lib0.8.6
This makes us a little more future proof as far as moving files around. No need for 2 lib/ directories in early userspace anyways. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--install/base1
-rwxr-xr-xmkinitcpio2
2 files changed, 2 insertions, 1 deletions
diff --git a/install/base b/install/base
index 8ec59a3..ca77071 100644
--- a/install/base
+++ b/install/base
@@ -5,6 +5,7 @@ build() {
add_dir "/$dir"
done
+ add_symlink /lib usr/lib
add_symlink /sbin usr/bin
add_symlink /bin usr/bin
add_symlink /usr/sbin bin
diff --git a/mkinitcpio b/mkinitcpio
index c743074..a5199c8 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -207,7 +207,7 @@ workdir=$(TMPDIR=$TMPDIR mktemp -d --tmpdir mkinitcpio.XXXXXX)
BUILDROOT=$workdir/root
# explicitly create the buildroot
-mkdir -p "$BUILDROOT/lib/modules/$KERNELVERSION/kernel"
+mkdir -p "$BUILDROOT/usr/lib/modules/$KERNELVERSION/kernel"
# use preset $PRESET
if [[ $PRESET ]]; then