Merge pull request #1057 from MilhouseVH/usr_lib64

Fixup post-/usr: need /usr/lib64
This commit is contained in:
Lukas Rusak 2016-12-14 08:59:06 -08:00 committed by GitHub
commit 4f65335da5
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