summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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