tgenerate sha256 for the tarballs - libdevuansdk - common library for devuan's simple distro kits HTML git clone https://git.parazyd.org/libdevuansdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit 5c9bc1a0a4c5297ea8c835bca8b6f013fb91d5fd DIR parent ffd33dee6b1c415d220c17797fa2949976fc9c67 HTML 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(-) --- DIR diff --git a/zlibs/imaging b/zlibs/imaging t@@ -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