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:
parent
c9f44b29bb
commit
f0f945d136
@ -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