extract tarball in image dir

This commit is contained in:
Jesse Andrews 2011-11-05 17:40:20 -07:00
parent 96dffbcdce
commit 3b7685823c

View file

@ -44,7 +44,7 @@ tarball=$image_dir/$(basename $uec_url)
# download the base uec image if we haven't already # download the base uec image if we haven't already
if [ ! -f $tarball ]; then if [ ! -f $tarball ]; then
curl $uec_url -o $tarball curl $uec_url -o $tarball
tar -Sxvzf $tarball $image_dir (cd $image_dir && tar -Sxvzf $tarball)
cp $image_dir/*.img $image_dir/disk cp $image_dir/*.img $image_dir/disk
cp $image_dir/*-vmlinuz-virtual $image_dir/kernel cp $image_dir/*-vmlinuz-virtual $image_dir/kernel
fi fi