Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141082846
D11641.id30941.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11641.id30941.diff
View Options
Index: usr.sbin/bsdinstall/scripts/checksum
===================================================================
--- usr.sbin/bsdinstall/scripts/checksum
+++ usr.sbin/bsdinstall/scripts/checksum
@@ -32,7 +32,7 @@
for dist in $DISTRIBUTIONS; do
distname=$(basename $dist .txz)
eval "status_$distname=7"
-
+
items=""
for i in $DISTRIBUTIONS; do
items="$items $i `eval echo \\\${status_$(basename $i .txz):-Pending}`"
@@ -62,8 +62,16 @@
percentage=$(echo $percentage + 100/`echo $DISTRIBUTIONS | wc -w` | bc)
else
eval "status_$distname=1"
- dialog --backtitle "FreeBSD Installer" --title "Error" \
- --msgbox "The checksum for $dist does not match. It may have become corrupted, and should be redownloaded." 0 0
+ case $(/bin/freebsd-version -u | sed -E 's/[0-9]+\.[0-9]-//') in
+ ALPHA*|CURRENT|STABLE|PRERELEASE)
+ dialog --backtitle "FreeBSD Installer" --title "Error" \
+ --msgbox "The checksum for $dist does not match. It may have become corrupted, or it may be from a newer version of FreeBSD. Please check for a newer snapshot." 0 0
+ ;;
+ *)
+ dialog --backtitle "FreeBSD Installer" --title "Error" \
+ --msgbox "The checksum for $dist does not match. It may have become corrupted, and should be redownloaded." 0 0
+ ;;
+ esac
exit 1
fi
done
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 1, 3:40 PM (1 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27439721
Default Alt Text
D11641.id30941.diff (1 KB)
Attached To
Mode
D11641: Improved error messages when *.txz checksum failed during installation
Attached
Detach File
Event Timeline
Log In to Comment