BuildSourceImage: remove cruft from the rebase during rewrite

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2019-09-10 11:12:14 -04:00
parent 43b2d2e7b5
commit 513a7fd6f7
Signed by: vbatts
GPG key ID: 10937E57733F1362

View file

@ -1032,13 +1032,6 @@ main() {
work_dir="$(_mktemp_d)"
fi
_debug "image layout: ${img_layout}"
# setup rootfs, from that OCI layout
local unpack_dir="${work_dir}/unpacked/${IMAGE_DIGEST/:/\/}"
if [ ! -d "${unpack_dir}" ] ; then
unpack_img "${img_layout}" "${unpack_dir}"
fi
_debug "unpacked dir: ${unpack_dir}"
_debug "rootfs dir: ${rootfs}"
# clear prior driver's info about source to insert into Source Image