Use correct path when extracting tar.gz image
Fix issue with file:/ image urls. Change-Id: I8c5f5b27b5d6ebe5be84dc58d37752adbd12f89b Closes-Bug: 1277609
This commit is contained in:
parent
c1699c27d1
commit
50e53925e1
@ -246,7 +246,7 @@ function upload_image {
|
||||
xdir="$FILES/images/$IMAGE_NAME"
|
||||
rm -Rf "$xdir";
|
||||
mkdir "$xdir"
|
||||
tar -zxf $FILES/$IMAGE_FNAME -C "$xdir"
|
||||
tar -zxf $IMAGE -C "$xdir"
|
||||
KERNEL=$(for f in "$xdir/"*-vmlinuz* "$xdir/"aki-*/image; do
|
||||
[ -f "$f" ] && echo "$f" && break; done; true)
|
||||
RAMDISK=$(for f in "$xdir/"*-initrd* "$xdir/"ari-*/image; do
|
||||
|
Loading…
Reference in New Issue
Block a user