commit 5c9bc1a0a4c5297ea8c835bca8b6f013fb91d5fd parent ffd33dee6b1c415d220c17797fa2949976fc9c67 Author: parazyd <parazyd@dyne.org> Date: Fri, 27 Oct 2017 20:33:14 +0200 generate sha256 for the tarballs Diffstat:
M | zlibs/imaging | | | 10 | +++++++--- |
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/zlibs/imaging b/zlibs/imaging @@ -149,12 +149,16 @@ image_pack_dist() { pushd $workdir xz -zv "${image_name}.img" + mkdir -p "$R/dist" + mv -v ${image_name}.img.xz $R/dist/ + + pushd "$R/dist" notice "generating sha256 for ${image_name}.img.xz" sha256sum ${image_name}.img.xz > ${image_name}.img.xz.sha + notice "generating sha256 for ${image_name}.tar.gz" + sha256sum ${image_name}.tar.gz > ${image_name}.tar.gz.sha + popd - mkdir -p $R/dist - mv -v ${image_name}.img.xz $R/dist/ - mv -v ${image_name}.img.xz.sha $R/dist/ popd [[ $DEBUG = 1 ]] || sudo rm -r $workdir