Merge "ramdisk: enable ppc64 support for symlink"
This commit is contained in:
commit
1663c42dab
@ -36,7 +36,7 @@ function create_ramdisk_base () {
|
|||||||
fedora|rhel|rhel7|opensuse)
|
fedora|rhel|rhel7|opensuse)
|
||||||
mkdir -p "$TMP_MOUNT_PATH/usr"
|
mkdir -p "$TMP_MOUNT_PATH/usr"
|
||||||
ln -s ../lib "$TMP_MOUNT_PATH/usr/lib"
|
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"
|
ln -s lib "$TMP_MOUNT_PATH/lib64"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user