Use a different approach to solving the ramdisk-image-create failure.

Change-Id: I2861927d1989bde1137c253c8b3a48b245c65f19
This commit is contained in:
Robert Collins 2013-05-01 15:03:44 +12:00
parent 7ef33c51db
commit e27ac025fc
2 changed files with 1 additions and 2 deletions

View File

@ -56,6 +56,7 @@ for arg do RAMDISK_ELEMENT="$RAMDISK_ELEMENT $arg" ; done
source $_LIB/ramdisk-defaults
source $_LIB/common-functions
source $_LIB/img-functions
source $_LIB/ramdisk-functions
RAMDISK_ELEMENT=$($SCRIPT_HOME/element-info --expand-dependencies $RAMDISK_ELEMENT)

View File

@ -13,8 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
source $(dirname $(readlink -f $BASH_SOURCE))/img-functions
function mk_build_dir () {
export TMP_BUILD_DIR=$(mktemp -t -d --tmpdir=${TMP_DIR:-/tmp} image.XXXXXXXX)
[ $? -eq 0 ] || die "Failed to create tmp directory"