Merge "Create the dracut directory if not existing already"

This commit is contained in:
Jenkins 2015-04-23 03:46:53 +00:00 committed by Gerrit Code Review
commit 26a11cddc1

View File

@ -8,4 +8,5 @@ if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then
fi fi
MODULE_PATH="/usr/lib/dracut/modules.d" MODULE_PATH="/usr/lib/dracut/modules.d"
sudo mkdir -p ${TMP_MOUNT_PATH}${MODULE_PATH}
sudo cp -r $(dirname $0)/module/ ${TMP_MOUNT_PATH}${MODULE_PATH}/50targetcli sudo cp -r $(dirname $0)/module/ ${TMP_MOUNT_PATH}${MODULE_PATH}/50targetcli