Defaulting to obsolete md5 for checksums instead of sha256 on debian, as debians cdrom-check in d-i only supports md5.

This commit is contained in:
Daniel Baumann 2013-01-02 10:34:19 +01:00 committed by Daniel Baumann
parent 07fb58ba52
commit bcab60fdf7
1 changed files with 9 additions and 1 deletions

View File

@ -860,7 +860,15 @@ Set_defaults ()
fi
# Setting checksums
LB_CHECKSUMS="${LB_CHECKSUMS:-sha256}"
case "${LB_MODE}" in
progress-linux)
LB_CHECKSUMS="${LB_CHECKSUMS:-sha256}"
;;
*)
LB_CHECKSUMS="${LB_CHECKSUMS:-md5}"
;;
esac
# Setting compression
LB_COMPRESSION="${LB_COMPRESSION:-none}"