generate sha1 checksum file of netboot package
authorMichael Prokop <mika@grml.org>
Sun, 11 Dec 2011 23:48:25 +0000 (00:48 +0100)
committerMichael Prokop <mika@grml.org>
Sun, 11 Dec 2011 23:48:25 +0000 (00:48 +0100)
grml-live

index 525011d..e8172ff 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -1380,6 +1380,7 @@ create_netbootpackage() {
   mkdir -p "${WORKING_DIR}/pxelinux.cfg"
 
   if tar -C "$OUTPUTDIR" -jcf "${OUTPUT_FILE}" "grml_netboot_package_${GRML_NAME}_${VERSION}" ; then
+    sha1sum "${OUTPUT_FILE}" > "${OUTPUT_FILE}.sha1"
     einfo "Generated netboot package ${OUTPUT_FILE}" ; eend 0
     rm -rf "${OUTPUTDIR}"
   else