diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-04-02 19:45:47 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-04-02 19:45:47 +0200 |
commit | b65cf9cd9b292e6fdbedabf2cee7a4da1cf4a26b (patch) | |
tree | fe823b8501776190b091e6e353e3284cc63a349c | |
parent | 8981d81e026dcac3ee1f675126a50bf8b38bbb69 (diff) | |
download | mkinitcpio-b65cf9cd9b292e6fdbedabf2cee7a4da1cf4a26b.tar.gz mkinitcpio-b65cf9cd9b292e6fdbedabf2cee7a4da1cf4a26b.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/base | 1 | ||||
-rwxr-xr-x | mkinitcpio | 2 |
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 @@ -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 |