Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136604918
D18916.id53071.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
622 B
Referenced Files
None
Subscribers
None
D18916.id53071.diff
View Options
Index: usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- usr.sbin/freebsd-update/freebsd-update.sh
+++ usr.sbin/freebsd-update/freebsd-update.sh
@@ -686,6 +686,19 @@
;;
esac
+ case ${ARCH} in
+ i386 | amd64)
+ ;;
+ *)
+ echo -n "`basename $0:`"
+ cat <<- EOF
+ Upgrading from '${ARCH}' is unsupported by `basename $0`.
+ Instead, FreeBSD can be directly upgraded by source.
+ EOF
+ exit 1
+ ;;
+ esac
+
# Figure out what directory contains the running kernel
BOOTFILE=`sysctl -n kern.bootfile`
KERNELDIR=${BOOTFILE%/kernel}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 19, 1:32 PM (7 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25637110
Default Alt Text
D18916.id53071.diff (622 B)
Attached To
Mode
D18916: Clarify unsupported architecture upgrade message
Attached
Detach File
Event Timeline
Log In to Comment