cd27dff29a
This patch allows the creation of ramdisks from a fedora system. Change-Id: Ic3b393af45ae1b85d015d2ceb5601ea723457da6
16 lines
290 B
Bash
Executable File
16 lines
290 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
[ -n "$TARGET_ROOT" ]
|
|
|
|
DISTRO=`lsb_release -si` || true
|
|
|
|
if [[ "Fedora RedHatEnterpriseServer" =~ "$DISTRO" ]]; then
|
|
mkdir -p "$TARGET_ROOT/usr"
|
|
ln -s ../lib "$TARGET_ROOT/usr/lib"
|
|
if [ "`uname -m`" = "x86_64" ]; then
|
|
ln -s lib "$TARGET_ROOT/lib64"
|
|
fi
|
|
fi
|