Fixup post-/usr: need /usr/lib64

This commit is contained in:
MilhouseVH 2016-12-14 15:08:19 +00:00
parent 4b0e759a3d
commit fe6a92f934
2 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,8 @@ post_install() {
( cd $ROOT/$BUILD/initramfs
if [ "$TARGET_ARCH" = "x86_64" -o "$TARGET_ARCH" = "powerpc64" ]; then
ln -sf /usr/lib $ROOT/$BUILD/initramfs/lib64
mkdir -p $ROOT/$BUILD/initramfs/usr
ln -sf /usr/lib $ROOT/$BUILD/initramfs/usr/lib64
fi
ln -sf /usr/lib $ROOT/$BUILD/initramfs/lib

View File

@ -123,6 +123,8 @@ ln -sf /usr/sbin $INSTALL/sbin
if [ "$TARGET_ARCH" = "x86_64" -o "$TARGET_ARCH" = "powerpc64" ]; then
ln -s /usr/lib $INSTALL/lib64
mkdir -p $INSTALL/usr
ln -s /usr/lib $INSTALL/usr/lib64
fi
echo "$TARGET_VERSION" > $INSTALL/etc/release