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
parent 7f50113e74
commit bfbd7af101
1 changed files with 9 additions and 1 deletions

View File

@ -875,7 +875,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}"