4509e6f826
This element enables creation of Ubuntu deploy ramdisk and user images which could be used to deploy the HP Proliant Servers with Dynamic Smart Array Controllers. Without this driver the disk with the Dynamic Smart Array Controller is not visible to the ramdisk. Closes bug: #1492803 Change-Id: Ibb3b298cd379cd7333279484df6ae30e9d7f6aaa
17 lines
381 B
Bash
Executable file
17 lines
381 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
if [ 'ubuntu' != $DISTRO_NAME ] ; then
|
|
echo "Only ubuntu is supported for hpdsa driver. The DISTRO is set to $DISTRO_NAME"
|
|
exit 1
|
|
fi
|
|
|
|
if [ 'trusty' != $DIB_RELEASE ] ; then
|
|
echo "Only trusty is supported for hpdsa driver. The DIB_RELEASE is set to $DIB_RELEASE"
|
|
exit 1
|
|
fi
|