extract tarball in image dir
This commit is contained in:
parent
96dffbcdce
commit
3b7685823c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue