search for: img2_siz

Displaying 1 result from an estimated 1 matches for "img2_siz".

Did you mean: img2_size
2017 Nov 29
1
[PATCH] builder: use the template arch when caching all templates
...quot;$reposdir" +mkdir -p "$repodir" + +# Create some fake images. +img1_path="$repodir/img1.raw" +img1_size=10485760 # 10G +qemu-img create -f raw "$img1_path" $img1_size +img1_csum=`do_sha256 "$img1_path"` + +img2_path="$repodir/img2.qcow2" +img2_size=5242880 # 5G +qemu-img create -f qcow2 "$img2_path" $img2_size +img2_csum=`do_sha256 "$img2_path"` + +# Create an index for the images. +cat > "$indexfile" <<EOF +[img1] +name=img1 +file=$(basename "$img1_path") +arch=x86_64 +size=$img1_size +check...