Use a different approach to solving the ramdisk-image-create failure.
Change-Id: I2861927d1989bde1137c253c8b3a48b245c65f19
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
@@ -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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user