Browse Source

Updated digest verification of stage3 images

Maxim Kammerer 13 năm trước cách đây
mục cha
commit
a6d117ed1d
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      mkroot

+ 3 - 3
mkroot

@@ -136,9 +136,9 @@ if [ "$2" = fresh  -o  ! -d ${LIVECD}/src ]; then
     fi
 
 
-    sinfo "Verifying stage3 MD5 and SHA1 digests"
-    (cd ${LIVECD}/mirror/stage3; md5sum  --status -c ${stage3file}.DIGESTS.asc)
-    (cd ${LIVECD}/mirror/stage3; sha1sum --status -c ${stage3file}.DIGESTS.asc)
+    sinfo "Verifying stage3 SHA512 digests"
+    sed -i '6,7d; 10,11d' ${LIVECD}/mirror/stage3/${stage3file}.DIGESTS.asc
+    (cd ${LIVECD}/mirror/stage3; sha512sum -c ${stage3file}.DIGESTS.asc)
 
 
     if tar --version | grep -q '(GNU tar)'; then