ramdisk: enable ppc64 support for symlink

Patch enables symlink /usr/lib -> ../lib  support for ppc64 Fedora deployment ramdisk.

Change-Id: I01994685292d7c1cae0f9ec1a1052d68420b4b82
Closes-Bug: #1463357
This commit is contained in:
yogananth subramanian 2015-06-09 16:10:13 +05:30
parent c9f44b29bb
commit f0f945d136

View File

@ -36,7 +36,7 @@ function create_ramdisk_base () {
fedora|rhel|rhel7|opensuse)
mkdir -p "$TMP_MOUNT_PATH/usr"
ln -s ../lib "$TMP_MOUNT_PATH/usr/lib"
if [ "`uname -m`" = "x86_64" ]; then
if [[ "`uname -m`" =~ x86_64|ppc64 ]]; then
ln -s lib "$TMP_MOUNT_PATH/lib64"
fi
;;